Skip to content

Commit c418f47

Browse files
committed
chore(release): v0.2.1
1 parent e805106 commit c418f47

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

‎docs/changelog.mdx‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,20 @@ description: 'Release history for the OpenAPI plugin for Payload CMS.'
55

66
Notable changes per release. For the full commit-level history, see the [GitHub releases](https://github.com/maximseshuk/payload-plugin-openapi/releases).
77

8+
<Update label="v0.2.1" description="October 8, 2026">
9+
10+
**Fixes**
11+
12+
- `POST /api/<slug>/unlock` is documented for every auth collection, as Payload mounts it.
13+
- Login, forgot-password and unlock bodies follow `loginWithUsername`: `email` by default, `username` when email login is off, `email` or `username` with `allowEmailLogin`.
14+
- OpenAPI 3.0 output is valid with an empty `required` list and with fields that allow several types, such as `json` fields. 3.0 and 3.1 output no longer keep the 3.2 tag fields `summary`, `kind` and `parent`.
15+
- The internal `payload-kv` and `payload-query-presets` collections are hidden unless `includeSystem` is on.
16+
- Create, update, delete and duplicate list the query params Payload reads for them, and the global update too. Bulk update also lists `limit` and `sort`. Write operations list `autosave`, `publishAllLocales`, `unpublishAllLocales`, `overrideLock` and `selectedLocales[]` where Payload reads them.
17+
- Collection create is documented with status `201`. The global update response is `{ message, result }` and a restored global version is `{ doc, message }`.
18+
- Relationships and uploads inside groups, named tabs, arrays and blocks are written as IDs in create and update bodies. A polymorphic relationship is written as `{ relationTo, value }`, and an optional relationship accepts `null`.
19+
20+
</Update>
21+
822
<Update label="v0.2.0" description="July 13, 2026">
923

1024
**New features**

‎package.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@seshuk/payload-plugin-openapi",
3-
"version": "0.2.0",
3+
"version": "0.2.1",
44
"description": "OpenAPI 3.0/3.1/3.2 spec generator for Payload CMS, with Scalar/Swagger UI.",
55
"keywords": [
66
"api-docs",

0 commit comments

Comments
 (0)