Skip to content

Commit

Permalink
Merge branch 'main' into yus/sc-208024/scaffold-js-common-in-js-core
Browse files Browse the repository at this point in the history
  • Loading branch information
yusinto committed Sep 19, 2023
2 parents 5b1a4d3 + 0273c6c commit 55f8e72
Show file tree
Hide file tree
Showing 71 changed files with 1,517 additions and 556 deletions.
22 changes: 11 additions & 11 deletions .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"packages/shared/common": "1.0.3",
"packages/shared/sdk-server": "1.0.8",
"packages/sdk/server-node": "8.1.2",
"packages/sdk/cloudflare": "2.0.9",
"packages/shared/sdk-server-edge": "1.0.8",
"packages/sdk/vercel": "1.0.0",
"packages/sdk/akamai-base": "1.0.2",
"packages/sdk/akamai-edgekv": "1.0.2",
"packages/shared/akamai-edgeworker-sdk": "0.2.7",
"packages/store/node-server-sdk-dynamodb": "5.0.6",
"packages/store/node-server-sdk-redis": "3.0.6"
"packages/shared/common": "1.1.0",
"packages/shared/sdk-server": "1.2.3",
"packages/sdk/server-node": "8.2.4",
"packages/sdk/cloudflare": "2.1.4",
"packages/shared/sdk-server-edge": "1.0.13",
"packages/sdk/vercel": "1.1.4",
"packages/sdk/akamai-base": "1.0.7",
"packages/sdk/akamai-edgekv": "1.0.7",
"packages/shared/akamai-edgeworker-sdk": "0.3.4",
"packages/store/node-server-sdk-dynamodb": "5.0.11",
"packages/store/node-server-sdk-redis": "3.0.11"
}
2 changes: 1 addition & 1 deletion actions/ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ runs:

- name: Build Docs
shell: bash
run: yarn workspace ${{ inputs.workspace_name }} doc
run: yarn build:doc -- ${{ inputs.workspace_path }}
47 changes: 47 additions & 0 deletions packages/sdk/akamai-base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,46 @@

All notable changes to the LaunchDarkly SDK for Akamai Workers will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org).

## [1.0.7](https://github.com/launchdarkly/js-core/compare/akamai-server-base-sdk-v1.0.6...akamai-server-base-sdk-v1.0.7) (2023-09-06)

### Bug Fixes

