Skip to content

Dawnlight Changelog

3.0.0 - 2025-01-04

  • Upgrade to Astro 5.1.2
  • Add hreflang links as meta tags to improve SEO for multi-language websites
  • i18n script improvements when using one language only
    • script now removes all getRelativeLocaleUrl() and text translation uses, simplifying the code
  • Keystatic unistall script improvement - detects your package manager and uses the appropriate uninstall command
  • Upgrade astro-icon
  • Add data-astro-reload on language switcher component so that pagefind works right when using ClientRouter
  • Fix related posts so they only show related posts for the current language
  • pnpm support
    • added .npmrc file with a few settings to enable pnpm local builds
    • removed package-lock.json and replaced with pnpm-lock.yaml
      • If you install with npm install a normal package-lock.json file will be created
  • Update prettier config file to be more strict (and help remove potential script issues if your setup differs)
  • Change versioning structure to the more standard major, minor, patch
  • Update other dependencies

2.1 - 2024-11-21

  • New configuration scripts npm run config-i18n and npm run remove-keystatic
    • It is now incredibly easy to configure i18n features when starting a project, and remove keystatic features if desired
  • Enhance global.scss to remove usage of sass @import and use @use instead
    • The @import directive is being deprecated in Dart Sass and will be removed in future versions
  • Update playform/compress config setting to not optimize images or SVGs
    • In particular, using the image optimization here can dramatically increase build times for sites with many images, and astro:assets already handles it
  • Add vite config in astro.config.mjs to remove Dart Sass deprecation warning
    • This is not necessary, but it removes a minor annoyance
  • Updated NavLink.astro so that trailing slashes are removed from navbar links
    • This allows ID’s to be used in the navbar through the navData.json.ts files
  • Update README
  • Update to Astro 4.16.13
  • Update other dependencies

2.0 - 2024-09-28

  • Add all i18n features originally seen in Atlas
    • Language switcher component
    • Keystatic CMS support for multiple languages
    • Translate routes
    • Utility functions to:
      • Translate text
      • Filter content collections by locale
      • Format dates in the correct locale
      • Get the current locale from the current URL
      • & more
  • AffiliateLink.astro component now accepts more file extension variants for images when dynamically importing
  • Updated to Astro 4.15.9
  • Update other dependencies

1.0 - 2024-04-20

  • Initial release