Skip to content

Releases: nuotsu/sanitypress

v7.2.0

22 Sep 17:19

Choose a tag to compare

General

Frontend

  • None

Studio

  • None

Full Changelog: 7.1.1...7.2.0

v7.1.0

27 Mar 14:55

Choose a tag to compare

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)
    Screenshot 2025-03-12 at 3 05 41 PM
  • 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.tagline to site.blurb c1a44a3

Full Changelog: 7.0.0...7.1.1

v7.0.0

06 Mar 03:04

Choose a tag to compare

🌐 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.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

6.4.0

21 Feb 05:12

Choose a tag to compare

🔌 Official Plugin for Studio Configuration ✨

npm install sanity-plugin-sanitypress

Frontend

  • add stegaClean to Icon component 4f3486b
  • add loading in search module [fixes #60] c4e3274
  • add ::details-content animation a27f809

Studio

  • add sanity-plugin-sanitypress plugin 5d6483c
    • the following have been moved from the SanityPress codebase into the plugin:
      • config.schema.templates
      • config.document.actions
      • config.icon
      • SanityPress InfoWidget
    • expect to see more code to be moved into this new plugin in the future!
  • add parent field (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 verticalAlignment and textAlign fields to use TextInputWithPresets 646f9813fdb8c66a76f53429ded9f66bebf07325
    • add icon option for preset values
    • Screenshot 2025-02-20 at 6 53 04 PM

Full Changelog: 6.3.0...6.4.0

6.3.0

15 Feb 08:01

Choose a tag to compare

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.

Screenshot 2025-02-14 at 5 18 50 PM

⚠️ Unfortunately, this is a breaking change for prior versions, where Hero / Hero (Split) / Hero (SaaS) modules still use the image and related fields.

Frontend

Studio

  • change Global-module .modules field to .before and .after b719012
  • reorganize miscellaneous schema 1b7789c
  • add document location resolvers f85cf8d
  • fix version number in InfoWidget 3e5c608
  • add source to testimonials e56e95b

Other


New Contributors

Full Changelog: 6.2.0...6.3.0

6.2.0

08 Feb 23:08

Choose a tag to compare

🆕 Global Modules & Autogenerated OG Images

⚠️ Breaking

  • blog/* routes now use a Global module document with the path blog/*, instead of a Page document

Frontend

Studio

  • added Global-modules document to add common modules under the defined path 822a691
  • add OG image previewer in the Metadata schema 097e9c3
    Screenshot 2025-02-05 at 3 31 09 PM

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

04 Feb 03:17

Choose a tag to compare

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

23 Jan 07:12

Choose a tag to compare

🪁 Tailwind v4

General

Frontend

Studio


Full Changelog: 5.6.0...6.0.0

5.6.0

20 Jan 01:35

Choose a tag to compare

🆕 Install Command & VSCode Snippets ⌨️

General

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

  • change Stat list subValue to prefix and suffix b14cc2f
  • update Info Widget 924bc5f

Full Changelog: 5.5.0...5.6.0

5.5.0

10 Jan 03:28

Choose a tag to compare

🆕 Module Options 🎛️

Frontend

  • add isLink option to blog categories cc48973
  • use next/image for reputation avatars 5455d7b
  • add forks option for reputation 3b28cdd
  • add module options with uid and hidden options 7cd4b70

Full Changelog: 5.4.0...5.5.0