-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathCHANGELOG
311 lines (160 loc) · 4.42 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
v0.8.7
------
New array-like toolbox
v0.8.6
------
Expose .toPathArray() in dotPath and wildDotPath
v0.8.5
------
dotPath/wildDotPath .delete() minor fix
v0.8.4
------
wildDotPath now has all things in dotPath
v0.8.3
------
Fix missing require for new wildDotPath
v0.8.2
------
New: wildDotPath.get() and wildDotPath.getPathValue() (more methods will be added later, e.g. wildDotPath.set())
v0.7.5
------
Fix prototype pollution in .extend() when the 'unflat' option is set
v0.7.4
------
dotPath: empty path part support
v0.7.3
------
.extend() option 'mask' now supports a number, the rank at which the masking starts
v0.7.2
------
.extend(): fix the 'preserve' option bug when replacing with an object. New option 'mask' that is the revert of 'preserve': only update an object, but do not create new keys
v0.7.1
------
path/dotPath with path in array mode now checks that there is no object in the array
v0.7.0
------
BREAKING CHANGE -- .path()/.dotPath(): drop the function's subtree support, fix prototype pollution
v0.6.2
------
.clone() with Date support
v0.6.1
------
New: .dotPath.*(): a faster alternative to .path.*(), supporting only dot-separated path
v0.6.0
------
Breaking change: .extend() 'deepFilter' option is gone 'deepFilter.whitelist' has moved to 'deep' and 'deepFilter.blacklist' has moved to 'immutables'
v0.5.27
-------
Fixed a vulnerability in .extend(), moved to ESLint, moved to Tea-Time builtin 'expect'
v0.5.26
-------
New: Browser lib!
v0.5.25
-------
tree.path -- new operations: concat and insert
v0.5.24
-------
IMPORTANT BUGFIX: clone was not working well with arrays
v0.5.23
-------
clone interface
v0.5.22
-------
Tree.path.* now supports empty keys
v0.5.21
-------
tree.path() now return undefined if the source object, well, is not an object (instead of throwing)
v0.5.20
-------
Bugfix: make require( 'tree-kit/lib/path.js' ) works as expected (was encapsulating everything in a 'path' sub-object)
v0.5.19
-------
New: tree.path.autoPush()
v0.5.18
-------
tree.json was removed (get its own module: json-kit)
v0.5.17
-------
json: parser run a bit faster
v0.5.16
-------
json: parser run a bit faster
v0.5.15
-------
json: parser is now working
v0.5.14
-------
json.stringify() improvements
v0.5.13
-------
"use strict" everywhere
v0.5.12
-------
Bechmark: ubench v0.2.x ; "use strict" everywhere
v0.5.11
-------
ubench benchmark
v0.5.10
-------
json: some fixes
v0.5.9
------
json.stringify() is now on par with native JSON.stringify()!
v0.5.8
------
json utilities: wip
v0.5.7
------
New: tree.path.append() and tree.path.prepend()
v0.5.6
------
New feature: tree.path() now support the bracket syntax for arrays.
v0.5.5
------
Documentation: just added link to http://blog.soulserv.net/tag/tree-kit that points to tree-kit tutorials.
v0.5.4
------
path: all methods return the targeted object like path.get() does.
v0.5.3
------
New path.*() method: path.define(), like set, but only if the targeted item does not exist
v0.5.2
------
New path.*() methods: path.inc() & path.dec(), that increment and decrement values
v0.5.1
------
path.*():
* tree.path.prototype can be used for inheritance, using Object.create( tree.path.prototype )
* path.*() now supports path as array too (but it's still not done for array walking)
v0.5.0
------
path.*(): pseudo-element notation use '#' instead of ':'
v0.4.3 - v0.4.4
---------------
path.*() now support a semi-colon syntax for accessing arrays, featuring pseudo-element like :last and :next, etc.
v0.4.2
------
New: path submodule featuring path.get(), path.set() and path.delete(). It allows setting, getting deleting by a
dot-separated path scheme.
v0.4.1
------
clone() have now its own module/file: clone.js.
v0.4.0
------
extend():
* 'circular' & 'maxDepth' options finished, 'descriptor' option bugfix
clone():
* does not depend upon extend() anymore, it has been fully rewritten with optimization in mind
* it does not use recursive function call but loops, which is super-efficient ;)
* it now accepts a *circular* boolean argument, just like extend(), see the doc!
v0.3.5
------
Doc: table of content.
v0.3.4
------
New method: clone(), providing the best object-cloning facility that this lib can offer.
v0.3.3
------
extend()
- 'nonEnum' option that copy non-enumerable properties as well (in conjunction with 'own')
- 'descriptor' option that preserve property's descriptor