All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Changed
sanitySchema
to not include a field by default. Instead, users can usesanityFld
,sanityArrFld
and other to create their own fields when they're done with the basic properties of a new schema. - Added a select box to
sanityFld
's type property to make it easier and faster to build with default types, as suggested by Surjith.
Why v1? Well, people have been using this plugin for a while and it's battle-tested enough. Also, this version introduces the first "breaking" change, so there we go!
- New
sanityListArray
snippet for adding a list of values to a string/number/array field - Changed
sanitySchema
default type todocument
as proposed by Simeon Griggs - Automatic casing/formatting of name/title pairs as proposed by Alejandro Rojas
- New snippets by Arjen
sanityPreviewSelect
sanityPreviewSelectPrepare
sanitySelect
sanityPrepare
;- and
sanityObjFld
- Typo in the
sanityCollapse
snippet - Jayne Mast
- Initial release with a small set of snippets 🎉