|
1 | 1 | # @redocly/openapi-core |
2 | 2 |
|
| 3 | +## 2.0.0-next.0 |
| 4 | + |
| 5 | +### Major Changes |
| 6 | + |
| 7 | +- Removed backward compatibility for the `spec` rule. Use `struct` instead. |
| 8 | +- Removed support for the deprecated `apiDefinitions` option in the Redocly config. Use `apis` instead. |
| 9 | + Also removed the `labels` field within the `apis` section, which was associated with the legacy Redocly Registry product. |
| 10 | +- Removed support for the deprecated `features.openapi` and `features.mockServer` configuration options. Please use `openapi` and `mockServer` directly instead. |
| 11 | +- Removed backward compatibility for the deprecated `lint` and `styleguide` options in the Redocly config. |
| 12 | + Use `rules`, `decorators` and other related options on the root level instead. |
| 13 | +- Removed the deprecated `disallowAdditionalProperties` option support in rules. Use `allowAdditionalProperties` instead. |
| 14 | +- Removed the deprecated `undefined` assertion. Use `defined` instead. |
| 15 | +- Removed support for the legacy Redocly API registry in favor of the new Reunite platform. |
| 16 | + Reunite provides improved API management capabilities and better integration with Redocly's tooling ecosystem. |
| 17 | + Migrated the `login` and `push` commands to work exclusively with Reunite. |
| 18 | + Removed the `preview-docs` command as part of platform modernization. |
| 19 | + Use the `preview` command instead. |
| 20 | +- Removed support for the deprecated `referenceDocs` option, which was related to the legacy Reference docs product. |
| 21 | +- Removed support for the deprecated `assert/` prefix in configurable rules. Use `rule/` prefix instead. |
| 22 | +- Migrated the codebase to ES Modules from CommonJS, bringing improved code organization and better support for modern JavaScript features. |
| 23 | + Update to Node.js version 20.19.0+, 22.12.0+, or 23+. |
| 24 | +- Streamlined Redocly configuration interfaces for improved developer experience. |
| 25 | + Removed `StyleguideConfig` class in favor of the unified `Config` class. |
| 26 | + Removed `getMergedConfig` function - use `Config.forAlias()` method instead to retrieve API-specific configurations. |
| 27 | + |
| 28 | +### Minor Changes |
| 29 | + |
| 30 | +- Added `x-security` extension for Respect that enables secure handling of authentication in Arazzo workflows. |
| 31 | + This extension allows you to: |
| 32 | + |
| 33 | + - Define security schemes at the step level using either predefined schemes or inline definitions |
| 34 | + - Pass secrets values (passwords, tokens, API keys) |
| 35 | + - Support multiple authentication types including API Key (query, header, or cookie), Basic Authentication, Bearer Token, Digest Authentication, OAuth2, and OpenID Connect |
| 36 | + - Automatically transform security parameters into appropriate HTTP headers or query parameters |
| 37 | + |
| 38 | +### Patch Changes |
| 39 | + |
| 40 | +- Fixed an issue where the `ignoreLastPathSegment` option of the `path-segment-plural` rule had no effect if the path contained only one segment, resulting in an error. |
| 41 | +- Updated @redocly/config to v0.24.1. |
| 42 | +- Fixed incorrect validation logic for the `constructor` property. |
| 43 | + |
3 | 44 | ## 1.34.2 |
4 | 45 |
|
5 | 46 | ### Patch Changes |
|
0 commit comments