@particle-academy/youtube-js 0.2.0 → 0.2.2

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 +50 -0
  2. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -4,6 +4,55 @@ All notable changes to `@particle-academy/youtube-ui`,
4
4
  `@particle-academy/youtube-js`, `particle-academy/youtube-php` and
5
5
  `fancy-youtube`.
6
6
 
7
+ ## [0.2.2] — 2026-09-06
8
+
9
+ ### Changed
10
+
11
+ - **Published through npm Trusted Publishing, so these packages now carry PROVENANCE.**
12
+
13
+ Every earlier release went out under a scope-wide npm token. This one is
14
+ published by an OIDC exchange from the release workflow itself, and npm records
15
+ which workflow in which repository built it.
16
+ `npm view @particle-academy/youtube-ui@0.2.2` shows the attestation; releases before
17
+ this one have none.
18
+
19
+ What it buys a consumer: the tarball on the registry can be tied to a public
20
+ commit and a public workflow run, rather than to whoever held a token. What it
21
+ does not buy: nothing about the code changed, and the runtime behaviour of all
22
+ four packages is identical to 0.2.1.
23
+
24
+ - **`repository.directory` in the npm packages.**
25
+
26
+ `@particle-academy/youtube-ui` and `@particle-academy/youtube-js` live at
27
+ `packages/ui` and `packages/js` inside the provider repo. npm's `repository`
28
+ field now says so, which makes the "Repository" link on each package page point
29
+ at the package rather than at the repository root.
30
+
31
+ ## [0.2.1] — 2026-08-24
32
+
33
+ ### Fixed
34
+
35
+ - **`@particle-academy/youtube-js` now accepts a RANGE of `@particle-academy/youtube-ui`, not one exact version.**
36
+
37
+ It peer-depended on `@particle-academy/youtube-ui` at exactly the release it shipped with. That is the
38
+ strict form of the thing the kit's own rule forbids — a first-party sibling gets
39
+ a range — and the same block applied the rule correctly to its other two
40
+ dependencies. It was this one pair that slipped.
41
+
42
+ What it cost: ship `@particle-academy/youtube-ui` with a fixed help string and every consumer on the
43
+ previous `@particle-academy/youtube-js` had an **unmet peer**, which npm 7+ errors on. A documentation
44
+ patch could not be delivered without a matching runtime release, and a routine
45
+ `npm update` that moved the ui package alone broke the install.
46
+
47
+ The coupling is real and is not being loosened away. The ui package emits the
48
+ config schema and the js package implements against it, so a ui that adds a
49
+ field to a js that ignores it is silently wrong. But a PATCH is non-additive by
50
+ definition and a MINOR is where a field can appear — so `>=0.2.1 <0.3.0` is the
51
+ coupling that actually exists rather than the strictest one expressible.
52
+
53
+ Nothing else changed. `particle-academy/youtube-php` and `fancy-youtube` are unaffected; neither has an
54
+ equivalent edge.
55
+
7
56
  ## [0.2.0] — 2026-08-24
8
57
 
9
58
  ### Added
@@ -62,3 +111,4 @@ accepts for modifying playlist contents. YouTube has no test estate, and
62
111
 
63
112
  [0.1.0]: https://github.com/Fancy-Friends/youtube/releases/tag/v0.1.0
64
113
  [0.2.0]: https://github.com/Fancy-Friends/youtube/releases/tag/v0.2.0
114
+ [0.2.1]: https://github.com/Fancy-Friends/youtube/releases/tag/v0.2.1
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@particle-academy/youtube-js",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "YouTube 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",
7
- "url": "git+https://github.com/Fancy-Friends/youtube.git"
7
+ "url": "git+https://github.com/Fancy-Friends/youtube.git",
8
+ "directory": "packages/js"
8
9
  },
9
10
  "homepage": "https://github.com/Fancy-Friends/youtube#readme",
10
11
  "bugs": "https://github.com/Fancy-Friends/youtube/issues",
@@ -52,7 +53,7 @@
52
53
  },
53
54
  "peerDependencies": {
54
55
  "@particle-academy/fancy-flow": ">=0.47.1 <2.0",
55
- "@particle-academy/youtube-ui": "0.2.0"
56
+ "@particle-academy/youtube-ui": ">=0.2.0 <0.3.0"
56
57
  },
57
58
  "peerDependenciesMeta": {
58
59
  "@particle-academy/fancy-flow": {