Repository navigation
TML-3722: The docs site error-reference sync passes again: the MDX check reads the Markdown source, not the generated .mdx page - #30854
Conversation
… source only, not to the docs site's generated .mdx page Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
@prisma/orm-extension-arktype-json
@prisma/orm-extension-middleware-cache
@prisma/orm-extension-paradedb
@prisma/orm-extension-pgvector
@prisma/orm-extension-postgis
@prisma/orm-extension-supabase
@prisma/orm-family-mongo
@prisma/orm-family-sql
@prisma/orm-framework
@prisma/orm-mongo
@prisma/orm-postgres
@prisma/orm-sqlite
@prisma/orm-target-mongo
@prisma/orm-target-postgres
@prisma/orm-target-sqlite
@prisma/orm-toolchain
commit: |
size-limit report 📦
|
`8.0.0-rc.20` → `8.0.0-rc.21`. See [versioning](https://github.com/prisma/orm/blob/main/docs/oss/versioning.md). **Merging this PR ships the release.** The push to `main` carries the new root version. The `Publish to npm` workflow then publishes `8.0.0-rc.21` under the `latest` dist-tag and creates a pre-release GitHub Release. ## What to review - **Release notes:** [`docs/releases/v8.0.0-rc.21.md`](https://github.com/prisma/orm/blob/release/8.0.0-rc.21/docs/releases/v8.0.0-rc.21.md), mirrored in `CHANGELOG.md`. Eleven breaking changes: client members reject instead of throwing, the enum value question, MongoDB names and options, one set of MongoDB contract rules, `close()` with your own pool, `markerLocation`, the renamed PostgreSQL date and time types, ISO 8601 text date and time values with `DateStyle=ISO` required, and a Prisma 7 `@default(now())` filled on create (from prisma#30834), the control API checking a database's marker against the migration graph itself (from prisma#30866), and field presets removed in favour of type constructors and type aliases (from prisma#30845). prisma#30834, prisma#30866 and prisma#30845 merged after this branch was cut; `main` is merged in. It also covers the MySQL preview packages and the corrected rc.19 and rc.20 upgrade guides (prisma#30855). The notes leave out prisma#30848, prisma#30854 (docs-sync tooling) and prisma#30852 (docs only). - **Upgrade guides:** `skills/prisma-8/upgrading/{app,extension}/upgrades/8.0.0-rc.20-to-8.0.0-rc.21/instructions.md`, assembled from the fourteen pending fragments. The app guide has 31 changes plus the Supabase restamp, and the extension guide has 29. None was dropped. The originals are archived unchanged under `upgrade-instructions/releases/8.0.0-rc.20-to-8.0.0-rc.21/sources/`. While assembling, I fixed a wrong import path (`@prisma/orm-target-mongo/pack` does not exist), a detection that matched only code that was already upgraded, and a miscount of optional fields. - **Version bump:** every `package.json`, `pnpm-lock.yaml` (workspace specifiers only), the skill's `library_version`, and the Supabase contract version stamps. ## Checks run locally - `check:upgrade-coverage --mode publish --prev v8.0.0-rc.20 --head HEAD`: pass - `check:release-notes --mode pr`: pass - `lint:skills`: pass - `test/upgrade-instructions`: 86 files, 1650 tests pass The docs PR in prisma/web follows once this is published. Agent: rochester-20 --------- Signed-off-by: willbot <[email protected]> Signed-off-by: Will Madden <[email protected]>
#30848 made
--verifyrefuse tags and braces outside code. prisma/web'ssync-error-reference-docs.ymlalso runs--verify, on the page it generates:error-reference.mdx, which is already MDX and opens with an MDX comment{/* ... */}. So the sync, which #30848 unblocked at the generate step, now fails at the verify step.--verifynow applies the MDX check only to a file that is not.mdx: the canonicaldocs/reference/error-reference.md, where it belongs. The code check is unchanged for both. A new test verifies an.mdxpage with an MDX comment; it failed before this change. Run locally against prisma/web main: the generator accepts this repo'serror-reference.md, and--verifyon the generated.mdxlists all 393 known codes.Closes the rest of TML-3722.
Agent: rochester-20
Summary by CodeRabbit