astro-loader-github-prs@2.0.0
Major Changes
-
Move live loaders to the
/livesubpath.liveGithubPrsLoaderis no longer exported from the package root, so import it from the/livesubpath instead: (41b7369)import { liveGithubPrsLoader } from "astro-loader-github-prs/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 (41b7369) -
Implement the Astro 6 migration change where schema types are inferred instead of generated, while preserving accurate loader-based entry data inference and avoiding Zod 4 internal type leakage in published declarations (
41b7369)