Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions packages/adapters/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Changelog

All notable changes to `@abacatepay/adapters` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.2] - 2026-07-27

### Changed

- The build no longer inlines `@abacatepay/zod`'s full runtime into `dist` — it's now a real `import` resolved via `node_modules` at install time. `webhooks/index.js` dropped from ~500KB to ~2.6KB. No behavior change; `@abacatepay/zod` was already listed as a real `dependency`.

## [2.0.1] - 2026-07-27

### Fixed

- Package now bundles with `bun build` instead of emitting raw `tsc` output. `@abacatepay/adapters/webhooks` failed with `ERR_MODULE_NOT_FOUND` transitively, because it imports `@abacatepay/zod` at runtime (not just for types) and that package had the same bug.

## [2.0.0] - 2026-07-27

### Changed

- **Breaking:** `WebhookOptions` and `dispatch()` updated to the corrected v2 event taxonomy:
- `onPayoutDone` → `onPayoutCompleted`
- `onBillingPaid` split into `onCheckoutCompleted` and `onTransparentCompleted` (checkout and transparent charges have distinct completion payloads in v2)
- Added handlers for every other documented v2 event: `onCheckoutRefunded`/`Disputed`/`Lost`, `onTransparentRefunded`/`Disputed`/`Lost`, `onSubscriptionCompleted`/`Cancelled`/`Renewed`/`TrialStarted`, `onTransferCompleted`/`Failed`. These are tagged `@unstable` since AbacatePay doesn't document their payload shape yet.
7 changes: 4 additions & 3 deletions packages/adapters/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/adapters",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down Expand Up @@ -37,7 +37,8 @@
"bun": ">=1.0.0"
},
"files": [
"dist"
"dist",
"CHANGELOG.md"
],
"keywords": [
"abacatepay",
Expand All @@ -52,7 +53,7 @@
},
"scripts": {
"test": "bun test",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/webhooks/index.ts --outdir dist --target node && bun run types",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts src/webhooks/index.ts --outdir dist --target node --external '@abacatepay/zod' --external '@abacatepay/zod/*' && bun run types",
"types": "bunx tsc --emitDeclarationOnly",
"prepublishOnly": "bun run build"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/adapters/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/adapters](https://www.npmjs.com/package/@abacatepay/adapters).
*/
export const version = '2.0.1' as const;
export const version = '2.0.2' as const;
15 changes: 15 additions & 0 deletions packages/better-auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog

All notable changes to `@abacatepay/better-auth` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [1.0.1] - 2026-07-27

### Fixed

- Package now bundles with `bun build` instead of emitting raw `tsc` output, fixing `ERR_MODULE_NOT_FOUND` under real Node.js ESM resolution.

### Note

This package is currently a stub — despite its description ("Checkouts, Webhooks and OAuth made simple with AbacatePay"), no integration logic is implemented yet.
3 changes: 2 additions & 1 deletion packages/better-auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"bun": ">=1.0.0"
},
"files": [
"dist"
"dist",
"CHANGELOG.md"
],
"keywords": [
"abacatepay",
Expand Down
31 changes: 31 additions & 0 deletions packages/elysia/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Changelog

All notable changes to `@abacatepay/elysia` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.2] - 2026-07-27

### Changed

- The build no longer inlines `@abacatepay/adapters` (and transitively `@abacatepay/zod`) or the `elysia` framework itself into `dist` — all are now real `import`s resolved via `node_modules` at install time. Bundle size dropped from ~1MB to ~1.1KB. No behavior change; both were already listed as real dependencies (`@abacatepay/adapters` as a `dependency`, `elysia` as a `peerDependency` — bundling a peer dependency was never correct to begin with).

## [2.0.1] - 2026-07-27

### Fixed

- Package now bundles with `bun build` instead of emitting raw `tsc` output. Failed with `ERR_MODULE_NOT_FOUND` transitively, because it imports `@abacatepay/adapters` at runtime and that package had the same bug.

## [2.0.0] - 2026-07-27

### Changed

- **Breaking:** `Webhooks(options)` no longer throws when called without a `secret`. It returns `{ ok: false, handler: null, error: string }` instead of `{ ok: true, handler }` — check `.ok` before using `.handler`.

### Removed

- **Breaking:** `AbacatePayElysiaError` class removed — nothing throws it anymore.

### Fixed

