Skip to content

Releases: dwightjack/vue-types

V1.1.2

14 Jan 22:27
Compare
Choose a tag to compare

Patch Changes

V1.1.1

21 Dec 18:37
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • Updated build dependencies

v1.0.2

16 Aug 15:07
Compare
Choose a tag to compare

Changes

  • Use Rollup as build tools for smaller package size
  • Updated build dependencies
  • Added support for unpkg CDN distribution

v1.0.0

27 May 18:57
Compare
Choose a tag to compare

Major Release

Refer to #9 and #10 for insights on this release

Breaking Changes

def() and isRequired used to clone the type object they were called upon and set default or required on the clone. From version 1.0.0 they extend the object itself. A possible breaking scenario is when you used a common type to set multiple defaults:

// old
const string = VueTypes.string;
//...
props: {
    title: string.def('My Title'), //props.title.default === 'My Title'
    description: string //props.description.default === ''
}

// from 1.0.0
const string = VueTypes.string;
//...
props: {
    title: string.def('My Title'), //props.title.default === 'My Title'
    description: string //props.description.default === 'My Title' <-- watch out!
}

Minor Changes

v0.6.5

03 Apr 16:17
Compare
Choose a tag to compare

Bugfix release

v0.6.1

30 Mar 15:38
Compare
Choose a tag to compare

Bugfix Release

  • Fixes validator context (#5)

v0.6.0

27 Feb 16:12
Compare
Choose a tag to compare

Minor Changes

  • Added a new loose flag on shape check (#4)
  • More meaningful warnings of check failure (#2)