@speclynx/apidom-overlay 6.1.0 → 6.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -0
- package/README.md +1 -1
- package/dist/apidom-overlay.browser.js +471 -338
- package/dist/apidom-overlay.browser.min.js +1 -1
- package/package.json +9 -9
- package/src/diff/realms/apidom.cjs +28 -7
- package/src/diff/realms/apidom.mjs +27 -7
- package/src/diff/realms/uri.cjs +2 -0
- package/src/diff/realms/uri.mjs +3 -1
- package/types/apidom-overlay.d.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,19 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [6.1.2](https://github.com/speclynx/apidom/compare/v6.1.1...v6.1.2) (2026-10-29)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
- **core:** drop empty lines after clip and strip block scalars ([#726](https://github.com/speclynx/apidom/issues/726)) ([ee8815f](https://github.com/speclynx/apidom/commit/ee8815fc5054a8ed34d07f94d7882cfd504f1734)), closes [#681](https://github.com/speclynx/apidom/issues/681) [speclynx/speclynx-cli#199](https://github.com/speclynx/speclynx-cli/issues/199)
|
|
11
|
+
|
|
12
|
+
## [6.1.1](https://github.com/speclynx/apidom/compare/v6.1.0...v6.1.1) (2026-10-29)
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
- **overlay:** reject overlay versions below 1.1.0 in diff ([#707](https://github.com/speclynx/apidom/issues/707)) ([c9b3a08](https://github.com/speclynx/apidom/commit/c9b3a085600fdbb8e8bacbd5a18b80ab443338b2)), closes [#606](https://github.com/speclynx/apidom/issues/606)
|
|
17
|
+
- parse empty YAML values as null elements ([#712](https://github.com/speclynx/apidom/issues/712)) ([388e842](https://github.com/speclynx/apidom/commit/388e842f3156fc94f46724f507cbf0dd92acae06)), closes [#655](https://github.com/speclynx/apidom/issues/655) [#709](https://github.com/speclynx/apidom/issues/709) [#694](https://github.com/speclynx/apidom/issues/694)
|
|
18
|
+
|
|
6
19
|
# [6.1.0](https://github.com/speclynx/apidom/compare/v6.0.6...v6.1.0) (2026-10-17)
|
|
7
20
|
|
|
8
21
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -186,7 +186,7 @@ const overlay = await diffOverlay(
|
|
|
186
186
|
|
|
187
187
|
| Option | Type | Default | Description |
|
|
188
188
|
|---|---|---|---|
|
|
189
|
-
| `overlay` | `string` | `'1.2.0'` | Version string written to the `overlay` field. Generated overlays use no 1.2.0-only features, so pass `'1.1.0'`
|
|
189
|
+
| `overlay` | `string` | `'1.2.0'` | Version string written to the `overlay` field. Generated overlays use no 1.2.0-only features, so pass `'1.1.0'` to target an older version. Must be `>= 1.1.0` (a version known to `@speclynx/apidom-ns-overlay-1`), otherwise `OverlayError` is thrown: generated actions update primitive values and concatenate arrays, which Overlay 1.0.0 doesn't allow. |
|
|
190
190
|
| `info.title` | `string` | `'API diff'` | Title for the generated overlay's `info` object. |
|
|
191
191
|
| `info.version` | `string` | `'0.0.0'` | Version for the generated overlay's `info` object. |
|
|
192
192
|
| `info.description` | `string` | — | Optional description for the overlay's `info` object. |
|