diff --git a/CHANGELOG.md b/CHANGELOG.md deleted file mode 100644 index 3e52f38a8..000000000 --- a/CHANGELOG.md +++ /dev/null @@ -1,282 +0,0 @@ -# Changelog - -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.2.8] - 2021-11-02 - -### Fixed and improved - -- 9555d1b types: Add types for skipWhen (ealush) - -## vest: [3.2.7] - 2021-10-16 - -### Fixed and improved - -- c2964e0 patch: add skipWhen for forward compatibility (ealush) - -## n4s: [3.1.0] - 2021-10-09 - -### Added - -- 5adc337 feat: add isBlank rule (Luca Pizzini) - -## vest: [3.2.6] - 2021-10-09 - -### Fixed and improved - -- e538e5b patch: remove incorrect messaging from group initialization error (ealush) - -## vest: [3.2.5] - 2021-07-31 - -### Fixed and improved - -- 3bb7f76 patch: Fix crashing of setFnName in IE11 (#671) (Václav Jančařík) - -## vest: [3.2.4] - 2021-07-19 - -### Fixed and improved - -- ba6c296 patch: remove unused optional references from the state (ealush) - -## vest: [3.2.3] - 2021-05-27 - -### Fixed and improved - -- c02f22f patch: use context only as dev dep (ealush) - -## vest: [3.2.2] - 2021-05-17 - -### Fixed and improved - -- 70bd8fd fix: remove buggy conditional skip implementation (ealush) - -## vest: [3.2.0] - 2021-05-14 - -### Added - -- e3b42c6 minor: account for async tests in isValid function (ealush) -- 60099b3 feat: add support for optional tests and "isValid" (#612) (Evyatar) -- 32b1d05 feat: add state subscription (#606) (Ronen Elster) -- 0bb9347 minor: add skipped tests to result as well (#600) (Evyatar) - -### Fixed and improved - -- 339fe45 patch: shave off a few bytes (ealush) -- 73f2e35 patch: use fieldCallbacks as an object (ealush) -- 94dd7a5 patch: simplify produce function generation (ealush) -- d53d56d patch: prevent skipped tests from persisting after override (ealush) -- c0180d1 patch: upgrade context package (ealush) -- 5791fef patch: use vast state library (ealush) -- a5aa3f1 patch: make state independent of context (#609) (Evyatar) -- 72b3e40 patch: remove package-lock.json (ealush) -- 74cb2d6 patch: add "remove" type, fix typo (#578) (Yakko Majuri) - -## vest: [3.1.2] - 2021-01-30 - -### Fixed and improved - -- d6cce23 types: fix schema types (ealush) -- 6471856 declare schema (ealush) -- 177f519 patch: support exports with and without extension (ealush) - -## vest: [3.1.1] - 2021-01-21 - -### Fixed and improved - -- d566a32 types: fix promisify types (#563) (Evyatar) - -## vest: [3.1.0] - 2021-01-21 - -### Added - -- 8458837 minor: support schema skip and only (#557) (Evyatar) -- 0cf5615 minor: support custom message in test (#560) (Evyatar) - -## vest: [3.0.2] - 2021-01-20 - -### Fixed and improved - -- 736001f fix: custom enforce rules typings (ealush) - -## 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 - -- 870dd86 fix: notEquals typings (ealush) -- d7db9c3 patch: extract business logic out of context module (#382) (ealush) -- 765dea2 fix: get/reset suite typings (gaspoute) - -## vest: [2.2.0] - 2020-09-08 - -### Added - -- 9e96ca6 FEAT: get and reset as properties of createSuite result (#330) (vligas) -- b633f09 FEAT: use Jest assertion return api (#349) (vligas) - -### 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) -- a694c68 patch: Create a "suite" core folder (#351) (NorbertLuszkiewicz) -- dca5b3b FIX: rules do not exist on type 'EnforceExtendMap' (#377) (ealush) - -## vest: [2.1.0] - 2020-08-09 - -### Added - -- d1ce227 minor: add vest.skip.group and vest.only.group (#225) (ealush) -- 19e592e added: test.memo for memoized tests (#238) (ealush) -- e6cccc9 added: returned function name is the name of the suite (ealush) -- f9f1d39 added: promisify utility (#261) (adife) - -### Fixed and improved - -- ba6ca3d fix: make vest.reset restore initial state (#235) (ealush) -- a657058 patch: cache validation result for improved runtime performance (#237) (ealush) -- 96210af Skip cache when resolving done results (#240) (ealush) -- c2beec9 fix: edge case when calling done after delay (#252) (ealush) -- 2582c43 types: group and skip types (#258) (ealush) -- a215c43 patch: return enforce from extend api (ealush) -- bb6cc1d fix: added safeguard to async test inference (#266) (ealush) -- ff5608f Update README.md (ealush) -- 553c8fe patch: Move exclusion to context (#274) (ealush) -- 4f24697 patch: Replace global object with closures (#275) (ealush) -- a3bc606 patch: clean runAsyncTest done callback (ealush) -- 4d3b583 Update README.md (ealush) -- 32ea43f Use latest branch (ealush) -- 51e7aa2 patch: Skip iteration of pending tests (#294) (ealush) - -## n4s: [2.1.0] - 2020-08-09 - -### Added - -- 062c40a added: add isNaN rule (#300) (ealush) - -## vest: [2.0.0] - 2020-06-20 - -### Changed or removed - -- 7872203 major: stateful validations (#148) (ealush) -- 0b41ac6 breaking: throwError actually throws (#149) (ealush) - -### Added - -- f7ae45b minor: vest.reset() (#150) (ealush) -- c4e827c feat: Separate vest.create from its result function by making validate accept arguments (#151) (ealush) -- cf19610 feat: add valid class to classNames utility (ealush) -- d65ac73 added: test grouping support (#174) (ealush) -- 492e651 added: utility - classNames (#200) (ealush) -- c7a384f added: hook vest.get (#202) (ealush) - -### Fixed and improved - -- b9ebf1e patch: remove canceled tests from canceled state (#152) (ealush) -- d22f529 patch: validateSuiteParams module (ealush) -- 07bcb51 patch: nested context support (#157) (ealush) -- ed58c37 test: add dummy test helper (#163) (ealush) -- 2dd93ae patch: add error handling to runWithContext (#164) (ealush) -- 2fcaeda patch: remove global counters from "live" state. (#176) (ealush) -- 72decaf patch: consolidate state into a single source of truth (ealush) -- ce5edda lint: Add lint rules (ealush) -- cff3dbc test: isGroupExcluded (ealush) -- febca2e patch: simplify singleton (#188) (ealush) -- 6c9a18f patch: Move anyone/any to its own bundle (ealush) -- 8e5add2 update jsdoc (ealush) -- bd67de2 patch: stringify rollup-plugin-replace values (ealush) -- c2eddc9 spec: Improve async tests specs (ealush) - -## n4s: [2.0.0] - 2020-06-20 - -### Changed or removed - -- 146d31b breaking: add "extend" interface (#189) (ealush) - -## vest: [1.0.10] - 2020-05-07 - -### Added - -- 3c17e85 added: runWithContext interface (ealush) - -### Fixed and improved - -- 1d1871b fix: use default values when field not found in output methods (ealush) -- 89aaeff fix: Temporarily remove ts typings (ealush) diff --git a/packages/anyone/CHANGELOG.md b/packages/anyone/CHANGELOG.md index afb6a4cd3..c52120dbd 100644 --- a/packages/anyone/CHANGELOG.md +++ b/packages/anyone/CHANGELOG.md @@ -4,6 +4,10 @@ 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). +## 2.0.0 - 2021-12-24 + +- Use named exports + ## 0.1.21 - 2021-07-02 ### Fixed and improved diff --git a/packages/anyone/package.json b/packages/anyone/package.json index 754a2c84a..da28f72d1 100644 --- a/packages/anyone/package.json +++ b/packages/anyone/package.json @@ -3,7 +3,7 @@ "license": "MIT", "main": "./dist/cjs/anyone.js", "types": "./types/anyone.d.ts", - "version": "1.0.0", + "version": "1.0.1", "author": "ealush", "scripts": { "test": "vx test", diff --git a/packages/context/CHANGELOG.md b/packages/context/CHANGELOG.md index 753ba8e33..9807fd830 100644 --- a/packages/context/CHANGELOG.md +++ b/packages/context/CHANGELOG.md @@ -4,6 +4,10 @@ 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). +## 2.0.0 2021-12-24 + +- 7c43eab major(context): use named export in context (ealush) + ## 1.1.16 - 2021-07-02 ### Fixed and improved diff --git a/packages/context/package.json b/packages/context/package.json index 02553b453..dc2fda07d 100644 --- a/packages/context/package.json +++ b/packages/context/package.json @@ -1,5 +1,5 @@ { - "version": "1.2.0", + "version": "2.0.0", "license": "MIT", "main": "./dist/cjs/context.js", "types": "./types/context.d.ts", diff --git a/packages/n4s/CHANGELOG.md b/packages/n4s/CHANGELOG.md index 9e97e11aa..da69181c6 100644 --- a/packages/n4s/CHANGELOG.md +++ b/packages/n4s/CHANGELOG.md @@ -4,6 +4,23 @@ 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). +## 4.0.0 2021-12-24 + +- 7daf6d2 rule(n4s): add isNullish rule, improve isBlank (ealush) +- ddceca7 patch(n4s): improve partial support (ealush) +- 0370fc1 n4s: extract non-required modules (ealush) +- 7baedf2 n4s: use named export in entry (ealush) +- 780c5b7 types(n4s): Allow adding types for custom matchers (ealush) +- 149aab3 add(n4s): enforce.condition (ealush) +- d786b34 fix(n4s): make sure oneOf correctly validates single case (ealush) +- 49e601a feat(n4s): enforce.compose (ealush) +- 1dddaf4 patch(n4s): improve types for rule chaining (undefined) +- b5ce72d feat(n4s): context propagation within enforce (undefined) +- 32fe8a5 feat(n4s): add shape and loose validations (undefined) +- 39b92f1 patch: enable enforce in es5 environments (undefined) +- 75306ff fix(n4s): make enforce compound runners fall back to correct response (ealush) +- 4751584 fix(n4s): make enforce chaining work (ealush) + ## 3.1.0 - 2021-08-06 ### Added diff --git a/packages/n4s/package.json b/packages/n4s/package.json index c049b38f4..f04b55b6b 100644 --- a/packages/n4s/package.json +++ b/packages/n4s/package.json @@ -1,5 +1,5 @@ { - "version": "3.1.0", + "version": "4.0.0", "license": "MIT", "main": "./dist/cjs/n4s.js", "types": "./types/n4s.d.ts", diff --git a/packages/vast/CHANGELOG.md b/packages/vast/CHANGELOG.md index cee2b2c22..8a2a935c6 100644 --- a/packages/vast/CHANGELOG.md +++ b/packages/vast/CHANGELOG.md @@ -4,6 +4,10 @@ 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). +## 2.0.0 - 2021-12-24 + +- Use named exports + ## 1.0.11 - 2021-07-02 ### Fixed and improved diff --git a/packages/vast/package.json b/packages/vast/package.json index 9d5cd64c3..10115211a 100644 --- a/packages/vast/package.json +++ b/packages/vast/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "main": "./dist/cjs/vast.js", "types": "./types/vast.d.ts", diff --git a/packages/vest/package.json b/packages/vest/package.json index 05c173c69..87b2522d0 100644 --- a/packages/vest/package.json +++ b/packages/vest/package.json @@ -1,5 +1,5 @@ { - "version": "3.3.0", + "version": "4.0.0", "license": "MIT", "name": "vest", "author": "ealush", diff --git a/vx/commands/release.js b/vx/commands/release.js index 162a02120..6284d5dfc 100644 --- a/vx/commands/release.js +++ b/vx/commands/release.js @@ -1,4 +1,4 @@ -// const pushToLatestBranch = require('../scripts/release/steps/pushToLatestBranch'); +const pushToLatestBranch = require('../scripts/release/steps/pushToLatestBranch'); const logger = require('vx/logger'); const packagesToRelease = require('vx/scripts/release/packagesToRelease'); @@ -31,9 +31,8 @@ async function releaseAll() { if (!isReleaseBranch) { logger.info(`❌ Not in release branch. Not pushing changes to git.`); - // return; + return; } - // TODO: add this back after the major release. First I want to handle the changelog manually. - // pushToLatestBranch(); + pushToLatestBranch(); } diff --git a/vx/scripts/release/releasePackage.js b/vx/scripts/release/releasePackage.js index 984af5ed9..599f901d2 100644 --- a/vx/scripts/release/releasePackage.js +++ b/vx/scripts/release/releasePackage.js @@ -3,7 +3,7 @@ const genDiffData = require('./genDiffData'); const getDiff = require('./github/getDiff'); const publishPackage = require('./steps/publishPackage'); const setNextVersion = require('./steps/setNextVersion'); -const updateChangelog = require('./steps/updateChangelog'); +// const updateChangelog = require('./steps/updateChangelog'); const updateLocalDepsToLatest = require('./steps/updateLocalDepsToLatest'); const logger = require('vx/logger'); @@ -36,7 +36,7 @@ function releasePackage() { // to the repo as well. Need to revisit this. // build(); - updateChangelog(diffData); + // updateChangelog(diffData); publishPackage(diffData); }