@codeparticle/formal
Version:
A <2kb library for validating data of any kind
142 lines (77 loc) • 6.3 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
### [2.0.1](https://github.com/codeparticle/formal/compare/v2.0.0...v2.0.1) (2022-04-13)
### Bug Fixes
* **v2.0.1:** fix exports in package.json ([56e1fcb](https://github.com/codeparticle/formal/commit/56e1fcb36e778caf9e0fec470866c4d6f91591f4))
## [2.0.0](https://github.com/codeparticle/formal/compare/v1.0.5...v2.0.0) (2022-04-13)
### Features
* **update-build:** update build to use tsup, rm rollup, update eslint ([8f24093](https://github.com/codeparticle/formal/commit/8f24093c62285c0f7c384d6a51826627f09b050d))
### Bug Fixes
* **github:** fix builds due to missing jest types ([70c5eac](https://github.com/codeparticle/formal/commit/70c5eacdfe3af4b138437565507cc9a070035c3b))
* **github:** revert back to yarn from pnpm ([c3a173f](https://github.com/codeparticle/formal/commit/c3a173f46da604727946b0486b2a262a7d75221c))
### [1.0.5](https://github.com/codeparticle/formal/compare/v1.0.4...v1.0.5) (2022-01-20)
### [1.0.4](https://github.com/codeparticle/formal/compare/v1.0.3...v1.0.4) (2021-12-10)
### Bug Fixes
- **deps:** remove git add from lint-staged script ([d03e998](https://github.com/codeparticle/formal/commit/d03e998194f07799d5b5a5495b17f9f7b12dbb1b))
- **rules:** fix object rules throwing when objects are null ([2b16deb](https://github.com/codeparticle/formal/commit/2b16deb9ab3be5cae6c00c4b19d65d91f4519c6d))
### [1.0.3](https://github.com/codeparticle/formal/compare/v1.0.2...v1.0.3) (2021-06-30)
### Bug Fixes
- **scripts:** fix npm publish script ([3c598c9](https://github.com/codeparticle/formal/commit/3c598c933c0813b6f1f1e77d6bb8a026e9821506))
### [1.0.2](https://github.com/codeparticle/formal/compare/v1.0.1...v1.0.2) (2021-06-23)
### [1.0.1](https://github.com/codeparticle/formal/compare/v1.0.0...v1.0.1) (2021-05-24)
### [0.4.7](https://github.com/codeparticle/formal/compare/v0.4.2...v0.4.7) (2021-05-24)
### Features
- **deps:** update deps ([8382dc9](https://github.com/codeparticle/formal/commit/8382dc99570e3405b3cd0482d0de8f853098e523))
### Bug Fixes
- **errors:** fix errors accumulation ([724b424](https://github.com/codeparticle/formal/commit/724b4241ba9111080273e30e3638fb91c7363e3d))
- **fail:** do not map transformations over values in Fail ([433f29d](https://github.com/codeparticle/formal/commit/433f29d4035f901bf229a8e452c893b86a0d28a0))
- **rules:** update Rules with new interface, fix withMessage overwriting functions ([6ef04c6](https://github.com/codeparticle/formal/commit/6ef04c6d1772e486e7918a6cbb0dce1dd9c66ea4))
### [0.4.2](https://github.com/codeparticle/formal/compare/v0.4.1...v0.4.2) (2020-05-10)
## [0.4.0](https://github.com/codeparticle/formal/compare/v0.3.0...v0.4.0) (2020-02-25)
### Bug Fixes
- **linter:** add markdown file ext to parser opts ([359a768](https://github.com/codeparticle/formal/commit/359a768))
- **linter:** don't try to lint non-js ([f420c46](https://github.com/codeparticle/formal/commit/f420c46))
- **tests:** rm dupe utils file, fix tests ([963a11c](https://github.com/codeparticle/formal/commit/963a11c))
- **tests:** temp disable type checking for tests ([2625d95](https://github.com/codeparticle/formal/commit/2625d95))
- **tests:** temp disable type checks in tests as they are incorrect ([fe5ef34](https://github.com/codeparticle/formal/commit/fe5ef34))
### Features
- **build:** move tests and remove them from builds ([7972fa1](https://github.com/codeparticle/formal/commit/7972fa1))
- **docs:** update docs ([d3c192b](https://github.com/codeparticle/formal/commit/d3c192b))
- **rules:** add is-equal-to rule ([d66b82c](https://github.com/codeparticle/formal/commit/d66b82c))
- **rules:** make getProp and hasProp variadic. ([20c0255](https://github.com/codeparticle/formal/commit/20c0255))
<a name="0.3.0"></a>
# [0.3.0](https://github.com/codeparticle/formal/compare/v0.2.1...v0.3.0) (2019-07-23)
### Bug Fixes
- **rules:** minor bugfixes, message normalization across rules. ([5b332ef](https://github.com/codeparticle/formal/commit/5b332ef))
### Features
- **docs:** update the docs to include an example of validateObject ([7056a05](https://github.com/codeparticle/formal/commit/7056a05))
- **validateObject:** added validateObject util. ([e9b413f](https://github.com/codeparticle/formal/commit/e9b413f))
<a name="0.2.1"></a>
## [0.2.1](https://github.com/codeparticle/formal/compare/v0.2.0...v0.2.1) (2019-06-10)
<a name="0.2.0"></a>
# [0.2.0](https://github.com/codeparticle/formal/compare/v0.1.0...v0.2.0) (2019-06-10)
### Bug Fixes
- **builtins:** clarity and edge-case fixes ([f3e6a2c](https://github.com/codeparticle/formal/commit/f3e6a2c))
### Features
- **builtins:** added isNonEmptyString, matchesRegex, and isValidEmail. ([bb0447a](https://github.com/codeparticle/formal/commit/bb0447a))
<a name="0.1.0"></a>
# [0.1.0](https://github.com/codeparticle/formal/compare/v0.0.6...v0.1.0) (2019-06-08)
### Features
- **rules:** updated createRule to accept a transform prop to change the value of the output validation ([e09ce49](https://github.com/codeparticle/formal/commit/e09ce49))
- **tests:** updated tests to include new Rule class. ([67dfac2](https://github.com/codeparticle/formal/commit/67dfac2))
- **withMessage:** added withMessage function to overwrite messages in built-in checks. ([7e49a92](https://github.com/codeparticle/formal/commit/7e49a92))
- updated README ([b799586](https://github.com/codeparticle/formal/commit/b799586))
<a name="0.0.7"></a>
## [0.0.7](https://github.com/codeparticle/formal/compare/v0.0.6...v0.0.7) (2019-06-08)
<a name="0.0.6"></a>
## [0.0.6](https://github.com/codeparticle/formal/compare/v0.0.5...v0.0.6) (2019-06-04)
<a name="0.0.5"></a>
## [0.0.5](https://github.com/codeparticle/formal/compare/v0.0.4...v0.0.5) (2019-06-04)
<a name="0.0.4"></a>
## [0.0.4](https://github.com/codeparticle/formal/compare/v0.0.3...v0.0.4) (2019-06-04)
<a name="0.0.3"></a>
## [0.0.3](https://github.com/codeparticle/formal/compare/v0.0.2...v0.0.3) (2019-06-03)
<a name="0.0.2"></a>
## [0.0.2](https://github.com/codeparticle/formal/compare/v0.0.1...v0.0.2) (2019-06-03)
<a name="0.0.1"></a>
## 0.0.1 (2019-06-03)