@particle-academy/resend-js 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +34 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -7,6 +7,40 @@ The four packages share one version, because they are generated from one
7
7
  `provider/` definition and a version that meant something different in each
8
8
  would be a version nobody could reason about.
9
9
 
10
+ ## [0.5.0] — 2026-11-08
11
+
12
+ ### Added
13
+
14
+ - **Laravel integration, in this package** (`src/Laravel/`), auto-discovered
15
+ through composer's `extra.laravel`. Laravel is SUGGESTED, never required:
16
+ outside a Laravel app none of it loads.
17
+ - a service provider that merges `config/resend.php` under
18
+ `connectors.resend` (credentials from the environment, or per call for a
19
+ multi-account app);
20
+ - the `Resend` facade: `Resend::call('<operation>', [...])` runs any action;
21
+ - `Resend::fake()`, answered from the connector's faker, with
22
+ `assertSent` / `assertNotSent` / `assertNothingSent` / `assertSentCount`;
23
+ - a webhook ROUTE per trigger (`Route::resendEmailReceived('/path')`) that VERIFIES the raw delivery with the trigger's own scheme before the app sees it, answers 401 with the reason when it does not, then dispatches an event (`Events\\…Received`);
24
+ - its own Pest test of all of it against a booted Laravel app.
25
+
26
+ ### Changed
27
+
28
+ - **Tests: Pest `^5`**, and `laravel/framework` `^13` as a DEV-ONLY test
29
+ dependency (the framework this package integrates with; nothing ships in
30
+ `require`).
31
+
32
+ ## [0.4.1] — 2026-11-05
33
+
34
+ ### Fixed
35
+
36
+ - **PHP: a `headers` map passed as an OBJECT is read, not dropped.** The
37
+ generated PHP read a map that arrived as a decoded JSON OBJECT (`stdClass`,
38
+ e.g. an upstream node's value or `json_decode(..., false)`) as "not an
39
+ array" and sent it EMPTY, without an error: silent data loss. It now reads
40
+ the object's properties. **Affected:** PHP callers passing the map as an
41
+ object. **Not affected:** callers passing an array, which always worked;
42
+ they need do nothing. TypeScript and Python were never affected.
43
+
10
44
  ## [0.4.0] — 2026-09-15
11
45
 
12
46
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/resend-js",
3
- "version": "0.4.0",
3
+ "version": "0.5.0",
4
4
  "description": "Resend for Node — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP on @particle-academy/fancy-connector-core; no vendor SDK.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,7 +54,7 @@
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@particle-academy/fancy-flow": ">=0.47.1 <2.0",
57
- "@particle-academy/resend-ui": ">=0.4.0 <0.5.0"
57
+ "@particle-academy/resend-ui": ">=0.5.0 <0.6.0"
58
58
  },
59
59
  "peerDependenciesMeta": {
60
60
  "@particle-academy/fancy-flow": {