github pjonaszik/rustbase v0.1.1

latest releases: v0.2.2, v0.2.1, v0.2.0...
5 months ago

Added

  • Multi-arch Docker image published to ghcr.io/pjonaszik/rustbase on
    every release tag (linux/amd64 + linux/arm64).
  • Root-level Dockerfile for reproducible builds + local docker build.
  • ARCHITECTURE.md summarising the crate map, hierarchy, and bootstrap
    for new contributors.
  • ROADMAP.md with the public sketch of v0.2 → v1.0.
  • Logo (docs/public/logo.svg) and favicons (32px / 192px / SVG) in
    RustBaas orange.
  • Social-preview image (docs/public/social-preview.png, 1280×640)
    wired into the docs og:image / Twitter card meta tags.
  • README header now embeds a real dashboard sign-in screenshot.
  • New GitHub label taxonomy: type:*, scope:*, status:*, needs:*.
  • Welcome post pinned in GitHub Discussions (Announcements category).
  • Dashboard smoke job in ci.yml that asserts asset prefixes, runtime
    paths.base, GET fallback on /_/setup / admin login / refresh, deep
    links, and that POST /healthz stays an honest 405.

Changed

  • README badge row reorganised; live screenshot replaces the previous
    text-only intro.

Fixed (#17 — dashboard SPA mount)

  • rustbase-server/build.rs now sets VITE_BASE=/_ when invoking
    bun run build, so the SvelteKit static build embeds the correct
    paths.base at both the asset-path level (/_/_app/...) and the
    runtime config level (__sveltekit_xxx.base = "/_").
  • crates/rustbase-server/src/main.rs attaches a
    method_not_allowed_fallback to the merged router: GET requests
    under /_/ that hit a POST-only API route (e.g. /_/setup,
    /_/auth/admin/login, /_/auth/refresh) fall through to the dashboard
    SPA shell so direct navigation + hard refresh work. Other 405s stay
    honest 405s — the rule is path-prefixed.
  • crates/rustbase-server/src/dashboard.rs::asset falls back to
    index.html for paths that look like client-side routes (no extension,
    no _app/ prefix), so deep links like /_/realms/acme/apps/web
    reload cleanly.
  • ui/src/lib/nav.ts introduces a goto helper that prefixes
    SvelteKit's configured base to absolute-path hrefs. Every
    +page.svelte and +layout.svelte now navigates through this helper,
    so embedded-mount navigation no longer escapes the /_/ prefix.

Build

  • Dependabot bumps: download-artifact 4 → 8, upload-artifact 4 → 7,
    actions/checkout 4 → 6, actions/configure-pages 5 → 6,
    actions/deploy-pages 4 → 5, actions/upload-pages-artifact 3 → 5,
    softprops/action-gh-release 2 → 3, rquickjs 0.9 → 0.11,
    validator 0.19 → 0.20, config 0.14 → 0.15, prettier-plugin-svelte
    3.5 → 4.0, prettier-plugin-tailwindcss 0.7 → 0.8.

Don't miss a new rustbase release

NewReleases is sending notifications on new releases.