@particle-academy/slack-js 0.2.1 → 0.3.1

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 +39 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -3,6 +3,45 @@
3
3
  All notable changes to `@particle-academy/slack-ui`,
4
4
  `@particle-academy/slack-js`, `particle-academy/slack-php` and `fancy-slack`.
5
5
 
6
+ ## [0.3.1] — 2026-11-08
7
+
8
+ ### Fixed
9
+
10
+ - **The Laravel config's environment variable names now split camelCase**,
11
+ as documented. **Consumer action: none.** The old unsplit names are still
12
+ read as a fallback, so an app that set them keeps working; the new names
13
+ are preferred.
14
+
15
+ | Preferred | Still read |
16
+ |---|---|
17
+ | `SLACK_CLIENT_ID` | `SLACK_CLIENTID` |
18
+ | `SLACK_CLIENT_SECRET` | `SLACK_CLIENTSECRET` |
19
+ | `SLACK_ACCESS_TOKEN` | `SLACK_ACCESSTOKEN` |
20
+ | `SLACK_REFRESH_TOKEN` | `SLACK_REFRESHTOKEN` |
21
+ | `SLACK_SIGNING_SECRET` | `SLACK_SIGNINGSECRET` |
22
+
23
+ ## [0.3.0] — 2026-11-08
24
+
25
+ ### Added
26
+
27
+ - **Laravel integration, in this package** (`src/Laravel/`), auto-discovered
28
+ through composer's `extra.laravel`. Laravel is SUGGESTED, never required:
29
+ outside a Laravel app none of it loads.
30
+ - a service provider that merges `config/slack.php` under
31
+ `connectors.slack` (credentials from the environment, or per call for a
32
+ multi-account app);
33
+ - the `Slack` facade: `Slack::call('<operation>', [...])` runs any action;
34
+ - `Slack::fake()`, answered from the connector's faker, with
35
+ `assertSent` / `assertNotSent` / `assertNothingSent` / `assertSentCount`;
36
+ - a webhook ROUTE per trigger (`Route::slackBlockActions('/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`);
37
+ - its own Pest test of all of it against a booted Laravel app.
38
+
39
+ ### Changed
40
+
41
+ - **Tests: Pest `^5`**, and `laravel/framework` `^13` as a DEV-ONLY test
42
+ dependency (the framework this package integrates with; nothing ships in
43
+ `require`).
44
+
6
45
  ## [0.2.1] — 2026-10-31
7
46
 
8
47
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@particle-academy/slack-js",
3
- "version": "0.2.1",
3
+ "version": "0.3.1",
4
4
  "description": "Slack 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/slack-ui": ">=0.2.0 <0.3.0"
57
+ "@particle-academy/slack-ui": ">=0.3.0 <0.4.0"
58
58
  },
59
59
  "peerDependenciesMeta": {
60
60
  "@particle-academy/fancy-flow": {