Skip to content

Commit 989d7f9

Browse files
committed
Bump SDK version to 0.2.0
1 parent b6628ee commit 989d7f9

13 files changed

Lines changed: 22 additions & 29 deletions

File tree

conformance/runner/ruby/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ../../../ruby
33
specs:
4-
fizzy-sdk (0.1.3)
4+
fizzy-sdk (0.2.0)
55
faraday (~> 2.0)
66
zeitwerk (~> 2.6)
77

@@ -48,7 +48,7 @@ CHECKSUMS
4848
crack (1.0.1) sha256=ff4a10390cd31d66440b7524eb1841874db86201d5b70032028553130b6d4c7e
4949
faraday (2.14.1) sha256=a43cceedc1e39d188f4d2cdd360a8aaa6a11da0c407052e426ba8d3fb42ef61c
5050
faraday-net_http (3.4.2) sha256=f147758260d3526939bf57ecf911682f94926a3666502e24c69992765875906c
51-
fizzy-sdk (0.1.3)
51+
fizzy-sdk (0.2.0)
5252
hashdiff (1.2.1) sha256=9c079dbc513dfc8833ab59c0c2d8f230fa28499cc5efb4b8dd276cf931457cd1
5353
json (2.19.2) sha256=e7e1bd318b2c37c4ceee2444841c86539bc462e81f40d134cf97826cb14e83cf
5454
logger (1.7.0) sha256=196edec7cc44b66cfb40f9755ce11b392f21f7967696af15d274dde7edff0203

go/pkg/fizzy/version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package fizzy
22

33
// Version is the current version of the Fizzy Go SDK.
4-
const Version = "0.1.3"
4+
const Version = "0.2.0"
55

66
// APIVersion is the Fizzy API version this SDK targets.
77
const APIVersion = "2026-03-01"

kotlin/sdk/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ plugins {
55
}
66

77
group = "com.basecamp"
8-
version = "0.1.3"
8+
version = "0.2.0"
99

1010
kotlin {
1111
jvm()

kotlin/sdk/src/commonMain/kotlin/com/basecamp/fizzy/FizzyConfig.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ data class FizzyConfig(
2828
val baseRetryDelay: Duration = 1.seconds,
2929
) {
3030
companion object {
31-
const val VERSION = "0.1.3"
31+
const val VERSION = "0.2.0"
3232
const val API_VERSION = "2026-03-01"
3333
const val DEFAULT_BASE_URL = "https://fizzy.do"
3434
const val DEFAULT_USER_AGENT = "fizzy-sdk-kotlin/$VERSION (api:$API_VERSION)"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@basecamp/fizzy",
3-
"version": "0.1.3",
3+
"version": "0.2.0",
44
"private": true,
55
"description": "TypeScript SDK for the Fizzy API",
66
"engines": { "node": ">=18.0.0" },

ruby/Gemfile.lock

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
fizzy-sdk (0.1.3)
4+
fizzy-sdk (0.2.0)
55
faraday (~> 2.0)
66
zeitwerk (~> 2.6)
77

@@ -171,7 +171,7 @@ CHECKSUMS
171171
erb (6.0.4) sha256=38e3803694be357fe2bfe312487c74beaf9fb4e5beb3e22498952fe1645b95d9
172172
faraday (2.14.1) sha256=a43cceedc1e39d188f4d2cdd360a8aaa6a11da0c407052e426ba8d3fb42ef61c
173173
faraday-net_http (3.4.2) sha256=f147758260d3526939bf57ecf911682f94926a3666502e24c69992765875906c
174-
fizzy-sdk (0.1.3)
174+
fizzy-sdk (0.2.0)
175175
hashdiff (1.2.1) sha256=9c079dbc513dfc8833ab59c0c2d8f230fa28499cc5efb4b8dd276cf931457cd1
176176
i18n (1.14.8) sha256=285778639134865c5e0f6269e0b818256017e8cde89993fdfcbfb64d088824a5
177177
io-console (0.8.2) sha256=d6e3ae7a7cc7574f4b8893b4fca2162e57a825b223a177b7afa236c5ef9814cc

ruby/lib/fizzy/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# frozen_string_literal: true
22

33
module Fizzy
4-
VERSION = "0.1.3"
4+
VERSION = "0.2.0"
55
API_VERSION = "2026-03-01"
66
end

scripts/bump-version.sh

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22
set -euo pipefail
33

4-
# Bump SDK version across all 8 files.
4+
# Bump SDK version across SDK source, manifests, and version assertions.
55
# Usage: ./scripts/bump-version.sh x.y.z
66

77
VERSION="${1:?Usage: bump-version.sh VERSION}"
@@ -13,7 +13,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
1313
source "$SCRIPT_DIR/lib.sh"
1414

1515
# 1. Go — version.go
16-
sedi "s/Version = \"[^\"]*\"/Version = \"$VERSION\"/" go/pkg/fizzy/version.go
16+
sedi "s/^const Version = \"[^\"]*\"/const Version = \"$VERSION\"/" go/pkg/fizzy/version.go
1717

1818
# 2. TypeScript — package.json
1919
sedi "s/\"version\": \"[^\"]*\"/\"version\": \"$VERSION\"/" typescript/package.json
@@ -22,7 +22,7 @@ sedi "s/\"version\": \"[^\"]*\"/\"version\": \"$VERSION\"/" typescript/package.j
2222
sedi "s/export const VERSION = \"[^\"]*\"/export const VERSION = \"$VERSION\"/" typescript/src/client.ts
2323

2424
# 4. Ruby — version.rb
25-
sedi "s/VERSION = \"[^\"]*\"/VERSION = \"$VERSION\"/" ruby/lib/fizzy/version.rb
25+
sedi "s/^ VERSION = \"[^\"]*\"/ VERSION = \"$VERSION\"/" ruby/lib/fizzy/version.rb
2626

2727
# 5. Swift — FizzyConfig.swift
2828
sedi "s/sdkVersion = \"[^\"]*\"/sdkVersion = \"$VERSION\"/" swift/Sources/Fizzy/FizzyConfig.swift
@@ -36,6 +36,9 @@ sedi "s/const val VERSION = \"[^\"]*\"/const val VERSION = \"$VERSION\"/" kotlin
3636
# 8. Root — package.json
3737
sedi "s/\"version\": \"[^\"]*\"/\"version\": \"$VERSION\"/" package.json
3838

39+
# 9. Swift — version assertion
40+
sedi "s/FizzyConfig.sdkVersion == \"[^\"]*\"/FizzyConfig.sdkVersion == \"$VERSION\"/" swift/Tests/FizzyTests/FizzyTests.swift
41+
3942
# Sync lockfiles
4043
echo "Syncing TypeScript lockfile..."
4144
cd typescript && npm install --package-lock-only 2>/dev/null && cd ..

swift/Sources/Fizzy/FizzyConfig.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public struct FizzyConfig: Sendable {
2828
public let allowInsecure: Bool
2929

3030
/// SDK version string.
31-
public static let sdkVersion = "0.1.3"
31+
public static let sdkVersion = "0.2.0"
3232

3333
/// Fizzy API version this SDK targets.
3434
public static let apiVersion = "2026-03-01"

swift/Tests/FizzyTests/FizzyTests.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ struct FizzyConfigTests {
1919

2020
@Test("SDK version")
2121
func sdkVersion() {
22-
#expect(FizzyConfig.sdkVersion == "0.1.3")
22+
#expect(FizzyConfig.sdkVersion == "0.2.0")
2323
#expect(FizzyConfig.apiVersion == "2026-03-01")
2424
}
2525

0 commit comments

Comments
 (0)