Skip to content

Releases: Novaly-Studios/TypeGuard

v6.0.0-alpha.1

07 Mar 04:28

Choose a tag to compare

Update version

v5.0.0

01 Aug 04:36

Choose a tag to compare

  • Removed unnecessary Thread constraints
  • Removed OfStructureStrict (redundant, call Strict() after OfStructure)
  • Removed script context tracking
  • Optimized core functions
  • Added OfChildType to Instance
  • Added ContainsValueOfType to Array
  • Added ContainsValueOfType to Object
  • Added ContainsKeyOfType to Object
  • Added MinSize to Object
  • Added MaxSize to Object

v4.0.0

14 Apr 05:13

Choose a tag to compare

  • Split up complex TypeCheckers into their own modules
  • Rename WrapAssert -> AsAssertion
  • Rename WrapCheck -> AsPredicate
  • Remove all lower case methods
  • Significant performance improvements (~10%+)

v3.3.1

06 Apr 23:47

Choose a tag to compare

  • Various performance improvements
  • Fixed an issue with Object TypeCheckers using Nil TypeCheckers
  • Added option to turn Params & Variadic calls on and off by library name for performance tweaking
  • Added direct variadic constraints (constraint args compiled into a list, which is passed to the constraint) - specifically for the convenience of String("X", "Y", "Z") which is now supported

v3.1.0

08 Nov 01:36

Choose a tag to compare

  • Added FromTemplate - recursively constructs TypeCheckers for all data passed
  • Fixed a bug related to caching nil values
  • More performance improvements on functions returned from Params calls

v3.0.1

26 Oct 18:18

Choose a tag to compare

  • Significant internal performance improvements

v3.0.0

18 Oct 22:02

Choose a tag to compare

Update doc

v2.4.2

17 Oct 01:03

Choose a tag to compare

  • Updated README documentation

v2.4.0

16 Oct 07:35

Choose a tag to compare

  • Apply one-time & multiple-time tag to each constraint: some constraints (like HasTag) can now be used more than once on a single checker

v2.3.0

09 Jul 13:29

Choose a tag to compare

  • Added Any TypeChecker - rejects any non-nil values
  • Added CheckAttributes to InstanceTypeChecker, deprecated previous CheckAttribute
  • Added HasAttributes to InstanceTypeChecker, deprecated previous HasAttribute
  • Added HasTags to InstanceTypeChecker, deprecated previous HasTag
  • Added extra assertion to OfClass