navapbc / template-application-nextjs

Next.js, TypeScript, USWDS, and Storybook template, including CI/CD, for teams at Nava building web applications
Apache License 2.0
10 stars 3 forks source link

fix(deps): update all non-major dependencies #311

Closed renovate[bot] closed 6 months ago

renovate[bot] commented 6 months ago

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence Type Update
@aws-sdk/client-evidently (source) 3.496.0 -> 3.540.0 age adoption passing confidence dependencies minor
@ianvs/prettier-plugin-sort-imports 4.1.1 -> 4.2.1 age adoption passing confidence devDependencies minor
@types/lodash (source) 4.14.202 -> 4.17.0 age adoption passing confidence devDependencies minor
@types/node (source) 20.11.5 -> 20.12.2 age adoption passing confidence devDependencies minor
@typescript-eslint/eslint-plugin (source) 6.19.0 -> 6.21.0 age adoption passing confidence devDependencies minor
@typescript-eslint/parser (source) 6.19.0 -> 6.21.0 age adoption passing confidence devDependencies minor
eslint (source) 8.56.0 -> 8.57.0 age adoption passing confidence devDependencies minor
eslint-config-next (source) 14.1.0 -> 14.1.4 age adoption passing confidence devDependencies patch
next (source) 14.1.0 -> 14.1.4 age adoption passing confidence dependencies patch
next-intl (source) 3.4.5 -> 3.10.0 age adoption passing confidence dependencies minor
node 20.11.0-bullseye-slim -> 20.12.0-bullseye-slim age adoption passing confidence final minor
node 20.11.0-bullseye-slim -> 20.12.0-bullseye-slim age adoption passing confidence stage minor
typescript (source) 5.3.3 -> 5.4.3 age adoption passing confidence devDependencies minor

Release Notes

