Skip to content

v0.7.1

Compare
Choose a tag to compare
@Xevion Xevion released this 02 Feb 02:56
· 135 commits to main since this release
8c32d9c

v0.7.0...v0.7.1

Changelog

  • Major Revamped the entire admin layout, splitting it into separate pages. This reduces the collosal first-load JS required by the admin section, as well as provides the ability for SSR-loaded data.
  • Major The admin login/logout & middleware has been transformed to use SSR where possible. There still needs to be work for how logging in works, but otherwise, it's much more polished and utilizes SSR, reducing the number of requests made.
    • A new server helper method for validating admin in SSR was created.
    • We're no longer using rewrites in the middleware, instead, redirects with a ?next= query parameter. I really do like the rewrite style middleware, it's very interesting being able to take over any given page and sent it somewhere else, but in my opinion, it's simply not transparent enough and seems hacky. Switching to redirects is much more transparent, and should be resilient to bugs over time.
  • Docs Added more documenntation to helper methods, improved some method type safety slightly.
  • Minor The member /logout route is now SSR only, loading no client-side scripts at all.
  • Minor Global state now splits the authentication process of admin and member - this let's me tell the application that you are/you aren't a member/admin much faster, reducing animations & requests just a little bit.
  • Minor The logo on the index's resolution was reduced to <600px. I could probably push it down further, but at least it's not 1MB.
  • Fix Fixed array key issues in the admin MemberDataTable component.