Skip to content

Release 1.7.0 - #101

Merged
pcholakov merged 2 commits into
mainfrom
release-1.7.0
Jun 18, 2026
Merged

Release 1.7.0#101
pcholakov merged 2 commits into
mainfrom
release-1.7.0

Conversation

@pcholakov

@pcholakov pcholakov commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Default to Restate 1.7 and deprecate the self-managed deployment constructs.

Warning

Do not tag v1.7.0 until Restate 1.7 is GA. npm @restatedev/restate is still latest=1.6.2 / next=1.7.0-rc.6, and the docker :1.7 tag 404s. Until 1.7.0 final is published, the single-node host's npm install @restatedev/restate@1.7 @restatedev/restatectl@1.7 will 404. Kept as a draft until then.

Commits

  1. Deprecate the single-node and Fargate constructs - add @deprecated JSDoc to SingleNodeRestateDeployment and FargateRestateDeployment, pointing to the Restate Helm chart / restate-operator on Kubernetes as the replacement. To be removed in a future release.
  2. Release 1.7.0 - bump RESTATE_DOCKER_DEFAULT_TAG / RESTATE_NPM_DEFAULT_TAG to 1.7 (single-node) and RESTATE_DOCKER_DEFAULT_TAG to 1.7 (Fargate); set dev version 1.7.0-SNAPSHOT; regenerate snapshots.

Rebased onto #102 (dependency + CDK update), so this branch includes those updates.

Validation

  • npm run build, npm run lint, npm test pass (12 tests)
  • Single-node EC2 e2e validated end-to-end against docker.restate.dev/restatedev/restate:1.7.0-rc.6 + restatectl@1.7.0-rc.6: stack deployed, service registered, Greeter returned 200 "Hello <id>!". Confirms the 1.7 line is compatible with the construct (no config breakage). The temporary e2e image override was reverted; the e2e stack stays on :main.

Release

Once 1.7.0 is GA, tag v1.7.0 - publish.yml sets package.json to 1.7.0, commits to main, runs tests, and publishes to npm.

@pcholakov
pcholakov marked this pull request as draft June 18, 2026 19:15
pcholakov added a commit that referenced this pull request Jun 18, 2026
General dependency tidy-up: update CDK and the dev toolchain, and
resolve the actionable `npm audit` advisories.

## Updates
- `aws-cdk-lib` 2.236.0 -> 2.260.0, `aws-cdk` CLI -> 2.1128.0,
`constructs` -> 10.6.0
- `@aws-sdk/client-secrets-manager` -> 3.1072.0,
`@restatedev/restate-sdk` -> 1.14.5
- Dev toolchain to latest in-range: `@types/*`, `prettier`, `ts-jest`,
`tsx`, `typescript`, `jest-cdk-snapshot`
- `package.json` floors bumped to match; no major-version bumps

## Security (`npm audit`)
Before: **30** (1 critical, 4 high, 24 moderate, 1 low) -> After: **21**
(0 critical, 0 high, 20 moderate, 1 low)
- Critical `fast-xml-parser` (DoS) cleared via the AWS SDK update
- All 4 high cleared: `aws-cdk-lib` NodejsFunction command injection,
`fast-uri`, `minimatch`, `picomatch` (ReDoS)

The remaining 20 moderate + 1 low are **dev-only** and not installed by
consumers of the published library (devDependencies):
- 20 moderate root in `js-yaml@3`, pinned by `jest@29`'s coverage
tooling (`@istanbuljs/load-nyc-config`) and by `jest-cdk-snapshot`. A
jest 29->30 bump does **not** reduce the count (the `js-yaml@3` pins
persist), and a blanket `js-yaml@4` override breaks `jest-cdk-snapshot`
(it uses the removed v3 `safeLoad` API). These need upstream fixes.
- 1 low is `esbuild`'s Windows dev-server file-read advisory; the dev
server is not used here.

## Tests
- `npm run build`, `npm run lint`, `npm test` all pass
- Snapshots regenerated: the test fixture uses `Runtime.NODEJS_LATEST`,
which resolves to `nodejs24.x` under CDK 2.260 (was `nodejs22.x`).
Construct-owned handlers remain pinned at `NODEJS_22_X` - no
consumer-facing change.

## Note
Overlaps with #101 (Release 1.7.0) in `package.json` /
`package-lock.json`. Whichever merges first, the other should be
rebased.
These EC2/Fargate-based constructs are deprecated and will be removed in a
future release. To run Restate on Kubernetes, use the Restate Helm chart or
the restate-operator instead.
@pcholakov
pcholakov marked this pull request as ready for review June 18, 2026 21:16
@pcholakov
pcholakov merged commit d475f26 into main Jun 18, 2026
2 checks passed
@pcholakov
pcholakov deleted the release-1.7.0 branch June 18, 2026 21:16
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant