diff --git a/.release-please-manifest.json b/.release-please-manifest.json index b153bda31..3667a7491 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -3,7 +3,7 @@ "packages/react": "0.4.9", "packages/angular": "0.0.1-experimental", "packages/web": "1.4.0", - "packages/server": "1.16.2", + "packages/server": "1.17.0", "packages/shared": "1.6.0", "packages/angular/projects/angular-sdk": "0.0.9-experimental" } diff --git a/packages/server/CHANGELOG.md b/packages/server/CHANGELOG.md index f85b57058..8cacf4201 100644 --- a/packages/server/CHANGELOG.md +++ b/packages/server/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## [1.17.0](https://github.com/open-feature/js-sdk/compare/server-sdk-v1.16.2...server-sdk-v1.17.0) (2024-12-18) + +### ⚠ BREAKING CHANGES + +The signature of the `finally` hook stage has been changed. The signature now includes the `evaluation details`, as per the [OpenFeature specification](https://openfeature.dev/specification/sections/hooks#requirement-438). Note that since hooks are still `experimental,` this does not constitute a change requiring a new major version. To migrate, update any hook that implements the `finally` stage to accept `evaluation details` as the second argument. + +* add evaluation details to finally hook ([#1087](https://github.com/open-feature/js-sdk/issues/1087)) ([2135254](https://github.com/open-feature/js-sdk/commit/2135254c4bee52b4bcadfbf8b99a896cfd930cca)) + +### ✨ New Features + +* add evaluation details to finally hook ([#1087](https://github.com/open-feature/js-sdk/issues/1087)) ([2135254](https://github.com/open-feature/js-sdk/commit/2135254c4bee52b4bcadfbf8b99a896cfd930cca)) + + +### 📚 Documentation + +* fix comment in README for Hook’s after method ([#1103](https://github.com/open-feature/js-sdk/issues/1103)) ([e335615](https://github.com/open-feature/js-sdk/commit/e3356157d5910d9196e8968c20d4c9a46c4de910)) + + +### 🔄 Refactoring + +* improve track interface for providers ([#1100](https://github.com/open-feature/js-sdk/issues/1100)) ([5e5b160](https://github.com/open-feature/js-sdk/commit/5e5b16022122b71760634ac90e3fd962aa831c74)) + ## [1.16.2](https://github.com/open-feature/js-sdk/compare/server-sdk-v1.16.1...server-sdk-v1.16.2) (2024-11-07) diff --git a/packages/server/README.md b/packages/server/README.md index 8b6cf8dc1..37ffcc6cb 100644 --- a/packages/server/README.md +++ b/packages/server/README.md @@ -16,8 +16,8 @@ Specification - - Release + + Release
diff --git a/packages/server/package.json b/packages/server/package.json index b62bf8506..e7bce3a9d 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -1,6 +1,6 @@ { "name": "@openfeature/server-sdk", - "version": "1.16.2", + "version": "1.17.0", "description": "OpenFeature SDK for JavaScript", "main": "./dist/cjs/index.js", "files": [ @@ -48,9 +48,9 @@ "node": ">=18" }, "peerDependencies": { - "@openfeature/core": "^1.5.0" + "@openfeature/core": "^1.6.0" }, "devDependencies": { - "@openfeature/core": "^1.5.0" + "@openfeature/core": "^1.6.0" } }