Skip to content

Support for Node 0.11+#135

Merged
tbranyen merged 3 commits intonodegit:masterfrom
pierreinglebert:compat-0.11
Mar 19, 2014
Merged

Support for Node 0.11+#135
tbranyen merged 3 commits intonodegit:masterfrom
pierreinglebert:compat-0.11

Conversation

@pierreinglebert
Copy link
Copy Markdown
Contributor

v8 API has some breaking changes in 0.11 (and upcoming 0.12), especially for Handlescope, Arguments and Persistent.

There are only one way to make a 0.8 / 0.10 / 0.11 compatible addon without add tons of preprocessor lines, it's NAN, it's already used on some popular addons like ssh or pg.

@pierreinglebert
Copy link
Copy Markdown
Contributor Author

Tested with node 0.8, 0.10 & 0.11.10 (0.11.11 has an issue )

@tbranyen
Copy link
Copy Markdown
Member

Awesome thanks so much!

tbranyen added a commit that referenced this pull request Mar 19, 2014
@tbranyen tbranyen merged commit 341300e into nodegit:master Mar 19, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants