Skip to content

Remove fallbacks for unsupported Node versions (#1304) #1313

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

Merged
merged 3 commits into from
Jun 9, 2017

Conversation

brianc
Copy link
Owner

@brianc brianc commented Jun 9, 2017

  • Remove unsupported Node versions 0.10 and 0.12 from CI

  • Replace deprecated Buffer constructor with .from/.alloc

  • Remove Promise polyfill

  • Make use of Object.assign

  • Remove checks for versions of Node earlier than 4

  • Remove Buffer#indexOf fallback for Node 0.10

brianc added 3 commits June 7, 2017 22:58
* Remove redundant tests

* Add client connectionString test

Add test to ensure { connectionString } is respected as an argument to the client constructor

* Add test for connection string property

Also fixed some legacy require statements.
Map native error properties to the same property names we use for errors from the JS driver.

Fixes #972
Fixes #938
@brianc
Copy link
Owner Author

brianc commented Jun 9, 2017

I tried a vscode plugin to create a pull request directly from a branch I was working on into the 7.0 branch. Unfortunately that plugin went crazy and just pushed some of my commits to the tip of your pull request branch which sucks...

Lesson learned: don't use that vscode plugin, create pull requests from the cli with hub. Anyways - this PR now has additional changes in it on 056f42c but once the tests pass we should be good to merge all of this into the 7.0 branch.

@brianc brianc changed the base branch from master to 7.0 June 9, 2017 02:46
@brianc brianc merged commit aeb0c75 into 7.0 Jun 9, 2017
@brianc brianc deleted the normalize-native-error-properties branch June 9, 2017 02:53
brianc added a commit that referenced this pull request Jun 9, 2017
* Add client connectionString tests (#1310)

* Remove redundant tests

* Add client connectionString test

Add test to ensure { connectionString } is respected as an argument to the client constructor

* Add test for connection string property

Also fixed some legacy require statements.

* Normalize native error properties

Map native error properties to the same property names we use for errors from the JS driver.

Fixes #972
Fixes #938
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.

1 participant