1 | # NAN ChangeLog
|
2 |
|
3 | **Version 2.6.1: current Node 7.8.0, Node 12: 0.12.18, Node 10: 0.10.48, iojs: 3.3.1**
|
4 |
|
5 | ### 2.6.0 Apr 6 2017
|
6 |
|
7 | - Bugfix: nan_json.h: fix build breakage in Node 6 ac8d47dc3c10bfbf3f15a6b951633120c0ee6d51
|
8 |
|
9 | ### 2.6.0 Apr 6 2017
|
10 |
|
11 | - Feature: nan: add support for JSON::Parse & Stringify b533226c629cce70e1932a873bb6f849044a56c5
|
12 |
|
13 | ### 2.5.1 Jan 23 2017
|
14 |
|
15 | - Bugfix: Fix disappearing handle for private value 6a80995694f162ef63dbc9948fbefd45d4485aa0
|
16 | - Bugfix: Add missing scopes a93b8bae6bc7d32a170db6e89228b7f60ee57112
|
17 | - Bugfix: Use string::data instead of string::front in NewOneByteString d5f920371e67e1f3b268295daee6e83af86b6e50
|
18 |
|
19 | ### 2.5.0 Dec 21 2016
|
20 |
|
21 | - Feature: Support Private accessors a86255cb357e8ad8ccbf1f6a4a901c921e39a178
|
22 | - Bugfix: Abort in delete operators that shouldn't be called 0fe38215ff8581703967dfd26c12793feb960018
|
23 |
|
24 | ### 2.4.0 Jul 10 2016
|
25 |
|
26 | - Feature: Rewrite Callback to add Callback::Reset c4cf44d61f8275cd5f7b0c911d7a806d4004f649
|
27 | - Feature: AsyncProgressWorker: add template types for .send 1242c9a11a7ed481c8f08ec06316385cacc513d0
|
28 | - Bugfix: Add constness to old Persistent comparison operators bd43cb9982c7639605d60fd073efe8cae165d9b2
|
29 |
|
30 | ### 2.3.5 May 31 2016
|
31 |
|
32 | - Bugfix: Replace NAN_INLINE with 'inline' keyword. 71819d8725f822990f439479c9aba3b240804909
|
33 |
|
34 | ### 2.3.4 May 31 2016
|
35 |
|
36 | - Bugfix: Remove V8 deprecation warnings 0592fb0a47f3a1c7763087ebea8e1138829f24f9
|
37 | - Bugfix: Fix new versions not to use WeakCallbackInfo::IsFirstPass 615c19d9e03d4be2049c10db0151edbc3b229246
|
38 | - Bugfix: Make ObjectWrap::handle() const d19af99595587fe7a26bd850af6595c2a7145afc
|
39 | - Bugfix: Fix compilation errors related to 0592fb0a47f3a1c7763087ebea8e1138829f24f9 e9191c525b94f652718325e28610a1adcf90fed8
|
40 |
|
41 | ### 2.3.3 May 4 2016
|
42 |
|
43 | - Bugfix: Refactor SetMethod() to deal with v8::Templates (#566) b9083cf6d5de6ebe6bcb49c7502fbb7c0d9ddda8
|
44 |
|
45 | ### 2.3.2 Apr 27 2016
|
46 |
|
47 | - Bugfix: Fix compilation on outdated versions due to Handle removal f8b7c875d04d425a41dfd4f3f8345bc3a11e6c52
|
48 |
|
49 | ### 2.3.1 Apr 27 2016
|
50 |
|
51 | - Bugfix: Don't use deprecated v8::Template::Set() in SetMethod a90951e9ea70fa1b3836af4b925322919159100e
|
52 |
|
53 | ### 2.3.0 Apr 27 2016
|
54 |
|
55 | - Feature: added Signal() for invoking async callbacks without sending data from AsyncProgressWorker d8adba45f20e077d00561b20199133620c990b38
|
56 | - Bugfix: Don't use deprecated v8::Template::Set() 00dacf0a4b86027415867fa7f1059acc499dcece
|
57 |
|
58 | ### 2.2.1 Mar 29 2016
|
59 |
|
60 | - Bugfix: Use NewFromUnsigned in ReturnValue<T>::Set(uint32_t i) for pre_12 3a18f9bdce29826e0e4c217854bc476918241a58
|
61 | - Performance: Remove unneeeded nullptr checks b715ef44887931c94f0d1605b3b1a4156eebece9
|
62 |
|
63 | ### 2.2.0 Jan 9 2016
|
64 |
|
65 | - Feature: Add Function::Call wrapper 4c157474dacf284d125c324177b45aa5dabc08c6
|
66 | - Feature: Rename GC*logueCallback to GCCallback for > 4.0 3603435109f981606d300eb88004ca101283acec
|
67 | - Bugfix: Fix Global::Pass for old versions 367e82a60fbaa52716232cc89db1cc3f685d77d9
|
68 | - Bugfix: Remove weird MaybeLocal wrapping of what already is a MaybeLocal 23b4590db10c2ba66aee2338aebe9751c4cb190b
|
69 |
|
70 | ### 2.1.0 Oct 8 2015
|
71 |
|
72 | - Deprecation: Deprecate NanErrnoException in favor of ErrnoException 0af1ca4cf8b3f0f65ed31bc63a663ab3319da55c
|
73 | - Feature: added helper class for accessing contents of typedarrays 17b51294c801e534479d5463697a73462d0ca555
|
74 | - Feature: [Maybe types] Add MakeMaybe(...) 48d7b53d9702b0c7a060e69ea10fea8fb48d814d
|
75 | - Feature: new: allow utf16 string with length 66ac6e65c8ab9394ef588adfc59131b3b9d8347b
|
76 | - Feature: Introduce SetCallHandler and SetCallAsFunctionHandler 7764a9a115d60ba10dc24d86feb0fbc9b4f75537
|
77 | - Bugfix: Enable creating Locals from Globals under Node 0.10. 9bf9b8b190821af889790fdc18ace57257e4f9ff
|
78 | - Bugfix: Fix issue #462 where PropertyCallbackInfo data is not stored safely. 55f50adedd543098526c7b9f4fffd607d3f9861f
|
79 |
|
80 | ### 2.0.9 Sep 8 2015
|
81 |
|
82 | - Bugfix: EscapableHandleScope in Nan::NewBuffer for Node 0.8 and 0.10 b1654d7
|
83 |
|
84 | ### 2.0.8 Aug 28 2015
|
85 |
|
86 | - Work around duplicate linking bug in clang 11902da
|
87 |
|
88 | ### 2.0.7 Aug 26 2015
|
89 |
|
90 | - Build: Repackage
|
91 |
|
92 | ### 2.0.6 Aug 26 2015
|
93 |
|
94 | - Bugfix: Properly handle null callback in FunctionTemplate factory 6e99cb1
|
95 | - Bugfix: Remove unused static std::map instances 525bddc
|
96 | - Bugfix: Make better use of maybe versions of APIs bfba85b
|
97 | - Bugfix: Fix shadowing issues with handle in ObjectWrap 0a9072d
|
98 |
|
99 | ### 2.0.5 Aug 10 2015
|
100 |
|
101 | - Bugfix: Reimplement weak callback in ObjectWrap 98d38c1
|
102 | - Bugfix: Make sure callback classes are not assignable, copyable or movable 81f9b1d
|
103 |
|
104 | ### 2.0.4 Aug 6 2015
|
105 |
|
106 | - Build: Repackage
|
107 |
|
108 | ### 2.0.3 Aug 6 2015
|
109 |
|
110 | - Bugfix: Don't use clang++ / g++ syntax extension. 231450e
|
111 |
|
112 | ### 2.0.2 Aug 6 2015
|
113 |
|
114 | - Build: Repackage
|
115 |
|
116 | ### 2.0.1 Aug 6 2015
|
117 |
|
118 | - Bugfix: Add workaround for missing REPLACE_INVALID_UTF8 60d6687
|
119 | - Bugfix: Reimplement ObjectWrap from scratch to prevent memory leaks 6484601
|
120 | - Bugfix: Fix Persistent leak in FunctionCallbackInfo and PropertyCallbackInfo 641ef5f
|
121 | - Bugfix: Add missing overload for Nan::NewInstance that takes argc/argv 29450ed
|
122 |
|
123 | ### 2.0.0 Jul 31 2015
|
124 |
|
125 | - Change: Renamed identifiers with leading underscores b5932b4
|
126 | - Change: Replaced NanObjectWrapHandle with class NanObjectWrap 464f1e1
|
127 | - Change: Replace NanScope and NanEscpableScope macros with classes 47751c4
|
128 | - Change: Rename NanNewBufferHandle to NanNewBuffer 6745f99
|
129 | - Change: Rename NanBufferUse to NanNewBuffer 3e8b0a5
|
130 | - Change: Rename NanNewBuffer to NanCopyBuffer d6af78d
|
131 | - Change: Remove Nan prefix from all names 72d1f67
|
132 | - Change: Update Buffer API for new upstream changes d5d3291
|
133 | - Change: Rename Scope and EscapableScope to HandleScope and EscapableHandleScope 21a7a6a
|
134 | - Change: Get rid of Handles e6c0daf
|
135 | - Feature: Support io.js 3 with V8 4.4
|
136 | - Feature: Introduce NanPersistent 7fed696
|
137 | - Feature: Introduce NanGlobal 4408da1
|
138 | - Feature: Added NanTryCatch 10f1ca4
|
139 | - Feature: Update for V8 v4.3 4b6404a
|
140 | - Feature: Introduce NanNewOneByteString c543d32
|
141 | - Feature: Introduce namespace Nan 67ed1b1
|
142 | - Removal: Remove NanLocker and NanUnlocker dd6e401
|
143 | - Removal: Remove string converters, except NanUtf8String, which now follows the node implementation b5d00a9
|
144 | - Removal: Remove NanReturn* macros d90a25c
|
145 | - Removal: Remove HasInstance e8f84fe
|
146 |
|
147 |
|
148 | ### 1.9.0 Jul 31 2015
|
149 |
|
150 | - Feature: Added `NanFatalException` 81d4a2c
|
151 | - Feature: Added more error types 4265f06
|
152 | - Feature: Added dereference and function call operators to NanCallback c4b2ed0
|
153 | - Feature: Added indexed GetFromPersistent and SaveToPersistent edd510c
|
154 | - Feature: Added more overloads of SaveToPersistent and GetFromPersistent 8b1cef6
|
155 | - Feature: Added NanErrnoException dd87d9e
|
156 | - Correctness: Prevent assign, copy, and move for classes that do not support it 1f55c59, 4b808cb, c96d9b2, fba4a29, 3357130
|
157 | - Deprecation: Deprecate `NanGetPointerSafe` and `NanSetPointerSafe` 81d4a2c
|
158 | - Deprecation: Deprecate `NanBooleanOptionValue` and `NanUInt32OptionValue` 0ad254b
|
159 |
|
160 | ### 1.8.4 Apr 26 2015
|
161 |
|
162 | - Build: Repackage
|
163 |
|
164 | ### 1.8.3 Apr 26 2015
|
165 |
|
166 | - Bugfix: Include missing header 1af8648
|
167 |
|
168 | ### 1.8.2 Apr 23 2015
|
169 |
|
170 | - Build: Repackage
|
171 |
|
172 | ### 1.8.1 Apr 23 2015
|
173 |
|
174 | - Bugfix: NanObjectWrapHandle should take a pointer 155f1d3
|
175 |
|
176 | ### 1.8.0 Apr 23 2015
|
177 |
|
178 | - Feature: Allow primitives with NanReturnValue 2e4475e
|
179 | - Feature: Added comparison operators to NanCallback 55b075e
|
180 | - Feature: Backport thread local storage 15bb7fa
|
181 | - Removal: Remove support for signatures with arguments 8a2069d
|
182 | - Correcteness: Replaced NanObjectWrapHandle macro with function 0bc6d59
|
183 |
|
184 | ### 1.7.0 Feb 28 2015
|
185 |
|
186 | - Feature: Made NanCallback::Call accept optional target 8d54da7
|
187 | - Feature: Support atom-shell 0.21 0b7f1bb
|
188 |
|
189 | ### 1.6.2 Feb 6 2015
|
190 |
|
191 | - Bugfix: NanEncode: fix argument type for node::Encode on io.js 2be8639
|
192 |
|
193 | ### 1.6.1 Jan 23 2015
|
194 |
|
195 | - Build: version bump
|
196 |
|
197 | ### 1.5.3 Jan 23 2015
|
198 |
|
199 | - Build: repackage
|
200 |
|
201 | ### 1.6.0 Jan 23 2015
|
202 |
|
203 | - Deprecated `NanNewContextHandle` in favor of `NanNew<Context>` 49259af
|
204 | - Support utility functions moved in newer v8 versions (Node 0.11.15, io.js 1.0) a0aa179
|
205 | - Added `NanEncode`, `NanDecodeBytes` and `NanDecodeWrite` 75e6fb9
|
206 |
|
207 | ### 1.5.2 Jan 23 2015
|
208 |
|
209 | - Bugfix: Fix non-inline definition build error with clang++ 21d96a1, 60fadd4
|
210 | - Bugfix: Readded missing String constructors 18d828f
|
211 | - Bugfix: Add overload handling NanNew<FunctionTemplate>(..) 5ef813b
|
212 | - Bugfix: Fix uv_work_cb versioning 997e4ae
|
213 | - Bugfix: Add function factory and test 4eca89c
|
214 | - Bugfix: Add object template factory and test cdcb951
|
215 | - Correctness: Lifted an io.js related typedef c9490be
|
216 | - Correctness: Make explicit downcasts of String lengths 00074e6
|
217 | - Windows: Limit the scope of disabled warning C4530 83d7deb
|
218 |
|
219 | ### 1.5.1 Jan 15 2015
|
220 |
|
221 | - Build: version bump
|
222 |
|
223 | ### 1.4.3 Jan 15 2015
|
224 |
|
225 | - Build: version bump
|
226 |
|
227 | ### 1.4.2 Jan 15 2015
|
228 |
|
229 | - Feature: Support io.js 0dbc5e8
|
230 |
|
231 | ### 1.5.0 Jan 14 2015
|
232 |
|
233 | - Feature: Support io.js b003843
|
234 | - Correctness: Improved NanNew internals 9cd4f6a
|
235 | - Feature: Implement progress to NanAsyncWorker 8d6a160
|
236 |
|
237 | ### 1.4.1 Nov 8 2014
|
238 |
|
239 | - Bugfix: Handle DEBUG definition correctly
|
240 | - Bugfix: Accept int as Boolean
|
241 |
|
242 | ### 1.4.0 Nov 1 2014
|
243 |
|
244 | - Feature: Added NAN_GC_CALLBACK 6a5c245
|
245 | - Performance: Removed unnecessary local handle creation 18a7243, 41fe2f8
|
246 | - Correctness: Added constness to references in NanHasInstance 02c61cd
|
247 | - Warnings: Fixed spurious warnings from -Wundef and -Wshadow, 541b122, 99d8cb6
|
248 | - Windoze: Shut Visual Studio up when compiling 8d558c1
|
249 | - License: Switch to plain MIT from custom hacked MIT license 11de983
|
250 | - Build: Added test target to Makefile e232e46
|
251 | - Performance: Removed superfluous scope in NanAsyncWorker f4b7821
|
252 | - Sugar/Feature: Added NanReturnThis() and NanReturnHolder() shorthands 237a5ff, d697208
|
253 | - Feature: Added suitable overload of NanNew for v8::Integer::NewFromUnsigned b27b450
|
254 |
|
255 | ### 1.3.0 Aug 2 2014
|
256 |
|
257 | - Added NanNew<v8::String, std::string>(std::string)
|
258 | - Added NanNew<v8::String, std::string&>(std::string&)
|
259 | - Added NanAsciiString helper class
|
260 | - Added NanUtf8String helper class
|
261 | - Added NanUcs2String helper class
|
262 | - Deprecated NanRawString()
|
263 | - Deprecated NanCString()
|
264 | - Added NanGetIsolateData(v8::Isolate *isolate)
|
265 | - Added NanMakeCallback(v8::Handle<v8::Object> target, v8::Handle<v8::Function> func, int argc, v8::Handle<v8::Value>* argv)
|
266 | - Added NanMakeCallback(v8::Handle<v8::Object> target, v8::Handle<v8::String> symbol, int argc, v8::Handle<v8::Value>* argv)
|
267 | - Added NanMakeCallback(v8::Handle<v8::Object> target, const char* method, int argc, v8::Handle<v8::Value>* argv)
|
268 | - Added NanSetTemplate(v8::Handle<v8::Template> templ, v8::Handle<v8::String> name , v8::Handle<v8::Data> value, v8::PropertyAttribute attributes)
|
269 | - Added NanSetPrototypeTemplate(v8::Local<v8::FunctionTemplate> templ, v8::Handle<v8::String> name, v8::Handle<v8::Data> value, v8::PropertyAttribute attributes)
|
270 | - Added NanSetInstanceTemplate(v8::Local<v8::FunctionTemplate> templ, const char *name, v8::Handle<v8::Data> value)
|
271 | - Added NanSetInstanceTemplate(v8::Local<v8::FunctionTemplate> templ, v8::Handle<v8::String> name, v8::Handle<v8::Data> value, v8::PropertyAttribute attributes)
|
272 |
|
273 | ### 1.2.0 Jun 5 2014
|
274 |
|
275 | - Add NanSetPrototypeTemplate
|
276 | - Changed NAN_WEAK_CALLBACK internals, switched _NanWeakCallbackData to class,
|
277 | introduced _NanWeakCallbackDispatcher
|
278 | - Removed -Wno-unused-local-typedefs from test builds
|
279 | - Made test builds Windows compatible ('Sleep()')
|
280 |
|
281 | ### 1.1.2 May 28 2014
|
282 |
|
283 | - Release to fix more stuff-ups in 1.1.1
|
284 |
|
285 | ### 1.1.1 May 28 2014
|
286 |
|
287 | - Release to fix version mismatch in nan.h and lack of changelog entry for 1.1.0
|
288 |
|
289 | ### 1.1.0 May 25 2014
|
290 |
|
291 | - Remove nan_isolate, use v8::Isolate::GetCurrent() internally instead
|
292 | - Additional explicit overloads for NanNew(): (char*,int), (uint8_t*[,int]),
|
293 | (uint16_t*[,int), double, int, unsigned int, bool, v8::String::ExternalStringResource*,
|
294 | v8::String::ExternalAsciiStringResource*
|
295 | - Deprecate NanSymbol()
|
296 | - Added SetErrorMessage() and ErrorMessage() to NanAsyncWorker
|
297 |
|
298 | ### 1.0.0 May 4 2014
|
299 |
|
300 | - Heavy API changes for V8 3.25 / Node 0.11.13
|
301 | - Use cpplint.py
|
302 | - Removed NanInitPersistent
|
303 | - Removed NanPersistentToLocal
|
304 | - Removed NanFromV8String
|
305 | - Removed NanMakeWeak
|
306 | - Removed NanNewLocal
|
307 | - Removed NAN_WEAK_CALLBACK_OBJECT
|
308 | - Removed NAN_WEAK_CALLBACK_DATA
|
309 | - Introduce NanNew, replaces NanNewLocal, NanPersistentToLocal, adds many overloaded typed versions
|
310 | - Introduce NanUndefined, NanNull, NanTrue and NanFalse
|
311 | - Introduce NanEscapableScope and NanEscapeScope
|
312 | - Introduce NanMakeWeakPersistent (requires a special callback to work on both old and new node)
|
313 | - Introduce NanMakeCallback for node::MakeCallback
|
314 | - Introduce NanSetTemplate
|
315 | - Introduce NanGetCurrentContext
|
316 | - Introduce NanCompileScript and NanRunScript
|
317 | - Introduce NanAdjustExternalMemory
|
318 | - Introduce NanAddGCEpilogueCallback, NanAddGCPrologueCallback, NanRemoveGCEpilogueCallback, NanRemoveGCPrologueCallback
|
319 | - Introduce NanGetHeapStatistics
|
320 | - Rename NanAsyncWorker#SavePersistent() to SaveToPersistent()
|
321 |
|
322 | ### 0.8.0 Jan 9 2014
|
323 |
|
324 | - NanDispose -> NanDisposePersistent, deprecate NanDispose
|
325 | - Extract _NAN_*_RETURN_TYPE, pull up NAN_*()
|
326 |
|
327 | ### 0.7.1 Jan 9 2014
|
328 |
|
329 | - Fixes to work against debug builds of Node
|
330 | - Safer NanPersistentToLocal (avoid reinterpret_cast)
|
331 | - Speed up common NanRawString case by only extracting flattened string when necessary
|
332 |
|
333 | ### 0.7.0 Dec 17 2013
|
334 |
|
335 | - New no-arg form of NanCallback() constructor.
|
336 | - NanCallback#Call takes Handle rather than Local
|
337 | - Removed deprecated NanCallback#Run method, use NanCallback#Call instead
|
338 | - Split off _NAN_*_ARGS_TYPE from _NAN_*_ARGS
|
339 | - Restore (unofficial) Node 0.6 compatibility at NanCallback#Call()
|
340 | - Introduce NanRawString() for char* (or appropriate void*) from v8::String
|
341 | (replacement for NanFromV8String)
|
342 | - Introduce NanCString() for null-terminated char* from v8::String
|
343 |
|
344 | ### 0.6.0 Nov 21 2013
|
345 |
|
346 | - Introduce NanNewLocal<T>(v8::Handle<T> value) for use in place of
|
347 | v8::Local<T>::New(...) since v8 started requiring isolate in Node 0.11.9
|
348 |
|
349 | ### 0.5.2 Nov 16 2013
|
350 |
|
351 | - Convert SavePersistent and GetFromPersistent in NanAsyncWorker from protected and public
|
352 |
|
353 | ### 0.5.1 Nov 12 2013
|
354 |
|
355 | - Use node::MakeCallback() instead of direct v8::Function::Call()
|
356 |
|
357 | ### 0.5.0 Nov 11 2013
|
358 |
|
359 | - Added @TooTallNate as collaborator
|
360 | - New, much simpler, "include_dirs" for binding.gyp
|
361 | - Added full range of NAN_INDEX_* macros to match NAN_PROPERTY_* macros
|
362 |
|
363 | ### 0.4.4 Nov 2 2013
|
364 |
|
365 | - Isolate argument from v8::Persistent::MakeWeak removed for 0.11.8+
|
366 |
|
367 | ### 0.4.3 Nov 2 2013
|
368 |
|
369 | - Include node_object_wrap.h, removed from node.h for Node 0.11.8.
|
370 |
|
371 | ### 0.4.2 Nov 2 2013
|
372 |
|
373 | - Handle deprecation of v8::Persistent::Dispose(v8::Isolate* isolate)) for
|
374 | Node 0.11.8 release.
|
375 |
|
376 | ### 0.4.1 Sep 16 2013
|
377 |
|
378 | - Added explicit `#include <uv.h>` as it was removed from node.h for v0.11.8
|
379 |
|
380 | ### 0.4.0 Sep 2 2013
|
381 |
|
382 | - Added NAN_INLINE and NAN_DEPRECATED and made use of them
|
383 | - Added NanError, NanTypeError and NanRangeError
|
384 | - Cleaned up code
|
385 |
|
386 | ### 0.3.2 Aug 30 2013
|
387 |
|
388 | - Fix missing scope declaration in GetFromPersistent() and SaveToPersistent
|
389 | in NanAsyncWorker
|
390 |
|
391 | ### 0.3.1 Aug 20 2013
|
392 |
|
393 | - fix "not all control paths return a value" compile warning on some platforms
|
394 |
|
395 | ### 0.3.0 Aug 19 2013
|
396 |
|
397 | - Made NAN work with NPM
|
398 | - Lots of fixes to NanFromV8String, pulling in features from new Node core
|
399 | - Changed node::encoding to Nan::Encoding in NanFromV8String to unify the API
|
400 | - Added optional error number argument for NanThrowError()
|
401 | - Added NanInitPersistent()
|
402 | - Added NanReturnNull() and NanReturnEmptyString()
|
403 | - Added NanLocker and NanUnlocker
|
404 | - Added missing scopes
|
405 | - Made sure to clear disposed Persistent handles
|
406 | - Changed NanAsyncWorker to allocate error messages on the heap
|
407 | - Changed NanThrowError(Local<Value>) to NanThrowError(Handle<Value>)
|
408 | - Fixed leak in NanAsyncWorker when errmsg is used
|
409 |
|
410 | ### 0.2.2 Aug 5 2013
|
411 |
|
412 | - Fixed usage of undefined variable with node::BASE64 in NanFromV8String()
|
413 |
|
414 | ### 0.2.1 Aug 5 2013
|
415 |
|
416 | - Fixed 0.8 breakage, node::BUFFER encoding type not available in 0.8 for
|
417 | NanFromV8String()
|
418 |
|
419 | ### 0.2.0 Aug 5 2013
|
420 |
|
421 | - Added NAN_PROPERTY_GETTER, NAN_PROPERTY_SETTER, NAN_PROPERTY_ENUMERATOR,
|
422 | NAN_PROPERTY_DELETER, NAN_PROPERTY_QUERY
|
423 | - Extracted _NAN_METHOD_ARGS, _NAN_GETTER_ARGS, _NAN_SETTER_ARGS,
|
424 | _NAN_PROPERTY_GETTER_ARGS, _NAN_PROPERTY_SETTER_ARGS,
|
425 | _NAN_PROPERTY_ENUMERATOR_ARGS, _NAN_PROPERTY_DELETER_ARGS,
|
426 | _NAN_PROPERTY_QUERY_ARGS
|
427 | - Added NanGetInternalFieldPointer, NanSetInternalFieldPointer
|
428 | - Added NAN_WEAK_CALLBACK, NAN_WEAK_CALLBACK_OBJECT,
|
429 | NAN_WEAK_CALLBACK_DATA, NanMakeWeak
|
430 | - Renamed THROW_ERROR to _NAN_THROW_ERROR
|
431 | - Added NanNewBufferHandle(char*, size_t, node::smalloc::FreeCallback, void*)
|
432 | - Added NanBufferUse(char*, uint32_t)
|
433 | - Added NanNewContextHandle(v8::ExtensionConfiguration*,
|
434 | v8::Handle<v8::ObjectTemplate>, v8::Handle<v8::Value>)
|
435 | - Fixed broken NanCallback#GetFunction()
|
436 | - Added optional encoding and size arguments to NanFromV8String()
|
437 | - Added NanGetPointerSafe() and NanSetPointerSafe()
|
438 | - Added initial test suite (to be expanded)
|
439 | - Allow NanUInt32OptionValue to convert any Number object
|
440 |
|
441 | ### 0.1.0 Jul 21 2013
|
442 |
|
443 | - Added `NAN_GETTER`, `NAN_SETTER`
|
444 | - Added `NanThrowError` with single Local<Value> argument
|
445 | - Added `NanNewBufferHandle` with single uint32_t argument
|
446 | - Added `NanHasInstance(Persistent<FunctionTemplate>&, Handle<Value>)`
|
447 | - Added `Local<Function> NanCallback#GetFunction()`
|
448 | - Added `NanCallback#Call(int, Local<Value>[])`
|
449 | - Deprecated `NanCallback#Run(int, Local<Value>[])` in favour of Call
|