Skip to content

Releases: TomokiMiyauci/abstruct

1.0.0

02 Jun 13:57
Compare
Choose a tag to compare

1.0.0 (2023-06-02)

Bug Fixes

  • inequality: remove wrong generics type (b27518e)
  • nullish: fix to wrong logic (014737e)
  • utils: fix to proxy logic (cbc38ef)
  • validators: change to pass property key as is (e09287d)

Features

  • add default error message (d6926b2)
  • add readonly signature (b477323)
  • and: implement reporter interface to logical AND validator (e3c6e52)
  • and: improve represenation (92fa79f)
  • and: improve type inference of and function (aaf2a35)
  • and: improve type inference of And validator (85e34b5)
  • bindings: rename to add prefix of prop (ec6a956)
  • bindings: rename to props from object (feb1f7b)
  • change validator interface and change validators (4734796)
  • count: improve display format (83e9bbf)
  • deps: replace escape regex module (95ded0e)
  • deps: update deps version (70c12da)
  • deps: use npm specifier instead of esm.sh (256a4d3)
  • dictionary: add validator for dictionary (b231f30)
  • element: add validator for element (bdde405)
  • empty: add validator for empty (fd4dd0b)
  • enum: add validator for enumerate (12bde9a)
  • export validator instance (e9f7adc)
  • factories: rename factory to enumerator from enumerate (08eb036)
  • fixed_array: add validator for fixed array aka tuple (e7704a7)
  • float: add validator for float (a66e0ba)
  • gte: add validator for greater than or equal operator (629919b)
  • has: add validator equivalent to in operator (ef1313e)
  • inequality: add validator for inequality operator (caee113)
  • instance: add validator for instance (9c5309a)
  • instanceof: improve type infer (6678943)
  • integer: add validator for integer (62ea00a)
  • key: rename property key to key (dcc3d4d)
  • lte: add validator for less than or equal operator (cb247f8)
  • max_count: add validator for maximum count of item (dbbe7ea)
  • min_count: add validator for minimum count of item (9304fac)
  • mod: add validator for signed and unsigned integer (1c3b569)
  • mod: export all validators (e3f1106)
  • mod: export enume validator (596f790)
  • mod: export public modules (57a5289)
  • mod: export related types (e61e888)
  • mod: export releated types (0f23f58)
  • mod: export typeof validator constructor and related types (1861650)
  • mod: export types (e8eefad)
  • mod: export validator for single item (2c36e86)
  • mod: export validator for symbol type (415ac1a)
  • mod: export validator utilities (5e1e137)
  • mod: omit Reporter impl (067b328)
  • mod: remove prototype validator (26b5f6c)
  • negative_number: add validator for negative number (3426c99)
  • never: add validator for never (f44ff99)
  • non_empty: add validator for non empty (ac30ed5)
  • not: add validator for logical not operator (65b97bf)
  • nullish: add validator for nullish (47bf837)
  • numeric: improve acceptable type to expand bigint (62b0245)
  • object: add validator for object (d2978df)
  • operators: add and operator (9d0b8e3)
  • optional: add validator for optional object (9ce9e84)
  • optional: change generics constraints (440f304)
  • or: add passing max length of instance path (f57e4a6)
  • or: add validator for logical or operator (63d8d2f)
  • pattern: add validator for regex pattern (59b72d3)
  • positive_number: add validator for positive number (88ab3f5)
  • positive_number: expand to accept bigint (4f6ed2d)
  • properties: change generics constraints (dbe064f)
  • properties: rename to properties validator from object validator (9ae301d)
  • property_key: rename PropertyValidator to PropertyKeyValidator (ad06940)
  • property_key: rename validator to property key from key (db65b8e)
  • property_value:...
Read more

1.0.0-beta.12

02 Jun 13:47
Compare
Choose a tag to compare
1.0.0-beta.12 Pre-release
Pre-release

1.0.0-beta.12 (2023-06-02)

