Major Changes
-
Remove the
userCommitmode from build-time and live release loaders because GitHub no longer includes commit summaries in publicPushEventpayloads. Themode: 'repoList'discriminator is also removed because repository-list loading is now the only supported behavior (c0089f2) -
Move live loaders to the
/livesubpath.liveGithubReleasesLoaderis no longer exported from the package root, so import it from the/livesubpath instead: (c0089f2)import { liveGithubReleasesLoader } from "astro-loader-github-releases/live";
This keeps the package root focused on build-time loaders and prevents build-time users from loading live runtime dependencies such as
astro:env/server. -
Use Astro's adapter-backed
getSecret()for live loader GitHub tokens instead ofimport.meta.env, avoiding build-time inlining and allowing runtime-provided secrets to be read per request (c0089f2) -
Implement the Astro 6 migration change where schema types are inferred instead of generated, while preserving accurate
entryReturnTypeinference and avoiding Zod 4 internal type leakage in published declarations (c0089f2) -
Astro v6.0 upgrades to Zod 4. Based on the Zod 4 changelog and the need to keep compatibility with older Astro versions, update schemas by: (
c0089f2)- Replace object intersection with
extend()for the extended post schema
- Replace object intersection with