|
| 1 | +## 4.2.0 (Nov 1, 2024) |
| 2 | + |
| 3 | +High level enhancements |
| 4 | + |
| 5 | +- Massive refactor of plugin and theme that dramatically optimizes and reduces generated MDX. |
| 6 | +- Added sample JSON code snippet component to schema pages. |
| 7 | +- Improvements to how allOf, additonalProperties and discriminators are processed/handled. |
| 8 | + |
| 9 | +Other enhancements and bug fixes |
| 10 | + |
| 11 | +### Features/Enhancements |
| 12 | + |
| 13 | +- **discriminators** |
| 14 | + - Improve handling of discriminators ([#1009](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/1009)) |
| 15 | +- **schema** |
| 16 | + - Migrate schema page to Schema component and refactor layout ([#1001](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/1001)) |
| 17 | + - Refactor to use new theme components |
| 18 | + - Add new RequestSchema and Schema components |
| 19 | +- **additional properties** |
| 20 | + - Add additionalProperties examples to tests |
| 21 | + - Support object as primitive additional properties |
| 22 | + - Improve Items support for allOf and primitives |
| 23 | +- **allOf handling** |
| 24 | + - Refactor items allOf to new pattern/library |
| 25 | + - Extend allOf tests |
| 26 | + - Migrate to allof-merge library to improve merging |
| 27 | + - Improve handling of top-level primitives |
| 28 | + - Improve support for allOf |
| 29 | + - Avoid returning on first schema match and improve support for AnyOneOf |
| 30 | +- **UI/UX improvements** |
| 31 | + - Implement skeleton loader component |
| 32 | + - Try lazy loading on all |
| 33 | + - Implement lazy loading without BrowserOnly |
| 34 | + - Render loading spinner instead of text |
| 35 | + - Add language tabs back |
| 36 | + - Add default logo for http and shell |
| 37 | + - Add margin top to enum descriptions |
| 38 | + - Change label from generated to auto |
| 39 | + - Add Summary component, cleanup PropertyDiscriminator and SchemaNodeDetails |
| 40 | + - Rename Edge to SchemaEdge and fix props and types |
| 41 | + - Rename SchemaComponent to SchemaNode |
| 42 | + - Cleanup Properties and add missing props |
| 43 | + - Port x-enumDescription fix from [#981](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/981) |
| 44 | + - Add additional schema support to edge |
| 45 | + - Support single mime type schemas |
| 46 | + - Make props optional |
| 47 | + - Add DetailsNode component and markdown rendering for description and qualifier |
| 48 | + - Add StatusCodes component |
| 49 | + - Use ExecutionEnvironment to avoid SSR |
| 50 | + - Render ParamsDetails client-side |
| 51 | + - Add response examples |
| 52 | + - Add ResponseExamples component |
| 53 | + - Import new ResponseSchema component |
| 54 | + - Switch to new ResponseSchema component |
| 55 | + - Add new ResponseSchema component |
| 56 | + - Reduce params details to single component for all types |
| 57 | + - Switch to docusaurus Details component |
| 58 | + - Fix details summaries |
| 59 | + - Add ParamsDetails to imports |
| 60 | + - Refactor createParamsDetails to use component |
| 61 | + - Add className to Props |
| 62 | + - Add new ParamsDetails component |
| 63 | + |
| 64 | +### Bug Fixes |
| 65 | + |
| 66 | +- **allOf items** |
| 67 | + - [Fix] All of items in array for API response ([#995](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/995)) |
| 68 | + - Fix linter errors |
| 69 | + - Update test snapshot |
| 70 | + - Fix create allof request/response samples |
| 71 | +- **empty language tabs** |
| 72 | + - Fix bug in CodeSnippets component ([#988](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/988)) |
| 73 | +- **contact info** |
| 74 | + - Fix bug in createContactInfo.ts, protocol was set to mailto even though it was a URL ([#992](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/992)) |
| 75 | +- **import names** |
| 76 | + - Fix import name |
| 77 | + |
| 78 | +### Refactoring |
| 79 | + |
| 80 | +- **schema** |
| 81 | + - Refactor create schema tests to cypress ([#997](https://github.com/PaloAltoNetworks/docusaurus-openapi-docs/pull/997)) |
| 82 | + - Rename 'from schema' to 'generated' and cleanup examples |
| 83 | +- **imports** |
| 84 | + - Remove unused imports |
| 85 | + - Cleanup API doc template imports |
| 86 | + - Update imports |
| 87 | + - Remove unused imports |
| 88 | + - Update imports |
| 89 | +- **code cleanup** |
| 90 | + - Remove unused import |
| 91 | + - Cleanup AdditionalProperties types and logic |
| 92 | + - Cleanup PropertyDiscriminator and Markdown types |
| 93 | + - Cleanup code comments |
| 94 | + - Remove unnecessary div |
| 95 | + - Revert CSR experiment |
| 96 | + - Remove unnecessary div |
| 97 | + - Remove code comment |
| 98 | + |
| 99 | +### Other |
| 100 | + |
| 101 | +- **internal** |
| 102 | + - Migrate branch 'main' into params-details |
| 103 | + - Update build-perf.yml |
| 104 | + - Update build-perf.yml |
| 105 | + |
1 | 106 | ## 4.1.0 (Oct 4, 2024)
|
2 | 107 |
|
3 | 108 | High level enhancements
|
|
0 commit comments