Skip to content
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

release: 4.0.0 #288

Open
wants to merge 23 commits into
base: main
Choose a base branch
from

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Dec 19, 2024

Automated Release PR

4.0.0 (2025-01-14)

Full Changelog: v3.1.0...v4.0.0

⚠ BREAKING CHANGES

  • client: switch query params objects to use QueryParams (#293)

Features

  • client: add more builder convenience methods for lists (#304) (4c7cecf)
  • client: add various convenience setters to models (#301) (536a4cf)
  • client: allow passing null or optional for nullable fields (#299) (7754377)
  • client: allow setting arbitrary JSON for top-level body params (536a4cf)
  • client: expose getters for JsonField of body params (536a4cf)
  • client: put body field in params, add more convenience methods, and add missing docs (#296) (99b10f6)

Bug Fixes

  • client: add some missing validate() calls (#306) (214c60d)
  • client: consider header properties in page equality (#302) (ca111de)
  • client: consistently throw on omitting required fields (536a4cf)
  • client: convert JsonField containing list type to mutable in builder (536a4cf)

Chores

Documentation

Styles

  • internal: explicitly add some method return types (536a4cf)
  • internal: move headers and query params setters below others (536a4cf)
  • internal: simplify existing convenience setters on params (536a4cf)
  • internal: sort fields (#298) (c10ab38)

Refactors

  • client: switch query params objects to use QueryParams (#293) (15ccd7f)
  • internal: use constructor to deserialize json (#294) (e0242e2)

This pull request is managed by Stainless's GitHub App.

The semver version number is based on included commit messages. Alternatively, you can manually set the version number in the title of this pull request.

For a better experience, it is recommended to use either rebase-merge or squash-merge when merging this pull request.

🔗 Stainless website
📚 Read the docs
🙋 Reach out for help or questions

@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch 2 times, most recently from 0a246d2 to 592ed0b Compare December 19, 2024 17:40
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9db0de8 to e736e61 Compare December 19, 2024 18:03
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ba13968 to 028e31e Compare December 19, 2024 19:50
…293)

feat(client): add methods for removing additional properties
chore(internal): remove unnecessary validation methods
chore(internal): swap params body getters to use optionals
chore(internal): remove unnecessary nullable annotations
style(internal): minor changes to code ordering and syntax
# Migration
If you were accessing `_additionalProperties()` on a query params object, then previously it returned `Map<String, List<String>>`. Now it returns a dedicated `QueryParams` object. The `QueryParams` class is better suited for mapping a key to multiple values and has similar methods to `Map`.
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a3ae1a8 to 15ccd7f Compare December 20, 2024 20:05
@stainless-app stainless-app bot changed the title release: 3.1.1 release: 4.0.0 Dec 20, 2024
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 94daaa6 to 15ccd7f Compare December 20, 2024 20:05
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2d7e0ba to e0242e2 Compare December 20, 2024 23:03
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from dbd98d0 to e129315 Compare January 2, 2025 01:46
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d8efc21 to 99b10f6 Compare January 3, 2025 18:10
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 706a2de to 503bf07 Compare January 3, 2025 19:14
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 88d3646 to c10ab38 Compare January 6, 2025 18:53
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5b6bc92 to 7754377 Compare January 6, 2025 19:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 04ee12f to 29e9fe1 Compare January 7, 2025 20:44
feat(client): allow setting arbitrary JSON for top-level body params
feat(client): expose getters for `JsonField` of body params
fix(client): consistently throw on omitting required fields
fix(client): convert `JsonField` containing list type to mutable in builder
style(internal): simplify existing convenience setters on params
style(internal): move headers and query params setters below others
style(internal): explicitly add some method return types
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 5e61dd9 to 536a4cf Compare January 7, 2025 21:39
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 4a17390 to ca111de Compare January 7, 2025 22:13
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 87387f8 to a8e9765 Compare January 8, 2025 15:40
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2e174e0 to 4c7cecf Compare January 8, 2025 16:30
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from dd9092d to b13afd8 Compare January 9, 2025 04:14
chore(internal): refactor `validate` methods
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 18470ba to 214c60d Compare January 9, 2025 23:29
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 65f5bbf to 62848d5 Compare January 13, 2025 19:17
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 9f700a3 to 1d5c50a Compare January 13, 2025 20:37
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 167ddbe to f6d536c Compare January 14, 2025 02:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant