@launchdarkly/cloudflare-server-sdk 0.0.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -8,6 +8,21 @@ All notable changes to the LaunchDarkly SDK for Cloudflare Workers will be docum
8
8
  * dependencies
9
9
  * @launchdarkly/js-server-sdk-common-edge bumped from 0.0.2 to 0.0.3
10
10
 
11
+ ## [2.0.0](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v0.0.4...cloudflare-server-sdk-v2.0.0) (2023-04-26)
12
+
13
+
14
+ ### Features
15
+
16
+ * The latest version of this SDK supports LaunchDarkly's new custom contexts feature. Contexts are an evolution of a previously-existing concept, "users." Contexts let you create targeting rules for feature flags based on a variety of different information, including attributes pertaining to users, organizations, devices, and more. You can even combine contexts to create "multi-contexts." For detailed information about this version, please refer to the list below. For information on how to upgrade from the previous version, please read the [migration guide](https://docs.launchdarkly.com/sdk/server-side/cloudflare/migration-1-to-2).
17
+ * The latest version of this SDK replaces [launchdarkly-cloudflare-edge-sdk](https://github.com/launchdarkly/cloudflare-edge-sdk). Please consider updating your application to use this package instead.
18
+
19
+ ## [0.0.4](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v0.0.3...cloudflare-server-sdk-v0.0.4) (2023-04-26)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * Improve readme. ([50d8556](https://github.com/launchdarkly/js-core/commit/50d85561c5f7577e1ecdc64f919d753c5df66b39))
25
+
11
26
  ## [0.0.2](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v0.0.1...cloudflare-server-sdk-v0.0.2) (2023-04-20)
12
27
 
13
28
 
package/README.md CHANGED
@@ -2,11 +2,15 @@
2
2
 
3
3
  [![NPM][sdk-cloudflare-npm-badge]][sdk-cloudflare-npm-link]
4
4
  [![Actions Status][sdk-cloudflare-ci-badge]][sdk-cloudflare-ci]
5
- [![Documentation](https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8)](https://launchdarkly.github.io/js-core/packages/sdk/cloudflare/docs/)
5
+ [![Documentation][sdk-cloudflare-ghp-badge]][sdk-cloudflare-ghp-link]
6
+ [![NPM][sdk-cloudflare-dm-badge]][sdk-cloudflare-npm-link]
7
+ [![NPM][sdk-cloudflare-dt-badge]][sdk-cloudflare-npm-link]
6
8
 
7
- This library supports using Cloudflare [Workers KV](https://developers.cloudflare.com/workers/learning/how-kv-works) to replace the default in-memory feature store of the [LaunchDarkly Node.js SDK](https://github.com/launchdarkly/cloudflare-server-sdk).
9
+ The LaunchDarkly Cloudflare SDK is designed primarily for use in multi-user Cloudflare workers. It follows the server-side LaunchDarkly model for multi-user contexts. It is not intended for use in desktop and embedded systems applications.
8
10
 
9
- For more information, see the [SDK features guide](https://docs.launchdarkly.com/sdk/features/storing-data).
11
+ For more information, see the [complete reference guide for this SDK](https://docs.launchdarkly.com/sdk/server-side/cloudflare).
12
+
13
+ This SDK is a beta version and should not be considered ready for production use while this message is visible.
10
14
 
11
15
  ## Install
12
16
 
@@ -75,3 +79,7 @@ yarn test
75
79
  [sdk-cloudflare-ci]: https://github.com/launchdarkly/js-core/actions/workflows/cloudflare.yml
76
80
  [sdk-cloudflare-npm-badge]: https://img.shields.io/npm/v/@launchdarkly/cloudflare-server-sdk.svg?style=flat-square
77
81
  [sdk-cloudflare-npm-link]: https://www.npmjs.com/package/@launchdarkly/cloudflare-server-sdk
82
+ [sdk-cloudflare-ghp-badge]: https://img.shields.io/static/v1?label=GitHub+Pages&message=API+reference&color=00add8
83
+ [sdk-cloudflare-ghp-link]: https://launchdarkly.github.io/js-core/packages/sdk/cloudflare/docs/
84
+ [sdk-cloudflare-dm-badge]: https://img.shields.io/npm/dm/@launchdarkly/cloudflare-server-sdk.svg?style=flat-square
85
+ [sdk-cloudflare-dt-badge]: https://img.shields.io/npm/dt/@launchdarkly/cloudflare-server-sdk.svg?style=flat-square
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@launchdarkly/cloudflare-server-sdk",
3
- "version": "0.0.3",
3
+ "version": "2.0.0",
4
4
  "type": "commonjs"
5
5
  }
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@launchdarkly/cloudflare-server-sdk",
3
- "version": "0.0.3",
3
+ "version": "2.0.0",
4
4
  "type": "module"
5
5
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@launchdarkly/cloudflare-server-sdk",
3
- "version": "0.0.3",
3
+ "version": "2.0.0",
4
4
  "description": "Cloudflare LaunchDarkly SDK",
5
5
  "packageManager": "yarn@3.4.1",
6
6
  "keywords": [
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@cloudflare/workers-types": "^4.20230321.0",
34
- "@launchdarkly/js-server-sdk-common-edge": "0.0.3",
34
+ "@launchdarkly/js-server-sdk-common-edge": "1.0.0",
35
35
  "crypto-js": "^4.1.1"
36
36
  },
37
37
  "devDependencies": {