Skip to content

astro-loader-github-prs@2.0.0

Choose a tag to compare

@github-actions github-actions released this 26 May 16:39
fbf674c

Major Changes

  • Move live loaders to the /live subpath. liveGithubPrsLoader is no longer exported from the package root, so import it from the /live subpath 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 of import.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)