Anthropic TypeScript SDK v1.9.0: Role API Improvements, Bundle Updates, and Beta Header Deprecations
Anthropic SDK for TypeScript v1.9.0 introduces updates to API endpoints, adds bundle instruction support, and deprecates several beta header values. Developers should review header usage and update workflows for new API capabilities.
What changed?
Anthropic has released version 1.9.0 of its TypeScript SDK. This update adds source and error code details to the RBAC Role read API endpoints and introduces an Update Bundle API for modifying and retrieving Claude Tag Bundle instructions. Several old beta header values have been deprecated. Batch requests no longer send the deprecated 'message-batches-2024-09-24' beta header. The API will still accept these headers temporarily, but a future SDK release will remove support.
Why does it matter to an everyday developer?
Developers gain enhanced error handling and diagnostic capabilities through the expanded RBAC Role API, which now returns source and error codes. The new Update Bundle API enables programmatic management of Claude Tag Bundle instructions, supporting more dynamic and customizable workflows. The deprecation of beta headers means developers must update their integrations to avoid future incompatibilities, particularly if they manually set any deprecated headers.
What can the developer do now?
- Update any code that relies on old beta headers such as 'message-batches-2024-09-24'. Remove these headers to avoid breakage in future SDK versions.
- Leverage the new error and source code outputs from the RBAC Role read endpoints for improved debugging and auditing.
- Use the new Update Bundle API to set or retrieve instructions for Claude Tag Bundles where relevant.


