fancy-buffer 0.1.0__tar.gz → 0.1.2__tar.gz

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.
@@ -0,0 +1,72 @@
1
+ # Changelog
2
+
3
+ All notable changes to `@particle-academy/buffer-ui`,
4
+ `@particle-academy/buffer-js`, `particle-academy/buffer-php` and
5
+ `fancy-buffer`.
6
+
7
+ ## [0.1.2] — 2026-09-11
8
+
9
+ ### Added
10
+
11
+ - **`fancy-flow-php` executors for every node.** `src/Flow/` carries one `#[FlowNode]` class per action and trigger, and `BufferFlow::EXECUTORS` lists them.
12
+
13
+ A Laravel host running fancy-flow-php could show this connector's nodes in its editor and could not run them: `particle-academy/buffer-php` shipped the request builders and no executor. Each one is the PHP twin of the executor in `@particle-academy/buffer-js` — the same kind, the same request, the same value on `out` — and an unsafe-to-replay action derives its idempotency key from the run and the node, so a retried durable run sends the key it sent the first time.
14
+
15
+ Register them by adding `vendor/particle-academy/buffer-php/packages/php/src/Flow` to `config('fancy-flow.discover')`. `particle-academy/fancy-flow-php` is SUGGESTED, not required, and conflicts outside `>=0.51.0 <2.0`, the range the executors were tested under. Nothing outside `Flow\` needs it.
16
+
17
+ ### Fixed
18
+
19
+ - **Fake mode through `ConnectorClient` threw.** `Buffer::descriptor()` handed the connector core its faker as `BufferFaker::respond(...)`, which takes `($operation, $request)`; the core calls a faker `($operation, $config, $fake, $input)`. So `$config` arrived as `$request` and every fake call died on "Call to a member function … on null". The descriptor now translates between the two. Calling `BufferFaker::respond()` directly — what this package's own tests do, which is why they never saw it — is unchanged.
20
+
21
+ ## [0.1.1] — 2026-09-06
22
+
23
+ ### Changed
24
+
25
+ - **Published through npm Trusted Publishing, so these packages now carry PROVENANCE.**
26
+
27
+ Every earlier release went out under a scope-wide npm token. This one is
28
+ published by an OIDC exchange from the release workflow itself, and npm records
29
+ which workflow in which repository built it.
30
+ `npm view @particle-academy/buffer-ui@0.1.1` shows the attestation; releases before
31
+ this one have none.
32
+
33
+ What it buys a consumer: the tarball on the registry can be tied to a public
34
+ commit and a public workflow run, rather than to whoever held a token. What it
35
+ does not buy: nothing about the code changed, and the runtime behaviour of all
36
+ four packages is identical to 0.1.0.
37
+
38
+ - **`repository.directory` in the npm packages.**
39
+
40
+ `@particle-academy/buffer-ui` and `@particle-academy/buffer-js` live at
41
+ `packages/ui` and `packages/js` inside the provider repo. npm's `repository`
42
+ field now says so, which makes the "Repository" link on each package page point
43
+ at the package rather than at the repository root.
44
+
45
+ ## [0.1.0] — 2026-08-23
46
+
47
+ First release.
48
+
49
+ ### Added
50
+
51
+ - `post_create` — create, queue or immediately share a text post through
52
+ Buffer's current GraphQL API.
53
+ - A GraphQL PostActionSuccess faker for development without creating a real
54
+ post.
55
+
56
+ ### Current API, not legacy REST
57
+
58
+ The connector targets `POST https://api.buffer.com` with a JSON GraphQL
59
+ envelope. The historical form-encoded `api.bufferapp.com/1` API is not used.
60
+
61
+ ### OAuth safety
62
+
63
+ Buffer requires S256 PKCE for every App Client. Access tokens last one hour and
64
+ refresh tokens rotate on every use; replaying an old refresh token revokes the
65
+ entire grant.
66
+
67
+ ### No sandbox or idempotency guarantee
68
+
69
+ Buffer has no separate test estate, and `createPost` documents no idempotency
70
+ key. A retry may create or publish the post twice.
71
+
72
+ [0.1.0]: https://github.com/Fancy-Friends/buffer/releases/tag/v0.1.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: fancy-buffer
3
- Version: 0.1.0
3
+ Version: 0.1.2
4
4
  Summary: Buffer for Python — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP; no vendor SDK.
5
5
  Project-URL: Homepage, https://github.com/Fancy-Friends/buffer
6
6
  Project-URL: Issues, https://github.com/Fancy-Friends/buffer/issues
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "fancy-buffer"
7
- version = "0.1.0"
7
+ version = "0.1.2"
8
8
  description = "Buffer for Python — the service descriptor, its faker, its webhook verification, and one function per operation. Plain HTTP; no vendor SDK."
9
9
  readme = "README.md"
10
10
  # 3.11 matches fancy-flow-py's floor: 3.10 reaches end of life on 2026-10-31,
@@ -21,7 +21,7 @@ from .actions.post_create import post_create
21
21
  from .faker import respond
22
22
  from .service import BASE_URLS, CONNECTOR_API_VERSION, REQUIRES, SANDBOX, SERVICE, TITLE, descriptor
23
23
 
24
- __version__ = "0.1.0"
24
+ __version__ = "0.1.2"
25
25
 
26
26
  __all__ = [
27
27
  "BASE_URLS",
@@ -1,34 +0,0 @@
1
- # Changelog
2
-
3
- All notable changes to `@particle-academy/buffer-ui`,
4
- `@particle-academy/buffer-js`, `particle-academy/buffer-php` and
5
- `fancy-buffer`.
6
-
7
- ## [0.1.0] — 2026-08-23
8
-
9
- First release.
10
-
11
- ### Added
12
-
13
- - `post_create` — create, queue or immediately share a text post through
14
- Buffer's current GraphQL API.
15
- - A GraphQL PostActionSuccess faker for development without creating a real
16
- post.
17
-
18
- ### Current API, not legacy REST
19
-
20
- The connector targets `POST https://api.buffer.com` with a JSON GraphQL
21
- envelope. The historical form-encoded `api.bufferapp.com/1` API is not used.
22
-
23
- ### OAuth safety
24
-
25
- Buffer requires S256 PKCE for every App Client. Access tokens last one hour and
26
- refresh tokens rotate on every use; replaying an old refresh token revokes the
27
- entire grant.
28
-
29
- ### No sandbox or idempotency guarantee
30
-
31
- Buffer has no separate test estate, and `createPost` documents no idempotency
32
- key. A retry may create or publish the post twice.
33
-
34
- [0.1.0]: https://github.com/Fancy-Friends/buffer/releases/tag/v0.1.0
File without changes
File without changes
File without changes