Skip to content

Commit

Permalink
chore: release v18.0.0 (#2172)
Browse files Browse the repository at this point in the history
* chore: move v17 release article to v18

* chore: update minimum supported version to v16

* chore: include v18 integration tests to workflows

* chore: update version to v18.0.0

* chore: update CHANGELOG.md for release
  • Loading branch information
markwhitfeld authored Jun 10, 2024
1 parent ba73069 commit 56d8014
Show file tree
Hide file tree
Showing 19 changed files with 3,635 additions and 3,600 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,14 @@ jobs:
github-sha: ${{ github.sha }}

- name: Run ${{ matrix.script }}
run: yarn nx run-many --target=${{ matrix.script }} --configuration=ci --all
run: yarn nx run-many --target=${{ matrix.script }} --configuration=ci --all

- name: Upload coverage results to Code Climate
if: ${{ matrix.script == 'test:ci' }}
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > /tmp/cc-test-reporter
chmod +x /tmp/cc-test-reporter
node tools/merge-reports.js --coverageDir=coverage/packages --reporterBinaryPath=/tmp/cc-test-reporter
node tools/merge-reports.js --coverageDir=coverage/packages --reporterBinaryPath=/tmp/cc-test-reporter
/tmp/cc-test-reporter upload-coverage -i tmp/codeclimate-final.json
env:
CC_TEST_REPORTER_ID: 3f4c9a9d57ded045e0f9ab5d23e5bbcbf709bb85637bea555f1233e72134b818 # TODO: better store it in the repository secrets. Name the variable: CC_TEST_REPORTER_ID. Then delete this line and uncomment the next one
Expand All @@ -80,6 +80,7 @@ jobs:
script:
- 'integration:ng16'
- 'integration:ng17'
- 'integration:ng18'
- 'test:types'

steps:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > /tmp/cc-test-reporter
chmod +x /tmp/cc-test-reporter
node tools/merge-reports.js --coverageDir=coverage/packages --reporterBinaryPath=/tmp/cc-test-reporter
node tools/merge-reports.js --coverageDir=coverage/packages --reporterBinaryPath=/tmp/cc-test-reporter
/tmp/cc-test-reporter upload-coverage -i tmp/codeclimate-final.json
env:
CC_TEST_REPORTER_ID: 3f4c9a9d57ded045e0f9ab5d23e5bbcbf709bb85637bea555f1233e72134b818 # TODO: better store it in the repository secrets. Name the variable: CC_TEST_REPORTER_ID. Then delete this line and uncomment the next one
Expand All @@ -80,6 +80,7 @@ jobs:
script:
- 'integration:ng16'
- 'integration:ng17'
- 'integration:ng18'
- 'test:types'

steps:
Expand Down
10 changes: 5 additions & 5 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
$ npm install @ngxs/store@dev
```

### For next major version
### To become next patch version

- ...

### 18.0.0 2024-06-10

- Feature(store): Improve action decorator types [#2158](https://github.com/ngxs/store/pull/2158)
- Feature(store): Improve selector decorator types [#2042](https://github.com/ngxs/store/pull/2042)
Expand Down Expand Up @@ -49,10 +53,6 @@ $ npm install @ngxs/store@dev
- Build: Upgrade workspace to Angular 17 [#2087](https://github.com/ngxs/store/pull/2087)
- Build: Add Angular 18 support [#2168](https://github.com/ngxs/store/pull/2168)

### To become next patch version

- ...

# 3.8.2 2023-11-30

- Fix: `patch` state operator must handle existing nulls [#2064](https://github.com/ngxs/store/pull/2064)
Expand Down
2,588 changes: 1,418 additions & 1,170 deletions integrations/hello-world-ng16/yarn.lock

Large diffs are not rendered by default.

2,413 changes: 1,291 additions & 1,122 deletions integrations/hello-world-ng17/yarn.lock

Large diffs are not rendered by default.

2,188 changes: 902 additions & 1,286 deletions integrations/hello-world-ng18/yarn.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ngxs",
"version": "3.8.2",
"version": "18.0.0",
"repository": {
"type": "git",
"url": "git+https://github.com/ngxs/store.git"
Expand Down
2 changes: 1 addition & 1 deletion packages/devtools-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sideEffects": false,
"peerDependencies": {
"@ngxs/store": "^0.0.0",
"@angular/core": ">=12.0.0 <19.0.0",
"@angular/core": ">=16.0.0 <19.0.0",
"rxjs": ">=6.5.5"
}
}
4 changes: 2 additions & 2 deletions packages/form-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"sideEffects": false,
"peerDependencies": {
"@ngxs/store": "^0.0.0",
"@angular/core": ">=12.0.0 <19.0.0",
"@angular/forms": ">=12.0.0 <19.0.0",
"@angular/core": ">=16.0.0 <19.0.0",
"@angular/forms": ">=16.0.0 <19.0.0",
"rxjs": ">=6.5.5"
}
}
2 changes: 1 addition & 1 deletion packages/hmr-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"license": "MIT",
"sideEffects": true,
"peerDependencies": {
"@angular/core": ">=12.0.0 <19.0.0"
"@angular/core": ">=16.0.0 <19.0.0"
}
}
2 changes: 1 addition & 1 deletion packages/logger-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sideEffects": false,
"peerDependencies": {
"@ngxs/store": "^0.0.0",
"@angular/core": ">=12.0.0 <19.0.0",
"@angular/core": ">=16.0.0 <19.0.0",
"rxjs": ">=6.5.5"
}
}
4 changes: 2 additions & 2 deletions packages/router-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"sideEffects": false,
"peerDependencies": {
"@ngxs/store": "^0.0.0",
"@angular/core": ">=12.0.0 <19.0.0",
"@angular/router": ">=12.0.0 <19.0.0",
"@angular/core": ">=16.0.0 <19.0.0",
"@angular/router": ">=16.0.0 <19.0.0",
"rxjs": ">=6.5.5"
}
}
2 changes: 1 addition & 1 deletion packages/storage-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sideEffects": false,
"peerDependencies": {
"@ngxs/store": "^0.0.0",
"@angular/core": ">=12.0.0 <19.0.0",
"@angular/core": ">=16.0.0 <19.0.0",
"rxjs": ">=6.5.5",
"ts-morph": "21.0.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe('Storage Plugin Migration', () => {

const testSetup = async () => {
const appTree = await createWorkspace();
appTree.overwrite('package.json', `{"dependencies": {"@ngxs/store": "3.8.2"}}`);
appTree.overwrite('package.json', `{"dependencies": {"@ngxs/store": "18.0.0"}}`);

return { appTree };
};
Expand Down
2 changes: 1 addition & 1 deletion packages/storage-plugin/schematics/src/utils/versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"@ngxs/store": "3.8.2"
"@ngxs/store": "18.0.0"
}
2 changes: 1 addition & 1 deletion packages/store/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"license": "MIT",
"sideEffects": false,
"peerDependencies": {
"@angular/core": ">=12.0.0 <19.0.0",
"@angular/core": ">=16.0.0 <19.0.0",
"rxjs": ">=7.0.0"
},
"schematics": "./schematics/collection.json"
Expand Down
2 changes: 1 addition & 1 deletion packages/store/schematics/src/utils/versions.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"@ngxs/store": "3.8.2"
"@ngxs/store": "18.0.0"
}
2 changes: 1 addition & 1 deletion packages/websocket-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"sideEffects": true,
"peerDependencies": {
"@ngxs/store": "^0.0.0",
"@angular/core": ">=12.0.0 <19.0.0",
"@angular/core": ">=16.0.0 <19.0.0",
"rxjs": ">=6.5.5"
}
}

0 comments on commit 56d8014

Please sign in to comment.