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