From 4a173908bc887fd1e96c5d8359e6a0953f8344a5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 7 Jan 2025 21:39:36 +0000 Subject: [PATCH] release: 4.0.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 52 +++++++++++++++++++++++++++++++++++ README.md | 6 ++-- build.gradle.kts | 2 +- 4 files changed, 57 insertions(+), 5 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index e0dc5001..127ac87b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.1.0" + ".": "4.0.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index cdabea2d..5cb3dcf2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,57 @@ # Changelog +## 4.0.0 (2025-01-07) + +Full Changelog: [v3.1.0...v4.0.0](https://github.com/Modern-Treasury/modern-treasury-java/compare/v3.1.0...v4.0.0) + +### ⚠ BREAKING CHANGES + +* **client:** switch query params objects to use `QueryParams` ([#293](https://github.com/Modern-Treasury/modern-treasury-java/issues/293)) + +### Features + +* **client:** add various convenience setters to models ([#301](https://github.com/Modern-Treasury/modern-treasury-java/issues/301)) ([536a4cf](https://github.com/Modern-Treasury/modern-treasury-java/commit/536a4cfe59e88f0546d9738a5d7a9bd7f8eaa0eb)) +* **client:** allow passing null or optional for nullable fields ([#299](https://github.com/Modern-Treasury/modern-treasury-java/issues/299)) ([7754377](https://github.com/Modern-Treasury/modern-treasury-java/commit/7754377bd323f7e94402ec0c17be826637f76b8c)) +* **client:** allow setting arbitrary JSON for top-level body params ([536a4cf](https://github.com/Modern-Treasury/modern-treasury-java/commit/536a4cfe59e88f0546d9738a5d7a9bd7f8eaa0eb)) +* **client:** expose getters for `JsonField` of body params ([536a4cf](https://github.com/Modern-Treasury/modern-treasury-java/commit/536a4cfe59e88f0546d9738a5d7a9bd7f8eaa0eb)) +* **client:** put body field in params, add more convenience methods, and add missing docs ([#296](https://github.com/Modern-Treasury/modern-treasury-java/issues/296)) ([99b10f6](https://github.com/Modern-Treasury/modern-treasury-java/commit/99b10f6382d841f8d329efb3480f13419eb7e547)) + + +### Bug Fixes + +* **client:** consistently throw on omitting required fields ([536a4cf](https://github.com/Modern-Treasury/modern-treasury-java/commit/536a4cfe59e88f0546d9738a5d7a9bd7f8eaa0eb)) +* **client:** convert `JsonField` containing list type to mutable in builder ([536a4cf](https://github.com/Modern-Treasury/modern-treasury-java/commit/536a4cfe59e88f0546d9738a5d7a9bd7f8eaa0eb)) + + +### Chores + +* bump license year ([#295](https://github.com/Modern-Treasury/modern-treasury-java/issues/295)) ([e129315](https://github.com/Modern-Treasury/modern-treasury-java/commit/e129315a07c64b4b64cc815ec656e4124c08aef9)) +* **docs:** add example project ([#291](https://github.com/Modern-Treasury/modern-treasury-java/issues/291)) ([592ed0b](https://github.com/Modern-Treasury/modern-treasury-java/commit/592ed0b45702cfd57b95cd724e3756581ef23673)) +* **docs:** fix code block language ([#292](https://github.com/Modern-Treasury/modern-treasury-java/issues/292)) ([028e31e](https://github.com/Modern-Treasury/modern-treasury-java/commit/028e31ec837380ed09b40c40e14813b18806f619)) +* **docs:** update readme ([#289](https://github.com/Modern-Treasury/modern-treasury-java/issues/289)) ([7ace870](https://github.com/Modern-Treasury/modern-treasury-java/commit/7ace870a1ec171ab32b8a7c3207ddee00f5c9828)) +* fix example path ([e736e61](https://github.com/Modern-Treasury/modern-treasury-java/commit/e736e617b8b5eadbde0b0967291de7acd586f3e7)) +* update parameter examples in tests and docs ([#287](https://github.com/Modern-Treasury/modern-treasury-java/issues/287)) ([c45218f](https://github.com/Modern-Treasury/modern-treasury-java/commit/c45218f7bdc624f0cbf5e73da00ebacf94adba05)) + + +### Documentation + +* add params class javadocs ([#300](https://github.com/Modern-Treasury/modern-treasury-java/issues/300)) ([29e9fe1](https://github.com/Modern-Treasury/modern-treasury-java/commit/29e9fe1fe49e60c188b9daeb6426bea764a1de22)) +* add some missing javadocs ([#297](https://github.com/Modern-Treasury/modern-treasury-java/issues/297)) ([503bf07](https://github.com/Modern-Treasury/modern-treasury-java/commit/503bf07bc199bd8f33987afa4d697acd51b14abc)) + + +### Styles + +* **internal:** explicitly add some method return types ([536a4cf](https://github.com/Modern-Treasury/modern-treasury-java/commit/536a4cfe59e88f0546d9738a5d7a9bd7f8eaa0eb)) +* **internal:** move headers and query params setters below others ([536a4cf](https://github.com/Modern-Treasury/modern-treasury-java/commit/536a4cfe59e88f0546d9738a5d7a9bd7f8eaa0eb)) +* **internal:** simplify existing convenience setters on params ([536a4cf](https://github.com/Modern-Treasury/modern-treasury-java/commit/536a4cfe59e88f0546d9738a5d7a9bd7f8eaa0eb)) +* **internal:** sort fields ([#298](https://github.com/Modern-Treasury/modern-treasury-java/issues/298)) ([c10ab38](https://github.com/Modern-Treasury/modern-treasury-java/commit/c10ab3880d9b0cebcbacb2d612f65df4dc0f3e05)) + + +### Refactors + +* **client:** switch query params objects to use `QueryParams` ([#293](https://github.com/Modern-Treasury/modern-treasury-java/issues/293)) ([15ccd7f](https://github.com/Modern-Treasury/modern-treasury-java/commit/15ccd7f842763d6ef7f2ff564dc83d748059b8bf)) +* **internal:** use constructor to deserialize json ([#294](https://github.com/Modern-Treasury/modern-treasury-java/issues/294)) ([e0242e2](https://github.com/Modern-Treasury/modern-treasury-java/commit/e0242e2fd7ffb150688d2e314cb84160e706ff68)) + ## 3.1.0 (2024-12-16) Full Changelog: [v3.0.0...v3.1.0](https://github.com/Modern-Treasury/modern-treasury-java/compare/v3.0.0...v3.1.0) diff --git a/README.md b/README.md index d4a32fc1..a78e5847 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ -[![Maven Central](https://img.shields.io/maven-central/v/com.moderntreasury.api/modern-treasury-java)](https://central.sonatype.com/artifact/com.moderntreasury.api/modern-treasury-java/3.1.0) +[![Maven Central](https://img.shields.io/maven-central/v/com.moderntreasury.api/modern-treasury-java)](https://central.sonatype.com/artifact/com.moderntreasury.api/modern-treasury-java/4.0.0) @@ -25,7 +25,7 @@ The REST API documentation can be found on [docs.moderntreasury.com](https://do ```kotlin -implementation("com.moderntreasury:modern-treasury-java:3.1.0") +implementation("com.moderntreasury:modern-treasury-java:4.0.0") ``` #### Maven @@ -34,7 +34,7 @@ implementation("com.moderntreasury:modern-treasury-java:3.1.0") com.moderntreasury modern-treasury-java - 3.1.0 + 4.0.0 ``` diff --git a/build.gradle.kts b/build.gradle.kts index db33fbe8..fe97607c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,7 +4,7 @@ plugins { allprojects { group = "com.moderntreasury" - version = "3.1.0" // x-release-please-version + version = "4.0.0" // x-release-please-version } nexusPublishing {