Skip to content

v1.2.0

Choose a tag to compare

@7nohe 7nohe released this 19 Jul 13:01
b8cc011

Guren 1.2.0

A focused minor release: localized <html lang> for Inertia pages.

Localized <html lang> (#99, #101)

  • Set it per response: this.inertia(page, props, { lang: 'ja' }).
  • Or let the framework derive it when the option is omitted — the request-scoped locale context variable (set by your locale-detection middleware via c.set('locale', locale)) wins over the app-wide i18n locale from I18nServiceProvider, falling back to en. A forgotten call site no longer ships lang="en" on a localized page.
  • Docs: i18n guide → Per-Request Locale

Versions

Package Version
@guren/server 1.2.0

All other packages are unchanged — @guren/core re-exports the new server APIs through its existing dependency range.