diff --git a/.changeset/eleven-ties-flash.md b/.changeset/eleven-ties-flash.md deleted file mode 100644 index ce62a56b7..000000000 --- a/.changeset/eleven-ties-flash.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -"@flopflip/react-broadcast": patch -"@flopflip/react-redux": patch -"@flopflip/react": patch -"@flopflip/types": patch ---- - -Update dependencies diff --git a/.changeset/poor-keys-unite.md b/.changeset/poor-keys-unite.md deleted file mode 100644 index b58002419..000000000 --- a/.changeset/poor-keys-unite.md +++ /dev/null @@ -1,28 +0,0 @@ ---- -"@flopflip/react-broadcast": minor -"@flopflip/react-redux": minor -"@flopflip/test-utils": minor ---- - -Included a new hook that allows a consumer to read all the flags configured in the FlopFlip context. - -Example: - - ```javascript -import { useAllFeatureToggles } from '@flopflip/react-broadcast'; - -const MyComponent = () => { - const allFeatureToggles = useAllFeatureToggles(); - - return ( -
- {allFeatureToggles.map(({ featureName, featureValue }) => ( -
- Feature name: {featureName} - Feature value: {featureValue} -
- ))} -
- ); -}; -``` diff --git a/packages/adapter-utilities/CHANGELOG.md b/packages/adapter-utilities/CHANGELOG.md index c5fa7c831..853ac5f13 100644 --- a/packages/adapter-utilities/CHANGELOG.md +++ b/packages/adapter-utilities/CHANGELOG.md @@ -1,5 +1,12 @@ # @flopflip/adapter-utilities +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/adapter-utilities/package.json b/packages/adapter-utilities/package.json index 4f0fc52fe..dd2cd50c4 100644 --- a/packages/adapter-utilities/package.json +++ b/packages/adapter-utilities/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/adapter-utilities", - "version": "13.1.8", + "version": "13.2.0", "description": "Adapter utilities for flipflop", "main": "dist/flopflip-adapter-utilities.cjs.js", "module": "dist/flopflip-adapter-utilities.esm.js", @@ -29,7 +29,7 @@ ], "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/types": "13.1.8", + "@flopflip/types": "13.2.0", "globalthis": "1.0.3", "lodash": "4.17.21" }, diff --git a/packages/combine-adapters/CHANGELOG.md b/packages/combine-adapters/CHANGELOG.md index 2cf81582b..202cb8385 100644 --- a/packages/combine-adapters/CHANGELOG.md +++ b/packages/combine-adapters/CHANGELOG.md @@ -1,5 +1,13 @@ # @flopflip/combine-adapters +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + - @flopflip/adapter-utilities@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/combine-adapters/package.json b/packages/combine-adapters/package.json index 3fc6610cc..41be5f95f 100644 --- a/packages/combine-adapters/package.json +++ b/packages/combine-adapters/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/combine-adapters", - "version": "13.1.8", + "version": "13.2.0", "description": "An adapter which combines other adapters for flipflop", "main": "dist/flopflip-combine-adapters.cjs.js", "module": "dist/flopflip-combine-adapters.esm.js", @@ -30,14 +30,14 @@ ], "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/adapter-utilities": "13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/adapter-utilities": "13.2.0", + "@flopflip/types": "13.2.0", "mitt": "3.0.1", "tiny-warning": "1.0.3" }, "devDependencies": { - "@flopflip/localstorage-adapter": "13.1.8", - "@flopflip/memory-adapter": "13.1.8", + "@flopflip/localstorage-adapter": "13.2.0", + "@flopflip/memory-adapter": "13.2.0", "globalthis": "1.0.3" } } diff --git a/packages/cypress-plugin/CHANGELOG.md b/packages/cypress-plugin/CHANGELOG.md index a53d1ddde..ba486f108 100644 --- a/packages/cypress-plugin/CHANGELOG.md +++ b/packages/cypress-plugin/CHANGELOG.md @@ -1,5 +1,12 @@ # @flopflip/cypress-plugin +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/cypress-plugin/package.json b/packages/cypress-plugin/package.json index c30fa30d7..c5a1be38a 100644 --- a/packages/cypress-plugin/package.json +++ b/packages/cypress-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/cypress-plugin", - "version": "13.1.8", + "version": "13.2.0", "description": "A plugin for Cypress change feature toggles in Cypress runs", "main": "dist/flopflip-cypress-plugin.cjs.js", "module": "dist/flopflip-cypress-plugin.esm.js", @@ -33,7 +33,7 @@ "cypress": "4.x || 5.x || 6.x || 7.x || 8.x || 9.x || 10.x || 11.x || 12.x || 13.x" }, "dependencies": { - "@flopflip/types": "13.1.8" + "@flopflip/types": "13.2.0" }, "keywords": [ "react", diff --git a/packages/graphql-adapter/CHANGELOG.md b/packages/graphql-adapter/CHANGELOG.md index 25de1de50..8cf661566 100644 --- a/packages/graphql-adapter/CHANGELOG.md +++ b/packages/graphql-adapter/CHANGELOG.md @@ -1,5 +1,15 @@ # @flopflip/graphql-adapter +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + - @flopflip/adapter-utilities@13.2.0 + - @flopflip/localstorage-cache@13.2.0 + - @flopflip/sessionstorage-cache@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/graphql-adapter/package.json b/packages/graphql-adapter/package.json index 0275c3e79..36a740eea 100644 --- a/packages/graphql-adapter/package.json +++ b/packages/graphql-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/graphql-adapter", - "version": "13.1.8", + "version": "13.2.0", "description": "An GraphQL adapter for flipflop", "main": "dist/flopflip-graphql-adapter.cjs.js", "module": "dist/flopflip-graphql-adapter.esm.js", @@ -30,10 +30,10 @@ ], "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/adapter-utilities": "13.1.8", - "@flopflip/localstorage-cache": "13.1.8", - "@flopflip/sessionstorage-cache": "13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/adapter-utilities": "13.2.0", + "@flopflip/localstorage-cache": "13.2.0", + "@flopflip/sessionstorage-cache": "13.2.0", + "@flopflip/types": "13.2.0", "lodash": "4.17.21", "mitt": "3.0.1", "tiny-warning": "1.0.3" diff --git a/packages/http-adapter/CHANGELOG.md b/packages/http-adapter/CHANGELOG.md index f5b8fedb7..99a2c147e 100644 --- a/packages/http-adapter/CHANGELOG.md +++ b/packages/http-adapter/CHANGELOG.md @@ -1,5 +1,15 @@ # @flopflip/http-adapter +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + - @flopflip/adapter-utilities@13.2.0 + - @flopflip/localstorage-cache@13.2.0 + - @flopflip/sessionstorage-cache@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/http-adapter/package.json b/packages/http-adapter/package.json index 8dc368bc3..00649f2e7 100644 --- a/packages/http-adapter/package.json +++ b/packages/http-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/http-adapter", - "version": "13.1.8", + "version": "13.2.0", "description": "An HTTP adapter for flipflop", "main": "dist/flopflip-http-adapter.cjs.js", "module": "dist/flopflip-http-adapter.esm.js", @@ -30,10 +30,10 @@ ], "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/adapter-utilities": "13.1.8", - "@flopflip/localstorage-cache": "13.1.8", - "@flopflip/sessionstorage-cache": "13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/adapter-utilities": "13.2.0", + "@flopflip/localstorage-cache": "13.2.0", + "@flopflip/sessionstorage-cache": "13.2.0", + "@flopflip/types": "13.2.0", "lodash": "4.17.21", "mitt": "3.0.1", "tiny-warning": "1.0.3" diff --git a/packages/launchdarkly-adapter/CHANGELOG.md b/packages/launchdarkly-adapter/CHANGELOG.md index 98608c10e..b89e0496b 100644 --- a/packages/launchdarkly-adapter/CHANGELOG.md +++ b/packages/launchdarkly-adapter/CHANGELOG.md @@ -1,5 +1,13 @@ # @flopflip/launchdarkly-adapter +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + - @flopflip/adapter-utilities@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/launchdarkly-adapter/package.json b/packages/launchdarkly-adapter/package.json index 677a6852a..6f683fe9a 100644 --- a/packages/launchdarkly-adapter/package.json +++ b/packages/launchdarkly-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/launchdarkly-adapter", - "version": "13.1.8", + "version": "13.2.0", "description": "A adapter around the LaunchDarkly client for flipflop", "main": "dist/flopflip-launchdarkly-adapter.cjs.js", "module": "dist/flopflip-launchdarkly-adapter.esm.js", @@ -27,8 +27,8 @@ }, "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/adapter-utilities": "13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/adapter-utilities": "13.2.0", + "@flopflip/types": "13.2.0", "debounce-fn": "4.0.0", "launchdarkly-js-client-sdk": "3.1.4", "lodash": "4.17.21", diff --git a/packages/localstorage-adapter/CHANGELOG.md b/packages/localstorage-adapter/CHANGELOG.md index 9d8f29b3a..7f21024a0 100644 --- a/packages/localstorage-adapter/CHANGELOG.md +++ b/packages/localstorage-adapter/CHANGELOG.md @@ -1,5 +1,14 @@ # @flopflip/localstorage-adapter +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + - @flopflip/adapter-utilities@13.2.0 + - @flopflip/localstorage-cache@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/localstorage-adapter/package.json b/packages/localstorage-adapter/package.json index df3221bd2..a25c5376e 100644 --- a/packages/localstorage-adapter/package.json +++ b/packages/localstorage-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/localstorage-adapter", - "version": "13.1.8", + "version": "13.2.0", "description": "An localstorage adapter for flipflop", "main": "dist/flopflip-localstorage-adapter.cjs.js", "module": "dist/flopflip-localstorage-adapter.esm.js", @@ -30,9 +30,9 @@ ], "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/adapter-utilities": "13.1.8", - "@flopflip/localstorage-cache": "13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/adapter-utilities": "13.2.0", + "@flopflip/localstorage-cache": "13.2.0", + "@flopflip/types": "13.2.0", "lodash": "4.17.21", "mitt": "3.0.1", "tiny-warning": "1.0.3" diff --git a/packages/localstorage-cache/CHANGELOG.md b/packages/localstorage-cache/CHANGELOG.md index 1524f77cb..0e56b9eac 100644 --- a/packages/localstorage-cache/CHANGELOG.md +++ b/packages/localstorage-cache/CHANGELOG.md @@ -1,5 +1,12 @@ # @flopflip/localstorage-cache +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/localstorage-cache/package.json b/packages/localstorage-cache/package.json index b93576503..1807ab160 100644 --- a/packages/localstorage-cache/package.json +++ b/packages/localstorage-cache/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/localstorage-cache", - "version": "13.1.8", + "version": "13.2.0", "description": "Localstorage cache for flipflop adapters", "main": "dist/flopflip-localstorage-cache.cjs.js", "module": "dist/flopflip-localstorage-cache.esm.js", @@ -30,6 +30,6 @@ "client" ], "dependencies": { - "@flopflip/types": "13.1.8" + "@flopflip/types": "13.2.0" } } diff --git a/packages/memory-adapter/CHANGELOG.md b/packages/memory-adapter/CHANGELOG.md index 1cffafa40..2c94de73e 100644 --- a/packages/memory-adapter/CHANGELOG.md +++ b/packages/memory-adapter/CHANGELOG.md @@ -1,5 +1,13 @@ # @flopflip/memory-adapter +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + - @flopflip/adapter-utilities@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/memory-adapter/package.json b/packages/memory-adapter/package.json index e66a00e01..70fe36e85 100644 --- a/packages/memory-adapter/package.json +++ b/packages/memory-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/memory-adapter", - "version": "13.1.8", + "version": "13.2.0", "description": "An in memory adapter for flipflop", "main": "dist/flopflip-memory-adapter.cjs.js", "module": "dist/flopflip-memory-adapter.esm.js", @@ -30,8 +30,8 @@ ], "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/adapter-utilities": "13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/adapter-utilities": "13.2.0", + "@flopflip/types": "13.2.0", "mitt": "3.0.1", "tiny-warning": "1.0.3" }, diff --git a/packages/react-broadcast/CHANGELOG.md b/packages/react-broadcast/CHANGELOG.md index 3bfb0ccd1..ac1d75b72 100644 --- a/packages/react-broadcast/CHANGELOG.md +++ b/packages/react-broadcast/CHANGELOG.md @@ -1,5 +1,40 @@ # @flopflip/react-broadcast +## 13.2.0 + +### Minor Changes + +- [#1848](https://github.com/tdeekens/flopflip/pull/1848) [`2f75a14`](https://github.com/tdeekens/flopflip/commit/2f75a146bcf0c6145a7f625927b52ac767caece8) Thanks [@CarlosCortizasCT](https://github.com/CarlosCortizasCT)! - Included a new hook that allows a consumer to read all the flags configured in the FlopFlip context. + + Example: + + ```javascript + import { useAllFeatureToggles } from "@flopflip/react-broadcast"; + + const MyComponent = () => { + const allFeatureToggles = useAllFeatureToggles(); + + return ( +
+ {allFeatureToggles.map(({ featureName, featureValue }) => ( +
+ Feature name: {featureName} + Feature value: {featureValue} +
+ ))} +
+ ); + }; + ``` + +### Patch Changes + +- [#1846](https://github.com/tdeekens/flopflip/pull/1846) [`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/react@13.2.0 + - @flopflip/types@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/react-broadcast/package.json b/packages/react-broadcast/package.json index 44f6f3594..bea93bf8e 100644 --- a/packages/react-broadcast/package.json +++ b/packages/react-broadcast/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/react-broadcast", - "version": "13.1.8", + "version": "13.2.0", "description": "A feature toggle wrapper to use LaunchDarkly with React", "main": "dist/flopflip-react-broadcast.cjs.js", "module": "dist/flopflip-react-broadcast.esm.js", @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/tdeekens/flopflip#readme", "devDependencies": { - "@flopflip/memory-adapter": "13.1.8", + "@flopflip/memory-adapter": "13.2.0", "@flopflip/test-utils": "*", "@types/react": "18.2.60", "@types/react-dom": "18.2.19", @@ -40,8 +40,8 @@ }, "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/react": "^13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/react": "^13.2.0", + "@flopflip/types": "13.2.0", "use-sync-external-store": "1.2.0" }, "keywords": [ diff --git a/packages/react-redux/CHANGELOG.md b/packages/react-redux/CHANGELOG.md index e4b53c464..58981a6c4 100644 --- a/packages/react-redux/CHANGELOG.md +++ b/packages/react-redux/CHANGELOG.md @@ -1,5 +1,40 @@ # @flopflip/react-redux +## 13.2.0 + +### Minor Changes + +- [#1848](https://github.com/tdeekens/flopflip/pull/1848) [`2f75a14`](https://github.com/tdeekens/flopflip/commit/2f75a146bcf0c6145a7f625927b52ac767caece8) Thanks [@CarlosCortizasCT](https://github.com/CarlosCortizasCT)! - Included a new hook that allows a consumer to read all the flags configured in the FlopFlip context. + + Example: + + ```javascript + import { useAllFeatureToggles } from "@flopflip/react-broadcast"; + + const MyComponent = () => { + const allFeatureToggles = useAllFeatureToggles(); + + return ( +
+ {allFeatureToggles.map(({ featureName, featureValue }) => ( +
+ Feature name: {featureName} + Feature value: {featureValue} +
+ ))} +
+ ); + }; + ``` + +### Patch Changes + +- [#1846](https://github.com/tdeekens/flopflip/pull/1846) [`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/react@13.2.0 + - @flopflip/types@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/react-redux/package.json b/packages/react-redux/package.json index 1235ec24c..2deb3981d 100644 --- a/packages/react-redux/package.json +++ b/packages/react-redux/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/react-redux", - "version": "13.1.8", + "version": "13.2.0", "description": "A feature toggle wrapper to use LaunchDarkly with React Redux", "main": "dist/flopflip-react-redux.cjs.js", "module": "dist/flopflip-react-redux.esm.js", @@ -27,7 +27,7 @@ }, "homepage": "https://github.com/tdeekens/flopflip#readme", "devDependencies": { - "@flopflip/memory-adapter": "13.1.8", + "@flopflip/memory-adapter": "13.2.0", "@flopflip/test-utils": "*", "react": "18.2.0", "react-dom": "18.2.0", @@ -36,8 +36,8 @@ }, "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/react": "^13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/react": "^13.2.0", + "@flopflip/types": "13.2.0", "@types/react": "18.2.60", "@types/react-redux": "7.1.33" }, diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index b46409aef..8bfa285c0 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,14 @@ # @flopflip/react +## 13.2.0 + +### Patch Changes + +- [#1846](https://github.com/tdeekens/flopflip/pull/1846) [`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/react/package.json b/packages/react/package.json index 058f21d19..9065e63af 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/react", - "version": "13.1.8", + "version": "13.2.0", "description": "A feature toggle wrapper to use LaunchDarkly with React", "main": "dist/flopflip-react.cjs.js", "module": "dist/flopflip-react.esm.js", @@ -39,7 +39,7 @@ }, "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/types": "13.1.8", + "@flopflip/types": "13.2.0", "@types/react-is": "17.0.7", "lodash": "4.17.21", "react-is": "18.2.0", diff --git a/packages/sessionstorage-cache/CHANGELOG.md b/packages/sessionstorage-cache/CHANGELOG.md index 22ff090f9..d0185237d 100644 --- a/packages/sessionstorage-cache/CHANGELOG.md +++ b/packages/sessionstorage-cache/CHANGELOG.md @@ -1,5 +1,12 @@ # @flopflip/sessionstorage-cache +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/sessionstorage-cache/package.json b/packages/sessionstorage-cache/package.json index a173391b7..1eb7b4b41 100644 --- a/packages/sessionstorage-cache/package.json +++ b/packages/sessionstorage-cache/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/sessionstorage-cache", - "version": "13.1.8", + "version": "13.2.0", "description": "Sessionstorage cache for flipflop adapters", "main": "dist/flopflip-sessionstorage-cache.cjs.js", "module": "dist/flopflip-sessionstorage-cache.esm.js", @@ -30,6 +30,6 @@ "client" ], "dependencies": { - "@flopflip/types": "13.1.8" + "@flopflip/types": "13.2.0" } } diff --git a/packages/splitio-adapter/CHANGELOG.md b/packages/splitio-adapter/CHANGELOG.md index 253a89070..e749d8aa2 100644 --- a/packages/splitio-adapter/CHANGELOG.md +++ b/packages/splitio-adapter/CHANGELOG.md @@ -1,5 +1,13 @@ # @flopflip/splitio-adapter +## 13.2.0 + +### Patch Changes + +- Updated dependencies [[`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93)]: + - @flopflip/types@13.2.0 + - @flopflip/adapter-utilities@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/splitio-adapter/package.json b/packages/splitio-adapter/package.json index da3b4fe55..21aea5567 100644 --- a/packages/splitio-adapter/package.json +++ b/packages/splitio-adapter/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/splitio-adapter", - "version": "13.1.8", + "version": "13.2.0", "description": "A adapter around the split.io client for flipflop", "main": "dist/flopflip-splitio-adapter.cjs.js", "module": "dist/flopflip-splitio-adapter.esm.js", @@ -27,8 +27,8 @@ }, "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/adapter-utilities": "13.1.8", - "@flopflip/types": "13.1.8", + "@flopflip/adapter-utilities": "13.2.0", + "@flopflip/types": "13.2.0", "@splitsoftware/splitio": "10.25.1", "lodash": "4.17.21", "ts-deepmerge": "7.0.0" diff --git a/packages/test-utils/CHANGELOG.md b/packages/test-utils/CHANGELOG.md index 5e5609a89..f2da3fa59 100644 --- a/packages/test-utils/CHANGELOG.md +++ b/packages/test-utils/CHANGELOG.md @@ -1,5 +1,37 @@ # @flopflip/test-utils +## 13.2.0 + +### Minor Changes + +- [#1848](https://github.com/tdeekens/flopflip/pull/1848) [`2f75a14`](https://github.com/tdeekens/flopflip/commit/2f75a146bcf0c6145a7f625927b52ac767caece8) Thanks [@CarlosCortizasCT](https://github.com/CarlosCortizasCT)! - Included a new hook that allows a consumer to read all the flags configured in the FlopFlip context. + + Example: + + ```javascript + import { useAllFeatureToggles } from "@flopflip/react-broadcast"; + + const MyComponent = () => { + const allFeatureToggles = useAllFeatureToggles(); + + return ( +
+ {allFeatureToggles.map(({ featureName, featureValue }) => ( +
+ Feature name: {featureName} + Feature value: {featureValue} +
+ ))} +
+ ); + }; + ``` + +### Patch Changes + +- Updated dependencies []: + - @flopflip/memory-adapter@13.2.0 + ## 13.1.8 ### Patch Changes diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index c6b76253e..6efd79fa5 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@flopflip/test-utils", - "version": "13.1.8", + "version": "13.2.0", "description": "Test utils for flipflop", "main": "index.js", "author": "Tobias Deekens ", @@ -16,7 +16,7 @@ ], "dependencies": { "@babel/runtime": "7.23.9", - "@flopflip/memory-adapter": "13.1.8", + "@flopflip/memory-adapter": "13.2.0", "@testing-library/jest-dom": "6.4.2", "@testing-library/react": "14.2.1", "jest-runner-eslint": "2.1.2", diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index c8e1a6937..3fd834d80 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @flopflip/types +## 13.2.0 + +### Patch Changes + +- [#1846](https://github.com/tdeekens/flopflip/pull/1846) [`445ee19`](https://github.com/tdeekens/flopflip/commit/445ee199d6b0962945d67c0469352d737b8c5f93) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies + ## 13.1.8 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index dd2bfdba5..06ba49151 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@flopflip/types", - "version": "13.1.8", + "version": "13.2.0", "description": "Type definitions for flipflop", "main": "dist/flopflip-types.cjs.js", "module": "dist/flopflip-types.esm.js", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index c4286d474..7a2cf319e 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -225,7 +225,7 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types globalthis: specifier: 1.0.3 @@ -244,10 +244,10 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/adapter-utilities': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../adapter-utilities '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types mitt: specifier: 3.0.1 @@ -257,10 +257,10 @@ importers: version: 1.0.3 devDependencies: '@flopflip/localstorage-adapter': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../localstorage-adapter '@flopflip/memory-adapter': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../memory-adapter globalthis: specifier: 1.0.3 @@ -269,7 +269,7 @@ importers: packages/cypress-plugin: dependencies: '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types devDependencies: cypress: @@ -282,16 +282,16 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/adapter-utilities': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../adapter-utilities '@flopflip/localstorage-cache': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../localstorage-cache '@flopflip/sessionstorage-cache': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../sessionstorage-cache '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types lodash: specifier: 4.17.21 @@ -313,16 +313,16 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/adapter-utilities': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../adapter-utilities '@flopflip/localstorage-cache': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../localstorage-cache '@flopflip/sessionstorage-cache': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../sessionstorage-cache '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types lodash: specifier: 4.17.21 @@ -344,10 +344,10 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/adapter-utilities': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../adapter-utilities '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types debounce-fn: specifier: 4.0.0 @@ -378,13 +378,13 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/adapter-utilities': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../adapter-utilities '@flopflip/localstorage-cache': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../localstorage-cache '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types lodash: specifier: 4.17.21 @@ -403,7 +403,7 @@ importers: packages/localstorage-cache: dependencies: '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types packages/memory-adapter: @@ -412,10 +412,10 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/adapter-utilities': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../adapter-utilities '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types mitt: specifier: 3.0.1 @@ -434,7 +434,7 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types '@types/react-is': specifier: 17.0.7 @@ -474,17 +474,17 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/react': - specifier: ^13.1.8 + specifier: ^13.2.0 version: link:../react '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types use-sync-external-store: specifier: 1.2.0 version: 1.2.0(react@18.2.0) devDependencies: '@flopflip/memory-adapter': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../memory-adapter '@flopflip/test-utils': specifier: '*' @@ -508,10 +508,10 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/react': - specifier: ^13.1.8 + specifier: ^13.2.0 version: link:../react '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types '@types/react': specifier: 18.2.0 @@ -521,7 +521,7 @@ importers: version: 7.1.33 devDependencies: '@flopflip/memory-adapter': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../memory-adapter '@flopflip/test-utils': specifier: '*' @@ -542,7 +542,7 @@ importers: packages/sessionstorage-cache: dependencies: '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types packages/splitio-adapter: @@ -551,10 +551,10 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/adapter-utilities': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../adapter-utilities '@flopflip/types': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../types '@splitsoftware/splitio': specifier: 10.25.1 @@ -576,7 +576,7 @@ importers: specifier: 7.23.9 version: 7.23.9 '@flopflip/memory-adapter': - specifier: 13.1.8 + specifier: 13.2.0 version: link:../memory-adapter '@testing-library/jest-dom': specifier: 6.4.2