You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Release 0.2.1: API version exposure + release automation (#139)
* Bump to 0.2.1, add API version constant, update User-Agent
- Fix stale TypeScript VERSION (was still "0.2.0" in client.ts)
- Add API_VERSION / apiVersion constant across all 5 SDKs,
sourced from openapi.json info.version ("2026-01-26")
- Include API version in User-Agent: basecamp-sdk-{lang}/{ver} (api:{apiVer})
- Clean up "Basecamp 3" branding → "Basecamp" in READMEs and comments
- Update stale version references in kotlin/README.md, swift/README.md,
and ruby/Gemfile.lock
* Add make bump and make sync-api-version for release automation
- scripts/bump-version.sh: updates all 8 SDK version locations + lockfile
- scripts/sync-api-version.sh: reads openapi.json info.version, updates
API_VERSION constants in all 5 SDKs
- Both scripts use portable sed (temp file, no -i flag) for Linux compat
- make sync-api-version hooked into smithy-build for automatic sync
- make sync-api-version-check wired into make check to catch drift
- make bump VERSION=x.y.z validates strict semver format
* Fix User-Agent doc comments to reflect new format
* Address PR review: fix check recipe, jq guard, README, stderr redirect
- Fix &&/|| operator precedence in sync-api-version-check by using ;
separators so each grep runs independently
- Add jq availability guard to sync-api-version-check
- Use BasecampConfig.DEFAULT_USER_AGENT in Kotlin README instead of
literal Kotlin string-template syntax that renders wrong in Markdown
- Stop suppressing npm stderr in bump-version.sh
* Preserve file permissions in sedi helper
Use cat+rm instead of mv so the original file's inode and permissions
are retained. mktemp creates files with mode 600, and mv would replace
the target with those restrictive permissions.
0 commit comments