* Use clientSideAvailability instead of clientSide for filtering client side flags. ([#270](https://github.com/launchdarkly/js-core/issues/270)) ([2702342](https://github.com/launchdarkly/js-core/commit/27023429d36986466cda46aa4d95eb01c10cd455))

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.3.3 to ^0.3.4
* @launchdarkly/js-server-sdk-common bumped from ^1.2.2 to ^1.2.3

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.3.0 to ^0.3.1
* @launchdarkly/js-server-sdk-common bumped from ^1.1.0 to ^1.2.0

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.3.1 to ^0.3.2
* @launchdarkly/js-server-sdk-common bumped from ^1.2.0 to ^1.2.1

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.3.2 to ^0.3.3
* @launchdarkly/js-server-sdk-common bumped from ^1.2.1 to ^1.2.2

## [1.0.3](https://github.com/launchdarkly/js-core/compare/akamai-server-base-sdk-v1.0.2...akamai-server-base-sdk-v1.0.3) (2023-08-14)

### Bug Fixes

* Allow for negation of segment match clauses. ([#237](https://github.com/launchdarkly/js-core/issues/237)) ([d8e469a](https://github.com/launchdarkly/js-core/commit/d8e469a5e58b90c791fbbee80f7c0fc447c4e42f))

### Dependencies

* The following workspace dependencies were updated
Expand Down Expand Up @@ -30,6 +70,13 @@ All notable changes to the LaunchDarkly SDK for Akamai Workers will be documente
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.2.5 to ^0.2.6
* @launchdarkly/js-server-sdk-common bumped from ^1.0.6 to ^1.0.7

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.2.7 to ^0.3.0
* @launchdarkly/js-server-sdk-common bumped from ^1.0.8 to ^1.1.0

## [1.0.2](https://github.com/launchdarkly/js-core/compare/akamai-server-base-sdk-v1.0.1...akamai-server-base-sdk-v1.0.2) (2023-08-10)


Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/akamai-base/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"rollup-plugin-copy-assets": "^2.0.3",
"rollup-plugin-node-polyfills": "^0.2.1",
"tslib": "^2.5.2",
"typescript": "^5.0.4"
"typescript": "5.1.6"
},
"dependencies": {
"@launchdarkly/akamai-server-base-sdk": "^1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/akamai-base/example/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"compilerOptions": {
"incremental": true,
"strict": true,
"module": "NodeNext",
"module": "nodenext",
"outDir": "dist/ew",
"target": "ESNext",
"lib": ["es2023", "DOM"],
Expand Down
11 changes: 5 additions & 6 deletions packages/sdk/akamai-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/akamai-server-base-sdk",
"version": "1.0.2",
"version": "1.0.7",
"description": "Akamai LaunchDarkly EdgeWorker SDK",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/akamai-base",
"repository": {
Expand Down Expand Up @@ -35,7 +35,6 @@
"dist"
],
"scripts": {
"doc": "npx typedoc --name \"$(../../../scripts/doc-name.sh .)\" --readme none --entryPointStrategy resolve src/index.ts",
"build": "rollup -c rollup.config.js && ../../../scripts/replace-version.sh .",
"clean": "rimraf dist",
"tsw": "yarn tsc --watch",
Expand Down Expand Up @@ -69,11 +68,11 @@
"rollup": "^3.23.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"ts-jest": "^29.1.0",
"typedoc": "0.23.26",
"typescript": "^5.1.6"
"typedoc": "0.25.0",
"typescript": "5.1.6"
},
"dependencies": {
"@launchdarkly/akamai-edgeworker-sdk-common": "^0.2.7",
"@launchdarkly/js-server-sdk-common": "^1.0.8"
"@launchdarkly/akamai-edgeworker-sdk-common": "^0.3.4",
"@launchdarkly/js-server-sdk-common": "^1.2.3"
}
}
5 changes: 5 additions & 0 deletions packages/sdk/akamai-base/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": ["../../../typedoc.base.json"],
"entryPoints": ["src/index.ts"],
"out": "docs"
}
51 changes: 51 additions & 0 deletions packages/sdk/akamai-edgekv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,50 @@

All notable changes to the LaunchDarkly SDK for Akamai Workers will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org).

## [1.0.7](https://github.com/launchdarkly/js-core/compare/akamai-server-edgekv-sdk-v1.0.6...akamai-server-edgekv-sdk-v1.0.7) (2023-08-14)

### Bug Fixes

* Use clientSideAvailability instead of clientSide for filtering client side flags. ([#270](https://github.com/launchdarkly/js-core/issues/270)) ([2702342](https://github.com/launchdarkly/js-core/commit/27023429d36986466cda46aa4d95eb01c10cd455))

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.3.3 to ^0.3.4
* @launchdarkly/js-server-sdk-common bumped from ^1.2.2 to ^1.2.3

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.3.1 to ^0.3.2
* @launchdarkly/js-server-sdk-common bumped from ^1.2.0 to ^1.2.1

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.3.2 to ^0.3.3
* @launchdarkly/js-server-sdk-common bumped from ^1.2.1 to ^1.2.2

## [1.0.4](https://github.com/launchdarkly/js-core/compare/akamai-server-edgekv-sdk-v1.0.3...akamai-server-edgekv-sdk-v1.0.4) (2023-08-14)

Updated common dependency includes performance improvements.

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.3.0 to ^0.3.1
* @launchdarkly/js-server-sdk-common bumped from ^1.1.0 to ^1.2.0

## [1.0.3](https://github.com/launchdarkly/js-core/compare/akamai-server-edgekv-sdk-v1.0.2...akamai-server-edgekv-sdk-v1.0.3) (2023-08-14)

### Bug Fixes

* Allow for negation of segment match clauses. ([#237](https://github.com/launchdarkly/js-core/issues/237)) ([d8e469a](https://github.com/launchdarkly/js-core/commit/d8e469a5e58b90c791fbbee80f7c0fc447c4e42f))

### Dependencies

* The following workspace dependencies were updated
Expand Down Expand Up @@ -30,6 +74,13 @@ All notable changes to the LaunchDarkly SDK for Akamai Workers will be documente
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.2.5 to ^0.2.6
* @launchdarkly/js-server-sdk-common bumped from ^1.0.6 to ^1.0.7

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.2.7 to ^0.3.0
* @launchdarkly/js-server-sdk-common bumped from ^1.0.8 to ^1.1.0

## [1.0.2](https://github.com/launchdarkly/js-core/compare/akamai-server-edgekv-sdk-v1.0.1...akamai-server-edgekv-sdk-v1.0.2) (2023-08-10)


Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/akamai-edgekv/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"rollup-plugin-copy-assets": "^2.0.3",
"rollup-plugin-node-polyfills": "^0.2.1",
"tslib": "^2.5.2",
"typescript": "^5.0.4"
"typescript": "5.1.6"
},
"dependencies": {
"@launchdarkly/akamai-server-edgekv-sdk": "^1.0.0"
Expand Down
11 changes: 5 additions & 6 deletions packages/sdk/akamai-edgekv/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/akamai-server-edgekv-sdk",
"version": "1.0.2",
"version": "1.0.7",
"description": "Akamai LaunchDarkly EdgeWorker SDK for EdgeKV feature store",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/akamai-edgekv",
"repository": {
Expand Down Expand Up @@ -35,7 +35,6 @@
"dist"
],
"scripts": {
"doc": "npx typedoc --name \"$(../../../scripts/doc-name.sh .)\" --readme none --entryPointStrategy resolve src/index.ts",
"build": "rollup -c rollup.config.js && ../../../scripts/replace-version.sh .",
"clean": "rimraf dist",
"tsw": "yarn tsc --watch",
Expand Down Expand Up @@ -69,11 +68,11 @@
"rollup": "^3.23.0",
"rollup-plugin-generate-package-json": "^3.2.0",
"ts-jest": "^29.1.0",
"typedoc": "0.23.26",
"typescript": "^5.1.6"
"typedoc": "0.25.0",
"typescript": "5.1.6"
},
"dependencies": {
"@launchdarkly/akamai-edgeworker-sdk-common": "^0.2.7",
"@launchdarkly/js-server-sdk-common": "^1.0.8"
"@launchdarkly/akamai-edgeworker-sdk-common": "^0.3.4",
"@launchdarkly/js-server-sdk-common": "^1.2.3"
}
}
5 changes: 5 additions & 0 deletions packages/sdk/akamai-edgekv/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": ["../../../typedoc.base.json"],
"entryPoints": ["src/index.ts"],
"out": "docs"
}
52 changes: 52 additions & 0 deletions packages/sdk/cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,58 @@

All notable changes to the LaunchDarkly SDK for Cloudflare Workers will be documented in this file. This project adheres to [Semantic Versioning](https://semver.org).

## [2.1.4](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.1.3...cloudflare-server-sdk-v2.1.4) (2023-09-06)

### Bug Fixes

* Use clientSideAvailability instead of clientSide for filtering client side flags. ([#270](https://github.com/launchdarkly/js-core/issues/270)) ([2702342](https://github.com/launchdarkly/js-core/commit/27023429d36986466cda46aa4d95eb01c10cd455))

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-server-sdk-common-edge bumped from 1.0.12 to 1.0.13

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-server-sdk-common-edge bumped from 1.0.10 to 1.0.11

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-server-sdk-common-edge bumped from 1.0.11 to 1.0.12


## [2.1.1](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.1.0...cloudflare-server-sdk-v2.1.1) (2023-08-14)

Updated common dependency includes performance improvements.

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-server-sdk-common-edge bumped from 1.0.9 to 1.0.10

## [2.1.0](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.0.9...cloudflare-server-sdk-v2.1.0) (2023-08-14)


### Features

* Allow specifying the user agent per-sdk implementation. ([#226](https://github.com/launchdarkly/js-core/issues/226)) ([e57716f](https://github.com/launchdarkly/js-core/commit/e57716f3f6f0ba8568e32b0937903ca46e5470ad))

### Bug Fixes

* Allow for negation of segment match clauses. ([#237](https://github.com/launchdarkly/js-core/issues/237)) ([d8e469a](https://github.com/launchdarkly/js-core/commit/d8e469a5e58b90c791fbbee80f7c0fc447c4e42f))

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-server-sdk-common-edge bumped from 1.0.8 to 1.0.9

### Dependencies

* The following workspace dependencies were updated
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/cloudflare/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
"miniflare": "^2.5.0",
"prettier": "^2.6.2",
"ts-jest": "^28.0.3",
"typescript": "^5.0.3",
"wrangler": "2.13.0"
"typescript": "5.1.6",
"wrangler": "2.20.1"
},
"scripts": {
"build": "node build.js",
Expand Down
9 changes: 4 additions & 5 deletions packages/sdk/cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/cloudflare-server-sdk",
"version": "2.0.9",
"version": "2.1.4",
"description": "Cloudflare LaunchDarkly SDK",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/cloudflare",
"repository": {
Expand All @@ -26,7 +26,6 @@
"dist"
],
"scripts": {
"doc": "../../../scripts/build-doc.sh .",
"build": "../../../scripts/build-package.sh",
"clean": "rimraf dist",
"tsw": "yarn tsc --watch",
Expand All @@ -39,7 +38,7 @@
},
"dependencies": {
"@cloudflare/workers-types": "^4.20230321.0",
"@launchdarkly/js-server-sdk-common-edge": "1.0.8",
"@launchdarkly/js-server-sdk-common-edge": "1.0.13",
"crypto-js": "^4.1.1"
},
"devDependencies": {
Expand All @@ -60,7 +59,7 @@
"prettier": "^3.0.0",
"rimraf": "^5.0.0",
"ts-jest": "^29.1.0",
"typedoc": "0.23.26",
"typescript": "^5.1.6"
"typedoc": "0.25.0",
"typescript": "5.1.6"
}
}
1 change: 1 addition & 0 deletions packages/sdk/cloudflare/src/createPlatformInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ class CloudflarePlatformInfo implements Info {
return {
name,
version,
userAgentBase: 'CloudflareEdgeSDK',
};
}
}
Expand Down
5 changes: 5 additions & 0 deletions packages/sdk/cloudflare/typedoc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": ["../../../typedoc.base.json"],
"entryPoints": ["src/index.ts"],
"out": "docs"
}
Loading

0 comments on commit 55f8e72

Please sign in to comment.