- Event handler names updated to match the corrected v2 taxonomy (see `@abacatepay/adapters`'s changelog): `onBillingPaid`/`onPayoutDone` → `onCheckoutCompleted`/`onPayoutCompleted`.
7 changes: 4 additions & 3 deletions packages/elysia/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/elysia",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down Expand Up @@ -37,7 +37,8 @@
"bun": ">=1.0.0"
},
"files": [
"dist"
"dist",
"CHANGELOG.md"
],
"keywords": [
"abacatepay",
Expand All @@ -52,7 +53,7 @@
},
"scripts": {
"test": "bun test",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node && bun run types",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node --external '@abacatepay/adapters' --external '@abacatepay/adapters/*' --external elysia && bun run types",
"types": "bunx tsc --emitDeclarationOnly",
"prepublishOnly": "bun run build"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/elysia/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/elysia](https://www.npmjs.com/package/@abacatepay/elysia).
*/
export const version = '2.0.1' as const;
export const version = '2.0.2' as const;
12 changes: 12 additions & 0 deletions packages/eslint-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Changelog

All notable changes to `@abacatepay/eslint-plugin` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [0.1.3] - 2026-07-27

### Fixed

- Package now bundles with `bun build` instead of emitting raw `tsc` output, fixing `ERR_MODULE_NOT_FOUND` under real Node.js ESM resolution.
- `build` and `types` npm scripts had swapped bodies — `types` called `bun run types` recursively (an infinite loop) and was never actually invoked by `prepublishOnly`, which is why this went unnoticed. Scripts are now correctly assigned.
3 changes: 2 additions & 1 deletion packages/eslint-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
}
},
"files": [
"dist"
"dist",
"CHANGELOG.md"
],
"author": {
"name": "AbacatePay",
Expand Down
31 changes: 31 additions & 0 deletions packages/express/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Changelog

All notable changes to `@abacatepay/express` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.2] - 2026-07-27

### Changed

- The build no longer inlines `@abacatepay/adapters` (and transitively `@abacatepay/zod`) into `dist` — they're now real `import`s resolved via `node_modules` at install time. Bundle size dropped from ~480KB to ~1.6KB. No behavior change; `@abacatepay/adapters` was already listed as a real `dependency`.

## [2.0.1] - 2026-07-27

### Fixed

- Package now bundles with `bun build` instead of emitting raw `tsc` output. Failed with `ERR_MODULE_NOT_FOUND` transitively, because it imports `@abacatepay/adapters` at runtime and that package had the same bug.

## [2.0.0] - 2026-07-27

### Changed

- **Breaking:** `Webhooks(options)` no longer throws when called without a `secret`. It returns `{ ok: false, handler: null, error: string }` instead of `{ ok: true, handler }` — check `.ok` before using `.handler`.

### Removed

- **Breaking:** `AbacatePayExpressError` class removed — nothing throws it anymore.

### Fixed

- Event handler names updated to match the corrected v2 taxonomy (see `@abacatepay/adapters`'s changelog): `onBillingPaid`/`onPayoutDone` → `onCheckoutCompleted`/`onPayoutCompleted`.
7 changes: 4 additions & 3 deletions packages/express/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/express",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down Expand Up @@ -38,7 +38,8 @@
"bun": ">=1.0.0"
},
"files": [
"dist"
"dist",
"CHANGELOG.md"
],
"keywords": [
"abacatepay",
Expand All @@ -53,7 +54,7 @@
},
"scripts": {
"test": "bun test",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node && bun run types",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node --external '@abacatepay/adapters' --external '@abacatepay/adapters/*' && bun run types",
"types": "bunx tsc --emitDeclarationOnly",
"prepublishOnly": "bun run build"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/express/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/express](https://www.npmjs.com/package/@abacatepay/express).
*/
export const version = '2.0.1' as const;
export const version = '2.0.2' as const;
32 changes: 32 additions & 0 deletions packages/fastify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Changelog

All notable changes to `@abacatepay/fastify` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.2] - 2026-07-27

### Changed

- The build no longer inlines `@abacatepay/adapters` (and transitively `@abacatepay/zod`) into `dist` — they're now real `import`s resolved via `node_modules` at install time. Bundle size dropped from ~480KB to ~1.6KB. No behavior change; `@abacatepay/adapters` was already listed as a real `dependency`.

## [2.0.1] - 2026-07-27

### Fixed

- Package now bundles with `bun build` instead of emitting raw `tsc` output. Failed with `ERR_MODULE_NOT_FOUND` transitively, because it imports `@abacatepay/adapters` at runtime and that package had the same bug.

## [2.0.0] - 2026-07-27

### Changed

- **Breaking:** `Webhooks(options)` no longer throws when called without a `secret`. It returns `{ ok: false, handler: null, error: string }` instead of `{ ok: true, handler }` — check `.ok` before using `.handler`.

### Removed

- **Breaking:** `AbacatePayFastifyError` class removed — nothing throws it anymore.

### Fixed

