Releases: nuotsu/sanitypress
Releases · nuotsu/sanitypress
v7.2.0
v7.1.0
General
- added Cursor Rules for SanityPress e6f46f2
Frontend
- add
BLOG_DIR, for easier blog path changing 42e8d39 - added admonition to Richtext module and Blog post documents 07c0207 (closes #63)

- fix img props issue 018eeef
- use object maps for Asset 5816b54
- update OG font URL 54b873b
- add parentClassName value for common styles on parent level menu links 9b28423
- improve logo rendering logic af6327a
- remove SanityPress Pro (paid subscription) 494c014 — SanityPress is now completely free!
Studio
- rename
site.taglinetosite.blurbc1a44a3
Full Changelog: 7.0.0...7.1.1
v7.0.0
🌐 i18n
⚠️ Breaking
- 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.parentsince 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-utilsa429079 - add
data-sanityfor 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
6.4.0
🔌 Official Plugin for Studio Configuration ✨
npm install sanity-plugin-sanitypressFrontend
- add stegaClean to Icon component 4f3486b
- add loading in search module [fixes #60] c4e3274
- add
::details-contentanimation a27f809
Studio
- add
sanity-plugin-sanitypressplugin 5d6483c- the following have been moved from the SanityPress codebase into the plugin:
config.schema.templatesconfig.document.actionsconfig.icon- SanityPress InfoWidget
- expect to see more code to be moved into this new plugin in the future!
- the following have been moved from the SanityPress codebase into the plugin:
- add
parentfield (array of reference to other Pages) to the Page document as an array [fixes #61] a9c166c- used for nesting
- using forward slashes ("/") in the slug field is still available as a method for nesting
- add resolveSlug for ctas 8d7d7fa
- update studio icons 0864afe
- add layoutMobile for Testimonial-list module 56fc709
- update
verticalAlignmentandtextAlignfields to use TextInputWithPresets 646f9813fdb8c66a76f53429ded9f66bebf07325
Full Changelog: 6.3.0...6.4.0
6.3.0
Making way for "Assets"
image / imageMobile / bgImage fields are now placed by Assets, which contain sub modules like img (more to come 👀). The new img object has sub fields for adding responsive images with the new TextInputWithPresets custom component.
image and related fields.
Frontend
- fix image size in creative module by @louisguitton in #57
- updated error messages (#52, #53) 7c95655 8c604fe
- default website color adjustments 11d1b85
- add author filtering for blog posts c87d0f9
- add exclude paths for Global modules 6eb5d97 17f5f22
- adjust pricing-list HTML 93d89d5
- add fix for apply hover states on mobile "tap" fbce6cc
- add github avatar override with Sanity values 06d2fd5
- update Draft mode controls button 79690f7
- refactor Img default export 7017e77
- use assets for image in hero modules 40171db
Studio
- change Global-module
.modulesfield to.beforeand.afterb719012 - reorganize miscellaneous schema 1b7789c
- add document location resolvers f85cf8d
- fix version number in InfoWidget 3e5c608
- add source to testimonials e56e95b
Other
New Contributors
- @louisguitton made their first contribution in #57
Full Changelog: 6.2.0...6.3.0
6.2.0
🆕 Global Modules & Autogenerated OG Images
⚠️ Breaking
blog/*routes now use a Global module document with the pathblog/*, instead of a Page document
Frontend
- autogenerate Open Graph images based on
metadata.titlefor all pages 097e9c3- e.g. https://sanitypress.dev/api/og?title=SanityPress%20-%20Customizable%20Next.js%20Sanity%20Starter%20Template
- can be overwritten with
metadata.image
- add Google search link for search-module 5920e88
- add path scope to search-module a413516
Studio
- added Global-modules document to add common modules under the defined path 822a691
- add OG image previewer in the Metadata schema 097e9c3

Other
- Updated the demo dataset export to include a Global module with the path
blog/*1b03d0d
Full Changelog: 6.1.0...6.2.0
6.1.0
General
- rename queries to capital case (to closely resemble official Sanity examples) 324eb65
Frontend
- update Img and Source to use next/image 3ba568c
- add light syntax for code in Hero (SaaS) module cdaafad
- add copied state to ClickToCopy component 4174d73
- add revalidation to getRepoData 82f5757
- use cached fetch, escape HTML for rss.xml d11a5af
Studio
- reorganize Site document, add tagline (blurb below the logo in the footer) 684e9b3
- update Studio icon to use favicon, update Info Widget cdaafad
- add character count to metadata 7e33a60
Full Changelog: 6.0.0...6.1.0
6.0.0
🪁 Tailwind v4
General
- Update Tailwind from v3 to v4 3e74358
- Read more on the official Tailwind blog post
Frontend
- redesigned Built-in Modules page
Studio
- add Person list module ef65d58
Full Changelog: 5.6.0...6.0.0
5.6.0
🆕 Install Command & VSCode Snippets ⌨️
General
- new install command! 092b221
npm create sanity@latest -- --template nuotsu/sanitypress- added VSCode snippets for rapid development 0e24f8bbf85e7a8ee5f5d36654830e776d01bfe5
Frontend
- use paragraph (¶) icon for richtext anchored headings d0183b8
- add code-block to Hero (SaaS) module 17cef1f 05e2523
- only show line numbers when 2 or more lines 32ea03d
- add pretitle to Search module 31269b1
- custom HTML without
<script>as server components 3f24bc7 - style adjustments for any
<video>tags in richtext df4a632
Studio
Full Changelog: 5.5.0...5.6.0

