Skip to content

Update to Astro 6, dependencies and fixed any found bugs#17

Merged
LeandroPata merged 9 commits into
mainfrom
update/astro-update
Apr 18, 2026
Merged

Update to Astro 6, dependencies and fixed any found bugs#17
LeandroPata merged 9 commits into
mainfrom
update/astro-update

Conversation

@LeandroPata
Copy link
Copy Markdown
Owner

@LeandroPata LeandroPata commented Apr 17, 2026

Update to Astro 6, dependencies and fixed any found bugs

Summary

This pull request updates astro to astro v6.1.7, as well as all other packages and dependencies.
Also updated all other relevant components and configs due to changes in Astro 6, as well as fixed all bugs found from these changes.

Changes

  • Upgraded dependencies and devDependencies in package.json:
    • Astro: 6.1.7;
    • Playwright: 1.59.1;
    • Vitest: 4.1.4;
  • Updated theme toggle functionality:
    • Replaced custom JavaScript with native HTML attributes and event listeners;
    • Used localStorage to persist the theme across page reloads;
    • Handled transitions between pages using astro:before-swap and astro:after-swap;
  • Refactored tests for theme toggle behavior;
  • Updated styles and layout files to reflect changes in class names and structure;
  • Updated Github actions to use withastro/action@v6;

Notes

  • This update should improve the reliability and performance of the theme toggling feature.
  • The new implementation uses native HTML features, which should be more accessible and easier to maintain.

@LeandroPata LeandroPata self-assigned this Apr 17, 2026
@LeandroPata LeandroPata merged commit 06d9fea into main Apr 18, 2026
2 checks passed
@LeandroPata LeandroPata deleted the update/astro-update branch April 18, 2026 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant