Skip to content

2.0.0

Compare
Choose a tag to compare
@cmoesel cmoesel released this 30 Nov 19:34
· 9 commits to master since this release

Version 2.0.0 is a new major release of cql-exec-vsac that should continue to work with most implementations using cql-exec-vsac 1.x. This release does not include any new features, but does include some breaking changes.

Breaking Changes

Removal of Deprecated Methods

The ensureValueSets and ensureValueSetsInLibrary methods have been removed from the module. These methods were already broken since NLM removed support for authenticating by username/password. The ensureValueSetsWithAPIKey and ensureValueSetsInLibraryWithAPIKey should be used instead.

Underlying HTTP Library Replacement

Version 1.x used request to perform HTTP operations. The request library is now deprecated and no longer maintained. As a result, version 2.0.0 has been updated to use node-fetch instead. While this change should be transparent in most cases, the run-time errors that are now thrown come from node-fetch instead of request, and so they have a different format.

Detailed Change List

  • Replace 'request-promise-native' library with 'node-fetch' by @oyisre in #20
  • Switch to NPM and Update Dependency Libraries by @cmoesel in #21
  • Rename lib to src and format using Prettier by @cmoesel in #22
  • Remove deprecated ensureValueSets and ensureValueSetsInLibrary methods by @cmoesel in #23

New Contributors

Full Changelog: v1.2.2...v2.0.0