Skip to content

Commit 8714b53

Browse files
ci(changesets): version packages (#1893)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 612461e commit 8714b53

File tree

37 files changed

+338
-138
lines changed

37 files changed

+338
-138
lines changed

.changeset/blue-balloons-fail.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

.changeset/chilled-phones-greet.md

Lines changed: 0 additions & 19 deletions
This file was deleted.

packages/adapter-utilities/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @flopflip/adapter-utilities
22

3+
## 14.0.0
4+
5+
### Patch Changes
6+
7+
- [#1889](https://github.com/tdeekens/flopflip/pull/1889) [`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001) Thanks [@renovate](https://github.com/apps/renovate)! - Update dependencies
8+
9+
- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
10+
- @flopflip/types@14.0.0
11+
312
## 13.6.0
413

514
### Patch Changes

packages/adapter-utilities/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flopflip/adapter-utilities",
3-
"version": "13.6.0",
3+
"version": "14.0.0",
44
"description": "Adapter utilities for flipflop",
55
"main": "dist/flopflip-adapter-utilities.cjs.js",
66
"module": "dist/flopflip-adapter-utilities.esm.js",
@@ -29,7 +29,7 @@
2929
],
3030
"dependencies": {
3131
"@babel/runtime": "7.24.4",
32-
"@flopflip/types": "13.6.0",
32+
"@flopflip/types": "14.0.0",
3333
"globalthis": "1.0.3",
3434
"lodash": "4.17.21"
3535
},

packages/cache/CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# @flopflip/cache
2+
3+
## 14.0.0
4+
5+
### Major Changes
6+
7+
- [#1888](https://github.com/tdeekens/flopflip/pull/1888) [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43) Thanks [@tdeekens](https://github.com/tdeekens)! - The release adds a new `cacheMode` property on the `adapterArgs` of an adapter.
8+
9+
Using the `cacheMode` you can opt into an `eager` or `lazy`. The `cacheMode` allows you to define when remote flags should take affect in an application. Before `flopflip` behaved always `eager`. This remains the case when passing `eager` or `null` as the `cacheMode`. In `lazy` mode `flopflip` will not directly flush remote values and only silently put them in the cache. They would then take effect on the next render or `reconfigure`.
10+
11+
In short, the `cacheMode` can be `eager` to indicate that remote values should have effect immediately. The value can also be `lazy` to indicate that values should be updated in the cache but only be applied once the adapter is configured again
12+
13+
With the `cacheMode` we removed some likely unused functionality which explored similar ideas before:
14+
15+
1. `unsubscribeFromCachedFlags`: This is now always the case. You can use the `lazy` `cacheMode` to indicate that you don't want flags to take immediate effect
16+
2. `subscribeToFlagChanges`: This is now always true. You can't opt-out of the flag subscription any longer
17+
18+
### Patch Changes
19+
20+
- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
21+
- @flopflip/types@14.0.0
22+
- @flopflip/localstorage-cache@14.0.0
23+
- @flopflip/sessionstorage-cache@14.0.0

packages/cache/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flopflip/cache",
3-
"version": "13.5.2",
3+
"version": "14.0.0",
44
"description": "Caching for flipflop adapters",
55
"main": "dist/flopflip-cache.cjs.js",
66
"module": "dist/flopflip-cache.esm.js",
@@ -29,8 +29,8 @@
2929
"client"
3030
],
3131
"dependencies": {
32-
"@flopflip/localstorage-cache": "13.6.0",
33-
"@flopflip/sessionstorage-cache": "13.6.0",
34-
"@flopflip/types": "13.6.0"
32+
"@flopflip/localstorage-cache": "14.0.0",
33+
"@flopflip/sessionstorage-cache": "14.0.0",
34+
"@flopflip/types": "14.0.0"
3535
}
3636
}

packages/combine-adapters/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @flopflip/combine-adapters
22

3+
## 14.0.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
8+
- @flopflip/adapter-utilities@14.0.0
9+
- @flopflip/types@14.0.0
10+
311
## 13.6.0
412

513
### Patch Changes

packages/combine-adapters/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flopflip/combine-adapters",
3-
"version": "13.6.0",
3+
"version": "14.0.0",
44
"description": "An adapter which combines other adapters for flipflop",
55
"main": "dist/flopflip-combine-adapters.cjs.js",
66
"module": "dist/flopflip-combine-adapters.esm.js",
@@ -30,14 +30,14 @@
3030
],
3131
"dependencies": {
3232
"@babel/runtime": "7.24.4",
33-
"@flopflip/adapter-utilities": "13.6.0",
34-
"@flopflip/types": "13.6.0",
33+
"@flopflip/adapter-utilities": "14.0.0",
34+
"@flopflip/types": "14.0.0",
3535
"mitt": "3.0.1",
3636
"tiny-warning": "1.0.3"
3737
},
3838
"devDependencies": {
39-
"@flopflip/localstorage-adapter": "13.6.0",
40-
"@flopflip/memory-adapter": "13.6.0",
39+
"@flopflip/localstorage-adapter": "14.0.0",
40+
"@flopflip/memory-adapter": "14.0.0",
4141
"globalthis": "1.0.3"
4242
}
4343
}

packages/cypress-plugin/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @flopflip/cypress-plugin
22

3+
## 14.0.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
8+
- @flopflip/types@14.0.0
9+
310
## 13.6.0
411

512
### Patch Changes

packages/cypress-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@flopflip/cypress-plugin",
3-
"version": "13.6.0",
3+
"version": "14.0.0",
44
"description": "A plugin for Cypress change feature toggles in Cypress runs",
55
"main": "dist/flopflip-cypress-plugin.cjs.js",
66
"module": "dist/flopflip-cypress-plugin.esm.js",
@@ -33,7 +33,7 @@
3333
"cypress": "4.x || 5.x || 6.x || 7.x || 8.x || 9.x || 10.x || 11.x || 12.x || 13.x"
3434
},
3535
"dependencies": {
36-
"@flopflip/types": "13.6.0"
36+
"@flopflip/types": "14.0.0"
3737
},
3838
"keywords": [
3939
"react",

0 commit comments

Comments
 (0)