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