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