@sdxc/kit 2026.11.24 → 2026.11.25

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.jsonl +2 -0
  2. package/package.json +2 -2
package/changelog.jsonl CHANGED
@@ -2231,3 +2231,5 @@
2231
2231
  {"release":"2026.11.24","package":"@sdxc/novel","type":"docs","breaking":false,"title":"Document that replays name every character met in any play","body":"The README now covers the persistent `introduced` list: replays name every character a normal play introduced, `Persistent` lists the field, `DevTools.reset()` accepts `introduced`, and an extension's lasting slice cannot be named `introduced`. This changes documentation only; consumers need not act."}
2232
2232
  {"release":"2026.11.24","package":"@sdxc/raster","type":"feat","breaking":false,"title":"Paint a fill with an image through imagePattern","body":"A fill can now paint with an image. imagePattern takes decoded RGBA pixels, the shape\n@sdxc/png's decode returns, and an optional affine transform that places the image's pixels\non the canvas. It samples bilinearly and repeats the edge pixels past the image, so filling a\nrounded path draws a screenshot with rounded corners:\n\n import { decode } from \"@sdxc/png\";\n import { Canvas, imagePattern, Path } from \"@sdxc/raster\";\n\n let image = await decode(bytes);\n if (image.status === \"success\") {\n canvas.fillPath(\n Path.roundedRect(600, 120, 720, 450, 18),\n imagePattern({ image: image.data, transform: [1, 0, 0, 1, 600, 120] }),\n );\n }\n\nExisting paints and drawing calls are unchanged."}
2233
2233
  {"release":"2026.11.24","package":"@sdxc/seo","type":"fix","breaking":false,"title":"Write the card image's alt text for X as well","body":"Before: Seo.Meta wrote og.imageAlt only as og:image:alt, which X does not read, so a card\nshared there had no description for screen-reader users. After: the same text is also written as\ntwitter:image:alt whenever the card has an image. Consumers that already pass og.imageAlt get the\nextra tag with no change; nothing else in the output changes."}
2234
+ {"release":"2026.11.25","package":"@sdxc/novel","type":"feat","breaking":false,"title":"Describe the cast and show it on a Characters screen","body":"`character()` takes a `description` message key, and a new `Characters`\nlibrary screen lists the cast beside the chosen character's portrait, name,\ndescription and every look the stage drew them in:\n\n export const CAST = cast({\n mika: character({\n name: \"cast.mika\",\n description: \"cast.mikaAbout\",\n sprites: { smile: \"/mika/smile.webp\", sad: \"/mika/sad.webp\" },\n }),\n });\n\n <NovelPlayer.Extras>\n <Gallery />\n <Characters />\n </NovelPlayer.Extras>\n\nA character shows as the `unknownName` label, and cannot be picked, until\nthey are `known` or a play introduces them. A sprite stays a locked\nplaceholder until the stage draws the character in it once, in any\nplaythrough; a layered character lists each combination of variants the\nstage drew. Its dialog is wider than the other library screens'.\n\n`NovelPlayer.Default` offers the screen in its Extras menu, and\n`NovelPlayer.Title` adds it to its default screens (Chapters, Gallery,\nCharacters, Memories). When the player offers the screen, a named speaker's\nname on the textbox is a button that opens it on them, through the new\n`showCharacter(id)` on the player context (`character` reads the id it asked\nfor).\n\n`Persistent.unlocked` gains `sprites`, the looks the stage drew, keyed\n`<character>:<sprite>` or `<character>:<layer>=<variant>,…`; stored data\nwithout it reads as none seen. `NovelLibrary` gains `characters`, and\n`NovelLabels` gains `characters` and `characterLooks`. A custom title that\npasses its own screens is unchanged; one relying on the defaults now shows a\nCharacters button."}
2235
+ {"release":"2026.11.25","package":"@sdxc/workers-cache","type":"fix","breaking":false,"title":"Downgrade session-bearing requests without throwing in development","body":"Before: in development (`NODE_ENV=development`, or a request to a local host), the\n`@sdxc/workers-cache` middleware threw `UnsafeCachePolicyError` whenever a page that\ndeclared a public policy, or a targeted CDN lifetime, was requested with a session. A\ndeveloper signed in to their own app saw an error overlay over every public page.\n\nAfter: only a declared response that carries its own `Set-Cookie` throws in development.\nA request that brings a session is downgraded to `private, no-store` and logged as\n`cache.downgraded` (reason `session-with-public-policy` or\n`session-with-shared-targeted-policy`), the same way it always was in production, so the\npage renders uncached for the signed-in visitor.\n\nProduction behavior is unchanged and consumers need no action. Code that caught\n`UnsafeCachePolicyError` in development to detect a session refusal should read the\n`cache.downgraded` log field instead."}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sdxc/kit",
3
- "version": "2026.11.24",
3
+ "version": "2026.11.25",
4
4
  "description": "The sdxc command line: start a Remix v3 app, generate its files, copy UI components into it and upgrade it",
5
5
  "license": "MIT",
6
6
  "bin": {
@@ -33,7 +33,7 @@
33
33
  "peerDependencies": {
34
34
  "remix": "3.2.0"
35
35
  },
36
- "gitHead": "1f8a5df41e5beeb1ef28a5815a2d29cc67578845",
36
+ "gitHead": "e5f087f34f529f1dcf943b6b99d850de8091dd52",
37
37
  "publishConfig": {
38
38
  "access": "public"
39
39
  },