Skip to content

Commit 4a3f5ef

Browse files
committed
Release 0.2.1: regenerate from contract sha256:b5774d24bc81
Generated by packages/sdk-generator 1.0.0 from the Desktop Accounting API OpenAPI contract (sha256:b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9, API 1.0.0, 275 operations).
1 parent 979227f commit 4a3f5ef

771 files changed

Lines changed: 974 additions & 974 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.daapi-sdk.json‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
22
"repository": "DesktopAccountingAPI/quickbooks-desktop-java",
3-
"sdkVersion": "0.2.0",
3+
"sdkVersion": "0.2.1",
44
"generator": {
55
"name": "packages/sdk-generator",
66
"version": "1.0.0"
77
},
88
"contract": {
99
"path": "packages/api-contract/generated/openapi.json",
10-
"sha256": "6f5ac28d7c33ac90aa7e2c15d88efd50e8e41c808bcc5489f0c8b1cb7833326a",
10+
"sha256": "b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9",
1111
"openapi": "3.1.0",
1212
"apiVersion": "1.0.0"
1313
},

‎CHANGELOG.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
## 0.1.0
1111

12-
First release, generated from API contract 1.0.0 (sha256 `6f5ac28d7c33`, 275 operations).
12+
First release, generated from API contract 1.0.0 (sha256 `b5774d24bc81`, 275 operations).
1313

1414
- `DesktopAccountingApiClient` with builder, `fromEnv()` and `forEndUser(...)`; local secret-key validation.
1515
- Typed models for every request and response: `BigDecimal` money with preserved scale, `LocalDate`, `OffsetDateTime`, open enums as string constants, unknown fields kept in `additionalProperties()`, `toJson()` on every model.

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Because of this, we usually cannot merge pull requests as they are. Open an issu
1616

1717
Open an issue with:
1818

19-
- the SDK version (`0.2.0` or later) and your Java version,
19+
- the SDK version (`0.2.1` or later) and your Java version,
2020
- the operation you called, for example `qbd.invoices.create`,
2121
- the `Daapi-Request-Id` of the failing call (every error exposes it as its request ID),
2222
- what you expected and what happened.

