1 | # Change Log
|
2 |
|
3 | - **Last updated**: 2022-04-07T14:17:30Z
|
4 | - **Generator**: [thi.ng/monopub](https://thi.ng/monopub)
|
5 |
|
6 | All notable changes to this project will be documented in this file.
|
7 | See [Conventional Commits](https://conventionalcommits.org/) for commit guidelines.
|
8 |
|
9 | **Note:** Unlisted _patch_ versions only involve non-code or otherwise excluded changes
|
10 | and/or version bumps of transitive dependencies.
|
11 |
|
12 | ## [3.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.1.0) (2021-11-17)
|
13 |
|
14 | #### 🚀 Features
|
15 |
|
16 | - Using workspaces for local tools ([bf7a404](https://github.com/thi-ng/umbrella/commit/bf7a404))
|
17 | Improving the overall build ergonomics
|
18 | - introduced a tools workspaces
|
19 | - imported it in all needed packages/examples
|
20 | - inclusive project root
|
21 |
|
22 | #### ♻️ Refactoring
|
23 |
|
24 | - testrunner to binary ([4ebbbb2](https://github.com/thi-ng/umbrella/commit/4ebbbb2))
|
25 | this commit reverts (partly) changes made in:
|
26 | ef346d7a8753590dc9094108a3d861a8dbd5dd2c
|
27 | overall purpose is better testament ergonomics:
|
28 | instead of having to pass NODE_OPTIONS with every invocation
|
29 | having a binary to handle this for us.
|
30 |
|
31 | ### [3.0.7](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.7) (2021-11-10)
|
32 |
|
33 | #### 🩹 Bug fixes
|
34 |
|
35 | - add boolean to isPrimitive() ([fde4d2b](https://github.com/thi-ng/umbrella/commit/fde4d2b))
|
36 |
|
37 | ### [3.0.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.1) (2021-10-13)
|
38 |
|
39 | #### ♻️ Refactoring
|
40 |
|
41 | - update imports in all tests/pkgs ([effd591](https://github.com/thi-ng/umbrella/commit/effd591))
|
42 | - update imports in all pkgs ([5fa2b6f](https://github.com/thi-ng/umbrella/commit/5fa2b6f))
|
43 | - add .js suffix for all relative imports
|
44 |
|
45 | # [3.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@3.0.0) (2021-10-12)
|
46 |
|
47 | #### 🛑 Breaking changes
|
48 |
|
49 | - major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea))
|
50 | - BREAKING CHANGE: discontinue CommonJS & UMD versions
|
51 | - only ESM modules will be published from now on
|
52 | - CJS obsolete due to ESM support in recent versions of node:
|
53 | - i.e. launch NodeJS via:
|
54 | - `node --experimental-specifier-resolution=node --experimental-repl-await`
|
55 | - in the node REPL use `await import(...)` instead of `require()`
|
56 | - UMD obsolete due to widespread browser support for ESM
|
57 | Also:
|
58 | - normalize/restructure/reorg all package.json files
|
59 | - cleanup all build scripts, remove obsolete
|
60 | - switch from mocha to [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament) for all tests
|
61 |
|
62 | #### ♻️ Refactoring
|
63 |
|
64 | - update all tests in _all_ pkgs ([8b582bc](https://github.com/thi-ng/umbrella/commit/8b582bc))
|
65 | - update all to use [@thi.ng/testament](https://github.com/thi-ng/umbrella/tree/main/packages/testament)
|
66 |
|
67 | ### [2.9.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.9.6) (2021-04-03)
|
68 |
|
69 | #### ♻️ Refactoring
|
70 |
|
71 | - add implementsFunction() generics ([63d78cb](https://github.com/thi-ng/umbrella/commit/63d78cb))
|
72 |
|
73 | ## [2.9.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.9.0) (2021-02-20)
|
74 |
|
75 | #### 🚀 Features
|
76 |
|
77 | - add isIllegalKey() (make public) ([507fc80](https://github.com/thi-ng/umbrella/commit/507fc80))
|
78 | - replace isPrototypePolluted() w/ isProtoPath() ([d276b84](https://github.com/thi-ng/umbrella/commit/d276b84))
|
79 | - isPrototypePolluted() assumed given string is a single property
|
80 | name, but could be a `.` separated lookup path. New function
|
81 | checks for that and also supports arrays
|
82 | - add tests
|
83 |
|
84 | ## [2.8.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.8.0) (2021-01-10)
|
85 |
|
86 | #### 🚀 Features
|
87 |
|
88 | - add isNumericInt/Float() checks ([7e054c1](https://github.com/thi-ng/umbrella/commit/7e054c1))
|
89 |
|
90 | ### [2.7.9](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.9) (2020-09-22)
|
91 |
|
92 | #### ♻️ Refactoring
|
93 |
|
94 | - update isNode() ([e988d0d](https://github.com/thi-ng/umbrella/commit/e988d0d))
|
95 |
|
96 | ### [2.7.3](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.3) (2020-07-02)
|
97 |
|
98 | #### 🩹 Bug fixes
|
99 |
|
100 | - update isPlainObject() type assertion ([e5ceb7d](https://github.com/thi-ng/umbrella/commit/e5ceb7d))
|
101 |
|
102 | ## [2.7.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.7.0) (2020-05-14)
|
103 |
|
104 | #### 🚀 Features
|
105 |
|
106 | - add isAsyncIterable() ([59ac3a9](https://github.com/thi-ng/umbrella/commit/59ac3a9))
|
107 |
|
108 | ## [2.6.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.6.0) (2020-03-28)
|
109 |
|
110 | #### 🚀 Features
|
111 |
|
112 | - add new string validators ([9d9e8a8](https://github.com/thi-ng/umbrella/commit/9d9e8a8))
|
113 | - add isAlpha(), isAlphaNum(), isNumeric()
|
114 | - add isASCII(), isPrintableASCII()
|
115 | - add isDataURL()
|
116 | - add isFloatString(), isIntString()
|
117 | - add isHex()
|
118 | - add better type assertion for isTypedArray() ([548ba52](https://github.com/thi-ng/umbrella/commit/548ba52))
|
119 |
|
120 | #### 🩹 Bug fixes
|
121 |
|
122 | - typo ([4e4a6e1](https://github.com/thi-ng/umbrella/commit/4e4a6e1))
|
123 |
|
124 | ## [2.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.5.0) (2020-01-24)
|
125 |
|
126 | #### 🚀 Features
|
127 |
|
128 | - add hasBigInt() ([aa4faed](https://github.com/thi-ng/umbrella/commit/aa4faed))
|
129 |
|
130 | ## [2.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.4.0) (2019-09-21)
|
131 |
|
132 | #### 🚀 Features
|
133 |
|
134 | - add generics to existsAndNotNull() ([bced8b9](https://github.com/thi-ng/umbrella/commit/bced8b9))
|
135 |
|
136 | ## [2.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.3.0) (2019-08-16)
|
137 |
|
138 | #### 🚀 Features
|
139 |
|
140 | - isNil and isHexColorString ([ebaa15e](https://github.com/thi-ng/umbrella/commit/ebaa15e))
|
141 |
|
142 | #### 🩹 Bug fixes
|
143 |
|
144 | - fix vscode autoimport ([8ac6408](https://github.com/thi-ng/umbrella/commit/8ac6408))
|
145 | - better hex string, export, isNil doc ([19b1981](https://github.com/thi-ng/umbrella/commit/19b1981))
|
146 | - test, better naming ([90dce20](https://github.com/thi-ng/umbrella/commit/90dce20))
|
147 |
|
148 | ## [2.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.2.0) (2019-07-07)
|
149 |
|
150 | #### 🚀 Features
|
151 |
|
152 | - enable TS strict compiler flags (refactor) ([90515e7](https://github.com/thi-ng/umbrella/commit/90515e7))
|
153 |
|
154 | #### 🩹 Bug fixes
|
155 |
|
156 | - isMobile for Chrome iOS ([8216d48](https://github.com/thi-ng/umbrella/commit/8216d48))
|
157 |
|
158 | ### [2.1.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.1.2) (2019-03-12)
|
159 |
|
160 | #### 🩹 Bug fixes
|
161 |
|
162 | - fix [#77](https://github.com/thi-ng/umbrella/issues/77), update & minor optimization isPlainObject() ([47ac88a](https://github.com/thi-ng/umbrella/commit/47ac88a))
|
163 | - add/update tests
|
164 | - add AUTHORS.md
|
165 |
|
166 | ## [2.1.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.1.0) (2019-02-10)
|
167 |
|
168 | #### 🚀 Features
|
169 |
|
170 | - add isPrimitive() ([190701e](https://github.com/thi-ng/umbrella/commit/190701e))
|
171 |
|
172 | # [2.0.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@2.0.0) (2019-01-21)
|
173 |
|
174 | #### 🛑 Breaking changes
|
175 |
|
176 | - update package build scripts & outputs, imports in ~50 packages ([b54b703](https://github.com/thi-ng/umbrella/commit/b54b703))
|
177 | - BREAKING CHANGE: enabled multi-outputs (ES6 modules, CJS, UMD)
|
178 | - build scripts now first build ES6 modules in package root, then call
|
179 | `scripts/bundle-module` to build minified CJS & UMD bundles in `/lib`
|
180 | - all imports MUST be updated to only refer to package level
|
181 | (not individual files anymore). tree shaking in user land will get rid of
|
182 | all unused imported symbols.
|
183 |
|
184 | #### ♻️ Refactoring
|
185 |
|
186 | - update all as arrow fns ([b70a3e1](https://github.com/thi-ng/umbrella/commit/b70a3e1))
|
187 |
|
188 | ### [1.5.4](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.4) (2018-06-18)
|
189 |
|
190 | #### 🩹 Bug fixes
|
191 |
|
192 | - isOdd() for negative values ([3589e15](https://github.com/thi-ng/umbrella/commit/3589e15))
|
193 |
|
194 | ### [1.5.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.1) (2018-04-29)
|
195 |
|
196 | #### 🩹 Bug fixes
|
197 |
|
198 | - return type isMap() ([76920f7](https://github.com/thi-ng/umbrella/commit/76920f7))
|
199 | - exclude functions in isArrayLike() ([ac60404](https://github.com/thi-ng/umbrella/commit/ac60404))
|
200 |
|
201 | ## [1.5.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.5.0) (2018-04-26)
|
202 |
|
203 | #### 🚀 Features
|
204 |
|
205 | - add date, map, nan, set checks ([a865f62](https://github.com/thi-ng/umbrella/commit/a865f62))
|
206 |
|
207 | ## [1.4.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.4.0) (2018-04-08)
|
208 |
|
209 | #### 🚀 Features
|
210 |
|
211 | - add hasPerformance() check (performance.now) ([40d706b](https://github.com/thi-ng/umbrella/commit/40d706b))
|
212 |
|
213 | ### [1.3.2](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.3.2) (2018-04-04)
|
214 |
|
215 | #### 🩹 Bug fixes
|
216 |
|
217 | - add prototype check for isPlainObject(), add tests ([bffc443](https://github.com/thi-ng/umbrella/commit/bffc443))
|
218 |
|
219 | ## [1.3.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.3.0) (2018-03-08)
|
220 |
|
221 | #### 🚀 Features
|
222 |
|
223 | - add isPromise() & isPromiseLike() ([9900e99](https://github.com/thi-ng/umbrella/commit/9900e99))
|
224 |
|
225 | ## [1.2.0](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.2.0) (2018-02-08)
|
226 |
|
227 | #### 🚀 Features
|
228 |
|
229 | - add new predicates, refactor existing ([68f8fc2](https://github.com/thi-ng/umbrella/commit/68f8fc2))
|
230 | - add: isBlob, isEven, isFile, isInRange, isOdd, isRegExp
|
231 | - add: hasMinLength, hasMaxLength
|
232 | - update: existsAndNotNull, isArray, isArrayLike
|
233 |
|
234 | ### [1.1.6](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.1.6) (2018-02-02)
|
235 |
|
236 | #### ♻️ Refactoring
|
237 |
|
238 | - isPlainObject() ([9848576](https://github.com/thi-ng/umbrella/commit/9848576))
|
239 |
|
240 | ### [1.1.1](https://github.com/thi-ng/umbrella/tree/@thi.ng/checks@1.1.1) (2018-01-24)
|
241 |
|
242 | #### 🚀 Features
|
243 |
|
244 | - initial re-import as monorepo, update readme files, cleanup imports ([04ff6e9](https://github.com/thi-ng/umbrella/commit/04ff6e9))
|