Skip to content

Commit

Permalink
ci(changesets): version packages (#1893)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
tdeekens and github-actions[bot] committed Apr 11, 2024
1 parent 612461e commit 8714b53
Show file tree
Hide file tree
Showing 37 changed files with 338 additions and 138 deletions.
10 changes: 0 additions & 10 deletions .changeset/blue-balloons-fail.md

This file was deleted.

19 changes: 0 additions & 19 deletions .changeset/chilled-phones-greet.md

This file was deleted.

9 changes: 9 additions & 0 deletions packages/adapter-utilities/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @flopflip/adapter-utilities

## 14.0.0

### Patch Changes

- [#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

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/types@14.0.0

## 13.6.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/adapter-utilities/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flopflip/adapter-utilities",
"version": "13.6.0",
"version": "14.0.0",
"description": "Adapter utilities for flipflop",
"main": "dist/flopflip-adapter-utilities.cjs.js",
"module": "dist/flopflip-adapter-utilities.esm.js",
Expand Down Expand Up @@ -29,7 +29,7 @@
],
"dependencies": {
"@babel/runtime": "7.24.4",
"@flopflip/types": "13.6.0",
"@flopflip/types": "14.0.0",
"globalthis": "1.0.3",
"lodash": "4.17.21"
},
Expand Down
23 changes: 23 additions & 0 deletions packages/cache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# @flopflip/cache

## 14.0.0

### Major Changes

- [#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.

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`.

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

With the `cacheMode` we removed some likely unused functionality which explored similar ideas before:

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
2. `subscribeToFlagChanges`: This is now always true. You can't opt-out of the flag subscription any longer

### Patch Changes

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/types@14.0.0
- @flopflip/localstorage-cache@14.0.0
- @flopflip/sessionstorage-cache@14.0.0
8 changes: 4 additions & 4 deletions packages/cache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flopflip/cache",
"version": "13.5.2",
"version": "14.0.0",
"description": "Caching for flipflop adapters",
"main": "dist/flopflip-cache.cjs.js",
"module": "dist/flopflip-cache.esm.js",
Expand Down Expand Up @@ -29,8 +29,8 @@
"client"
],
"dependencies": {
"@flopflip/localstorage-cache": "13.6.0",
"@flopflip/sessionstorage-cache": "13.6.0",
"@flopflip/types": "13.6.0"
"@flopflip/localstorage-cache": "14.0.0",
"@flopflip/sessionstorage-cache": "14.0.0",
"@flopflip/types": "14.0.0"
}
}
8 changes: 8 additions & 0 deletions packages/combine-adapters/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @flopflip/combine-adapters

## 14.0.0

### Patch Changes

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/adapter-utilities@14.0.0
- @flopflip/types@14.0.0

## 13.6.0

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/combine-adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flopflip/combine-adapters",
"version": "13.6.0",
"version": "14.0.0",
"description": "An adapter which combines other adapters for flipflop",
"main": "dist/flopflip-combine-adapters.cjs.js",
"module": "dist/flopflip-combine-adapters.esm.js",
Expand Down Expand Up @@ -30,14 +30,14 @@
],
"dependencies": {
"@babel/runtime": "7.24.4",
"@flopflip/adapter-utilities": "13.6.0",
"@flopflip/types": "13.6.0",
"@flopflip/adapter-utilities": "14.0.0",
"@flopflip/types": "14.0.0",
"mitt": "3.0.1",
"tiny-warning": "1.0.3"
},
"devDependencies": {
"@flopflip/localstorage-adapter": "13.6.0",
"@flopflip/memory-adapter": "13.6.0",
"@flopflip/localstorage-adapter": "14.0.0",
"@flopflip/memory-adapter": "14.0.0",
"globalthis": "1.0.3"
}
}
7 changes: 7 additions & 0 deletions packages/cypress-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @flopflip/cypress-plugin

## 14.0.0

### Patch Changes

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/types@14.0.0

## 13.6.0

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/cypress-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flopflip/cypress-plugin",
"version": "13.6.0",
"version": "14.0.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",
Expand Down Expand Up @@ -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.6.0"
"@flopflip/types": "14.0.0"
},
"keywords": [
"react",
Expand Down
24 changes: 24 additions & 0 deletions packages/graphql-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @flopflip/graphql-adapter

## 14.0.0

### Minor Changes

- [#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.

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`.

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

With the `cacheMode` we removed some likely unused functionality which explored similar ideas before:

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
2. `subscribeToFlagChanges`: This is now always true. You can't opt-out of the flag subscription any longer

### Patch Changes

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/adapter-utilities@14.0.0
- @flopflip/types@14.0.0
- @flopflip/cache@14.0.0
- @flopflip/localstorage-cache@14.0.0
- @flopflip/sessionstorage-cache@14.0.0

## 13.6.0

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/graphql-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flopflip/graphql-adapter",
"version": "13.6.0",
"version": "14.0.0",
"description": "An GraphQL adapter for flipflop",
"main": "dist/flopflip-graphql-adapter.cjs.js",
"module": "dist/flopflip-graphql-adapter.esm.js",
Expand Down Expand Up @@ -30,11 +30,11 @@
],
"dependencies": {
"@babel/runtime": "7.24.4",
"@flopflip/adapter-utilities": "13.6.0",
"@flopflip/cache": "13.5.2",
"@flopflip/localstorage-cache": "13.6.0",
"@flopflip/sessionstorage-cache": "13.6.0",
"@flopflip/types": "13.6.0",
"@flopflip/adapter-utilities": "14.0.0",
"@flopflip/cache": "14.0.0",
"@flopflip/localstorage-cache": "14.0.0",
"@flopflip/sessionstorage-cache": "14.0.0",
"@flopflip/types": "14.0.0",
"lodash": "4.17.21",
"mitt": "3.0.1",
"tiny-warning": "1.0.3"
Expand Down
24 changes: 24 additions & 0 deletions packages/http-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @flopflip/http-adapter

## 14.0.0

### Minor Changes

- [#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.

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`.

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

With the `cacheMode` we removed some likely unused functionality which explored similar ideas before:

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
2. `subscribeToFlagChanges`: This is now always true. You can't opt-out of the flag subscription any longer

### Patch Changes

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/adapter-utilities@14.0.0
- @flopflip/types@14.0.0
- @flopflip/cache@14.0.0
- @flopflip/localstorage-cache@14.0.0
- @flopflip/sessionstorage-cache@14.0.0

## 13.6.0

### Minor Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/http-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flopflip/http-adapter",
"version": "13.6.0",
"version": "14.0.0",
"description": "An HTTP adapter for flipflop",
"main": "dist/flopflip-http-adapter.cjs.js",
"module": "dist/flopflip-http-adapter.esm.js",
Expand Down Expand Up @@ -30,11 +30,11 @@
],
"dependencies": {
"@babel/runtime": "7.24.4",
"@flopflip/adapter-utilities": "13.6.0",
"@flopflip/cache": "13.5.2",
"@flopflip/localstorage-cache": "13.6.0",
"@flopflip/sessionstorage-cache": "13.6.0",
"@flopflip/types": "13.6.0",
"@flopflip/adapter-utilities": "14.0.0",
"@flopflip/cache": "14.0.0",
"@flopflip/localstorage-cache": "14.0.0",
"@flopflip/sessionstorage-cache": "14.0.0",
"@flopflip/types": "14.0.0",
"lodash": "4.17.21",
"mitt": "3.0.1",
"tiny-warning": "1.0.3"
Expand Down
24 changes: 24 additions & 0 deletions packages/launchdarkly-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @flopflip/launchdarkly-adapter

## 14.0.0

### Major Changes

- [#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.

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`.

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

With the `cacheMode` we removed some likely unused functionality which explored similar ideas before:

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
2. `subscribeToFlagChanges`: This is now always true. You can't opt-out of the flag subscription any longer

### Patch Changes

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/adapter-utilities@14.0.0
- @flopflip/types@14.0.0
- @flopflip/cache@14.0.0
- @flopflip/localstorage-cache@14.0.0
- @flopflip/sessionstorage-cache@14.0.0

## 13.6.0

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/launchdarkly-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flopflip/launchdarkly-adapter",
"version": "13.6.0",
"version": "14.0.0",
"description": "A adapter around the LaunchDarkly client for flipflop",
"main": "dist/flopflip-launchdarkly-adapter.cjs.js",
"module": "dist/flopflip-launchdarkly-adapter.esm.js",
Expand All @@ -27,11 +27,11 @@
},
"dependencies": {
"@babel/runtime": "7.24.4",
"@flopflip/adapter-utilities": "13.6.0",
"@flopflip/cache": "13.5.2",
"@flopflip/localstorage-cache": "13.6.0",
"@flopflip/sessionstorage-cache": "13.6.0",
"@flopflip/types": "13.6.0",
"@flopflip/adapter-utilities": "14.0.0",
"@flopflip/cache": "14.0.0",
"@flopflip/localstorage-cache": "14.0.0",
"@flopflip/sessionstorage-cache": "14.0.0",
"@flopflip/types": "14.0.0",
"debounce-fn": "4.0.0",
"launchdarkly-js-client-sdk": "3.2.0",
"lodash": "4.17.21",
Expand Down
9 changes: 9 additions & 0 deletions packages/localstorage-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @flopflip/localstorage-adapter

## 14.0.0

### Patch Changes

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/adapter-utilities@14.0.0
- @flopflip/types@14.0.0
- @flopflip/localstorage-cache@14.0.0

## 13.6.0

### Patch Changes
Expand Down
8 changes: 4 additions & 4 deletions packages/localstorage-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@flopflip/localstorage-adapter",
"version": "13.6.0",
"version": "14.0.0",
"description": "An localstorage adapter for flipflop",
"main": "dist/flopflip-localstorage-adapter.cjs.js",
"module": "dist/flopflip-localstorage-adapter.esm.js",
Expand Down Expand Up @@ -30,9 +30,9 @@
],
"dependencies": {
"@babel/runtime": "7.24.4",
"@flopflip/adapter-utilities": "13.6.0",
"@flopflip/localstorage-cache": "13.6.0",
"@flopflip/types": "13.6.0",
"@flopflip/adapter-utilities": "14.0.0",
"@flopflip/localstorage-cache": "14.0.0",
"@flopflip/types": "14.0.0",
"lodash": "4.17.21",
"mitt": "3.0.1",
"tiny-warning": "1.0.3"
Expand Down
7 changes: 7 additions & 0 deletions packages/localstorage-cache/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @flopflip/localstorage-cache

## 14.0.0

### Patch Changes

- Updated dependencies [[`612461e`](https://github.com/tdeekens/flopflip/commit/612461ee77a6332f6481462a09c14375eb0e4001), [`72f308b`](https://github.com/tdeekens/flopflip/commit/72f308b6a2447fceeb84abc2198247354b5c2d43)]:
- @flopflip/types@14.0.0

## 13.6.0

### Patch Changes
Expand Down

0 comments on commit 8714b53

Please sign in to comment.