Skip to content

v7.0.0

Latest
Compare
Choose a tag to compare
@nuotsu nuotsu released this 06 Mar 03:04
· 16 commits to main since this release

🌐 i18n and 🤵‍♂️ SanityPress Pro

⚠️ Breaking

  • With the release of SanityPress Pro, the following modules and features are now a "premium" features of SanityPress that require a paid subscription:
    • Modules: Creative module, Search module, Schedule module, and Pricing list module
    • Global module for specific paths (i.e. not * or blog/)
    • See the Pricing page for details.
  • With the introduction of i18n tooling, SanityPress now uses optional catch-all routes, moving away from a dedicated Homepage route file and a catch-all dynamic route file. 3d42adb
  • remove page.parent since it adds too much complexity on top of i18n 765aa49

Frontend

  • add LanguageSwitcher 7d66d37
  • add hreflangs meta tags 3ee9dd5
  • add /:lang/blog/:slug support a9a1bfd
  • add language alts to sitemap 3a6897c
  • update left-right properties to logical properties (for RTL support) d15a813
  • fix code highlight tailwind bug 746fc0e

Studio

Other

  • move error messages to errors.ts file 1337eca
  • add global modules to 404 page cceb09b
  • add middleware file for smart redirects for i18n c83b375

Acknowledgements

From issue #58:

  • @alioftech for sharing real-world i18n implementation experiences
  • @wild2008 for detailed feature suggestions

Full Changelog: 6.4.0...7.0.0