Skip to content

Releases: nuotsu/sanitypress

6.4.0

21 Feb 05:12
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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
Compare
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

5.4.0

13 Dec 03:26
Compare
Choose a tag to compare

🆕 Search module

Studio

  • add Search module (with the option to search against pages, blog posts, for all/both)

⚠️ Breaking

  • update types to interface 3788b95
  • rename sanity/schemas to sanity/schemaTypes 8983536

Full Changelog: 5.3.0...5.4.0

5.3.0

05 Dec 23:53
Compare
Choose a tag to compare

⚛️ React 19

General

Frontend

  • add role attributes 161da84
  • use fetchSanity (non-live) method for content that doesn't necessary have to be updated live (save bandwidth and ISR usage) 3c463bf
  • update Tabbed content module style 0408073
  • add Suspense fallback and skeleton option for PostPreview 3fa3c3e
  • refactor usePagination hook e760ad2

Studio

  • add <Scheduler> component and Schedule module 7fa455c

Full Changelog: 5.2.0...5.3.0

5.2.0

24 Nov 22:42
Compare
Choose a tag to compare

General

Frontend

  • use nuqs for blog list state management 533a45e
  • use nuqs for pagination state management ce432ee
  • increase heading font sizes 323fa8c
  • fix reputation z-index 323fa8c
  • rename bordered option to visualSeparation and apply light background color 21bc573
  • miscellaneous style adjustments 777a398
  • use lighter ink and canvas colors 508ee0d

Studio

  • add slug field to blog.category 533a45e
  • update module thumbnails 0561fc0
  • update schema structure (move Navigation and Announcement documents) aa0d06f

Other

  • minor updates to the demo dataset b6df6c9

What's Changed

New Contributors


Full Changelog: 5.1.0...5.2.0