Skip to content
Open
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
24 changes: 0 additions & 24 deletions .changeset/support-emdash-0-28.md

This file was deleted.

24 changes: 24 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog — @dashcommerce/core

## 0.1.5

### Patch Changes

- [#16](https://github.com/emdashCommerce/dashcommerce/pull/16) [`b865dd7`](https://github.com/emdashCommerce/dashcommerce/commit/b865dd78bfb2b4d6805c7aa9526d85819da7a5ee) Thanks [@cavewebs](https://github.com/cavewebs)! - Support EmDash 0.28.

Migrate from emdash 0.6 to 0.28.1. The plugin now builds its native
`ResolvedPlugin` via `definePlugin` with single-argument `RouteContext`
handlers (emdash's native route shape) instead of `adaptSandboxEntry`, whose
0.28 form flattens the request and would break the Stripe webhook's raw-body
signature check. Capability names are updated to the current vocabulary
(`network:request`, `content:read`, `content:write`, `media:read`,
`users:read`), and the emdash peer range is now `>=0.28.0 <0.29.0`.

The bundled emdash patch is re-authored for 0.28.1: plugin route handlers may
still return a raw `Response` (cookies, redirects, webhook 200s), and the raw
request body is preserved so `ctx.request.text()` works for Stripe webhook
signature verification.

The starter adds a Cloudflare Worker entry (`src/worker.ts`) plus a Cron
Trigger so plugin cron — abandoned-cart recovery, subscription dunning, and
stock-lock sweeps — runs on Workers (emdash 0.19+ drives cron from a
`scheduled()` handler, not request side effects).

## 0.1.4

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashcommerce/core",
"version": "0.1.4",
"version": "0.1.5",
"description": "DashCommerce — full WooCommerce-equivalent commerce plugin for EmDash CMS",
"type": "module",
"main": "dist/index.js",
Expand Down
27 changes: 27 additions & 0 deletions packages/starter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@
# @dashcommerce/starter

## 0.3.1

### Patch Changes

- [#16](https://github.com/emdashCommerce/dashcommerce/pull/16) [`b865dd7`](https://github.com/emdashCommerce/dashcommerce/commit/b865dd78bfb2b4d6805c7aa9526d85819da7a5ee) Thanks [@cavewebs](https://github.com/cavewebs)! - Support EmDash 0.28.

Migrate from emdash 0.6 to 0.28.1. The plugin now builds its native
`ResolvedPlugin` via `definePlugin` with single-argument `RouteContext`
handlers (emdash's native route shape) instead of `adaptSandboxEntry`, whose
0.28 form flattens the request and would break the Stripe webhook's raw-body
signature check. Capability names are updated to the current vocabulary
(`network:request`, `content:read`, `content:write`, `media:read`,
`users:read`), and the emdash peer range is now `>=0.28.0 <0.29.0`.

The bundled emdash patch is re-authored for 0.28.1: plugin route handlers may
still return a raw `Response` (cookies, redirects, webhook 200s), and the raw
request body is preserved so `ctx.request.text()` works for Stripe webhook
signature verification.

The starter adds a Cloudflare Worker entry (`src/worker.ts`) plus a Cron
Trigger so plugin cron — abandoned-cart recovery, subscription dunning, and
stock-lock sweeps — runs on Workers (emdash 0.19+ drives cron from a
`scheduled()` handler, not request side effects).

- Updated dependencies [[`b865dd7`](https://github.com/emdashCommerce/dashcommerce/commit/b865dd78bfb2b4d6805c7aa9526d85819da7a5ee)]:
- @dashcommerce/core@0.1.5

## 0.3.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/starter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@dashcommerce/starter",
"version": "0.3.0",
"version": "0.3.1",
"private": true,
"description": "DashCommerce starter — a full Astro commerce site. Clone, configure Stripe keys, go.",
"type": "module",
Expand Down