Skip to content

Releases: jsaari97/netlify-ts

v2.0.0

16 Oct 13:54
Compare
Choose a tag to compare

Breaking changes

  • BREAKING: Drop support for Node 12
  • BREAKING: Remove createNetlifyTypes and createNetlifyTypesAsync named imports
  • BREAKING: Replace createNetlifyTypes as the default import

Features 🚀

  • BREAKING: Non-alphanumeric characters are now considered delimiters. – thanks @gewfy! (#11)
  • Image and File widgets now resolve to string[] if the CMS configuration supports it. (#9)
  • Documentation has been updated 📑

Internal 🏠

  • Updated project dependencies

v1.5.0

12 Oct 07:34
Compare
Choose a tag to compare

Features 🚀

  • Added delimiter option for defining custom delimiters for type names. – thanks @gewfy! (#10)
  • File widget now resolves to type string – thanks @swemail! (#8)

v1.4.0

10 Oct 09:17
Compare
Choose a tag to compare

Features 🚀

  • Added capitalize option for capitalizing type names. For example names general_posts and kitchenSink_list become General_Posts and KitchenSink_List – thanks again @gewfy! (#7)

v1.3.0

09 Oct 17:13
Compare
Choose a tag to compare

Features 🚀

  • createNetlifyTypes and createNetlifyTypesAsync now also accept a Netlify CMS config object as an argument – thanks @gewfy! (#6)

v1.2.2

07 Aug 14:02
Compare
Choose a tag to compare

Bugfixes 🐛

  • Fixes bug where CLI ignores the optional custom output path argument (#5)

Internal 🏠

  • Updates project development dependencies

v1.2.1

16 Jul 13:44
Compare
Choose a tag to compare

Bugfixes 🐛

  • Fixes bugs related to using typed lists along with the label option (#4)

Internal 🏠

  • Updates project dependencies

v1.2.0

24 Oct 13:45
Compare
Choose a tag to compare

Features 🚀

  • Add optional label option
    • uses netlify-cms label_singular or label as interface names and name as fallback

Internal 🏠

  • Updates project dependencies

v1.1.0

24 Sep 21:28
Compare
Choose a tag to compare

Features 🚀

  • Add createNetlifyTypes and createNetlifyTypesAsync exports

Internal 🏠

  • Updates project dependencies

v1.0.0

11 Jul 16:21
Compare
Choose a tag to compare

Breaking changes

  • Drop support for Node 10

Features 🚀

  • Relation: add support for relation fields! 📑
  • Linters now ignore the outputted netlify-types.ts file.

Bugfixes 🐛

  • Fields with name body are now omitted. (Netlify CMS reserved keyword)

Internal 🏠

  • Updates project dependencies

v0.5.1

03 Jan 20:25
Compare
Choose a tag to compare

Internal 🏠

  • Migrate js-yaml to version ^4.