Skip to content

Commit

Permalink
chore(main): release web-sdk 1.4.0 (#1106)
Browse files Browse the repository at this point in the history
🤖 I have created a release *beep* *boop*
---


##
[1.4.0](web-sdk-v1.3.2...web-sdk-v1.4.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](#1087))
([2135254](2135254))

### ✨ New Features

* add evaluation details to finally hook
([#1087](#1087))
([2135254](2135254))


### 📚 Documentation

* fix comment in README for Hook’s after method
([#1102](#1102))
([ba8d1ae](ba8d1ae))


### 🔄 Refactoring

* improve track interface for providers
([#1100](#1100))
([5e5b160](5e5b160))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Signed-off-by: OpenFeature Bot <[email protected]>
Signed-off-by: Michael Beemer <[email protected]>
Co-authored-by: Michael Beemer <[email protected]>
  • Loading branch information
openfeaturebot and beeme1mr authored Dec 18, 2024
1 parent bd26d0a commit 79de7ca
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"packages/nest": "0.2.2",
"packages/react": "0.4.9",
"packages/angular": "0.0.1-experimental",
"packages/web": "1.3.2",
"packages/web": "1.4.0",
"packages/server": "1.16.2",
"packages/shared": "1.6.0",
"packages/angular/projects/angular-sdk": "0.0.9-experimental"
Expand Down
22 changes: 22 additions & 0 deletions packages/web/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
# Changelog


## [1.4.0](https://github.com/open-feature/js-sdk/compare/web-sdk-v1.3.2...web-sdk-v1.4.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 ([#1102](https://github.com/open-feature/js-sdk/issues/1102)) ([ba8d1ae](https://github.com/open-feature/js-sdk/commit/ba8d1aeec837cb089cda3499d44ecc505ea0c947))


### 🔄 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.3.2](https://github.com/open-feature/js-sdk/compare/web-sdk-v1.3.1...web-sdk-v1.3.2) (2024-11-07)


Expand Down
4 changes: 2 additions & 2 deletions packages/web/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
<img alt="Specification" src="https://img.shields.io/static/v1?label=specification&message=v0.8.0&color=yellow&style=for-the-badge" />
</a>
<!-- x-release-please-start-version -->
<a href="https://github.com/open-feature/js-sdk/releases/tag/web-sdk-v1.3.2">
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v1.3.2&color=blue&style=for-the-badge" />
<a href="https://github.com/open-feature/js-sdk/releases/tag/web-sdk-v1.4.0">
<img alt="Release" src="https://img.shields.io/static/v1?label=release&message=v1.4.0&color=blue&style=for-the-badge" />
</a>
<!-- x-release-please-end -->
<br/>
Expand Down
6 changes: 3 additions & 3 deletions packages/web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@openfeature/web-sdk",
"version": "1.3.2",
"version": "1.4.0",
"description": "OpenFeature SDK for Web",
"main": "./dist/cjs/index.js",
"files": [
Expand Down Expand Up @@ -46,9 +46,9 @@
},
"homepage": "https://github.com/open-feature/js-sdk#readme",
"peerDependencies": {
"@openfeature/core": "^1.5.0"
"@openfeature/core": "^1.6.0"
},
"devDependencies": {
"@openfeature/core": "^1.5.0"
"@openfeature/core": "^1.6.0"
}
}

0 comments on commit 79de7ca

Please sign in to comment.