- A malformed JSON request body no longer throws uncaught inside the request handler — `JSON.parse` is now wrapped in a `try/catch` and returns a `400` instead (matching `express`/`supabase`, which already did this).
- Event handler names updated to match the corrected v2 taxonomy (see `@abacatepay/adapters`'s changelog): `onBillingPaid`/`onPayoutDone` → `onCheckoutCompleted`/`onPayoutCompleted`.
7 changes: 4 additions & 3 deletions packages/fastify/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/fastify",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down Expand Up @@ -37,7 +37,8 @@
"bun": ">=1.0.0"
},
"files": [
"dist"
"dist",
"CHANGELOG.md"
],
"keywords": [
"abacatepay",
Expand All @@ -52,7 +53,7 @@
},
"scripts": {
"test": "bun test",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node && bun run types",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node --external '@abacatepay/adapters' --external '@abacatepay/adapters/*' && bun run types",
"types": "bunx tsc --emitDeclarationOnly",
"prepublishOnly": "bun run build"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/fastify/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/fastify](https://www.npmjs.com/package/@abacatepay/fastify).
*/
export const version = '2.0.1' as const;
export const version = '2.0.2' as const;
32 changes: 32 additions & 0 deletions packages/hono/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Changelog

All notable changes to `@abacatepay/hono` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [2.0.2] - 2026-07-27

### Changed

- The build no longer inlines `@abacatepay/adapters` (and transitively `@abacatepay/zod`) into `dist` — they're now real `import`s resolved via `node_modules` at install time. Bundle size dropped from ~480KB to ~1.3KB. No behavior change; `@abacatepay/adapters` was already listed as a real `dependency`.

## [2.0.1] - 2026-07-27

### Fixed

- Package now bundles with `bun build` instead of emitting raw `tsc` output. Failed with `ERR_MODULE_NOT_FOUND` transitively, because it imports `@abacatepay/adapters` at runtime and that package had the same bug.

## [2.0.0] - 2026-07-27

### Changed

- **Breaking:** `Webhooks(options)` no longer throws when called without a `secret`. It returns `{ ok: false, handler: null, error: string }` instead of `{ ok: true, handler }` — check `.ok` before using `.handler`.

### Removed

- **Breaking:** `AbacatePayHonoError` class removed — nothing throws it anymore.

### Fixed

- A malformed JSON request body no longer throws uncaught inside the request handler — `JSON.parse` is now wrapped in a `try/catch` and returns a `400` instead (matching `express`/`supabase`, which already did this).
- Event handler names updated to match the corrected v2 taxonomy (see `@abacatepay/adapters`'s changelog): `onBillingPaid`/`onPayoutDone` → `onCheckoutCompleted`/`onPayoutCompleted`.
7 changes: 4 additions & 3 deletions packages/hono/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@abacatepay/hono",
"version": "2.0.1",
"version": "2.0.2",
"repository": {
"type": "git",
"url": "git+https://github.com/AbacatePay/ecosystem.git"
Expand Down Expand Up @@ -37,7 +37,8 @@
"bun": ">=1.0.0"
},
"files": [
"dist"
"dist",
"CHANGELOG.md"
],
"keywords": [
"abacatepay",
Expand All @@ -52,7 +53,7 @@
},
"scripts": {
"test": "bun test",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node && bun run types",
"build": "rm -rf dist && bun run scripts/version.ts && bun build src/index.ts --outdir dist --target node --external '@abacatepay/adapters' --external '@abacatepay/adapters/*' && bun run types",
"types": "bunx tsc --emitDeclarationOnly",
"prepublishOnly": "bun run build"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/hono/src/version.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
/**
* Current version of [@abacatepay/hono](https://www.npmjs.com/package/@abacatepay/hono).
*/
export const version = '2.0.1' as const;
export const version = '2.0.2' as const;
14 changes: 14 additions & 0 deletions packages/rest/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# Changelog

All notable changes to `@abacatepay/rest` are documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).

## [1.0.0] - 2026-07-27

### Changed

- **Breaking:** `REST` class replaced with a `createREST()` factory function. `new REST({ ... })` no longer works — use `createREST({ ... })`.
- **Breaking:** nothing throws anymore. Every request resolves to `{ data, error, success }`, matching the shape the AbacatePay API itself returns — including client-side failures (network errors, timeouts, a missing secret), which are normalized into the same shape instead of being thrown.
- **Breaking:** `AbacatePayError` and `HTTPError` classes removed — there's nothing left to `throw` them, and the error is just the `string` already present in the envelope's `.error` field.
- Default API version is now `2` (was `1`).
3 changes: 2 additions & 1 deletion packages/rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
"dist",
"CHANGELOG.md"
],
"author": {
"name": "AbacatePay",
Expand Down
Loading
Loading