- Assets moved from
public/tosrc/assets/- Images and SVGs are now insrc/assets/for better optimization through Astro's asset pipeline - Using
<Picture>component across all pages - Replaces standard<img>tags with Astro's optimized Picture component for responsive images - SVGs are now components - SVGs are imported and used as Astro components instead of inline or via
<img>tags - Removed preloading logic - Simplified the asset loading approach
- Renamed components -
Landing.astrorenamed toBanner.astrowith simplified props - New default: constrained layout for Image and Picture - Images now use constrained layout by default
- Remove-demo script - Run
npm run remove-demoto strip demo content and start fresh with a clean template
- Astro upgraded to v5.17.1
- Deleted unused assets
If you're upgrading from v2.x:
- Move your images from
public/tosrc/assets/ - Update image imports to use Astro's
<Picture>or<Image>components - Update any references to
Landing.astroto useBanner.astro - Review SVG usage - consider converting to component imports
- Astro has been upgraded to v5.7.12 You can find an exhaustive list of all changes in Astro's changelog
- Astro has been upgraded to v5.4.2 You can find an exhaustive list of all changes in Astro’s changelog
- Astro has been upgraded to v5.0
- Upgrade Astro and its dependencies
- Run
npx @astrojs/upgradein your terminal - At the yellow warning, choose “Yes” to continue
- Run
- Ensure that the other packages you may have added are up-to-date and compatible with Astro v5
- Please refer to the official Upgrade to v5 guide if you run into any issues.
- Added CHANGELOG.md to keep track of patch changes and setup instructions
- Initial release of Beginner-Astro-v4-LESS template