Skip to content

Commit

Permalink
Release: Vest 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ealush committed Jan 8, 2021
1 parent 2f948fc commit 42f587a
Show file tree
Hide file tree
Showing 4 changed files with 90 additions and 3 deletions.
79 changes: 78 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,83 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## vest: [3.0.0] - 2021-01-08

### Changed or removed

- 3d47fb1 breaking: remove vest.draft() (#474) (Evyatar)}
- 0ef8ec8 breaking: remove validate (ealush)}
- 00a5aba breaking: remove global state reference (ealush)}

### Added

- b8746f9 feat: suite.remove (ealush)}
- 4dd6a30 feat: test.each (#541) (Alex Kaplan)}
- 4c81bc0 added: enforce.loose for loose shape enforcement style #492 (#505) (Alex Kaplan)}
- 8e3386b Added: Chaining support in lazy enforcement (#495) (Evyatar)}

### Fixed and improved

- ede4587 test: add tests for VestTest.cancel (ealush)}
- f3bb418 patch: optionalFunctionValue utility (ealush)}
- 81f3a4d fix: retain lagging list after reset (ealush)}
- 61d6258 tests: improve rule test fixture (ealush)}
- 8d0b087 tests: runLazyRule (ealush)}
- 0006059 patch: reduce transpiled bundle size (#522) (Evyatar)}
- 52691b0 patch: update dev mode errors (ealush)}
- c3949bd patch: improve enforcement performance on legacy browsers (#507) (Evyatar)}
- 3083ba4 patch: use rules for internal comparisons (ealush)}
- 26d6bed patch: move anyone package inside (#502) (Evyatar)}
- 56b195d patch: use isPromise utility (#501) (Evyatar)}
- eb43009 patch: use enforce rules for internal evaluations (ealush)}
- b8c8b6c patch: move severity profile logic out (#496) (Evyatar)}
- 458bccd readme: add a discord invite link (Evyatar)}
- c3e4449 patch: sort out organize deps (ealush)}
- 797fe4e patch: reduce built size (#465) (Evyatar)}
- 92924df fix: use proxy with ensure (ealush)}
- 1d6955d patch: simplify conditions (ealush)}
- c6b36f2 patch: remove state init symbol (ealush)}
- 4dd0132 patch: Move state modules to the same directory (ealush)}
- 65a7468 patch: Remove state history (ealush)}
- 699b293 use context.bind (ealush)}
- b080130 patch: rewrite state module (ealush)}
- e5eac8f patch: remove context around async test (ealush)}
- 9de029c patch: simplify cache (ealush)}
- 1474825 test: remove runSpec module (ealush)}
- 1a69910 types: isUndefined rule (ealush)}
- b20aa66 patch: regorganize Context and Suite State (#413) (Evyatar)}
- ca5dda1 fix: README typos (#392) (baahrens)}

## n4s: [3.0.0] - 2021-01-08

### Changed or removed

- bbe0159 breaking: Remove ensure export as it is now replaced by the lazy enforce interface (#497) (Evyatar)}

### Added

- 2f948fc feat: deeply nested schema result (#555) (Evyatar)}
- c2ea710 added: allOf compound rule (#533) (Moses3301)}
- db7f6f4 added: oneOf compound (#526) (hpsharon)}
- 54e500f feature: templates (#509) (Evyatar)}
- c0053f2 added: anyOf for either/or style enforcements #269 (#493) (Alex Kaplan)}
- 670887d added: isArrayOf rule #488 (#499) (Moses3301)}
- 7df6371 added: rule: isBoolean (#494) (Evyatar)}
- f3ff232 minor: Add shape validator (#491) (Evyatar)}
- 3e33fa8 added: lazy evaluated enforcements (#479) (Evyatar)}
- a54e455 added: isNegative & isPositive (#433) (Ganesh Patil)}
- eecb59a feat: rule isBetween and isNotBetween (#419) (Daniel Hermon)}
- 17f74e1 added: startsWith rule (#414) (Daniel Hermon)}
- d77d569 added: endsWith and doesNotEndWith rules (#409) (Daniel Hermon)}
- a424282 added: `isNull` rule. (#404) (omri lugasi)}
- a13e860 added: isUndefined rule(#410) (omri lugasi)}

### Fixed and improved

- 4059180 patch: inverse arg control for more correct lazy rule flow (#500) (Evyatar)}
- cbee269 patch: Use own modules (#476) (Evyatar)}
- 98bd1d1 patch: bindNot for rules (ealush)}

## vest: [2.2.3] - 2020-09-16

### Fixed and improved
Expand All @@ -22,7 +99,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
### Fixed and improved

- c1846d1 types: add vest.reset and vest.get types (#333) (ealush)
- 1985f28 build: Add __dev__ global to the development build (#366) (gaweki)
- 1985f28 build: Add **dev** global to the development build (#366) (gaweki)
- a694c68 patch: Create a "suite" core folder (#351) (NorbertLuszkiewicz)
- dca5b3b FIX: rules do not exist on type 'EnforceExtendMap' (#377) (ealush)

Expand Down
2 changes: 1 addition & 1 deletion packages/n4s/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "n4s",
"version": "2.1.1",
"version": "3.0.0",
"description": "Enforce - Validation assertions library",
"main": "./n4s.js",
"browser": "./n4s.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/vest/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vest",
"version": "2.2.3",
"version": "3.0.0",
"description": "Declarative validations.",
"main": "./vest.js",
"browser": "./vest.js",
Expand Down
10 changes: 10 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4160,6 +4160,11 @@ multimatch@^4.0.0:
arrify "^2.0.1"
minimatch "^3.0.4"

n4s@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/n4s/-/n4s-2.1.1.tgz#eeb998855b2717bfc95f04739b241cfcd52fe8f9"
integrity sha512-1jjZ+ycDASS6G1oq1zBH982wxlnYG+4I3zghGOHDJjWADafY9SIfLEry4rNGjVAd8pqDeVyoB23JwjBOknNstA==

nanomatch@^1.2.9:
version "1.2.13"
resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.13.tgz#b87a8aa4fc0de8fe6be88895b38983ff265bd119"
Expand Down Expand Up @@ -5650,6 +5655,11 @@ verror@1.10.0:
core-util-is "1.0.2"
extsprintf "^1.2.0"

vest@^2.2.3:
version "2.2.3"
resolved "https://registry.yarnpkg.com/vest/-/vest-2.2.3.tgz#ff8a9bfc10d17b93b1b4e834da01fc6530634ac4"
integrity sha512-t1JMJFTmxHXbh+Y6gFc9iEKOfFehgura1Q7ASQearngKw/aCjgRfVHwP2bltzHCMhzsB+qMT5djh4EUMQy+JeQ==

vinyl-sourcemaps-apply@^0.2.0:
version "0.2.1"
resolved "https://registry.yarnpkg.com/vinyl-sourcemaps-apply/-/vinyl-sourcemaps-apply-0.2.1.tgz#ab6549d61d172c2b1b87be5c508d239c8ef87705"
Expand Down

0 comments on commit 42f587a

Please sign in to comment.