# Changelog

All notable changes to `@bondi-labs/integration-sdk` will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [0.0.1] - 2026-04-26

### Added
- Initial release.
- **Core API**: `defineIntegration`, `defineAction`, `defineTrigger`, `createBondiClient`, `BondiClient`, `signRequest`, `verifyRequest`, `serializeIntegration`.
- **NestJS adapter**: `BondiModule.forRoot`, `@BondiTrigger`, `@BondiAction`, `@BondiService`, `BondiGuard`, `BondiTriggerBase<TSchema>` (typed via Zod generic).
- **CLI**: `bondi init` (device-code authentication flow + `.env` generation), `bondi sync` (entry-file import, hash diff, HMAC PUT to Bondi).
- **HMAC-SHA256 request signing** with 5-minute replay protection over the canonical signing string `"{timestamp}.{action}.{rawBody}"`.
- **Subpath exports**: `./core`, `./nestjs`, `./cli` with both CommonJS and ESM builds.
- **TypeScript declarations** included.
- **Configurable env-var resolution** in `BondiModule.forRoot`: direct values, custom env keys, factory functions, or default env vars (`BONDI_API_URL`, `BONDI_WORKSPACE_ID`, `BONDI_INTEGRATION_TOKEN`, `INTERNAL_API_KEY`).

[Unreleased]: https://github.com/heybondi/monorepo/compare/sdk-v0.0.1...HEAD
[0.0.1]: https://github.com/heybondi/monorepo/releases/tag/sdk-v0.0.1