aws/aws-sdk-js-v3 (@​aws-sdk/client-evidently) ### [`v3.540.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35400-2024-03-22) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.535.0...v3.540.0) ##### Bug Fixes - **util-endpoints:** augment endpointFunctions inline in endpointResolver functions ([#​5933](https://togithub.com/aws/aws-sdk-js-v3/issues/5933)) ([42a791d](https://togithub.com/aws/aws-sdk-js-v3/commit/42a791defb20c697fefc985f1f2b22fc9e5be388)) ### [`v3.535.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35350-2024-03-15) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.533.0...v3.535.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.533.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35330-2024-03-13) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.529.1...v3.533.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) #### [3.529.1](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) (2024-03-08) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.529.1`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35291-2024-03-08) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.529.0...v3.529.1) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.529.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35290-2024-03-07) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.525.0...v3.529.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.525.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35250-2024-02-29) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.523.0...v3.525.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.523.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35230-2024-02-27) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.521.0...v3.523.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.521.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35210-2024-02-23) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.515.0...v3.521.0) ##### Features - requestHandler ctor param pass-through ([#​5820](https://togithub.com/aws/aws-sdk-js-v3/issues/5820)) ([9fec71d](https://togithub.com/aws/aws-sdk-js-v3/commit/9fec71d1933cd8e3db118c164bca16edc2305532)) ### [`v3.515.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35150-2024-02-15) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.514.0...v3.515.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.514.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35140-2024-02-14) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.513.0...v3.514.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.513.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35130-2024-02-13) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.511.0...v3.513.0) ##### Features - **experimentalIdentityAndAuth:** release phase for services without customizations ([#​5787](https://togithub.com/aws/aws-sdk-js-v3/issues/5787)) ([4004ff6](https://togithub.com/aws/aws-sdk-js-v3/commit/4004ff68a8ad20f6e60e8fab1f8952928f92f4b7)) ### [`v3.511.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35110-2024-02-09) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.509.0...v3.511.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.509.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35090-2024-02-07) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.507.0...v3.509.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.507.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35070-2024-02-05) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.504.0...v3.507.0) ##### Features - unified error dispatcher in protocols ([#​5756](https://togithub.com/aws/aws-sdk-js-v3/issues/5756)) ([0872087](https://togithub.com/aws/aws-sdk-js-v3/commit/0872087ef56422541bd38d293f97613dfd10236f)) ### [`v3.504.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35040-2024-01-31) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.503.1...v3.504.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) #### [3.503.1](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.503.0...v3.503.1) (2024-01-30) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.503.1`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35031-2024-01-30) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.503.0...v3.503.1) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.503.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35030-2024-01-30) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.502.0...v3.503.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.502.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35020-2024-01-29) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.501.0...v3.502.0) ##### Features - **credential-providers:** lazy load STS & SSO clients in credential providers ([#​5681](https://togithub.com/aws/aws-sdk-js-v3/issues/5681)) ([d27301d](https://togithub.com/aws/aws-sdk-js-v3/commit/d27301d48f3e75fdaccabf58f779f0b33a70664e)) ### [`v3.501.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#35010-2024-01-26) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.499.0...v3.501.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently) ### [`v3.499.0`](https://togithub.com/aws/aws-sdk-js-v3/blob/HEAD/clients/client-evidently/CHANGELOG.md#34990-2024-01-24) [Compare Source](https://togithub.com/aws/aws-sdk-js-v3/compare/v3.496.0...v3.499.0) **Note:** Version bump only for package [@​aws-sdk/client-evidently](https://togithub.com/aws-sdk/client-evidently)
ianvs/prettier-plugin-sort-imports (@​ianvs/prettier-plugin-sort-imports) ### [`v4.2.1`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.2.1) [Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.2.0...v4.2.1) #### What's Changed ##### Bugfixes - Detect Vue 2.7 / 3 more reliably by [@​IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/160](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/160) - Setting importOrder to `[]` should disable plugin by [@​IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/161](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/161) **Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.2.0...v4.2.1 ### [`v4.2.0`](https://togithub.com/IanVS/prettier-plugin-sort-imports/releases/tag/v4.2.0) [Compare Source](https://togithub.com/ianvs/prettier-plugin-sort-imports/compare/v4.1.1...v4.2.0) #### What's Changed ##### Features - Support vue 2.7 by [@​IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/156](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/156) ##### Bug fixes - Fix: `node:test` not grouped with `` by [@​IsaiahByDayah](https://togithub.com/IsaiahByDayah) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/143](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/143) ##### Dependencies - chore(deps): bump [@​babel/traverse](https://togithub.com/babel/traverse) to avoid audit warning by [@​pauliesnug](https://togithub.com/pauliesnug) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/137](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/137) - Update Babel to 7.24 by [@​IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/154](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/154) ##### Docs - Add example of sorting for built-in node types by [@​IanVS](https://togithub.com/IanVS) in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/155](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/155) #### New Contributors - [@​pauliesnug](https://togithub.com/pauliesnug) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/137](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/137) - [@​IsaiahByDayah](https://togithub.com/IsaiahByDayah) made their first contribution in [https://github.com/IanVS/prettier-plugin-sort-imports/pull/143](https://togithub.com/IanVS/prettier-plugin-sort-imports/pull/143) **Full Changelog**: https://github.com/IanVS/prettier-plugin-sort-imports/compare/v4.1.1...v4.2.0
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin) ### [`v6.21.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6210-2024-02-05) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.20.0...v6.21.0) ##### 🚀 Features - export plugin metadata - allow `parserOptions.project: false` - **eslint-plugin:** add rule prefer-find ##### 🩹 Fixes - **eslint-plugin:** \[no-unused-vars] don't report on types referenced in export assignment expression - **eslint-plugin:** \[switch-exhaustiveness-check] better support for intersections, infinite types, non-union values - **eslint-plugin:** \[consistent-type-imports] dont report on types used in export assignment expressions - **eslint-plugin:** \[no-unnecessary-condition] handle left-hand optional with exactOptionalPropertyTypes option - **eslint-plugin:** \[class-literal-property-style] allow getter when same key setter exists - **eslint-plugin:** \[no-unnecessary-type-assertion] provide valid fixes for assertions with extra tokens before `as` keyword ##### ❤️ Thank You - auvred - Brad Zacher - Kirk Waiblinger - Pete Gonzalez - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.20.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6200-2024-01-29) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.1...v6.20.0) ##### 🚀 Features - **eslint-plugin:** \[member-ordering] allow easy reuse of the default ordering ##### 🩹 Fixes - **eslint-plugin:** \[no-useless-template-literals] incorrect bigint autofix result - **eslint-plugin:** \[prefer-nullish-coalescing] treat any/unknown as non-nullable - **eslint-plugin:** \[no-useless-template-literals] report Infinity & NaN - **eslint-plugin:** \[prefer-readonly] disable checking accessors ##### ❤️ Thank You - Alex Parloti - auvred - James Browning - StyleShit - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.19.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6191-2024-01-22) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.0...v6.19.1) ##### 🩹 Fixes - **type-utils:** preventing isUnsafeAssignment infinite recursive calls - **eslint-plugin:** \[no-unnecessary-condition] fix false positive for type variable ##### ❤️ Thank You - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
typescript-eslint/typescript-eslint (@​typescript-eslint/parser) ### [`v6.21.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6210-2024-02-05) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.20.0...v6.21.0) ##### 🚀 Features - allow `parserOptions.project: false` ##### ❤️ Thank You - auvred - Brad Zacher - Kirk Waiblinger - Pete Gonzalez - YeonJuan You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.20.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6200-2024-01-29) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.1...v6.20.0) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website. ### [`v6.19.1`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6191-2024-01-22) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.19.0...v6.19.1) This was a version bump only for parser to align it with other projects, there were no code changes. You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
eslint/eslint (eslint) ### [`v8.57.0`](https://togithub.com/eslint/eslint/releases/tag/v8.57.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.56.0...v8.57.0) #### Features - [`1120b9b`](https://togithub.com/eslint/eslint/commit/1120b9b7b97f10f059d8b7ede19de2572f892366) feat: Add loadESLint() API method for v8 ([#​18098](https://togithub.com/eslint/eslint/issues/18098)) (Nicholas C. Zakas) - [`dca7d0f`](https://togithub.com/eslint/eslint/commit/dca7d0f1c262bc72310147bcefe1d04ecf60acbc) feat: Enable `eslint.config.mjs` and `eslint.config.cjs` ([#​18066](https://togithub.com/eslint/eslint/issues/18066)) (Nitin Kumar) #### Bug Fixes - [`2196d97`](https://togithub.com/eslint/eslint/commit/2196d97094ba94d6d750828879a29538d1600de5) fix: handle absolute file paths in `FlatRuleTester` ([#​18064](https://togithub.com/eslint/eslint/issues/18064)) (Nitin Kumar) - [`69dd1d1`](https://togithub.com/eslint/eslint/commit/69dd1d1387b7b53617548d1f9f2c149f179e6e17) fix: Ensure config keys are printed for config errors ([#​18067](https://togithub.com/eslint/eslint/issues/18067)) (Nitin Kumar) - [`9852a31`](https://togithub.com/eslint/eslint/commit/9852a31edcf054bd5d15753ef18e2ad3216b1b71) fix: deep merge behavior in flat config ([#​18065](https://togithub.com/eslint/eslint/issues/18065)) (Nitin Kumar) - [`4c7e9b0`](https://togithub.com/eslint/eslint/commit/4c7e9b0b539ba879ac1799e81f3b6add2eed4b2f) fix: allow circular references in config ([#​18056](https://togithub.com/eslint/eslint/issues/18056)) (Milos Djermanovic) #### Documentation - [`84922d0`](https://togithub.com/eslint/eslint/commit/84922d0bfa10689a34a447ab8e55975ff1c1c708) docs: Show prerelease version in dropdown ([#​18139](https://togithub.com/eslint/eslint/issues/18139)) (Nicholas C. Zakas) - [`5b8c363`](https://togithub.com/eslint/eslint/commit/5b8c3636a3d7536535a6878eca0e5b773e4829d4) docs: Switch to Ethical Ads ([#​18117](https://togithub.com/eslint/eslint/issues/18117)) (Milos Djermanovic) - [`77dbfd9`](https://togithub.com/eslint/eslint/commit/77dbfd9887b201a46fc68631cbde50c08e1a8dbf) docs: show NEXT in version selectors ([#​18052](https://togithub.com/eslint/eslint/issues/18052)) (Milos Djermanovic) #### Chores - [`1813aec`](https://togithub.com/eslint/eslint/commit/1813aecc4660582b0678cf32ba466eb9674266c4) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).57.0 ([#​18143](https://togithub.com/eslint/eslint/issues/18143)) (Milos Djermanovic) - [`5c356bb`](https://togithub.com/eslint/eslint/commit/5c356bb0c6f53c570224f8e9f02c4baca8fc6d2f) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (Jenkins) - [`f4a1fe2`](https://togithub.com/eslint/eslint/commit/f4a1fe2e45aa1089fe775290bf530de82f34bf16) test: add more tests for ignoring files and directories ([#​18068](https://togithub.com/eslint/eslint/issues/18068)) (Nitin Kumar) - [`42c0aef`](https://togithub.com/eslint/eslint/commit/42c0aefaf6ea8b998b1c6db61906a79c046d301a) ci: Enable CI for `v8.x` branch ([#​18047](https://togithub.com/eslint/eslint/issues/18047)) (Milos Djermanovic)
vercel/next.js (eslint-config-next) ### [`v14.1.4`](https://togithub.com/vercel/next.js/compare/v14.1.3...f1fc35730c7aeb0ff39513f91ab2b9ed876393fe) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.3...v14.1.4) ### [`v14.1.3`](https://togithub.com/vercel/next.js/compare/v14.1.2...fc38ee190c9b7de09ebff13a17ebd948cf580ec3) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.2...v14.1.3) ### [`v14.1.2`](https://togithub.com/vercel/next.js/compare/v14.1.1...f564deef86be32a6b25125ddb8172c7c27d3f19a) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.1...v14.1.2) ### [`v14.1.1`](https://togithub.com/vercel/next.js/releases/tag/v14.1.1) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.0...v14.1.1) ##### Core Changes - Should not warn metadataBase missing if only absolute urls are present: [https://github.com/vercel/next.js/pull/61898](https://togithub.com/vercel/next.js/pull/61898) - Fix trailing slash for canonical url: [https://github.com/vercel/next.js/pull/62109](https://togithub.com/vercel/next.js/pull/62109) - Fix metadata json manifest convention: [https://github.com/vercel/next.js/pull/62615](https://togithub.com/vercel/next.js/pull/62615) - Improve the Server Actions SWC transform: [https://github.com/vercel/next.js/pull/61001](https://togithub.com/vercel/next.js/pull/61001) - Fix Server Reference being double registered: [https://github.com/vercel/next.js/pull/61244](https://togithub.com/vercel/next.js/pull/61244) - Improve the Server Actions SWC transform (part 2): [https://github.com/vercel/next.js/pull/62052](https://togithub.com/vercel/next.js/pull/62052) - Fix module-level Server Action creation with closure-closed values: [https://github.com/vercel/next.js/pull/62437](https://togithub.com/vercel/next.js/pull/62437) - Fix draft mode invariant: [https://github.com/vercel/next.js/pull/62121](https://togithub.com/vercel/next.js/pull/62121) - fix: babel usage with next/image: [https://github.com/vercel/next.js/pull/61835](https://togithub.com/vercel/next.js/pull/61835) - Fix next/server api alias for ESM pkg: [https://github.com/vercel/next.js/pull/61721](https://togithub.com/vercel/next.js/pull/61721) - Replace image optimizer IPC call with request handler: [https://github.com/vercel/next.js/pull/61471](https://togithub.com/vercel/next.js/pull/61471) - chore: refactor image optimization to separate external/internal urls: [https://github.com/vercel/next.js/pull/61172](https://togithub.com/vercel/next.js/pull/61172) - fix(image): warn when animated image is missing unoptimized prop: [https://github.com/vercel/next.js/pull/61045](https://togithub.com/vercel/next.js/pull/61045) - fix(build-output): show stack during CSR bailout warning: [https://github.com/vercel/next.js/pull/62594](https://togithub.com/vercel/next.js/pull/62594) - Fix extra swc optimizer applied to node_modules in browser layer: [https://github.com/vercel/next.js/pull/62051](https://togithub.com/vercel/next.js/pull/62051) - fix(next-swc): Detect exports.foo from cjs_finder: [https://github.com/vercel/next.js/pull/61795](https://togithub.com/vercel/next.js/pull/61795) - Fix attempted import error for react: [https://github.com/vercel/next.js/pull/61791](https://togithub.com/vercel/next.js/pull/61791) - Add stack trace to client rendering bailout error: [https://github.com/vercel/next.js/pull/61200](https://togithub.com/vercel/next.js/pull/61200) - fix router crash on revalidate + popstate: [https://github.com/vercel/next.js/pull/62383](https://togithub.com/vercel/next.js/pull/62383) - fix loading issue when navigating to page with async metadata: [https://github.com/vercel/next.js/pull/61687](https://togithub.com/vercel/next.js/pull/61687) - revert changes to process default routes at build: [https://github.com/vercel/next.js/pull/61241](https://togithub.com/vercel/next.js/pull/61241) - fix parallel route top-level catch-all normalization logic to support nested explicit (non-catchall) slot routes: [https://github.com/vercel/next.js/pull/60776](https://togithub.com/vercel/next.js/pull/60776) - Improve redirection handling: [https://github.com/vercel/next.js/pull/62561](https://togithub.com/vercel/next.js/pull/62561) - Simplify node/edge server chunking some: [https://github.com/vercel/next.js/pull/62424](https://togithub.com/vercel/next.js/pull/62424) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​shuding](https://togithub.com/shuding), [@​Ethan-Arrowood](https://togithub.com/Ethan-Arrowood), [@​styfle](https://togithub.com/styfle), [@​ijjk](https://togithub.com/ijjk), [@​ztanner](https://togithub.com/ztanner), [@​balazsorban44](https://togithub.com/balazsorban44), [@​kdy1](https://togithub.com/kdy1), and [@​williamli](https://togithub.com/williamli) for helping!
vercel/next.js (next) ### [`v14.1.4`](https://togithub.com/vercel/next.js/compare/v14.1.3...f1fc35730c7aeb0ff39513f91ab2b9ed876393fe) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.3...v14.1.4) ### [`v14.1.3`](https://togithub.com/vercel/next.js/compare/v14.1.2...fc38ee190c9b7de09ebff13a17ebd948cf580ec3) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.2...v14.1.3) ### [`v14.1.2`](https://togithub.com/vercel/next.js/compare/v14.1.1...f564deef86be32a6b25125ddb8172c7c27d3f19a) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.1...v14.1.2) ### [`v14.1.1`](https://togithub.com/vercel/next.js/releases/tag/v14.1.1) [Compare Source](https://togithub.com/vercel/next.js/compare/v14.1.0...v14.1.1) *Note: this is a backport release for critical bug fixes -- this does not include all pending features/changes on canary* ##### Core Changes - Should not warn metadataBase missing if only absolute urls are present: [https://github.com/vercel/next.js/pull/61898](https://togithub.com/vercel/next.js/pull/61898) - Fix trailing slash for canonical url: [https://github.com/vercel/next.js/pull/62109](https://togithub.com/vercel/next.js/pull/62109) - Fix metadata json manifest convention: [https://github.com/vercel/next.js/pull/62615](https://togithub.com/vercel/next.js/pull/62615) - Improve the Server Actions SWC transform: [https://github.com/vercel/next.js/pull/61001](https://togithub.com/vercel/next.js/pull/61001) - Fix Server Reference being double registered: [https://github.com/vercel/next.js/pull/61244](https://togithub.com/vercel/next.js/pull/61244) - Improve the Server Actions SWC transform (part 2): [https://github.com/vercel/next.js/pull/62052](https://togithub.com/vercel/next.js/pull/62052) - Fix module-level Server Action creation with closure-closed values: [https://github.com/vercel/next.js/pull/62437](https://togithub.com/vercel/next.js/pull/62437) - Fix draft mode invariant: [https://github.com/vercel/next.js/pull/62121](https://togithub.com/vercel/next.js/pull/62121) - fix: babel usage with next/image: [https://github.com/vercel/next.js/pull/61835](https://togithub.com/vercel/next.js/pull/61835) - Fix next/server api alias for ESM pkg: [https://github.com/vercel/next.js/pull/61721](https://togithub.com/vercel/next.js/pull/61721) - Replace image optimizer IPC call with request handler: [https://github.com/vercel/next.js/pull/61471](https://togithub.com/vercel/next.js/pull/61471) - chore: refactor image optimization to separate external/internal urls: [https://github.com/vercel/next.js/pull/61172](https://togithub.com/vercel/next.js/pull/61172) - fix(image): warn when animated image is missing unoptimized prop: [https://github.com/vercel/next.js/pull/61045](https://togithub.com/vercel/next.js/pull/61045) - fix(build-output): show stack during CSR bailout warning: [https://github.com/vercel/next.js/pull/62594](https://togithub.com/vercel/next.js/pull/62594) - Fix extra swc optimizer applied to node_modules in browser layer: [https://github.com/vercel/next.js/pull/62051](https://togithub.com/vercel/next.js/pull/62051) - fix(next-swc): Detect exports.foo from cjs_finder: [https://github.com/vercel/next.js/pull/61795](https://togithub.com/vercel/next.js/pull/61795) - Fix attempted import error for react: [https://github.com/vercel/next.js/pull/61791](https://togithub.com/vercel/next.js/pull/61791) - Add stack trace to client rendering bailout error: [https://github.com/vercel/next.js/pull/61200](https://togithub.com/vercel/next.js/pull/61200) - fix router crash on revalidate + popstate: [https://github.com/vercel/next.js/pull/62383](https://togithub.com/vercel/next.js/pull/62383) - fix loading issue when navigating to page with async metadata: [https://github.com/vercel/next.js/pull/61687](https://togithub.com/vercel/next.js/pull/61687) - revert changes to process default routes at build: [https://github.com/vercel/next.js/pull/61241](https://togithub.com/vercel/next.js/pull/61241) - fix parallel route top-level catch-all normalization logic to support nested explicit (non-catchall) slot routes: [https://github.com/vercel/next.js/pull/60776](https://togithub.com/vercel/next.js/pull/60776) - Improve redirection handling: [https://github.com/vercel/next.js/pull/62561](https://togithub.com/vercel/next.js/pull/62561) - Simplify node/edge server chunking some: [https://github.com/vercel/next.js/pull/62424](https://togithub.com/vercel/next.js/pull/62424) ##### Credits Huge thanks to [@​huozhi](https://togithub.com/huozhi), [@​shuding](https://togithub.com/shuding), [@​Ethan-Arrowood](https://togithub.com/Ethan-Arrowood), [@​styfle](https://togithub.com/styfle), [@​ijjk](https://togithub.com/ijjk), [@​ztanner](https://togithub.com/ztanner), [@​balazsorban44](https://togithub.com/balazsorban44), [@​kdy1](https://togithub.com/kdy1), and [@​williamli](https://togithub.com/williamli) for helping!
amannn/next-intl (next-intl) ### [`v3.10.0`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#3100-2024-03-25) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.9.5...v3.10.0) ##### Features - When using localized pathnames, allow access to internal pathnames only if they match an entry from a particular locale—otherwise redirect ([#​914](https://togithub.com/amannn/next-intl/issues/914) by [@​RomainGueffier](https://togithub.com/RomainGueffier)) ([0658600](https://togithub.com/amannn/next-intl/commit/0658600ee323350dfeb2d616c38f6737674e76da)) #### 3.9.5 (2024-03-15) ##### Bug Fixes - Improve support for older browsers by switching from `replaceAll` to `replace` ([#​885](https://togithub.com/amannn/next-intl/issues/885) by [@​MichalMoravik](https://togithub.com/MichalMoravik)) ([080333a](https://togithub.com/amannn/next-intl/commit/080333aa8ec2e4e41dc740e370032ee429b190f0)), closes [#​884](https://togithub.com/amannn/next-intl/issues/884) #### 3.9.4 (2024-03-08) ##### Bug Fixes - Handle changing href for `` correctly when using `localePrefix: 'never'` ([#​926](https://togithub.com/amannn/next-intl/issues/926)) ([b609dc0](https://togithub.com/amannn/next-intl/commit/b609dc05b31832af04ee57b73133568e43b69d1f)), closes [#​918](https://togithub.com/amannn/next-intl/issues/918) #### 3.9.3 (2024-03-07) ##### Bug Fixes - Handle optional params in catch-all segments correctly when using localized pathnames ([#​925](https://togithub.com/amannn/next-intl/issues/925)) ([8ba8b69](https://togithub.com/amannn/next-intl/commit/8ba8b699b5343a816f725d329fdb1153fa647b99)), closes [#​917](https://togithub.com/amannn/next-intl/issues/917) #### 3.9.2 (2024-03-05) ##### Bug Fixes - Incorporate `basePath` correctly in `useRouter` functions ([#​906](https://togithub.com/amannn/next-intl/issues/906) by [@​Oberwaditzer](https://togithub.com/Oberwaditzer)) ([4abcbeb](https://togithub.com/amannn/next-intl/commit/4abcbebdd603a18d9f1173709c174a8ac4210e37)), closes [#​905](https://togithub.com/amannn/next-intl/issues/905) [#​910](https://togithub.com/amannn/next-intl/issues/910) #### 3.9.1 (2024-02-23) ##### Bug Fixes - Return `now` from global context if no `updateInterval` has been set on `useNow` ([#​881](https://togithub.com/amannn/next-intl/issues/881)) ([dbbefcf](https://togithub.com/amannn/next-intl/commit/dbbefcf145dfc8a924fbf685da87e276c8bb4d10)) ### [`v3.9.5`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#395-2024-03-15) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.9.4...v3.9.5) ##### Bug Fixes - Improve support for older browsers by switching from `replaceAll` to `replace` ([#​885](https://togithub.com/amannn/next-intl/issues/885) by [@​MichalMoravik](https://togithub.com/MichalMoravik)) ([080333a](https://togithub.com/amannn/next-intl/commit/080333aa8ec2e4e41dc740e370032ee429b190f0)), closes [#​884](https://togithub.com/amannn/next-intl/issues/884) ### [`v3.9.4`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#394-2024-03-08) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.9.3...v3.9.4) ##### Bug Fixes - Handle changing href for `` correctly when using `localePrefix: 'never'` ([#​926](https://togithub.com/amannn/next-intl/issues/926)) ([b609dc0](https://togithub.com/amannn/next-intl/commit/b609dc05b31832af04ee57b73133568e43b69d1f)), closes [#​918](https://togithub.com/amannn/next-intl/issues/918) ### [`v3.9.3`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#393-2024-03-07) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.9.2...v3.9.3) ##### Bug Fixes - Handle optional params in catch-all segments correctly when using localized pathnames ([#​925](https://togithub.com/amannn/next-intl/issues/925)) ([8ba8b69](https://togithub.com/amannn/next-intl/commit/8ba8b699b5343a816f725d329fdb1153fa647b99)), closes [#​917](https://togithub.com/amannn/next-intl/issues/917) ### [`v3.9.2`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#392-2024-03-05) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.9.1...v3.9.2) ##### Bug Fixes - Incorporate `basePath` correctly in `useRouter` functions ([#​906](https://togithub.com/amannn/next-intl/issues/906) by [@​Oberwaditzer](https://togithub.com/Oberwaditzer)) ([4abcbeb](https://togithub.com/amannn/next-intl/commit/4abcbebdd603a18d9f1173709c174a8ac4210e37)), closes [#​905](https://togithub.com/amannn/next-intl/issues/905) [#​910](https://togithub.com/amannn/next-intl/issues/910) ### [`v3.9.1`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#391-2024-02-23) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.9.0...v3.9.1) ##### Bug Fixes - Return `now` from global context if no `updateInterval` has been set on `useNow` ([#​881](https://togithub.com/amannn/next-intl/issues/881)) ([dbbefcf](https://togithub.com/amannn/next-intl/commit/dbbefcf145dfc8a924fbf685da87e276c8bb4d10)) ### [`v3.9.0`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#390-2024-02-20) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.8.0...v3.9.0) ##### Features - Add redirects for case mismatches in locale prefixes (e.g. `/EN` → `/en`) ([#​861](https://togithub.com/amannn/next-intl/issues/861) by [@​fkapsahili](https://togithub.com/fkapsahili)) ([3b2b446](https://togithub.com/amannn/next-intl/commit/3b2b446a241ce2cd402181afb0398565ac4a2492)) ### [`v3.8.0`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#380-2024-02-19) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.7.0...v3.8.0) ##### Features - Add `format.dateTimeRange` ([#​769](https://togithub.com/amannn/next-intl/issues/769) by [@​martinmunillas](https://togithub.com/martinmunillas)) ([9f12521](https://togithub.com/amannn/next-intl/commit/9f12521edecf1aeff40a49ce0c133c19bafa7cf5)) ### [`v3.7.0`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#370-2024-02-09) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.6.0...v3.7.0) ##### Features - Add support for `permanentRedirect`in navigation APIs ([#​850](https://togithub.com/amannn/next-intl/issues/850) by [@​polvallverdu](https://togithub.com/polvallverdu)) ([6508ddc](https://togithub.com/amannn/next-intl/commit/6508ddc35ecc95f6dce8b95ecde2734a169579b8)) ### [`v3.6.0`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#360-2024-02-08) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.5.4...v3.6.0) ##### Features - Support formatting of React elements via `format.list(…)`. ([#​845](https://togithub.com/amannn/next-intl/issues/845)) ([7bf11d4](https://togithub.com/amannn/next-intl/commit/7bf11d42b26c66bcecaf69627e6bd1925d8ba49d)) #### 3.5.4 (2024-02-01) ##### Bug Fixes - Keep cookie value in sync when navigating within a locale ([#​828](https://togithub.com/amannn/next-intl/issues/828)) ([1167523](https://togithub.com/amannn/next-intl/commit/1167523f01ed6363c3fe3bbb7aa925744eedd055)), closes [#​826](https://togithub.com/amannn/next-intl/issues/826) #### 3.5.3 (2024-01-29) ##### Bug Fixes - Improve RSC render performance by sharing a cache between `getTranslations` and `useTranslations` ([#​798](https://togithub.com/amannn/next-intl/issues/798) by [@​fkapsahili](https://togithub.com/fkapsahili)) ([73e8337](https://togithub.com/amannn/next-intl/commit/73e8337044a8cb187d6f96f9b5ea77f6252866bb)) #### 3.5.2 (2024-01-25) ##### Bug Fixes - Set cookie to `SameSite: Lax` ([#​817](https://togithub.com/amannn/next-intl/issues/817)) ([0e91e64](https://togithub.com/amannn/next-intl/commit/0e91e64412f919f70533c9d6189073780a5baae8)), closes [#​527](https://togithub.com/amannn/next-intl/issues/527) [#​811](https://togithub.com/amannn/next-intl/issues/811) #### 3.5.1 (2024-01-23) ##### Bug Fixes - Remove `x-default` alternate links entry for non-root pathnames when using `localePrefix: 'always'` ([#​805](https://togithub.com/amannn/next-intl/issues/805)) ([c5bb0f5](https://togithub.com/amannn/next-intl/commit/c5bb0f50efbb5321181439c6d9e9aee08226b46a)) ### [`v3.5.4`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#354-2024-02-01) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.5.3...v3.5.4) ##### Bug Fixes - Keep cookie value in sync when navigating within a locale ([#​828](https://togithub.com/amannn/next-intl/issues/828)) ([1167523](https://togithub.com/amannn/next-intl/commit/1167523f01ed6363c3fe3bbb7aa925744eedd055)), closes [#​826](https://togithub.com/amannn/next-intl/issues/826) ### [`v3.5.3`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#353-2024-01-29) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.5.2...v3.5.3) ##### Bug Fixes - Improve RSC render performance by sharing a cache between `getTranslations` and `useTranslations` ([#​798](https://togithub.com/amannn/next-intl/issues/798) by [@​fkapsahili](https://togithub.com/fkapsahili)) ([73e8337](https://togithub.com/amannn/next-intl/commit/73e8337044a8cb187d6f96f9b5ea77f6252866bb)) ### [`v3.5.2`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#352-2024-01-25) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.5.1...v3.5.2) ##### Bug Fixes - Set cookie to `SameSite: Lax` ([#​817](https://togithub.com/amannn/next-intl/issues/817)) ([0e91e64](https://togithub.com/amannn/next-intl/commit/0e91e64412f919f70533c9d6189073780a5baae8)), closes [#​527](https://togithub.com/amannn/next-intl/issues/527) [#​811](https://togithub.com/amannn/next-intl/issues/811) ### [`v3.5.1`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#351-2024-01-23) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.5.0...v3.5.1) ##### Bug Fixes - Remove `x-default` alternate links entry for non-root pathnames when using `localePrefix: 'always'` ([#​805](https://togithub.com/amannn/next-intl/issues/805)) ([c5bb0f5](https://togithub.com/amannn/next-intl/commit/c5bb0f50efbb5321181439c6d9e9aee08226b46a)) ### [`v3.5.0`](https://togithub.com/amannn/next-intl/blob/HEAD/CHANGELOG.md#350-2024-01-22) [Compare Source](https://togithub.com/amannn/next-intl/compare/v3.4.5...v3.5.0) ##### Features - Make options for `createSharedPathnamesNavigation` along with `locales` argument optional (relevant when `locales` aren't known statically) ([#​784](https://togithub.com/amannn/next-intl/issues/784)) ([614053d](https://togithub.com/amannn/next-intl/commit/614053ddb40f83f7f4a122e5ffeb836d1ecbf63e)) #### 3.4.5 (2024-01-19) ##### Bug Fixes - Make sure cookie value stays up to date when the Next.js Router Cache is used ([#​790](https://togithub.com/amannn/next-intl/issues/790)) ([977b973](https://togithub.com/amannn/next-intl/commit/977b9732aa7b0a9cb0c26e8cf34ae30cc96f25b6)), closes [#​786](https://togithub.com/amannn/next-intl/issues/786) [#​786](https://togithub.com/amannn/next-intl/issues/786) #### 3.4.4 (2024-01-17) ##### Bug Fixes - Improve error message for missing messages by including the locale ([#​782](https://togithub.com/amannn/next-intl/issues/782)) ([79eee9d](https://togithub.com/amannn/next-intl/commit/79eee9d0ca882b95d76007fed669b79c9b217d35)) #### 3.4.3 (2024-01-16) ##### Bug Fixes - Apply global `timeZone` when using date skeletons in messages (e.g. `Ordered on {orderDate, date, ::yyyyMd}`) ([#​695](https://togithub.com/amannn/next-intl/issues/695)) ([8940192](https://togithub.com/amannn/next-intl/commit/8940192664ffe10f70a0526c1f4d6cbfc942faab)), closes [#​693](https://togithub.com/amannn/next-intl/issues/693) #### 3.4.2 (2024-01-09) ##### Bug Fixes - Change `numeric` option from `auto` to `always` for `format.relativeTime` ([#​765](https://togithub.com/amannn/next-intl/issues/765)) ([246d373](https://togithub.com/amannn/next-intl/commit/246d37320669c3525db03dc635b6cfcac8591b4a)), closes [#​757](https://togithub.com/amannn/next-intl/issues/757) #### 3.4.1 (2024-01-03) ##### Bug Fixes - Fix ESM output of `use-intl` ([#​754](https://togithub.com/amannn/next-intl/issues/754)) ([e73fb38](https://togithub.com/amannn/next-intl/commit/e73fb381c3f0eaeb15b3d9ab9aebc2c567c766ae))
nodejs/node (node) ### [`v20.12.0`](https://togithub.com/nodejs/node/releases/tag/v20.12.0): 2024-03-26, Version 20.12.0 'Iron' (LTS), @​richardlau [Compare Source](https://togithub.com/nodejs/node/compare/v20.11.1...v20.12.0) ##### Notable Changes ##### crypto: implement crypto.hash() This patch introduces a helper crypto.hash() that computes a digest from the input at one shot. This can be 1.2-2x faster than the object-based createHash() for smaller inputs (<= 5MB) that are readily available (not streamed) and incur less memory overhead since no intermediate objects will be created. ```js const crypto = require('node:crypto'); // Hashing a string and return the result as a hex-encoded string. const string = 'Node.js'; // 10b3493287f831e81a438811a1ffba01f8cec4b7 console.log(crypto.hash('sha1', string)); ``` Contributed by Joyee Cheung in [#​51044](https://togithub.com/nodejs/node/pull/51044). ##### Loading and parsing environment variables - `process.loadEnvFile(path)`: - Use this function to load the `.env` file. If no path is specified, it automatically loads the .env file in the current directory. Example: `process.loadEnvFile()`. - Load a specific .env file by specifying its path. Example: `process.loadEnvFile('./development.env')`. - `util.parseEnv(content)`: - Use this function to parse an existing string containing environment variable assignments. - Example usage: `require('node:util').parseEnv('HELLO=world')`. Contributed by Yagiz Nizipli in [#​51476](https://togithub.com/nodejs/node/pull/51476). ##### New connection attempt events Three new events were added in the `net.createConnection` flow: - `connectionAttempt`: Emitted when a new connection attempt is established. In case of Happy Eyeballs, this might emitted multiple times. - `connectionAttemptFailed`: Emitted when a connection attempt failed. In case of Happy Eyeballs, this might emitted multiple times. - `connectionAttemptTimeout`: Emitted when a connection attempt timed out. In case of Happy Eyeballs, this will not be emitted for the last attempt. This is not emitted at all if Happy Eyeballs is not used. Additionally, a previous bug has been fixed where a new connection attempt could have been started after a previous one failed and after the connection was destroyed by the user. This led to a failed assertion. Contributed by Paolo Insogna in [#​51045](https://togithub.com/nodejs/node/pull/51045). ##### Permission Model changes Node.js 20.12.0 comes with several fixes for the experimental permission model and two new semver-minor commits. We're adding a new flag `--allow-addons` to enable addon usage when using the Permission Model. ```console $ node --experimental-permission --allow-addons ``` Contributed by Rafael Gonzaga in [#​51183](https://togithub.com/nodejs/node/pull/51183) And relative paths are now supported through the `--allow-fs-*` flags. Therefore, with this release one can use: ```console $ node --experimental-permission --allow-fs-read=./index.js ``` To give only read access to the entrypoint of the application. Contributed by Rafael Gonzaga and Carlos Espa in [#​50758](https://togithub.com/nodejs/node/pull/50758). ##### sea: support embedding assets Users can now include assets by adding a key-path dictionary to the configuration as the `assets` field. At build time, Node.js would read the assets from the specified paths and bundle them into the preparation blob. In the generated executable, users can retrieve the assets using the `sea.getAsset()` and `sea.getAssetAsBlob()` API. ```json { "main": "/path/to/bundled/script.js", "output": "/path/to/write/the/generated/blob.blob", "assets": { "a.jpg": "/path/to/a.jpg", "b.txt": "/path/to/b.txt" } } ``` The single-executable application can access the assets as follows: ```cjs const { getAsset } = require('node:sea'); // Returns a copy of the data in an ArrayBuffer const image = getAsset('a.jpg'); // Returns a string decoded from the asset as UTF8. const text = getAsset('b.txt', 'utf8'); // Returns a Blob containing the asset without copying. const blob = getAssetAsBlob('a.jpg'); ``` Contributed by Joyee Cheung in [#​50960](https://togithub.com/nodejs/node/pull/50960). ##### Support configurable snapshot through `--build-snapshot-config` flag We are adding a new flag `--build-snapshot-config` to configure snapshots through a custom JSON configuration file. ```console $ node --build-snapshot-config=/path/to/myconfig.json ``` When using this flag, additional script files provided on the command line will not be executed and instead be interpreted as regular command line arguments. These changes were contributed by Joyee Cheung and Anna Henningsen in [#​50453](https://togithub.com/nodejs/node/pull/50453) ##### Text Styling - `util.styleText(format, text)`: This function returns a formatted text considering the `format` passed. A new API has been created to format text based on `util.inspect.colors`, enabling you to style text in different colors (such as red, blue, ...) and emphasis (italic, bold, ...). ```cjs const { styleText } = require('node:util'); const errorMessage = styleText('red', 'Error! Error!'); console.log(errorMessage); ``` Contributed by Rafael Gonzaga in [#​51850](https://togithub.com/nodejs/node/pull/51850). ##### vm: support using the default loader to handle dynamic import() This patch adds support for using `vm.constants.USE_MAIN_CONTEXT_DEFAULT_LOADER` as the `importModuleDynamically` option in all vm APIs that take this option except `vm.SourceTextModule`. This allows users to have a shortcut to support dynamic `import()` in the compiled code without missing the compilation cache if they don't need customization of the loading process

Configuration

📅 Schedule: Branch creation - "before 4am on the first day of the month" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.



This PR has been generated by Mend Renovate. View repository job log here.

github-actions[bot] commented 6 months ago

Coverage report for app

St.:grey_question:
Category Percentage Covered / Total
🟡 Statements 76.54% 62/81
🟡 Branches 64.29% 9/14
🟡 Functions 71.43% 10/14
🟡 Lines 75% 54/72

Test suite run success

7 tests passing in 3 suites.

Report generated by 🧪jest coverage report action from 7acc43034a993cff45370cd8a941565ab2e3e813