Skip to content

Commit

Permalink
Merge branch 'main' into feat/node-migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
kinyoklion committed Aug 16, 2023
2 parents f750bd5 + cf01b14 commit 9a6bd82
Show file tree
Hide file tree
Showing 54 changed files with 571 additions and 78 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,11 @@ module.exports = {
rules: {
'prettier/prettier': ['error'],
'class-methods-use-this': 'off',
'import/no-extraneous-dependencies': [
'error',
{
devDependencies: ['**/jest*.ts', '**/*.test.ts'],
},
],
},
};
2 changes: 1 addition & 1 deletion .github/workflows/server-node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
matrix:
# Node versions to run on.
version: [16, 19]
version: [16, 18]

env:
TEST_HARNESS_PARAMS: '--skip-from=./contract-tests/testharness-suppressions.txt'
Expand Down
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.2",
"packages/shared/sdk-server": "1.0.6",
"packages/sdk/server-node": "8.1.0",
"packages/sdk/cloudflare": "2.0.7",
"packages/shared/sdk-server-edge": "1.0.6",
"packages/sdk/vercel": "1.0.1",
"packages/sdk/akamai-base": "1.0.0",
"packages/sdk/akamai-edgekv": "1.0.0",
"packages/shared/akamai-edgeworker-sdk": "0.2.5",
"packages/store/node-server-sdk-dynamodb": "5.0.4",
"packages/store/node-server-sdk-redis": "3.0.4"
"packages/shared/common": "1.1.0",
"packages/shared/sdk-server": "1.1.0",
"packages/sdk/server-node": "8.2.0",
"packages/sdk/cloudflare": "2.1.0",
"packages/shared/sdk-server-edge": "1.0.9",
"packages/sdk/vercel": "1.1.0",
"packages/sdk/akamai-base": "1.0.3",
"packages/sdk/akamai-edgekv": "1.0.3",
"packages/shared/akamai-edgeworker-sdk": "0.3.0",
"packages/store/node-server-sdk-dynamodb": "5.0.7",
"packages/store/node-server-sdk-redis": "3.0.7"
}
35 changes: 35 additions & 0 deletions packages/sdk/akamai-base/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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.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 All @@ -23,6 +29,35 @@ All notable changes to the LaunchDarkly SDK for Akamai Workers will be documente
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.2.4 to ^0.2.5
* @launchdarkly/js-server-sdk-common bumped from ^1.0.5 to ^1.0.6

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @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)


### Bug Fixes

