Skip to content
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

Release docs? #139

Closed
toymachiner62 opened this issue Dec 19, 2022 · 4 comments
Closed

Release docs? #139

toymachiner62 opened this issue Dec 19, 2022 · 4 comments

Comments

@toymachiner62
Copy link

I noticed there was a new release but wanted to see what was changed in the current release. Are there any release docs for this lib?

@silas
Copy link
Owner

silas commented Dec 21, 2022

I didn't write anything up, but the primary changes are:

  • Switched from callbacks to promises (the pre-1.x version supported both, the new version only supports Promises)
  • Removed support for legacy versions of node (basically only the currently maintained versions are officially supported, although older versions might still work)
  • Enabled http keep-alive by default
  • Removed lock (this was always marked as experimental and I wasn't confident in the implementation)
  • Moved various methods from consul.acl to consul.acl.legacy
  • Update to papi 1.x

@silas silas closed this as completed Dec 21, 2022
@toymachiner62
Copy link
Author

toymachiner62 commented Dec 21, 2022 via email

@silas
Copy link
Owner

silas commented Dec 21, 2022

Woops, I assumed you meant the the 0.40..0 to 1.0.0, which obviously was a major bump.

If you mean the 1.1.0 to 1.2.0 release, the only change was #136, which basically changed how watches where compared in response to #134 #135, which should be backwards compatible (there were no interface changes).

@toymachiner62
Copy link
Author

Got it. Thanks.

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

No branches or pull requests

2 participants