Skip to content

feat!: remove deprecated APIs, rename MushError to MusherError, and upgrade toolchain#17

Merged
justinmerrell merged 1 commit intomainfrom
feat/v0.2-breaking-changes
Mar 30, 2026
Merged

feat!: remove deprecated APIs, rename MushError to MusherError, and upgrade toolchain#17
justinmerrell merged 1 commit intomainfrom
feat/v0.2-breaking-changes

Conversation

@justinmerrell
Copy link
Copy Markdown
Contributor

Summary

  • Breaking: Rename MushErrorMusherError for consistent SDK naming
  • Breaking: Remove deprecated MusherClient.load(), Bundle.getAsset(), and Bundle.getAssetsByType() methods
  • Breaking: Cache.write() now returns void instead of CachedBundle
  • Add BundleAssetNotFoundError for typed asset lookup failures
  • Upgrade toolchain: Biome 2.0, TypeScript 5.9, Vitest 3.2, pnpm 10.33
  • Add basic usage examples and vitest coverage config

BREAKING CHANGE

MushError renamed to MusherError. Deprecated methods MusherClient.load(), Bundle.getAsset(), and Bundle.getAssetsByType() have been removed. Cache.write() no longer returns CachedBundle.

Test plan

  • task check passes (format, lint, types, tests)
  • task build produces valid ESM+CJS output
  • Examples run successfully against test account
  • Verify release-please picks up the breaking change and bumps major version

🤖 Generated with Claude Code

…pgrade toolchain

Remove deprecated load(), getAsset(), and getAssetsByType() methods.
Rename MushError → MusherError for consistency with the SDK naming.
Add BundleAssetNotFoundError for typed asset lookup failures.
Simplify cache write to return void instead of CachedBundle.
Upgrade Biome 2.0, TypeScript 5.9, Vitest 3.2, and pnpm 10.33.
Add basic usage examples and vitest coverage config.

BREAKING CHANGE: MushError renamed to MusherError. Deprecated methods
MusherClient.load(), Bundle.getAsset(), and Bundle.getAssetsByType()
have been removed. Cache.write() no longer returns CachedBundle.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@justinmerrell justinmerrell merged commit 0f94adf into main Mar 30, 2026
7 checks passed
@justinmerrell justinmerrell deleted the feat/v0.2-breaking-changes branch March 30, 2026 17:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant