Skip to content

Commit

Permalink
release: 4.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Jan 7, 2025
1 parent 536a4cf commit 4a17390
Show file tree
Hide file tree
Showing 4 changed files with 57 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "3.1.0"
".": "4.0.0"
}
52 changes: 52 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<!-- x-release-please-start-version -->

[![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)

<!-- x-release-please-end -->

Expand All @@ -25,7 +25,7 @@ The REST API documentation can be found on [docs.moderntreasury.com](https://do
<!-- x-release-please-start-version -->

```kotlin
implementation("com.moderntreasury:modern-treasury-java:3.1.0")
implementation("com.moderntreasury:modern-treasury-java:4.0.0")
```

#### Maven
Expand All @@ -34,7 +34,7 @@ implementation("com.moderntreasury:modern-treasury-java:3.1.0")
<dependency>
<groupId>com.moderntreasury</groupId>
<artifactId>modern-treasury-java</artifactId>
<version>3.1.0</version>
<version>4.0.0</version>
</dependency>
```

Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4a17390

Please sign in to comment.