‎README.md‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,28 @@ The Java client for [Desktop Accounting API](https://www.desktopaccountingapi.co
1212

1313
## Install
1414

15-
The artifact is `com.desktopaccountingapi:quickbooks-desktop` on [Maven Central](https://central.sonatype.com/artifact/com.desktopaccountingapi/quickbooks-desktop). The current version is **0.2.0**.
15+
The artifact is `com.desktopaccountingapi:quickbooks-desktop` on [Maven Central](https://central.sonatype.com/artifact/com.desktopaccountingapi/quickbooks-desktop). The current version is **0.2.1**.
1616

1717
Maven:
1818

1919
```xml skip
2020
<dependency>
2121
<groupId>com.desktopaccountingapi</groupId>
2222
<artifactId>quickbooks-desktop</artifactId>
23-
<version>0.2.0</version>
23+
<version>0.2.1</version>
2424
</dependency>
2525
```
2626

2727
Gradle (Kotlin DSL):
2828

2929
```kotlin skip
30-
implementation("com.desktopaccountingapi:quickbooks-desktop:0.2.0")
30+
implementation("com.desktopaccountingapi:quickbooks-desktop:0.2.1")
3131
```
3232

3333
Gradle (Groovy DSL):
3434

3535
```groovy skip
36-
implementation 'com.desktopaccountingapi:quickbooks-desktop:0.2.0'
36+
implementation 'com.desktopaccountingapi:quickbooks-desktop:0.2.1'
3737
```
3838

3939
## Requirements
@@ -472,7 +472,7 @@ What changes beyond names: every write carries an `Idempotency-Key`, only safe f
472472
- The Java, Node.js, Python and .NET SDKs and the [MCP server](https://github.com/DesktopAccountingAPI/quickbooks-desktop-mcp) are released together with the same version number, generated from the same API contract.
473473
- Every release is listed in [CHANGELOG.md](CHANGELOG.md) and tagged `v<version>` on GitHub.
474474
- The API is versioned in its path (`/v1`). Within `v1` the API only adds operations, fields, enum values and error codes, which do not break existing code.
475-
- `.daapi-sdk.json` records the contract's SHA-256 (`6f5ac28d7c33...` for this release), and `SdkInfo.VERSION`, `SdkInfo.API_VERSION` and `SdkInfo.CONTRACT_SHA256` expose the same at runtime.
475+
- `.daapi-sdk.json` records the contract's SHA-256 (`b5774d24bc81...` for this release), and `SdkInfo.VERSION`, `SdkInfo.API_VERSION` and `SdkInfo.CONTRACT_SHA256` expose the same at runtime.
476476

477477
## Support
478478

@@ -489,7 +489,7 @@ mise install
489489
mise run check # build with -Xlint:all -Werror for Java 11, unit tests, conformance suite, javadoc, examples, README samples, Central bundle dry run
490490
```
491491

492-
To build from source, clone the repository and run `mvn -B install -DskipTests`; that puts `com.desktopaccountingapi:quickbooks-desktop:0.2.0` into your local Maven repository. Code under `src/main/java/com/desktopaccountingapi/quickbooksdesktop/{models,services}`, `DesktopAccountingApiClient.java` and this README are generated; `mise run check` compiles every Java sample in this README with `-Xlint:all -Werror` and runs the quickstart against the conformance mock server. See [CONTRIBUTING.md](CONTRIBUTING.md).
492+
To build from source, clone the repository and run `mvn -B install -DskipTests`; that puts `com.desktopaccountingapi:quickbooks-desktop:0.2.1` into your local Maven repository. Code under `src/main/java/com/desktopaccountingapi/quickbooksdesktop/{models,services}`, `DesktopAccountingApiClient.java` and this README are generated; `mise run check` compiles every Java sample in this README with `-Xlint:all -Werror` and runs the quickstart against the conformance mock server. See [CONTRIBUTING.md](CONTRIBUTING.md).
493493

494494
## License
495495

‎api.md‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎examples/pom.xml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<dependency>
1919
<groupId>com.desktopaccountingapi</groupId>
2020
<artifactId>quickbooks-desktop</artifactId>
21-
<version>0.2.0</version>
21+
<version>0.2.1</version>
2222
</dependency>
2323
</dependencies>
2424

‎pom.xml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
<groupId>com.desktopaccountingapi</groupId>
88
<artifactId>quickbooks-desktop</artifactId>
9-
<version>0.2.0</version>
9+
<version>0.2.1</version>
1010
<packaging>jar</packaging>
1111

1212
<name>Desktop Accounting API Java SDK</name>
@@ -34,7 +34,7 @@
3434
<connection>scm:git:https://github.com/DesktopAccountingAPI/quickbooks-desktop-java.git</connection>
3535
<developerConnection>scm:git:ssh://[email protected]/DesktopAccountingAPI/quickbooks-desktop-java.git</developerConnection>
3636
<url>https://github.com/DesktopAccountingAPI/quickbooks-desktop-java</url>
37-
<tag>v0.2.0</tag>
37+
<tag>v0.2.1</tag>
3838
</scm>
3939

4040
<issueManagement>

‎src/main/java/com/desktopaccountingapi/quickbooksdesktop/DesktopAccountingApiClient.java‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎src/main/java/com/desktopaccountingapi/quickbooksdesktop/core/SdkInfo.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ public final class SdkInfo {
55
private SdkInfo() {}
66

77
/** SDK version (SemVer). */
8-
public static final String VERSION = "0.2.0";
8+
public static final String VERSION = "0.2.1";
99

1010
/** {@code info.version} of the API contract the SDK was generated from. */
1111
public static final String API_VERSION = "1.0.0";
1212

1313
/** SHA-256 of the OpenAPI contract the SDK was generated from (also in {@code .daapi-sdk.json}). */
14-
public static final String CONTRACT_SHA256 = "6f5ac28d7c33ac90aa7e2c15d88efd50e8e41c808bcc5489f0c8b1cb7833326a";
14+
public static final String CONTRACT_SHA256 = "b5774d24bc8154ccc2acb85370ae27581a072c3f5070a529111ee2dd26f103b9";
1515

1616
/** {@code User-Agent} sent with every request. */
1717
public static final String USER_AGENT = "desktopaccountingapi-java/" + VERSION;

‎src/main/java/com/desktopaccountingapi/quickbooksdesktop/models/Account.java‎

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)