Features

  • validation: add flag for path information (430fd90)
  • validation: add root name option for path info (1fbd4d2)

1.0.0-beta.11

02 Jun 07:50
Compare
Choose a tag to compare
1.0.0-beta.11 Pre-release
Pre-release

1.0.0-beta.11 (2023-06-02)

Features

  • bindings: rename to props from object (feb1f7b)
  • optional: change generics constraints (440f304)
  • properties: change generics constraints (dbe064f)
  • types: remove struct constructor (bd40790)

1.0.0-beta.10

02 Jun 02:52
Compare
Choose a tag to compare
1.0.0-beta.10 Pre-release
Pre-release

1.0.0-beta.10 (2023-06-02)

Features

  • bindings: rename to add prefix of prop (ec6a956)
  • deps: replace escape regex module (95ded0e)
  • mod: export all validators (e3f1106)
  • properties: rename to properties validator from object validator (9ae301d)
  • property_key: rename validator to property key from key (db65b8e)
  • property_value: rename validator to property value from value (35b0bec)

1.0.0-beta.9

01 Jun 17:49
Compare
Choose a tag to compare
1.0.0-beta.9 Pre-release
Pre-release

1.0.0-beta.9 (2023-06-01)

Features

  • add readonly signature (b477323)
  • deps: use npm specifier instead of esm.sh (256a4d3)
  • types: remove unused types (64a56bf)
  • types: rename to Expectation (747dbf6)

1.0.0-beta.8

01 Jun 09:10
Compare
Choose a tag to compare
1.0.0-beta.8 Pre-release
Pre-release

1.0.0-beta.8 (2023-06-01)

Features

  • deps: update deps version (70c12da)
  • mod: export validator utilities (5e1e137)
  • mod: omit Reporter impl (067b328)
  • utils: add helper for validator definition (2c907d4)
  • utils: add utility for define validator (dd966ce)

1.0.0-beta.7

31 May 05:24
Compare
Choose a tag to compare
1.0.0-beta.7 Pre-release
Pre-release

1.0.0-beta.7 (2023-05-31)

Bug Fixes

  • validators: change to pass property key as is (e09287d)

Features

  • range: change throwing error condition (7132e94)
  • types: expand instancePath types (b855eeb)
  • validation: change default assert strategy (09b8aae)
  • validation: rename field to maxFailures (228bdf4)
  • validation: rename interface for assert (b37a448)

1.0.0-beta.6

29 May 17:39
Compare
Choose a tag to compare
1.0.0-beta.6 Pre-release
Pre-release

1.0.0-beta.6 (2023-05-29)

Features

  • factories: rename factory to enumerator from enumerate (08eb036)
  • has: add validator equivalent to in operator (ef1313e)
  • mod: remove prototype validator (26b5f6c)

1.0.0-beta.5

28 May 19:09
Compare
Choose a tag to compare
1.0.0-beta.5 Pre-release
Pre-release

1.0.0-beta.5 (2023-05-28)

Bug Fixes

  • inequality: remove wrong generics type (b27518e)

Features

  • mod: export releated types (0f23f58)
  • mod: export typeof validator constructor and related types (1861650)
  • numeric: improve acceptable type to expand bigint (62b0245)
  • positive_number: expand to accept bigint (4f6ed2d)
  • utils: improve print data format (6e3470d)
  • validation: change assert options interface (5c15def)

1.0.0-beta.4

27 May 08:58
Compare
Choose a tag to compare
1.0.0-beta.4 Pre-release
Pre-release

1.0.0-beta.4 (2023-05-27)

Features

  • and: improve type inference of and function (aaf2a35)
  • and: improve type inference of And validator (85e34b5)
  • float: add validator for float (a66e0ba)
  • validation: improve return type to tuple (a10094e)
  • validation: improve to accept a wider range of types (0c004f5)
  • validation: remove captureStackTrace field (3114bb5)
  • validation: rename interface name (dca6895)