* Switch to es2017 target to ensure native async/await. ([a83e4e6](https://github.com/launchdarkly/js-core/commit/a83e4e62d04c66105a1b0e8893640a7ca2d641e4))


### Dependencies

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

## [1.0.0](https://github.com/launchdarkly/js-core/compare/akamai-server-base-sdk-v0.4.4...akamai-server-base-sdk-v1.0.0) (2023-07-05)


Expand Down
6 changes: 3 additions & 3 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.0",
"version": "1.0.3",
"description": "Akamai LaunchDarkly EdgeWorker SDK",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/akamai-base",
"repository": {
Expand Down Expand Up @@ -73,7 +73,7 @@
"typescript": "^5.1.6"
},
"dependencies": {
"@launchdarkly/akamai-edgeworker-sdk-common": "^0.2.5",
"@launchdarkly/js-server-sdk-common": "^1.0.6"
"@launchdarkly/akamai-edgeworker-sdk-common": "^0.3.0",
"@launchdarkly/js-server-sdk-common": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/sdk/akamai-base/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Uses "." so it can load package.json.
"rootDir": ".",
"outDir": "dist",
"target": "es6",
"target": "es2017",
"lib": ["ESNext"],
"module": "es6",
"strict": true,
Expand Down
35 changes: 35 additions & 0 deletions packages/sdk/akamai-edgekv/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

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.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 All @@ -23,6 +29,35 @@ All notable changes to the LaunchDarkly SDK for Akamai Workers will be documente
* @launchdarkly/akamai-edgeworker-sdk-common bumped from ^0.2.4 to ^0.2.5
* @launchdarkly/js-server-sdk-common bumped from ^1.0.5 to ^1.0.6

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @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)


### Bug Fixes

* Switch to es2017 target to ensure native async/await. ([a83e4e6](https://github.com/launchdarkly/js-core/commit/a83e4e62d04c66105a1b0e8893640a7ca2d641e4))


### Dependencies

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

## [1.0.0](https://github.com/launchdarkly/js-core/compare/akamai-server-edgekv-sdk-v0.4.4...akamai-server-edgekv-sdk-v1.0.0) (2023-07-05)


Expand Down
6 changes: 3 additions & 3 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.0",
"version": "1.0.3",
"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 @@ -73,7 +73,7 @@
"typescript": "^5.1.6"
},
"dependencies": {
"@launchdarkly/akamai-edgeworker-sdk-common": "^0.2.5",
"@launchdarkly/js-server-sdk-common": "^1.0.6"
"@launchdarkly/akamai-edgeworker-sdk-common": "^0.3.0",
"@launchdarkly/js-server-sdk-common": "^1.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/sdk/akamai-edgekv/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Uses "." so it can load package.json.
"rootDir": ".",
"outDir": "dist",
"target": "es6",
"target": "es2017",
"lib": ["es6"],
"module": "es6",
"strict": true,
Expand Down
37 changes: 37 additions & 0 deletions packages/sdk/cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,23 @@

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.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 Expand Up @@ -32,6 +49,26 @@ All notable changes to the LaunchDarkly SDK for Cloudflare Workers will be docum
* dependencies
* @launchdarkly/js-server-sdk-common-edge bumped from 1.0.5 to 1.0.6

### Dependencies

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

## [2.0.9](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.0.8...cloudflare-server-sdk-v2.0.9) (2023-08-10)


### Bug Fixes

* Switch to es2017 target to ensure native async/await. ([a83e4e6](https://github.com/launchdarkly/js-core/commit/a83e4e62d04c66105a1b0e8893640a7ca2d641e4))


### Dependencies

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

## [2.0.3](https://github.com/launchdarkly/js-core/compare/cloudflare-server-sdk-v2.0.2...cloudflare-server-sdk-v2.0.3) (2023-05-01)


Expand Down
4 changes: 2 additions & 2 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.7",
"version": "2.1.0",
"description": "Cloudflare LaunchDarkly SDK",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/cloudflare",
"repository": {
Expand Down Expand Up @@ -39,7 +39,7 @@
},
"dependencies": {
"@cloudflare/workers-types": "^4.20230321.0",
"@launchdarkly/js-server-sdk-common-edge": "1.0.6",
"@launchdarkly/js-server-sdk-common-edge": "1.0.9",
"crypto-js": "^4.1.1"
},
"devDependencies": {
Expand Down
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
2 changes: 1 addition & 1 deletion packages/sdk/cloudflare/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Uses "." so it can load package.json.
"rootDir": ".",
"outDir": "dist",
"target": "es6",
"target": "es2017",
"lib": ["es6"],
"module": "commonjs",
"strict": true,
Expand Down
44 changes: 44 additions & 0 deletions packages/sdk/server-node/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,50 @@

All notable changes to `@launchdarkly/node-server-sdk` will be documented in this file. This project adheres to [Semantic Versioning](http://semver.org).

## [8.2.0](https://github.com/launchdarkly/js-core/compare/node-server-sdk-v8.1.2...node-server-sdk-v8.2.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 bumped from 1.0.8 to 1.1.0

## [8.1.2](https://github.com/launchdarkly/js-core/compare/node-server-sdk-v8.1.1...node-server-sdk-v8.1.2) (2023-08-10)


### Bug Fixes

* Switch to es2017 target to ensure native async/await. ([a83e4e6](https://github.com/launchdarkly/js-core/commit/a83e4e62d04c66105a1b0e8893640a7ca2d641e4))


### Dependencies

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

## [8.1.1](https://github.com/launchdarkly/js-core/compare/node-server-sdk-v8.1.0...node-server-sdk-v8.1.1) (2023-08-03)

### Bug Fixes

* Ensure that test data user targets are handled correctly. ([#223](https://github.com/launchdarkly/js-core/issues/223)) ([8a423b2](https://github.com/launchdarkly/js-core/commit/8a423b22282624627200dfda1ebe4207f9db69a6))

### Dependencies

* The following workspace dependencies were updated
* dependencies
* @launchdarkly/js-server-sdk-common bumped from 1.0.6 to 1.0.7

### Dependencies

* The following workspace dependencies were updated
Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/server-node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@launchdarkly/node-server-sdk",
"version": "8.1.0",
"version": "8.2.0",
"description": "LaunchDarkly Server-Side SDK for Node.js",
"homepage": "https://github.com/launchdarkly/js-core/tree/main/packages/sdk/server-node",
"repository": {
Expand Down Expand Up @@ -46,7 +46,7 @@
},
"license": "Apache-2.0",
"dependencies": {
"@launchdarkly/js-server-sdk-common": "1.0.6",
"@launchdarkly/js-server-sdk-common": "1.1.0",
"https-proxy-agent": "^5.0.1",
"launchdarkly-eventsource": "2.0.0"
},
Expand Down
1 change: 1 addition & 0 deletions packages/sdk/server-node/src/platform/NodeInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export default class NodeInfo implements platform.Info {
return {
name: packageJson.name,
version: packageJson.version,
userAgentBase: 'NodeJSClient',
// No wrapper name/version at the moment.
};
}
Expand Down
2 changes: 1 addition & 1 deletion packages/sdk/server-node/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
// Uses "." so it can load package.json.
"rootDir": ".",
"outDir": "dist",
"target": "es6",
"target": "es2017",
"lib": ["es6"],
"module": "commonjs",
"strict": true,
Expand Down
Loading

0 comments on commit 9a6bd82

Please sign in to comment.