Skip to content

feat: apply cumulative update to address various issues #10324

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 27, 2025

Conversation

char0n
Copy link
Member

@char0n char0n commented Feb 27, 2025

Bug Fixes

  • docker: add OpenContainer labels
  • json-schema-5: fix JumpToPath feature for schemas, closes swagger-api/swagger-editor#4035
  • fix JumpToPath feature for auth methods
  • display the correct name of security methods
  • fix console errors appearing when security scheme is not defined
  • components: render examples only when their shape is correct
  • swagger-client: allow resolving URLs without extensions, closes swagger-api/apidom#4298
  • css: fix css sourcemaps
  • security: update axios to address CVE-2024-39338
  • swagger-client: do not encode server variables, closes swagger-api/swagger-js#3656
  • security: fix unsafe cookie serialization, addresses CVE-2024-47764, GHSA-pxg6-pf52-xh8x
  • spec: compensate if OpenAPI.paths field is defined as unexpected structure
  • json-schema-2020-12: check for schema type before extracting extension keywords, closes swagger-ui/issues#9376
  • json-schema-2020-12: fix rendering of uniqueItems keyword
  • json-schema-2020-12: fix overrides of JSON Schema extension keywords
  • spec: clear JSON state when loading a new definition
  • oas31: fix caching of JSON Schema 2020-12 context
  • json-schema-2020-12: fix default expansion being applied to components after initial render
  • json-schema-2020-12: fix complex schemas expanding beyond the default expansion depth
  • json-schema-2020-12: fix deep expansion not expanding some of the keywords
  • oas31: fix expansion of Schema Object fixed fields

Features

  • swagger-ui-react: add support for initialState prop
  • add horizontal scrollbar for schemas, refs swagger-api/swagger-ui#8940
  • display schema of complex parameters
  • display schema of complex request body properties
  • json-schema-2020-12: allow to use fn outside of React context
  • oas31: display schema of complex parameters with union type
  • oas31: display schema of complex request body properties with union type
  • oas31: display textarea for parameters with complex union type
  • json-schema-2020-12: allow to use getTitle outside of JSON Schema 2020-12 context
  • json-schema-2020-12: introduce system bound HOC
  • json-schema-2020-12: add support for rendering extension keywords, closes swagger-ui/issues#9376
  • json-schema-2020-12: add support for rendering examples keyword
  • json-schema-2020-12: use JSON Viewer to display keywords with complex values
  • json-schema-2020-12: handle empty objects and arrays in JSONViewer
  • oas3: more support for OpenAPI 3.0.4
  • introduce custom URL sanitization mechanism
  • apply additional fixes for custom URL sanitization mechanism
  • oas31: add support for OpenAPI extensions
  • json-schema-2020-12: respect showExtensions config option

Attributions (alphabetical order)

@char0n
@glowcloud
@robert-hebel-sb

@char0n char0n added type: bug type: integration bug type: enhancement dependencies Pull requests that update a dependency file security fix Security fix generated by WhiteSource labels Feb 27, 2025
@char0n char0n self-assigned this Feb 27, 2025
@char0n char0n merged commit 80d56c9 into master Feb 27, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file security fix Security fix generated by WhiteSource type: bug type: enhancement type: integration bug
Projects
None yet
3 participants