Closed renovate[bot] closed 6 months ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
sanity-template-vercel-visual-editing | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Mar 6, 2024 11:30am |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/@sanity/client@6.15.0, npm/@sanity/vision@3.30.1, npm/@types/react@18.2.42, npm/@vercel/og@0.5.20, npm/autoprefixer@10.4.16, npm/classnames@2.3.2, npm/eslint-config-next@14.1.0, npm/eslint@8.55.0, npm/next-sanity@8.1.2, npm/next@14.1.0, npm/postcss@8.4.32, npm/prettier-plugin-packagejson@2.4.7, npm/prettier-plugin-tailwindcss@0.5.9, npm/prettier@3.1.0, npm/sanity@3.30.1, npm/styled-components@6.1.1, npm/tailwindcss@3.3.6
This PR contains the following updates:
6.15.0
->6.15.1
3.30.1
->3.31.0
1.5.2
->1.6.0
18.2.42
->18.2.63
0.5.20
->0.6.2
10.4.16
->10.4.18
2.3.2
->2.5.1
8.55.0
->8.57.0
14.1.0
->14.1.2
14.1.0
->14.1.2
8.1.2
->8.1.3
b1ddad2
->a4f52f8
8.4.32
->8.4.35
3.1.0
->3.2.5
2.4.7
->2.4.12
0.5.9
->0.5.11
3.30.1
->3.31.0
6.1.1
->6.1.8
3.3.6
->3.4.1
Release Notes
sanity-io/client (@sanity/client)
### [`v6.15.1`](https://togithub.com/sanity-io/client/blob/HEAD/CHANGELOG.md#6151-2024-02-28) [Compare Source](https://togithub.com/sanity-io/client/compare/v6.15.0...v6.15.1) ##### Bug Fixes - support turbopack ([76d5e24](https://togithub.com/sanity-io/client/commit/76d5e247a9226c2709c9c306ced04e3831915286))sanity-io/sanity (@sanity/vision)
### [`v3.31.0`](https://togithub.com/sanity-io/sanity/releases/tag/v3.31.0) [Compare Source](https://togithub.com/sanity-io/sanity/compare/v3.30.1...v3.31.0) #### Installation and upgrading **To initiate a new Studio without installing the CLI globally:** npm create sanity@latest **To upgrade a v3 Studio, run this command in its folder:** npm install sanity@latest ### ✨ Highlights #### Inline commenting in Blocks ![inline comments screenshot](https://togithub.com/sanity-io/sanity/assets/15094168/c8dec990-dcb0-4368-ac03-8add532b924d) Enhance editorial collaboration with the ability to attach comments directly to specific text selections. This feature includes highlight capabilities and ensures a seamless experience with updates and scrolling interactions. #### Portable Text Editor improvements - Inline references and objects will now render with increased default sizes in the Portable Text Editor for easier interaction. - Original content keys are now preserved during undo/redo operations in the Portable Text Editor. This change makes for more robust content integrity. ### 🐛 Notable bugfixes - Fixes an issue that allowed files to be dropped behind the open modal, leading to potentially adding files to the wrong input. - Fixes a problem where temporary network disruptions could cause the form editor to reload and lose unsaved edits. Now, the form becomes read-only during reconnection, preserving state and changes. - Fixes an issue where initial value templates would not accept a target dataset for cross-dataset references. - Fixes an issue where the "disabled" state was shown indefinitely for cross-dataset references. - Resolves a UI problem where the "cannot upload" message was incorrectly shown for extension-restricted file types during hover. - Fixes a bug where certain selections within the Portable Text Editor were being mishandled. - Fixes an issue where Comments would show a loading state while the form was reconnecting, preserving user comments during network issues. ### 📓 Full changelog | Author | Message | Commit | | -------------------- | ----------------------------------------------------------------------------------------------------------- | --------- | | Robin Neatherway | docs: show backup command in help ([#5865](https://togithub.com/sanity-io/sanity/issues/5865)) | [`5d060af`](https://togithub.com/sanity-io/sanity/commit/5d060afc1) | | Nina Andal Aarvik | fix(core): change modalWidth of inlineObjects to 1 by default ([#5839](https://togithub.com/sanity-io/sanity/issues/5839)) | [`6e551b0`](https://togithub.com/sanity-io/sanity/commit/6e551b09d) | | Per-Kristian Nordnes | feat(portable-text-editor): preserve keys on undo/redo ([#5805](https://togithub.com/sanity-io/sanity/issues/5805)) | [`f83e8e4`](https://togithub.com/sanity-io/sanity/commit/f83e8e401) | | Herman Wikner | feat(portable-text-editor): implement `isSelectionOverlapping` method ([#5870](https://togithub.com/sanity-io/sanity/issues/5870)) | [`1d41af7`](https://togithub.com/sanity-io/sanity/commit/1d41af7c8) | | renovate\[bot] | chore(deps): update dependency get-random-values-esm to v1.0.2 ([#5856](https://togithub.com/sanity-io/sanity/issues/5856)) | [`16a5434`](https://togithub.com/sanity-io/sanity/commit/16a5434fd) | | Ash | fix(form): prevent drop event propagating outside of EditPortal component ([#5813](https://togithub.com/sanity-io/sanity/issues/5813)) | [`fc73437`](https://togithub.com/sanity-io/sanity/commit/fc73437ae) | | Per-Kristian Nordnes | fix(portable-text-editor): check that path is lengthy ([#5875](https://togithub.com/sanity-io/sanity/issues/5875)) | [`2deebb1`](https://togithub.com/sanity-io/sanity/commit/2deebb189) | | Herman Wikner | feat(core): add ` onFullScreenChange ` to Portable Text Input ([#5879](https://togithub.com/sanity-io/sanity/issues/5879)) | [`84a0c90`](https://togithub.com/sanity-io/sanity/commit/84a0c9028) | | Rupert Dunk | feat(structure): support closing first collapsed `DocumentPanel` ([#5867](https://togithub.com/sanity-io/sanity/issues/5867)) | [`6d61e94`](https://togithub.com/sanity-io/sanity/commit/6d61e9402) | | cngonzalez | fix(core): check if previous state is null for unmounted component ([#5724](https://togithub.com/sanity-io/sanity/issues/5724)) | [`9ed5cca`](https://togithub.com/sanity-io/sanity/commit/9ed5cca51) | | Tommy Petty | fix(structure): provide better error handling if orderings contain invalid field ([#5709](https://togithub.com/sanity-io/sanity/issues/5709)) | [`4926b78`](https://togithub.com/sanity-io/sanity/commit/4926b78e4) | | Per-Kristian Nordnes | feat(portable-text-editor): range decorations ([#5871](https://togithub.com/sanity-io/sanity/issues/5871)) | [`fa330a0`](https://togithub.com/sanity-io/sanity/commit/fa330a0ba) | | Herman Wikner | feat(comments): introduce inline commenting ([#5606](https://togithub.com/sanity-io/sanity/issues/5606)) | [`7ed2b0f`](https://togithub.com/sanity-io/sanity/commit/7ed2b0f65) | | Tommy Petty | fix(core): updates to not show "cannot upload" on hover when using extension based accepts settings ([#5881](https://togithub.com/sanity-io/sanity/issues/5881)) | [`023e7e6`](https://togithub.com/sanity-io/sanity/commit/023e7e646) | | Bjørge Næss | fix(sanity): preserve form (as readOnly) when reconnecting ([#5884](https://togithub.com/sanity-io/sanity/issues/5884)) | [`ed87e2a`](https://togithub.com/sanity-io/sanity/commit/ed87e2a40) | | Per-Kristian Nordnes | fix(portable-text-editor): all paths must be checked ([#5891](https://togithub.com/sanity-io/sanity/issues/5891)) | [`4ae88a0`](https://togithub.com/sanity-io/sanity/commit/4ae88a028) | | Per-Kristian Nordnes | fix(comments): allow ranges to be collapsed ([#5892](https://togithub.com/sanity-io/sanity/issues/5892)) | [`eb5cd50`](https://togithub.com/sanity-io/sanity/commit/eb5cd5020) | | Ash | feat(ci): cache release dependencies ([#5834](https://togithub.com/sanity-io/sanity/issues/5834)) | [`75ac3cf`](https://togithub.com/sanity-io/sanity/commit/75ac3cfb1) | | Rostislav Melkumyan | feat(cli): --quickstart flag for ejecting server schemas ([#5797](https://togithub.com/sanity-io/sanity/issues/5797)) | [`174a616`](https://togithub.com/sanity-io/sanity/commit/174a61641) | | Pedro Bonamin | feat(core): export useWorkspaceLoader from core ([#5898](https://togithub.com/sanity-io/sanity/issues/5898)) | [`3670459`](https://togithub.com/sanity-io/sanity/commit/367045963) | | Pedro Bonamin | chore(search): refactor search to export necessary components and providers. ([#5900](https://togithub.com/sanity-io/sanity/issues/5900)) | [`4159bca`](https://togithub.com/sanity-io/sanity/commit/4159bcabe) | | Espen Hovlandsdal | chore(deps): upgrade archiver, split2 dependencies ([#5880](https://togithub.com/sanity-io/sanity/issues/5880)) | [`c9a1dd6`](https://togithub.com/sanity-io/sanity/commit/c9a1dd667) | | Espen Hovlandsdal | fix(core): allow `_dataset` for cross-dataset references in templates ([#5889](https://togithub.com/sanity-io/sanity/issues/5889)) | [`9fc34a2`](https://togithub.com/sanity-io/sanity/commit/9fc34a25e) |sanity-io/visual-editing (@sanity/visual-editing)
### [`v1.6.0`](https://togithub.com/sanity-io/visual-editing/blob/HEAD/packages/visual-editing/CHANGELOG.md#160-2024-03-06) ##### Features - **visual-editing:** add sveltekit specific exports ([#1038](https://togithub.com/sanity-io/visual-editing/issues/1038)) ([d36d24d](https://togithub.com/sanity-io/visual-editing/commit/d36d24df425ab4234f6aa05eed9cb6171b7802ce)) - **visual-editing:** export `createDataAttribute` ([#1037](https://togithub.com/sanity-io/visual-editing/issues/1037)) ([2db8ac3](https://togithub.com/sanity-io/visual-editing/commit/2db8ac325cd66c6eea1697003dd2c39cab48e92a)) ##### Bug Fixes - **docs:** document the Refresh API ([#1033](https://togithub.com/sanity-io/visual-editing/issues/1033)) ([2e417d2](https://togithub.com/sanity-io/visual-editing/commit/2e417d25b23256178a9ef7a08893affd7afcb5e0)) ##### Dependencies - The following workspace dependencies were updated - devDependencies - [@sanity/visual-editing-helpers](https://togithub.com/sanity/visual-editing-helpers) bumped from 0.5.2 to 0.6.0postcss/autoprefixer (autoprefixer)
### [`v10.4.18`](https://togithub.com/postcss/autoprefixer/blob/HEAD/CHANGELOG.md#10418) [Compare Source](https://togithub.com/postcss/autoprefixer/compare/10.4.17...10.4.18) - Fixed removing `-webkit-box-orient` on `-webkit-line-clamp` ([@Goodwine](https://togithub.com/Goodwine)). ### [`v10.4.17`](https://togithub.com/postcss/autoprefixer/blob/HEAD/CHANGELOG.md#10417) [Compare Source](https://togithub.com/postcss/autoprefixer/compare/10.4.16...10.4.17) - Fixed `user-select: contain` prefixes.JedWatson/classnames (classnames)
### [`v2.5.1`](https://togithub.com/JedWatson/classnames/blob/HEAD/HISTORY.md#v251--2023-12-29) [Compare Source](https://togithub.com/JedWatson/classnames/compare/v2.5.0...v2.5.1) - Remove `workspaces` field from package ([#350](https://togithub.com/JedWatson/classnames/pull/350)) ### [`v2.5.0`](https://togithub.com/JedWatson/classnames/blob/HEAD/HISTORY.md#v250--2023-12-27) [Compare Source](https://togithub.com/JedWatson/classnames/compare/v2.4.0...v2.5.0) - Restore ability to pass a TypeScript `interface` ([#341](https://togithub.com/JedWatson/classnames/pull/341)) - Add `exports` field to package ([#342](https://togithub.com/JedWatson/classnames/pull/342)) ### [`v2.4.0`](https://togithub.com/JedWatson/classnames/blob/HEAD/HISTORY.md#v240--2023-12-26) [Compare Source](https://togithub.com/JedWatson/classnames/compare/v2.3.3...v2.4.0) - Use string concatenation to increase performance thanks [Jon Koops](https://togithub.com/jonkoops) ([#336](https://togithub.com/JedWatson/classnames/pull/336)) ### [`v2.3.3`](https://togithub.com/JedWatson/classnames/blob/HEAD/HISTORY.md#v233--2023-12-21) [Compare Source](https://togithub.com/JedWatson/classnames/compare/v2.3.2...v2.3.3) - Fix default export, thanks [Remco Haszing](https://togithub.com/remcohaszing) ([#301](https://togithub.com/JedWatson/classnames/pull/301)) - Fix types for read-only arrays, thanks [Ben Thompson](https://togithub.com/BenGearset) ([#307](https://togithub.com/JedWatson/classnames/pull/307)) - Replace README examples with functional-style components, thanks [JoeDGit](https://togithub.com/JoeDGit) ([#303](https://togithub.com/JedWatson/classnames/pull/303))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) ### [`v8.56.0`](https://togithub.com/eslint/eslint/releases/tag/v8.56.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.55.0...v8.56.0) ##### Features - [`0dd9704`](https://togithub.com/eslint/eslint/commit/0dd9704c4751e1cd02039f7d6485fee09bbccbf6) feat: Support custom severity when reporting unused disable directives ([#17212](https://togithub.com/eslint/eslint/issues/17212)) (Bryan Mishkin) - [`31a7e3f`](https://togithub.com/eslint/eslint/commit/31a7e3fde491e36496b54e8905c766b31162d776) feat: fix no-restricted-properties false negatives with unknown objects ([#17818](https://togithub.com/eslint/eslint/issues/17818)) (Arka Pratim Chaudhuri) ##### Bug Fixes - [`7d5e5f6`](https://togithub.com/eslint/eslint/commit/7d5e5f68849ae80caec0fc96ecceebccd348deec) fix: `TypeError: fs.exists is not a function` on read-only file system ([#17846](https://togithub.com/eslint/eslint/issues/17846)) (Francesco Trotta) - [`74739c8`](https://togithub.com/eslint/eslint/commit/74739c849bbb6547b0e555ed8bb2ba1cbe0fdce4) fix: suggestion with invalid syntax in no-promise-executor-return rule ([#17812](https://togithub.com/eslint/eslint/issues/17812)) (Bryan Mishkin) ##### Documentation - [`9007719`](https://togithub.com/eslint/eslint/commit/90077199fe519953f9af8664bf947db4e4958514) docs: update link in ways-to-extend.md ([#17839](https://togithub.com/eslint/eslint/issues/17839)) (Amel SELMANE) - [`3a22236`](https://togithub.com/eslint/eslint/commit/3a22236f8d10af8a5bcafe56092651d3d681c99d) docs: Update README (GitHub Actions Bot) - [`54c3ca6`](https://togithub.com/eslint/eslint/commit/54c3ca6f2dcd2a7afd53f42fc32055a25587259e) docs: fix migration-guide example ([#17829](https://togithub.com/eslint/eslint/issues/17829)) (Tanuj Kanti) - [`4391b71`](https://togithub.com/eslint/eslint/commit/4391b71e62b15e54b0493f0dce1ea053ebbc0689) docs: check config comments in rule examples ([#17815](https://togithub.com/eslint/eslint/issues/17815)) (Francesco Trotta) - [`fd28363`](https://togithub.com/eslint/eslint/commit/fd2836342c2be4751b05fe0ba7cece17d1edecc8) docs: remove mention about ESLint stylistic rules in readme ([#17810](https://togithub.com/eslint/eslint/issues/17810)) (Zwyx) - [`48ed5a6`](https://togithub.com/eslint/eslint/commit/48ed5a6dad478a14d3e823f137455c523f373e0b) docs: Update README (GitHub Actions Bot) ##### Chores - [`ba6af85`](https://togithub.com/eslint/eslint/commit/ba6af85c7d8ba55d37f8663aee949d148e441c1a) chore: upgrade [@eslint/js](https://togithub.com/eslint/js)[@8](https://togithub.com/8).56.0 ([#17864](https://togithub.com/eslint/eslint/issues/17864)) (Milos Djermanovic) - [`60a531a`](https://togithub.com/eslint/eslint/commit/60a531a9c0811ddf718e26b9136e133f580b6c36) chore: package.json update for [@eslint/js](https://togithub.com/eslint/js) release (Jenkins) - [`ba87a06`](https://togithub.com/eslint/eslint/commit/ba87a0651a65b52c3ac442b512dd9f4c2b4c5f57) chore: update dependency markdownlint to ^0.32.0 ([#17783](https://togithub.com/eslint/eslint/issues/17783)) (renovate\[bot]) - [`9271d10`](https://togithub.com/eslint/eslint/commit/9271d10d9eabeafb0129a090f29191bfd14273c0) chore: add GitHub issue template for docs issues ([#17845](https://togithub.com/eslint/eslint/issues/17845)) (Josh Goldberg ✨) - [`70a686b`](https://togithub.com/eslint/eslint/commit/70a686b3c1feac5eca98bbff9bd67175f550d5db) chore: Convert rule tests to FlatRuleTester ([#17819](https://togithub.com/eslint/eslint/issues/17819)) (Nicholas C. Zakas) - [`f3a599d`](https://togithub.com/eslint/eslint/commit/f3a599d34c7080fc0b2c9a60b5e54dc98c22867c) chore: upgrade eslint-plugin-unicorn to v49.0.0 ([#17837](https://togithub.com/eslint/eslint/issues/17837)) (唯然) - [`905d4b7`](https://togithub.com/eslint/eslint/commit/905d4b75ab2df42aba30622cee0f66b511397e2c) chore: upgrade eslint-plugin-eslint-plugin v5.2.1 ([#17838](https://togithub.com/eslint/eslint/issues/17838)) (唯然) - [`4d7c3ce`](https://togithub.com/eslint/eslint/commit/4d7c3ce246e6b499f472342ef59496a47cc033d6) chore: update eslint-plugin-n v16.4.0 ([#17836](https://togithub.com/eslint/eslint/issues/17836)) (唯然) - [`fd0c60c`](https://togithub.com/eslint/eslint/commit/fd0c60c3be1f213e5a6d69d8a3248e963619e155) ci: unpin Node.js 21.2.0 ([#17821](https://togithub.com/eslint/eslint/issues/17821)) (Francesco Trotta)vercel/next.js (eslint-config-next)
### [`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.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!sanity-io/next-sanity (next-sanity)
### [`v8.1.3`](https://togithub.com/sanity-io/next-sanity/blob/HEAD/packages/next-sanity/CHANGELOG.md#813-2024-02-28) [Compare Source](https://togithub.com/sanity-io/next-sanity/compare/v8.1.2...v8.1.3) ##### Bug Fixes - **deps:** update dependency [@sanity/client](https://togithub.com/sanity/client) to ^6.15.1 ([#1063](https://togithub.com/sanity-io/next-sanity/issues/1063)) ([d668e87](https://togithub.com/sanity-io/next-sanity/commit/d668e87f656ed68fd5e976d7de4a51e91ee9fa01)) - make NextStudio streaming SSR safe ([9300eae](https://togithub.com/sanity-io/next-sanity/commit/9300eae38e82f596efc257f87293ae6ccc2bc5bc)) - resolve SSR hydration mismatch for NextStudioNoScript ([d11acd1](https://togithub.com/sanity-io/next-sanity/commit/d11acd1dde94b2cadb0af28768d15ae50dd5e275))postcss/postcss (postcss)
### [`v8.4.35`](https://togithub.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8435) [Compare Source](https://togithub.com/postcss/postcss/compare/8.4.34...8.4.35) - Avoid `!` in `node.parent.nodes` type. - Allow to pass `undefined` to node adding method to simplify types. ### [`v8.4.34`](https://togithub.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8434) [Compare Source](https://togithub.com/postcss/postcss/compare/8.4.33...8.4.34) - Fixed `AtRule#nodes` type (by Tim Weißenfels). - Cleaned up code (by Dmitry Kirillov). ### [`v8.4.33`](https://togithub.com/postcss/postcss/blob/HEAD/CHANGELOG.md#8433) [Compare Source](https://togithub.com/postcss/postcss/compare/8.4.32...8.4.33) - Fixed `NoWorkResult` behavior difference with normal mode (by Romain Menke). - Fixed `NoWorkResult` usage conditions (by [@ahmdammarr](https://togithub.com/ahmdammarr)).prettier/prettier (prettier)
### [`v3.2.5`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#325) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5) [diff](https://togithub.com/prettier/prettier/compare/3.2.4...3.2.5) ##### Support Angular inline styles as single template literal ([#15968](https://togithub.com/prettier/prettier/pull/15968) by [@sosukesuzuki](https://togithub.com/sosukesuzuki)) [Angular v17](https://blog.angular.io/introducing-angular-v17-4d7033312e4b) supports single string inline styles. ```ts // Input @Component({ template: `{{ hello }}
`, }) export class AppComponent {} // Prettier 3.2.4 const template = "foobar"; @Component({ [template]: `{{ hello }}
`, }) export class AppComponent {} // Prettier 3.2.5 const template = "foobar"; @Component({ [template]: `{{ hello }}
`, }) export class AppComponent {} ``` ##### Use `"json"` parser for `tsconfig.json` by default ([#16012](https://togithub.com/prettier/prettier/pull/16012) by [@sosukesuzuki](https://togithub.com/sosukesuzuki)) In [v2.3.0](https://prettier.io/blog/2024/01/12/3.2.0#new-jsonc-parser-added-15831httpsgithubcomprettierprettierpull15831-by-fiskerhttpsgithubcomfisker), we introduced `"jsonc"` parser which adds trialing comma **by default**. When adding a new parser we also define how it will be used based on the [`linguist-languages`](https://www.npmjs.com/package/linguist-languages) data. `tsconfig.json` is a special file used by [TypeScript](https://www.typescriptlang.org/docs/handbook/tsconfig-json.html#using-tsconfigjson-or-jsconfigjson), it uses `.json` file extension, but it actually uses the [JSON with Comments](https://code.visualstudio.com/docs/languages/json#\_json-with-comments) syntax. However, we found that there are many third-party tools not recognize it correctly because of the confusing `.json` file extension. We decide to treat it as a JSON file for now to avoid the extra configuration step. To keep using the `"jsonc"` parser for your `tsconfig.json` files, add the following to your `.pretterrc` file ```json { "overrides": [ { "files": ["tsconfig.json", "jsconfig.json"], "options": { "parser": "jsonc" } } ] } ``` ``` ``` ### [`v3.2.4`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#324) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) [diff](https://togithub.com/prettier/prettier/compare/3.2.3...3.2.4) ##### Fix incorrect parser inference ([#15947](https://togithub.com/prettier/prettier/pull/15947) by [@fisker](https://togithub.com/fisker)) Files like `.eslintrc.json` were incorrectly formatted as JSONC files. ```jsx // Input prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "jsonc" } // Prettier 3.2.4 prettier --file-info .eslintrc.json { "ignored": false, "inferredParser": "json" } ``` ### [`v3.2.3`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#323) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) [diff](https://togithub.com/prettier/prettier/compare/3.2.2...3.2.3) ##### Throw errors for invalid code ([#15881](https://togithub.com/prettier/prettier/pull/15881) by [@fisker](https://togithub.com/fisker), [@Josh-Cena](https://togithub.com/Josh-Cena), [@auvred](https://togithub.com/auvred)) ```ts // Input 1++; // Prettier 3.2.2 1++; // Prettier 3.2.3 SyntaxError: Invalid left-hand side expression in unary operation (1:1) > 1 | 1++; | ^ ``` ```ts // Input try {} catch (error = 1){} // Prettier 3.2.2 try { } catch (error) {} // Prettier 3.2.3 SyntaxError: Catch clause variable cannot have an initializer. (1:23) > 1 | try {} catch (error = 1){} | ^ ``` ##### Fix parser inference ([#15927](https://togithub.com/prettier/prettier/pull/15927) by [@fisker](https://togithub.com/fisker)) ```console // Prettier 3.2.2 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "json" } // Prettier 3.2.3 prettier --file-info tsconfig.json { "ignored": false, "inferredParser": "jsonc" } ``` ### [`v3.2.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#322) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) [diff](https://togithub.com/prettier/prettier/compare/3.2.1...3.2.2) ##### Fix crash when parsing template literal CSS in a JSX style tag using a spread attribute ([#15896](https://togithub.com/prettier/prettier/pull/15896) by [@eelco](https://togithub.com/eelco)) For example this code would crash before: ```jsx ``` ##### Fix formatting error on optional call expression and member chain ([#15920](https://togithub.com/prettier/prettier/pull/15920) by [@sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input a(() => {}, c?.d()); // Prettier 3.2.1 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.2 a(() => {}, c?.d()); ``` ### [`v3.2.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#321) [Compare Source](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) [diff](https://togithub.com/prettier/prettier/compare/3.2.0...3.2.1) ##### Fix formatting error on member chain ([#15915](https://togithub.com/prettier/prettier/pull/15915) by [@sosukesuzuki](https://togithub.com/sosukesuzuki)) ```jsx // Input test().test2().test2(thing?.something); // Prettier 3.2.0 TypeError: Cannot read properties of undefined (reading 'type') // Prettier 3.2.1 test().test2().test2(thing?.something); ``` ### [`v3.2.0`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#320) [Compare Source](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) [diff](https://togithub.com/prettier/prettier/compare/3.1.1...3.2.0) 🔗 [Release Notes](https://prettier.io/blog/2024/01/13/3.2.0.html) ### [`v3.1.1`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#311) [Compare Source](https://togithub.com/prettier/prettier/compare/3.1.0...3.1.1) [diff](https://togithub.com/prettier/prettier/compare/3.1.0...3.1.1) ##### Fix config file search ([#15363](https://togithub.com/prettier/prettier/pull/15363) by [@fisker](https://togithub.com/fisker)) Previously, we start search for config files from the filePath as a directory, if it happened to be a directory and contains config file, it will be used by mistake. ```text ├─ .prettierrc └─ test.js (A directory) └─ .prettierrc ``` ```js // Prettier 3.1.0 await prettier.resolveConfigFile(new URL("./test.js", import.meta.url)); //matzkoh/prettier-plugin-packagejson (prettier-plugin-packagejson)
### [`v2.4.12`](https://Configuration
📅 Schedule: Branch creation - "every 3 months on the first day of the month" (UTC), 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 using a curated preset maintained by . View repository job log here