-
Notifications
You must be signed in to change notification settings - Fork 505
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.9 WIP #86
Conversation
#if _MSC_VER < 1600 | ||
// TODO(kkoopa): Implement | ||
#else | ||
#define typeof(expression) decltype(expression) |
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
This comment was marked as off-topic.
This comment was marked as off-topic.
Sorry, something went wrong.
Removed:
Introduced:
Modified:
|
Is there any point maintaining |
This is broken on 0.8.x btw, fine on 0.10.x and master but none of the 0.8's pass.
considering we've had calls for 0.6 compatibility (which I believe we've largely had), this would upset people if we released like this. |
That's because of nodejs/node-v0.x-archive@7ab4a77d. It should be alright to do a |
So it needs patching for ancient versions. Question then is whether to keep |
I have not tested, but I guess it should work on 0.8 now. |
👍 thanks!
|
Still passing on Node master, is anyone aware of issues with this branch against master? We should prepare for a release soon, I'll probe the core guys about the promised 0.11.13. In the meantime, anything new that's been added or changed, please update the parts of the docs you're responsible, also filling out some dot points in the Changelog at the top of nan.h would save me some time at release digging through the git log to come up with one myself. |
Upgraded LevelDOWN to this branch, kind of epic but it's working on 0.10 and master now. The actual commit is here. I have a failing test involving a buffer but I'm leaning towards an error on my end rather than NAN or Node master. I'm loving the new |
There's no support for making |
That's the only major change between 3.24 and 3.25, everything else is either small fix-ups or new functionality but not anything that should affect nan. |
So, are we actually breaking API here, or just deprecating? Breaking the API should be reserved for a v1.0.0 release IMO, otherwise, any packages out there that have i.e. |
I don't think many packages have it added that way. Those who use NAN use it to support 0.12 (and 0.11 inbetween), everybody should want to run the latest working 0.11 release, as it is an unstable target. In order to support Node 0.11.13 and on, there will have to be rewriting any way, so this means that all packages using nan will need changing. Even if we did not break NAN, there would still have to be rewriting for everything, due to the v8 changes. Oh yeah, while many items could be retained as deprecated, the weak API can't be unbroken, so anything using that will break no matter what. I guess we could declare it 1.0, but up until now the promise has been that builds are stable within a minor version, so doing |
Yeah, we should probably start following correct semver now because of the ^ change in npm. 1.0.0 will be fine for this release, there's lots of breakage. |
I don't have an opinion on what the version number should be, just wanted to point out that ^ works like ~ when the major version is < 0. (I have opinions on npm trying to shove semver down everyone's throat but that's besides the point. Suffice it to say that none of my modules will ever see a 1.0.0 release.) |
I think this should be fairly feature-complete now, there could still be some polishing. Maybe |
Agreed on pushing things through |
You guys certainly been busy. I have managed to compile the addon for 0.11.13-pre but it seems 0.10 is completely broken now:
|
probably due to a change introduced yesterday on that branch of NAN, it'll be sorted out before a proper release and we won't go live with a git dependency here either |
sorry, I thought this was a leveldown thread! ooops. I'm sure @kkoopa will be on to this soon and have it sorted. |
Hopefully there will be an end to the changes in v8 at some point and broken official node releases. It is pretty tedious to fix stuff for such moving target. :) |
Now I have problem because I have ported node-x509 to 0.11.13 through this pull request but as soon as as the control flow returns from native addon to node, the node process terminates abruptly without any error or segault. It simply exits. Now I cannot check if it works with other versions but if you have similar issues then please advise. |
@RushPL have a look for references that may be garbage collected. The GC behaviour all through 0.11 has been quite different. If you don't hold on to a |
merged and 1.0.0 released |
LGTM But I wonder how tests pass down to 0.11.10, were there constructors with isolates already then? Rod Vagg notifications@github.com wrote: I've just done the changelog in nan.h, please have a quick look and let me know if I've missed anything or if you want to expand on anything (actually, just change it yourself asap). I'm just going to do a quick note on the README and mention some of the major changes that will impact most people -- NanNew, NanEscapableScope, the NanAssignPersistent sig change, NanDisposePersistent, NanMakeCallback. Once I've written that up I'll bump to 1.0.0 and release. I'll follow up with a leveldown release and a node-bignum release. After that I guess we should all go around and update the various projects we contribute this stuff to. — |
my guess is that our test suite is too incomplete to pick up incompatibilities! yes, about 1/2 of the constructors had isolates, now it's pervasive |
Targeting 0.11.13, or before if we're comfortable with the stability.
Replaces #64