Py-swagger-ui

Latest version: v1.1.0

Safety actively analyzes 639107 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 29 of 42

3.13.1

**Interface changes**: none.

**Changelog**:
- bugfix: `spec` and `docExpansion` options now work together (via 4358)
- bugfix: empty `example` keys are no longer placed in model displays for examples (via 4365)

3.13.0

**Interface changes**: Added `onComplete` config option; `preauthorizeApiKey` and `preauthorizeBasic` instance methods.

**Changelog**:
- feature: `onComplete` config option (4322)
- feature: preauthorization (4339)
- improvement: show possible reasons when url fetch fails (4295)
- bugfix: default to empty ImmutableMap when schema is missing (4341)
- bugfix: remove $$ref key from example if it exists (4333)
- refactor: create `InfoUrl` and `InfoBasePath` (4330)

3.12.1

**Interface changes**: none.

**Changelog**:
- improvement: validator image hides until it is loaded (via 4287)
- improvement: html sanitizer allows image src to be `data:` scheme (via 4236)
- improvement: model properties and metadata more reliably sit on their own lines (via 4236)

3.12.0

**Interface changes**: none.

**Changelog**:
- feature: read Swagger 2.0 non-body parameter `x-example` fields and use them as initial values (via 3538)
- improvement: `urls` and `deepLinking` options now play well together, by using `location.replaceState` to update the `urls.primaryName` setting in the browser query string (via 4181)
- improvement: `filter` is now housed within a plugin, which allows custom filtering logic through the plugin system (via 4255)
- improvement: generate more sensible example values when using `anyOf` and `oneOf` (via 4136)
- improvement: add Close button to OAuth dialog, rename Done to Close elsewhere (via 4212)
- improvement: add button to reset request body value when the user modifies it (via 4185)
- fix: blob file download in internet explorer (via 4256)
- fix: try-it-out `consumes` value regression (4265)
- fix: callback display regression, by using complete spec path to request resolved subtrees (via 4272)
- fix: remote $ref resolution regression, by passing `baseDoc` to Swagger-Client (via 4273)
- fix: deeplinked operation resolution on page load (via 4281)
- dependency: upgraded to `zenscroll4.0.1` to solve a fatal error experienced by a small subset of users (via 4270)

3.11.0

This release includes significant improvements to Swagger-UI's performance. The concept of an entirely-resolved spec representation has been done away with in favor of resolved subtrees: as the user expands operations and models in Swagger-UI, work is done to resolve only the parts needed for display. This allows us to do initial renders more quickly and paves the way for a more responsive editing experience in Swagger-Editor.

As a result, there are some breaking changes to various private APIs (mostly `spec` facilities that focus on the resolved state). If you run custom plugins that rely on that data, you'll want to check for compatibility before upgrading.

As a reminder: breaking private API changes result in a minor version bump, not a major bump.


**Interface changes**:
- `defaultModelsExpandDepth` behavior has changed; the default `1` value now leaves all models collapsed for performance reasons related to the new lazy resolution.
- `specResolved` is no longer updated by default; plugins that rely on it should move to `specJson` or `specJsonWithResolvedSubtrees`.

**Changelog**:
- feature: lazy resolver (via 4249)
- improvement: show OAuth error message when auth fails (via 4058)
- fix: allow more valid GUIDs (via 4252)
- fix: bump `lodash` dependency due to potential vulnerability (via 4224)

3.10.0

**Interface changes**: added `supportedSubmitMethods` option to public API.

**Changelog**:
- feature: `supportedSubmitMethods` option for disabling Try-It-Out based on operation method (via 4186)
- improvement: allow more HTML attributes to pass through the HTML sanitizer (via 4194)
- improvement: remove CPU-taxing Execute button animation (4204)
- improvement: visibility & accessibility (via 4202)
- bugfix: use mutated URL for request URL in live response display (via 4117)

Page 29 of 42

Links

Releases

Has known vulnerabilities

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.