chore: release 3.0.0#66
Merged
Merged
Conversation
Upgrade all dependencies to their latest versions, including majors. Runtime: - @emurgo/cardano-serialization-lib-nodejs 11 -> 15 (migrate PlutusMap.get which now returns PlutusMapValues) - cbor 9 -> 10, yaml 2.3 -> 2.9 Dev toolchain: - ESLint 8 -> 10 (migrate .eslintrc.js -> flat eslint.config.mjs) - TypeScript 5 -> 6, Vitest 0.32 -> 4, Prettier 2 -> 3, Fastify 4 -> 5 - Yarn 4.5 -> 4.17 (4.5 TS compat patch can't apply to TS 6 under PnP) - drop unused eslint-plugin-import Other: - raise minimum Node.js to 20.19 (ESLint 10 / Vite 8 floor) - tsconfig: target/lib ES2022, add rootDir + ignoreDeprecations - fix NodeJS.Timer -> NodeJS.Timeout for @types/node 25 - remove unused pm2Metrics (never exported) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Node 18 is below the new >=20.19 engines floor (and ESLint 10 / Vite 8 won't run on it). Also modernize the workflow actions and fix the Yarn 4 install flag. - build.yml: matrix 18.x/20.x -> 20.x/22.x/24.x; checkout@v2 -> v4, setup-node@v1 -> v4 - release.yaml: node 18 -> 20; checkout/setup-node -> v4; yarn install --frozen-lockfile -> --immutable (Yarn 4 syntax) Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@types/node should match the oldest supported Node line (engines >=20.19), not the newest. v25 types describe APIs absent on Node 20, which would type-check but be undefined at runtime. Pin to ^20.19.43. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Major release bumping all dependencies to their latest versions (including majors) plus related housekeeping. Released as
3.0.0because the minimum Node.js version is raised and runtime deps cross major versions.Runtime dependencies
@emurgo/cardano-serialization-lib-nodejs11 → 15 — migratedPlutusMap.get()which now returns aPlutusMapValuescollection (CIP-68 keys are single-valued, so.get(0))cbor9 → 10,yaml2.3 → 2.9Dev toolchain
.eslintrc.js+.eslintignore→ flateslint.config.mjs(preserving all rules;caughtErrors: 'none'keeps the old v5 behavior)eslint-plugin-import(also incompatible with ESLint 10)Other
20.19(ESLint 10 / Vite 8 floor)target/lib→ ES2022, addedrootDir+ignoreDeprecationsNodeJS.Timer→NodeJS.Timeoutfor@types/node25pm2Metrics(never exported from the public API)Test plan
yarn build✓yarn lint✓yarn type-check✓yarn test— 177/177 ✓yarn coverage✓🤖 Generated with Claude Code