1 | ## 4.0.2
|
2 |
|
3 | - Update dependencies
|
4 | - Export options interfaces in main module
|
5 | - Update example to include root attribute
|
6 |
|
7 | ## 4.0.1
|
8 |
|
9 | - Update dependencies
|
10 | - Use ESLint instead of TSLint
|
11 | - Use npm instead of gulp
|
12 |
|
13 | ## 4.0.0
|
14 |
|
15 | - Do not indent multi-line strings
|
16 | - Use self-closing tags, unless otherwise specified
|
17 | - Add option to automatically replace invalid characters with U+FFFD
|
18 | - Add option to suppress certain values from output
|
19 | - Add support for adding to existing xmlcreate object
|
20 | - Remove certain unnecessary validation rules
|
21 | - Bug fixes
|
22 | - Correct errors in documentation
|
23 |
|
24 | ## 3.0.0
|
25 |
|
26 | - Bug fixes
|
27 | - Add null and undefined in type declarations
|
28 | - Remove explicit engines requirement
|
29 |
|
30 | ## 2.0.2
|
31 |
|
32 | - Bug fixes
|
33 |
|
34 | ## 2.0.1
|
35 |
|
36 | - Remove unnecessary development dependencies from npm shrinkwrap
|
37 |
|
38 | ## 2.0.0
|
39 |
|
40 | - Re-write in TypeScript
|
41 | - Re-write to use xmlcreate (greatly simplifies module source)
|
42 | - Added support for the ECMAScript 2015 Map and Set objects
|
43 | - New method of calling module:
|
44 |
|
45 | ```javascript
|
46 | var js2xmlparser = require("js2xmlparser");
|
47 |
|
48 | var root = "root";
|
49 | var data = {hello: "world"};
|
50 | var options = {};
|
51 |
|
52 | // old method (no longer works):
|
53 | // js2xmlparser(root, data, options);
|
54 |
|
55 | // new method:
|
56 | js2xmlparser.parse(root, data, options);
|
57 | ```
|
58 |
|
59 | - New options and changes to functionality of some existing options:
|
60 | - `declaration` contains additional options
|
61 | - `attributeString` has additional functionality
|
62 | - `valueString` has additional functionality
|
63 | - The functionality provided by `prettyPrinting` is now provided by the new
|
64 | `format` option, which contains additional options
|
65 | - `arrayMap` is now `wrapHandlers` to reflect the fact that wrapping is
|
66 | provided for both arrays and ES2015 sets
|
67 | - `convertMap` is now `typeHandlers` to match the name change to `arrayMap`
|
68 | - The functionality provided by `useCDATA` is now provided by the new
|
69 | `cdataInvalidChars` and `cdataKeys` options, which also provide additional
|
70 | functionality
|
71 | - Added support for document type definitions using the `dtd` option
|
72 |
|
73 | ## 1.0.0
|
74 |
|
75 | - First stable release
|
76 | - Add arrayMap feature
|
77 | - Switch to semantic versioning
|
78 | - Switch to Apache 2.0 license
|
79 |
|
80 | ## 0.1.9
|
81 |
|
82 | - Fix error in example.js
|
83 |
|
84 | ## 0.1.8
|
85 |
|
86 | - Reconcile readme and tests with examples
|
87 |
|
88 | ## 0.1.7
|
89 |
|
90 | - Added .gitattributes to .gitignore file
|
91 | - Minor tweaks to examples
|
92 |
|
93 | ## 0.1.6
|
94 |
|
95 | - Addition of alias string option
|
96 | - Minor changes to examples
|
97 | - Minor fixes to tests
|
98 |
|
99 | ## 0.1.5
|
100 |
|
101 | - Bug fixes
|
102 | - Minor changes to examples
|
103 |
|
104 | ## 0.1.4
|
105 |
|
106 | - Removed callFunctions option (functionality already provided by convertMap option)
|
107 | - Removed wrapArray option (functionality already provided by existing array functionality)
|
108 | - Escape numbers when at tbe beginning of an element name
|
109 | - Edits to documentation
|
110 | - Added tests
|
111 | - Added copyright headers to individual JS files
|
112 |
|
113 | ## 0.1.3
|
114 |
|
115 | - Fixed crash when undefined objects are converted to strings
|
116 | - Added callFunctions option
|
117 | - Added wrapArray option
|
118 | - Added useCDATA option
|
119 | - Added convertMap option
|
120 | - Added copyright year and "and other contributors" to license
|
121 |
|
122 | ## 0.1.2
|
123 |
|
124 | - Fixed crash when null objects are converted to strings
|
125 |
|
126 | ## 0.1.1
|
127 |
|
128 | - Fixed accidental truncation of XML when pretty-printing is disabled
|
129 | - Removed copyright year from license
|
130 |
|
131 | ## 0.1.0
|
132 |
|
133 | - Initial release
|