Skip to content

SDK Updates: v4.0.0#32

Open
postman[bot] wants to merge 1 commit into
sdk-update-v3.0.0-1777629905337from
sdk-updates
Open

SDK Updates: v4.0.0#32
postman[bot] wants to merge 1 commit into
sdk-update-v3.0.0-1777629905337from
sdk-updates

Conversation

@postman

@postman postman Bot commented Jun 8, 2026

Copy link
Copy Markdown

SDK updates

Added

  • Generated .github/workflows/release.yml workflow for automated releases and PyPI publishing (controlled by publishing.enabled and publishing.releaseBranch in the generate request)

Changed

  • Server URL normalization now handles prose-bearing values from OpenAPI specs and Postman collections, extracting the first valid https?:// URL token and falling back gracefully when no URL can be found

Fixed

  • PyPI publish step in generated release workflow now includes skip-existing: true to allow re-running workflows without failure
  • typing.Any-typed fields no longer raise TypeError at runtime during validation
  • Generated SDKs now construct cleanly when server URLs contain prose (like "POST https://api.example.com"), malformed values fall back to a placeholder, and relative paths and non-HTTP schemes like grpc:// are preserved
  • IPv6 host URLs are automatically bracketed per RFC 3986 (e.g., https://[2001:db8::1]/v1) to prevent validation errors; colon-heavy authorities that are not valid IPv6 literals now fall back to a placeholder instead of producing an Invalid IPv6 URL error
  • Requests to operations without a request body no longer send an empty JSON payload with a Content-Type: application/json header, so strict servers no longer reject them with HTTP 415
  • Pattern validation using regex fields now works reliably; patterns with Python-incompatible constructs (look-behind, atomic groups, possessive quantifiers, conditional groups, Unicode escapes, named backreferences) are safely translated or skipped instead of crashing at schema load
  • Pattern validation in Pydantic fields now respects backslash escapes correctly in raw strings

@postman postman Bot changed the title Update Python SDK to v1.0.0 Update Python SDK to v3.0.0 Jun 8, 2026
@postman postman Bot force-pushed the sdk-updates branch 3 times, most recently from e072c81 to 0d838e2 Compare June 8, 2026 13:11
@postman postman Bot changed the title Update Python SDK to v3.0.0 SDK Updates: v3.1.0 Jun 16, 2026
@postman postman Bot changed the title SDK Updates: v3.1.0 SDK Updates: v4.0.0 Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants