Releases: atomiechen/astroprint
Releases · atomiechen/astroprint
Release list
astroprint v0.2.0
Release astroprint v0.2.0.
Added
- Added
AcademicDocument.astrofor reusing the built-in academic CV document surface inside caller-owned layouts. - Added
PreviewShell.astrofor reusing generated-route navigation, print behavior, scroll restoration, and Paged.js preview branching without astroprint'sBaseLayout.astro. - Added injected route support for single Markdown files and single content collection entries.
- Added source-specific injected route config types:
AstroPrintCollectionRouteConfig,AstroPrintCollectionEntryRouteConfig,AstroPrintMarkdownRouteConfig, andAstroPrintInjectedRouteConfig.
Changed
- Renamed the integration route injection option from
routestoinjectedRoutes. - Replaced the exported
AstroPrintRouteConfigtype withAstroPrintInjectedRouteConfig. - Injected route configs now require an explicit
route; astroprint no longer injects a default/astroprint/{collection}route. - Paged preview routes are now opt-in. Omit
previewRouteor set it tofalseto skip preview injection, setpreviewRoute: truefor the default preview path, or pass a custom preview route string. - Generated routes now pass
withPreviewShell={true}to layouts instead ofpreview={true}. AcademicLayout.astronow composesAcademicDocument.astro, reads titles only from collection entry data or Markdown frontmatter, and supportswithPreviewShellfrom standalone Markdown frontmatter.PrintPreview.astronow defaults its ready event toastroprint-preview:ready.- Renamed the playground package script from
pnpm pdftopnpm astroprintfor running the local CLI.
Removed
- Removed
PreviewLayout.astro; usePreviewShell.astroinside a layout instead. - Removed root-level
titleandsecondaryTitleprops fromAcademicLayout.astro; use collection entry data or Markdown frontmatter instead.
astroprint v0.1.1
Release astroprint v0.1.1.
Added
- The integration now adds
**/.astroprint*/**to Vite's dev-server watch ignore list automatically, while preserving caller-owned ignore settings. astroprint pdfnow writes.astroprint/.gitignoreafter the temporary Astro build so generated PDF HTML output stays ignored even when the build recreates the directory.
astroprint v0.1.0
Release astroprint v0.1.0.
Added
- Initial release of
astroprint. - Adds Astro integration support for Markdown directives,
:logolink, BibTeX conversion, and HTML comment stripping. - Adds optional collection-backed document routes, Paged.js preview routes, and PDF export through the
astroprint pdfCLI. - Includes built-in document, preview, and academic CV layouts plus baseline and academic CV styles.