|
6 | 6 | # Redocly CLI changelog |
7 | 7 |
|
8 | 8 | <!-- do-not-remove --> |
| 9 | + |
| 10 | +## 2.0.0-next.0 (2025-05-27) |
| 11 | + |
| 12 | +### Major Changes |
| 13 | + |
| 14 | +- Removed backward compatibility for the `spec` rule. Use `struct` instead. |
| 15 | +- Removed support for the deprecated `apiDefinitions` option in the Redocly config. Use `apis` instead. |
| 16 | + Also removed the `labels` field within the `apis` section, which was associated with the legacy Redocly Registry product. |
| 17 | +- Removed support for the deprecated `features.openapi` and `features.mockServer` configuration options. Please use `openapi` and `mockServer` directly instead. |
| 18 | +- Removed backward compatibility for the deprecated `lint` and `styleguide` options in the Redocly config. |
| 19 | + Use `rules`, `decorators` and other related options on the root level instead. |
| 20 | +- Removed the deprecated `disallowAdditionalProperties` option support in rules. Use `allowAdditionalProperties` instead. |
| 21 | +- Removed the deprecated `undefined` assertion. Use `defined` instead. |
| 22 | +- Removed support for the legacy Redocly API registry in favor of the new Reunite platform. |
| 23 | + Reunite provides improved API management capabilities and better integration with Redocly's tooling ecosystem. |
| 24 | + Migrated the `login` and `push` commands to work exclusively with Reunite. |
| 25 | + Removed the `preview-docs` command as part of platform modernization. |
| 26 | + Use the `preview` command instead. |
| 27 | +- Removed support for the deprecated `referenceDocs` option, which was related to the legacy Reference docs product. |
| 28 | +- Removed support for the deprecated `assert/` prefix in configurable rules. Use `rule/` prefix instead. |
| 29 | +- Migrated the codebase to ES Modules from CommonJS, bringing improved code organization and better support for modern JavaScript features. |
| 30 | + Update to Node.js version 20.19.0+, 22.12.0+, or 23+. |
| 31 | + |
| 32 | +### Patch Changes |
| 33 | + |
| 34 | +- Updated Redoc to v2.5.0. |
| 35 | +- Improved Respect's error handling when server URLs are missing from both OpenAPI descriptions and CLI options. Now provides a clearer error message when no server URL is available. |
| 36 | +- Updated @redocly/openapi-core to v2.0.0-next.0. |
0 commit comments