artdaq_node_server  v1_00_09
 All Classes Namespaces Files Variables Pages
src/node_modules/xmlrpc/node_modules/xmlbuilder/CHANGELOG.md
1 # Change Log
2 
3 All notable changes to this project are documented in this file. This project adheres to [Semantic Versioning](http://semver.org/#semantic-versioning-200).
4 
5 ## [8.2.2] - 2016-04-08
6 - Falsy values can now be used as a text node in callback mode.
7 
8 ## [8.2.1] - 2016-04-07
9 - Falsy values can now be used as a text node. See
10 [#117](https://github.com/oozcitak/xmlbuilder-js/issues/117).
11 
12 ## [8.2.0] - 2016-04-01
13 - Removed lodash dependency to keep the library small and simple. See
14 [#114](https://github.com/oozcitak/xmlbuilder-js/issues/114),
15 [#53](https://github.com/oozcitak/xmlbuilder-js/issues/53),
16 and [#43](https://github.com/oozcitak/xmlbuilder-js/issues/43).
17 - Added title case to name conversion options.
18 
19 ## [8.1.0] - 2016-03-29
20 - Added the callback option to the `begin` export function. When used with a
21 callback function, the XML document will be generated in chunks and each chunk
22 will be passed to the supplied function. In this mode, `begin` uses a different
23 code path and the builder should use much less memory since the entire XML tree
24 is not kept. There are a few drawbacks though. For example, traversing the document
25 tree or adding attributes to a node after it is written is not possible. It is
26 also not possible to remove nodes or attributes.
27 
28 ``` js
29 var result = '';
30 
31 builder.begin(function(chunk) { result += chunk; })
32  .dec()
33  .ele('root')
34  .ele('xmlbuilder').up()
35  .end();
36 ```
37 
38 - Replaced native `Object.assign` with `lodash.assign` to support old JS engines. See [#111](https://github.com/oozcitak/xmlbuilder-js/issues/111).
39 
40 ## [8.0.0] - 2016-03-25
41 - Added the `begin` export function. See the wiki for details.
42 - Added the ability to add comments and processing instructions before and after the root element. Added `commentBefore`, `commentAfter`, `instructionBefore` and `instructionAfter` functions for this purpose.
43 - Dropped support for old node.js releases. Minimum required node.js version is now 4.0.
44 
45 ## [7.0.0] - 2016-03-21
46 - Processing instructions are now created as regular nodes. This is a major breaking change if you are using processing instructions. Previously processing instructions were inserted before their parent node. After this change processing instructions are appended to the children of the parent node. Note that it is not currently possible to insert processing instructions before or after the root element.
47 ```js
48 root.ele('node').ins('pi');
49 // pre-v7
50 <?pi?><node/>
51 // v7
52 <node><?pi?></node>
53 ```
54 
55 ## [6.0.0] - 2016-03-20
56 - Added custom XML writers. The default string conversion functions are now collected under the `XMLStringWriter` class which can be accessed by the `stringWriter(options)` function exported by the module. An `XMLStreamWriter` is also added which outputs the XML document to a writable stream. A stream writer can be created by calling the `streamWriter(stream, options)` function exported by the module. Both classes are heavily customizable and the details are added to the wiki. It is also possible to write an XML writer from scratch and use it when calling `end()` on the XML document.
57 
58 ## [5.0.1] - 2016-03-08
59 - Moved require statements for text case conversion to the top of files to reduce lazy requires.
60 
61 ## [5.0.0] - 2016-03-05
62 - Added text case option for element names and attribute names. Valid cases are `lower`, `upper`, `camel`, `kebab` and `snake`.
63 - Attribute and element values are escaped according to the [Canonical XML 1.0 specification](http://www.w3.org/TR/2000/WD-xml-c14n-20000119.html#charescaping). See [#54](https://github.com/oozcitak/xmlbuilder-js/issues/54) and [#86](https://github.com/oozcitak/xmlbuilder-js/issues/86).
64 - Added the `allowEmpty` option to `end()`. When this option is set, empty elements are not self-closed.
65 - Added support for [nested CDATA](https://en.wikipedia.org/wiki/CDATA#Nesting). The triad `]]>` in CDATA is now automatically replaced with `]]]]><![CDATA[>`.
66 
67 ## [4.2.1] - 2016-01-15
68 - Updated lodash dependency to 4.0.0.
69 
70 ## [4.2.0] - 2015-12-16
71 - Added the `noDoubleEncoding` option to `create()` to control whether existing html entities are encoded.
72 
73 ## [4.1.0] - 2015-11-11
74 - Added the `separateArrayItems` option to `create()` to control how arrays are handled when converting from objects. e.g.
75 
76 ```js
77 root.ele({ number: [ "one", "two" ]});
78 // with separateArrayItems: true
79 <number>
80  <one/>
81  <two/>
82 </number>
83 // with separateArrayItems: false
84 <number>one</number>
85 <number>two</number>
86 ```
87 
88 ## [4.0.0] - 2015-11-01
89 - Removed the `#list` decorator. Array items are now created as child nodes by default.
90 - Fixed a bug where the XML encoding string was checked partially.
91 
92 ## [3.1.0] - 2015-09-19
93 - `#list` decorator ignores empty arrays.
94 
95 ## [3.0.0] - 2015-09-10
96 - Allow `\r`, `\n` and `\t` in attribute values without escaping. See [#86](https://github.com/oozcitak/xmlbuilder-js/issues/86).
97 
98 ## [2.6.5] - 2015-09-09
99 - Use native `isArray` instead of lodash.
100 - Indentation of processing instructions are set to the parent element's.
101 
102 ## [2.6.4] - 2015-05-27
103 - Updated lodash dependency to 3.5.0.
104 
105 ## [2.6.3] - 2015-05-27
106 - Bumped version because previous release was not published on npm.
107 
108 ## [2.6.2] - 2015-03-10
109 - Updated lodash dependency to 3.5.0.
110 
111 ## [2.6.1] - 2015-02-20
112 - Updated lodash dependency to 3.3.0.
113 
114 ## [2.6.0] - 2015-02-20
115 - Fixed a bug where the `XMLNode` constructor overwrote the super class parent.
116 - Removed document property from cloned nodes.
117 - Switched to mocha.js for testing.
118 
119 ## [2.5.2] - 2015-02-16
120 - Updated lodash dependency to 3.2.0.
121 
122 ## [2.5.1] - 2015-02-09
123 - Updated lodash dependency to 3.1.0.
124 - Support all node >= 0.8.
125 
126 ## [2.5.0] - 2015-00-03
127 - Updated lodash dependency to 3.0.0.
128 
129 ## [2.4.6] - 2015-01-26
130 - Show more information from attribute creation with null values.
131 - Added iojs as an engine.
132 - Self close elements with empty text.
133 
134 ## [2.4.5] - 2014-11-15
135 - Fixed prepublish script to run on windows.
136 - Fixed bug in XMLStringifier where an undefined value was used while reporting an invalid encoding value.
137 - Moved require statements to the top of files to reduce lazy requires. See [#62](https://github.com/oozcitak/xmlbuilder-js/issues/62).
138 
139 ## [2.4.4] - 2014-09-08
140 - Added the `offset` option to `toString()` for use in XML fragments.
141 
142 ## [2.4.3] - 2014-08-13
143 - Corrected license in package description.
144 
145 ## [2.4.2] - 2014-08-13
146 - Dropped performance test and memwatch dependency.
147 
148 ## [2.4.1] - 2014-08-12
149 - Fixed a bug where empty indent string was omitted when pretty printing. See [#59](https://github.com/oozcitak/xmlbuilder-js/issues/59).
150 
151 ## [2.4.0] - 2014-08-04
152 - Correct cases of pubID and sysID.
153 - Use single lodash instead of separate npm modules. See [#53](https://github.com/oozcitak/xmlbuilder-js/issues/53).
154 - Escape according to Canonical XML 1.0. See [#54](https://github.com/oozcitak/xmlbuilder-js/issues/54).
155 
156 ## [2.3.0] - 2014-07-17
157 - Convert objects to JS primitives while sanitizing user input.
158 - Object builder preserves items with null values. See [#44](https://github.com/oozcitak/xmlbuilder-js/issues/44).
159 - Use modularized lodash functions to cut down dependencies.
160 - Process empty objects when converting from objects so that we don't throw on empty child objects.
161 
162 ## [2.2.1] - 2014-04-04
163 - Bumped version because previous release was not published on npm.
164 
165 ## [2.2.0] - 2014-04-04
166 - Switch to lodash from underscore.
167 - Removed legacy `ext` option from `create()`.
168 - Drop old node versions: 0.4, 0.5, 0.6. 0.8 is the minimum requirement from now on.
169 
170 ## [2.1.0] - 2013-12-30
171 - Removed duplicate null checks from constructors.
172 - Fixed node count in performance test.
173 - Added option for skipping null attribute values. See [#26](https://github.com/oozcitak/xmlbuilder-js/issues/26).
174 - Allow multiple values in `att()` and `ins()`.
175 - Added ability to run individual performance tests.
176 - Added flag for ignoring decorator strings.
177 
178 ## [2.0.1] - 2013-12-24
179 - Removed performance tests from npm package.
180 
181 ## [2.0.0] - 2013-12-24
182 - Combined loops for speed up.
183 - Added support for the DTD and XML declaration.
184 - `clone` includes attributes.
185 - Added performance tests.
186 - Evaluate attribute value if function.
187 - Evaluate instruction value if function.
188 
189 ## [1.1.2] - 2013-12-11
190 - Changed processing instruction decorator to `?`.
191 
192 ## [1.1.1] - 2013-12-11
193 - Added processing instructions to JS object conversion.
194 
195 ## [1.1.0] - 2013-12-10
196 - Added license to package.
197 - `create()` and `element()` accept JS object to fully build the document.
198 - Added `nod()` and `n()` aliases for `node()`.
199 - Renamed `convertAttChar` decorator to `convertAttKey`.
200 - Ignore empty decorator strings when converting JS objects.
201 
202 ## [1.0.2] - 2013-11-27
203 - Removed temp file which was accidentally included in the package.
204 
205 ## [1.0.1] - 2013-11-27
206 - Custom stringify functions affect current instance only.
207 
208 ## [1.0.0] - 2013-11-27
209 - Added processing instructions.
210 - Added stringify functions to sanitize and convert input values.
211 - Added option for headless XML documents.
212 - Added vows tests.
213 - Removed Makefile. Using npm publish scripts instead.
214 - Removed the `begin()` function. `create()` begins the document by creating the root node.
215 
216 ## [0.4.3] - 2013-11-08
217 - Added option to include surrogate pairs in XML content. See [#29](https://github.com/oozcitak/xmlbuilder-js/issues/29).
218 - Fixed empty value string representation in pretty mode.
219 - Added pre and postpublish scripts to package.json.
220 - Filtered out prototype properties when appending attributes. See [#31](https://github.com/oozcitak/xmlbuilder-js/issues/31).
221 
222 ## [0.4.2] - 2012-09-14
223 - Removed README.md from `.npmignore`.
224 
225 ## [0.4.1] - 2012-08-31
226 - Removed `begin()` calls in favor of `XMLBuilder` constructor.
227 - Added the `end()` function. `end()` is a convenience over `doc().toString()`.
228 
229 ## [0.4.0] - 2012-08-31
230 - Added arguments to `XMLBuilder` constructor to allow the name of the root element and XML prolog to be defined in one line.
231 - Soft deprecated `begin()`.
232 
233 ## [0.3.11] - 2012-08-13
234 - Package keywords are fixed to be an array of values.
235 
236 ## [0.3.10] - 2012-08-13
237 - Brought back npm package contents which were lost due to incorrect configuration of `package.json` in previous releases.
238 
239 ## [0.3.3] - 2012-07-27
240 - Implemented `importXMLBuilder()`.
241 
242 ## [0.3.2] - 2012-07-20
243 - Fixed a duplicated escaping problem on `element()`.
244 - Fixed a problem with text node creation from empty string.
245 - Calling `root()` on the document element returns the root element.
246 - `XMLBuilder` no longer extends `XMLFragment`.
247 
248 ## [0.3.1] - 2011-11-28
249 - Added guards for document element so that nodes cannot be inserted at document level.
250 
251 ## [0.3.0] - 2011-11-28
252 - Added `doc()` to return the document element.
253 
254 ## [0.2.2] - 2011-11-28
255 - Prevent code relying on `up()`'s older behavior to break.
256 
257 ## [0.2.1] - 2011-11-28
258 - Added the `root()` function.
259 
260 ## [0.2.0] - 2011-11-21
261 - Added Travis-CI integration.
262 - Added coffee-script dependency.
263 - Added insert, traversal and delete functions.
264 
265 ## [0.1.7] - 2011-10-25
266 - No changes. Accidental release.
267 
268 ## [0.1.6] - 2011-10-25
269 - Corrected `package.json` bugs link to `url` from `web`.
270 
271 ## [0.1.5] - 2011-08-08
272 - Added missing npm package contents.
273 
274 ## [0.1.4] - 2011-07-29
275 - Text-only nodes are no longer indented.
276 - Added documentation for multiple instances.
277 
278 ## [0.1.3] - 2011-07-27
279 - Exported the `create()` function to return a new instance. This allows multiple builder instances to be constructed.
280 - Fixed `u()` function so that it now correctly calls `up()`.
281 - Fixed typo in `element()` so that `attributes` and `text` can be passed interchangeably.
282 
283 ## [0.1.2] - 2011-06-03
284 - `ele()` accepts element text.
285 - `attributes()` now overrides existing attributes if passed the same attribute name.
286 
287 ## [0.1.1] - 2011-05-19
288 - Added the raw output option.
289 - Removed most validity checks.
290 
291 ## [0.1.0] - 2011-04-27
292 - `text()` and `cdata()` now return parent element.
293 - Attribute values are escaped.
294 
295 ## [0.0.7] - 2011-04-23
296 - Coerced text values to string.
297 
298 ## [0.0.6] - 2011-02-23
299 - Added support for XML comments.
300 - Text nodes are checked against CharData.
301 
302 ## [0.0.5] - 2010-12-31
303 - Corrected the name of the main npm module in `package.json`.
304 
305 ## [0.0.4] - 2010-12-28
306 - Added `.npmignore`.
307 
308 ## [0.0.3] - 2010-12-27
309 - root element is now constructed in `begin()`.
310 - moved prolog to `begin()`.
311 - Added the ability to have CDATA in element text.
312 - Removed unused prolog aliases.
313 - Removed `builder()` function from main module.
314 - Added the name of the main npm module in `package.json`.
315 
316 ## [0.0.2] - 2010-11-03
317 - `element()` expands nested arrays.
318 - Added pretty printing.
319 - Added the `up()`, `build()` and `prolog()` functions.
320 - Added readme.
321 
322 ## 0.0.1 - 2010-11-02
323 - Initial release
324 
325 [8.2.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v8.2.1...v8.2.2
326 [8.2.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v8.2.0...v8.2.1
327 [8.2.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v8.1.0...v8.2.0
328 [8.1.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v8.0.0...v8.1.0
329 [8.0.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v7.0.0...v8.0.0
330 [7.0.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v6.0.0...v7.0.0
331 [6.0.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v5.0.1...v6.0.0
332 [5.0.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v5.0.0...v5.0.1
333 [5.0.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v4.2.1...v5.0.0
334 [4.2.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v4.2.0...v4.2.1
335 [4.2.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v4.1.0...v4.2.0
336 [4.1.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v4.0.0...v4.1.0
337 [4.0.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v3.1.0...v4.0.0
338 [3.1.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v3.0.0...v3.1.0
339 [3.0.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.6.5...v3.0.0
340 [2.6.5]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.6.4...v2.6.5
341 [2.6.4]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.6.3...v2.6.4
342 [2.6.3]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.6.2...v2.6.3
343 [2.6.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.6.1...v2.6.2
344 [2.6.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.6.0...v2.6.1
345 [2.6.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.5.2...v2.6.0
346 [2.5.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.5.1...v2.5.2
347 [2.5.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.5.0...v2.5.1
348 [2.5.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.4.6...v2.5.0
349 [2.4.6]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.4.5...v2.4.6
350 [2.4.5]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.4.4...v2.4.5
351 [2.4.4]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.4.3...v2.4.4
352 [2.4.3]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.4.2...v2.4.3
353 [2.4.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.4.1...v2.4.2
354 [2.4.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.4.0...v2.4.1
355 [2.4.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.3.0...v2.4.0
356 [2.3.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.2.1...v2.3.0
357 [2.2.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.2.0...v2.2.1
358 [2.2.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.1.0...v2.2.0
359 [2.1.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.0.1...v2.1.0
360 [2.0.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v2.0.0...v2.0.1
361 [2.0.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v1.1.2...v2.0.0
362 [1.1.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v1.1.1...v1.1.2
363 [1.1.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v1.1.0...v1.1.1
364 [1.1.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v1.0.2...v1.1.0
365 [1.0.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v1.0.1...v1.0.2
366 [1.0.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v1.0.0...v1.0.1
367 [1.0.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.4.3...v1.0.0
368 [0.4.3]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.4.2...v0.4.3
369 [0.4.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.4.1...v0.4.2
370 [0.4.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.4.0...v0.4.1
371 [0.4.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.3.11...v0.4.0
372 [0.3.11]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.3.10...v0.3.11
373 [0.3.10]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.3.3...v0.3.10
374 [0.3.3]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.3.2...v0.3.3
375 [0.3.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.3.1...v0.3.2
376 [0.3.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.3.0...v0.3.1
377 [0.3.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.2.2...v0.3.0
378 [0.2.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.2.1...v0.2.2
379 [0.2.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.2.0...v0.2.1
380 [0.2.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.1.7...v0.2.0
381 [0.1.7]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.1.6...v0.1.7
382 [0.1.6]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.1.5...v0.1.6
383 [0.1.5]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.1.4...v0.1.5
384 [0.1.4]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.1.3...v0.1.4
385 [0.1.3]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.1.2...v0.1.3
386 [0.1.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.1.1...v0.1.2
387 [0.1.1]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.1.0...v0.1.1
388 [0.1.0]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.0.7...v0.1.0
389 [0.0.7]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.0.6...v0.0.7
390 [0.0.6]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.0.5...v0.0.6
391 [0.0.5]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.0.4...v0.0.5
392 [0.0.4]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.0.3...v0.0.4
393 [0.0.3]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.0.2...v0.0.3
394 [0.0.2]: https://github.com/oozcitak/xmlbuilder-js/compare/v0.0.1...v0.0.2
395