Skip to content

Commit 0ea7371

Browse files
Merge pull request #311 from OneBusAway/release-please--branches--main--changes--next
release: 0.1.0-alpha.70
2 parents 3fac810 + 34654c3 commit 0ea7371

File tree

371 files changed

+62308
-21884
lines changed

Some content is hidden

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

371 files changed

+62308
-21884
lines changed

.github/workflows/ci.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
name: CI
22
on:
33
push:
4-
branches:
5-
- main
6-
pull_request:
7-
branches:
8-
- main
9-
- next
4+
branches-ignore:
5+
- 'generated'
6+
- 'codegen/**'
7+
- 'integrated/**'
8+
- 'stl-preview-head/**'
9+
- 'stl-preview-base/**'
1010

1111
jobs:
1212
lint:
13+
timeout-minutes: 10
1314
name: lint
14-
runs-on: ubuntu-latest
15-
15+
runs-on: ${{ github.repository == 'stainless-sdks/open-transit-kotlin' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
1616

1717
steps:
1818
- uses: actions/checkout@v4
@@ -23,7 +23,7 @@ jobs:
2323
distribution: temurin
2424
java-version: |
2525
8
26-
17
26+
21
2727
cache: gradle
2828

2929
- name: Set up Gradle
@@ -32,9 +32,9 @@ jobs:
3232
- name: Run lints
3333
run: ./scripts/lint
3434
test:
35+
timeout-minutes: 10
3536
name: test
36-
runs-on: ubuntu-latest
37-
37+
runs-on: ${{ github.repository == 'stainless-sdks/open-transit-kotlin' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }}
3838
steps:
3939
- uses: actions/checkout@v4
4040

@@ -44,12 +44,11 @@ jobs:
4444
distribution: temurin
4545
java-version: |
4646
8
47-
17
47+
21
4848
cache: gradle
4949

5050
- name: Set up Gradle
5151
uses: gradle/gradle-build-action@v2
5252

5353
- name: Run tests
5454
run: ./scripts/test
55-

.github/workflows/publish-sonatype.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333
export -- GPG_SIGNING_KEY_ID
3434
printenv -- GPG_SIGNING_KEY | gpg --batch --passphrase-fd 3 --import 3<<< "$GPG_SIGNING_PASSWORD"
3535
GPG_SIGNING_KEY_ID="$(gpg --with-colons --list-keys | awk -F : -- '/^pub:/ { getline; print "0x" substr($10, length($10) - 7) }')"
36-
./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD"
36+
./gradlew publishAndReleaseToMavenCentral --stacktrace -PmavenCentralUsername="$SONATYPE_USERNAME" -PmavenCentralPassword="$SONATYPE_PASSWORD" --no-configuration-cache
3737
env:
3838
SONATYPE_USERNAME: ${{ secrets.ONEBUSAWAY_SDK_SONATYPE_USERNAME || secrets.SONATYPE_USERNAME }}
3939
SONATYPE_PASSWORD: ${{ secrets.ONEBUSAWAY_SDK_SONATYPE_PASSWORD || secrets.SONATYPE_PASSWORD }}

.release-please-manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.69"
3-
}
2+
".": "0.1.0-alpha.70"
3+
}

.stats.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
configured_endpoints: 29
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-6f08502508c8ad25235971add3124a1cde4f1c3ec705d5df455d750e0adcb90b.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/open-transit%2Fopen-transit-4fcbe9547537b22a2d68329e1d94e0c1a6f81b5af734ca213f7b95eef5da7adb.yml
3+
openapi_spec_hash: 417ea17b08e186b15b2986372592185e
4+
config_hash: 3871f5d21bb38ddd334ec04721dea64d

CHANGELOG.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,55 @@
11
# Changelog
22

