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 #278

Merged
merged 23 commits into from
Jan 14, 2025
Merged

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Dec 18, 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 (#283)

Features

  • client: add more builder convenience methods for lists (#295) (9167c5d)
  • client: add various convenience setters to models (#292) (9d38e5a)
  • client: allow setting arbitrary JSON for top-level body params (9d38e5a)
  • client: expose getters for JsonField of body params (9d38e5a)
  • client: put body field in params, add more convenience methods, and add missing docs (#287) (c3037e7)

Bug Fixes

  • client: add some missing validate() calls (#297) (a2910af)
  • client: allow passing null for nullable fields where missing (#290) (f3181b5)
  • client: consider header properties in page equality (#293) (b1bda99)
  • client: consistently throw on omitting required fields (9d38e5a)
  • client: convert JsonField containing list type to mutable in builder (9d38e5a)

Chores

Documentation

Styles

  • internal: explicitly add some method return types (9d38e5a)
  • internal: move headers and query params setters below others (9d38e5a)
  • internal: simplify existing convenience setters on params (9d38e5a)
  • internal: sort fields (#289) (6fa11e4)

Refactors

  • client: switch query params objects to use QueryParams (#283) (b032c4e)
  • internal: use constructor to deserialize json (#284) (b1aaca1)

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 from 6cf1a0d to e394ff2 Compare December 19, 2024 02:26
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ed73c00 to 95e1838 Compare December 19, 2024 02:41
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 005347d to cd4f196 Compare December 19, 2024 05:42
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from d1e2a6c to 5aaf526 Compare December 19, 2024 19:12
…283)

feat(client): add methods for removing additional properties
chore(internal): remove unnecessary validation methods
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 a9d269c to 5c1fcfc Compare January 2, 2025 20:29
@stainless-app stainless-app bot changed the title release: 3.1.1 release: 4.0.0 Jan 2, 2025
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from e07007c to 5c1fcfc Compare January 2, 2025 20:30
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from c782a9d to c3037e7 Compare January 3, 2025 18:10
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from cc69bce to b48841f Compare January 3, 2025 19:14
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 065e79b to 6fa11e4 Compare January 6, 2025 18:53
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8d70e76 to f3181b5 Compare January 6, 2025 19:19
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 73fe4eb to 3a4a79e 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 f7dadf5 to 9d38e5a Compare January 7, 2025 21:39
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from ea8781d to b1bda99 Compare January 7, 2025 22:13
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from a2faaba to 80c3e41 Compare January 8, 2025 15:40
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 2773cfd to 9167c5d Compare January 8, 2025 16:30
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 60060be to d620edf 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 77a97c9 to a2910af Compare January 9, 2025 23:29
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 8be2535 to ab6f389 Compare January 13, 2025 19:17
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 01b9dc4 to 0b641f2 Compare January 13, 2025 20:37
@stainless-app stainless-app bot force-pushed the release-please--branches--main--changes--next branch from 274c170 to aba017d Compare January 14, 2025 02:52
@stainless-app stainless-app bot merged commit d479461 into main Jan 14, 2025
1 check passed
@stainless-app stainless-app bot deleted the release-please--branches--main--changes--next branch January 14, 2025 19:23
Copy link
Contributor Author

stainless-app bot commented Jan 14, 2025

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