🌐 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
*
orblog/
) - 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
- add
sanitypress-utils
a429079 - add
data-sanity
for module re-ordering 7b25b20 - update CharacterCount component c6a5dbb
- add preview for Person document a105cb8
- add more options to accordion-list 360bea3
- add more options to card-list b733145
- add ctas to CardList cb632b8
- add directory utils to structure builder 375ebad f1acb24
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