Difficulty: Advanced
Type: Test
Summary
Add a public API report to detect accidental breaking changes to exported classes, types, subpath exports, and configuration interfaces.
Current Behaviour
The SDK has TypeScript types and build smoke tests, but there is no explicit reviewed API surface report that catches accidental export removals or signature changes.
Expected Behaviour
Pull requests that change the public SDK surface should produce a clear API diff for maintainers to review.
Suggested Implementation
Use a tool such as API Extractor or a lightweight generated declaration snapshot. Include root and subpath exports in the report and require intentional updates when the public API changes.
Files or Areas Likely Affected
package.json
src/index.ts
src/client.ts
src/types.ts
src/utils.ts
src/errors.ts
api-report/
.github/workflows/
Acceptance Criteria
Additional Notes
This complements package smoke tests by focusing on intentional API compatibility.
Difficulty: Advanced
Type: Test
Summary
Add a public API report to detect accidental breaking changes to exported classes, types, subpath exports, and configuration interfaces.
Current Behaviour
The SDK has TypeScript types and build smoke tests, but there is no explicit reviewed API surface report that catches accidental export removals or signature changes.
Expected Behaviour
Pull requests that change the public SDK surface should produce a clear API diff for maintainers to review.
Suggested Implementation
Use a tool such as API Extractor or a lightweight generated declaration snapshot. Include root and subpath exports in the report and require intentional updates when the public API changes.
Files or Areas Likely Affected
package.jsonsrc/index.tssrc/client.tssrc/types.tssrc/utils.tssrc/errors.tsapi-report/.github/workflows/Acceptance Criteria
Additional Notes
This complements package smoke tests by focusing on intentional API compatibility.