3+
## 0.1.0-alpha.70 (2025-05-21)
4+
5+
Full Changelog: [v0.1.0-alpha.69...v0.1.0-alpha.70](https://github.com/OneBusAway/kotlin-sdk/compare/v0.1.0-alpha.69...v0.1.0-alpha.70)
6+
7+
### ⚠ BREAKING CHANGES
8+
9+
* **client:** refactor exception structure and methods ([#294](https://github.com/OneBusAway/kotlin-sdk/issues/294))
10+
* **client:** **Migration:** Previously you would access error JSON on an exception via `exception.error()._additionalProperties()`, which would return `Map<String, JsonValue>`. Now you would access this via `exception.body()`, which returns `JsonValue`. You should no longer assume that the returned error JSON is an object. You can check via `exception.body().asObject()`.
11+
12+
### Features
13+
14+
* **api:** updates ([c38b158](https://github.com/OneBusAway/kotlin-sdk/commit/c38b158cfa64ea38643a89adccd4729f4d8e5556))
15+
16+
17+
### Bug Fixes
18+
19+
* **client:** support kotlin 1.8 runtime ([#291](https://github.com/OneBusAway/kotlin-sdk/issues/291)) ([d16a260](https://github.com/OneBusAway/kotlin-sdk/commit/d16a2608439f9e8668debdb758bf5840cfbd3cae))
20+
21+
22+
### Chores
23+
24+
* better phone number examples ([#281](https://github.com/OneBusAway/kotlin-sdk/issues/281)) ([ab7b270](https://github.com/OneBusAway/kotlin-sdk/commit/ab7b2705e7abf9bcb6e6e69f7ec88b11a00e981c))
25+
* **client:** refactor exception structure and methods ([#294](https://github.com/OneBusAway/kotlin-sdk/issues/294)) ([b45ee94](https://github.com/OneBusAway/kotlin-sdk/commit/b45ee944f53b62df0566a6e2673d88886a98236e))
26+
* **internal:** add generated comment ([#285](https://github.com/OneBusAway/kotlin-sdk/issues/285)) ([8947c24](https://github.com/OneBusAway/kotlin-sdk/commit/8947c247fe2d431281e78b407524be3e8ae15c79))
27+
* **internal:** add missing release please block ([#293](https://github.com/OneBusAway/kotlin-sdk/issues/293)) ([57b1869](https://github.com/OneBusAway/kotlin-sdk/commit/57b1869f7e1a518b29a5e274a13999e178f8f77b))
28+
* **internal:** codegen related update ([#280](https://github.com/OneBusAway/kotlin-sdk/issues/280)) ([effb81e](https://github.com/OneBusAway/kotlin-sdk/commit/effb81e13d6fdd6c8d771ee137c945db77667a44))
29+
* **internal:** delete duplicate tests ([023a491](https://github.com/OneBusAway/kotlin-sdk/commit/023a49165c77bd7657e37b1d4b883d71ec86e9d6))
30+
* **internal:** generate more tests ([1c2f123](https://github.com/OneBusAway/kotlin-sdk/commit/1c2f12328af6e4b0abb309cf3e663260ee0bd4ac))
31+
* **internal:** make multipart assertions more robust ([dade503](https://github.com/OneBusAway/kotlin-sdk/commit/dade503e7a1f3f36a4ed579753112fc8a1ea0953))
32+
* **internal:** make test classes internal ([#284](https://github.com/OneBusAway/kotlin-sdk/issues/284)) ([a494918](https://github.com/OneBusAway/kotlin-sdk/commit/a4949186b68a318045384cfec90623a8342c6a56))
33+
* **internal:** refactor enum query param serialization ([#292](https://github.com/OneBusAway/kotlin-sdk/issues/292)) ([0e54b37](https://github.com/OneBusAway/kotlin-sdk/commit/0e54b37ab7b29e5b82d7b45d9169b8050e7e9241))
34+
* **internal:** refactor query param serialization impl and tests ([#287](https://github.com/OneBusAway/kotlin-sdk/issues/287)) ([e297af2](https://github.com/OneBusAway/kotlin-sdk/commit/e297af24c8f907038bbb0e9b21ae1278131be64c))
35+
* **internal:** refactor some test assertions ([023a491](https://github.com/OneBusAway/kotlin-sdk/commit/023a49165c77bd7657e37b1d4b883d71ec86e9d6))
36+
* **internal:** reformat some tests ([#290](https://github.com/OneBusAway/kotlin-sdk/issues/290)) ([1c2f123](https://github.com/OneBusAway/kotlin-sdk/commit/1c2f12328af6e4b0abb309cf3e663260ee0bd4ac))
37+
* **internal:** remove extra empty newlines ([#282](https://github.com/OneBusAway/kotlin-sdk/issues/282)) ([41c7cbf](https://github.com/OneBusAway/kotlin-sdk/commit/41c7cbfe0ff8a3612e14bb37da6b02c77b99159c))
38+
* **internal:** remove unnecessary `assertNotNull` calls ([dade503](https://github.com/OneBusAway/kotlin-sdk/commit/dade503e7a1f3f36a4ed579753112fc8a1ea0953))
39+
* **internal:** remove unnecessary import ([#296](https://github.com/OneBusAway/kotlin-sdk/issues/296)) ([5c17aa7](https://github.com/OneBusAway/kotlin-sdk/commit/5c17aa7e3dedc4795d9b0532c76a673bee26155e))
40+
* **internal:** rename `getPathParam` ([#288](https://github.com/OneBusAway/kotlin-sdk/issues/288)) ([023a491](https://github.com/OneBusAway/kotlin-sdk/commit/023a49165c77bd7657e37b1d4b883d71ec86e9d6))
41+
* **internal:** reorder some params methodsc ([023a491](https://github.com/OneBusAway/kotlin-sdk/commit/023a49165c77bd7657e37b1d4b883d71ec86e9d6))
42+
* **internal:** version bump ([#289](https://github.com/OneBusAway/kotlin-sdk/issues/289)) ([424e5ab](https://github.com/OneBusAway/kotlin-sdk/commit/424e5ab161df883280bd4e39c4c50e6d58e42bf4))
43+
44+
45+
### Documentation
46+
47+
* add `build` method comments ([#286](https://github.com/OneBusAway/kotlin-sdk/issues/286)) ([11ae6b9](https://github.com/OneBusAway/kotlin-sdk/commit/11ae6b900db2157d7aea1d3ab82295ef3b6f84a7))
48+
* deduplicate and refine comments ([#283](https://github.com/OneBusAway/kotlin-sdk/issues/283)) ([04aa38e](https://github.com/OneBusAway/kotlin-sdk/commit/04aa38e0a3504ea31e01c2124729a43ff97199cd))
49+
* minor readme tweak ([#298](https://github.com/OneBusAway/kotlin-sdk/issues/298)) ([c1b531b](https://github.com/OneBusAway/kotlin-sdk/commit/c1b531b276ffba786bc74f121ab7e70a6e2295e7))
50+
* refine comments on multipart params ([#295](https://github.com/OneBusAway/kotlin-sdk/issues/295)) ([dade503](https://github.com/OneBusAway/kotlin-sdk/commit/dade503e7a1f3f36a4ed579753112fc8a1ea0953))
51+
* update readme exception docs ([#297](https://github.com/OneBusAway/kotlin-sdk/issues/297)) ([e6f1ccf](https://github.com/OneBusAway/kotlin-sdk/commit/e6f1ccf575cde5f48a0adc68e8aab88ff4b8b603))
52+
353
## 0.1.0-alpha.69 (2025-05-15)
454

555
Full Changelog: [v0.1.0-alpha.68...v0.1.0-alpha.69](https://github.com/OneBusAway/kotlin-sdk/compare/v0.1.0-alpha.68...v0.1.0-alpha.69)

0 commit comments

Comments
 (0)