Skip to content

Releases: fullstacksjs/toolbox

v4.0.0-next.2

04 Jul 21:15
223903e
Compare
Choose a tag to compare
v4.0.0-next.2 Pre-release
Pre-release

4.0.0-next.2 (2023-07-03)

Bug Fixes

  • fix missing types in package.json (f0579b3)

v4.0.0-next.1

04 Jul 21:15
Compare
Choose a tag to compare
v4.0.0-next.1 Pre-release
Pre-release

4.0.0-next.1 (2023-07-03)

Bug Fixes

Build System

Features

  • array: move copyArray to copy (8cbfca1)
  • deno support (32a3e37)
  • docs: add docs theme (3d3013b)
  • improve toCamelCase (075e3ee)
  • improve toCapitalCase (0bc3c8e)
  • improve toPascalCase (309b0f8)
  • improve toSnakeCase (aec905a)
  • make randomInt include max (4341c4a)
  • node: change isDev and isProd to function (53d5d3c)
  • nullable: move Array.concatNullableArrays to Nullable.concatArrays (15b9d6c)
  • number: add toDecimal function (5b4beb9)
  • number: change clamp signature (7e5a732)
  • number: change isInRange signature (3e12f92)
  • number: change randomInt signature (bc5dd7a)
  • number: rename safeDivide to divide (afbfb2c)
  • object: add pruneKeyWhen and pruneValueWhen (d4216ca)
  • package: remove package (eed8c78)
  • percent: update percent signature (8328da2)

BREAKING CHANGES

  • drop support for node 12 and 14
  • node: all other env related functions has removed and isDev and isProd is now under node
    category
  • package: package helper is removed
  • number: isInRange signature changed
  • percent: input signature changed
  • number: toDecimal removed
  • number: change function signature to be curry-able
  • number: safeDivide is removed
  • object: removed pruneNullOrEmpty and pruneUndefinedOrEmpty
  • number: randomInt signature changed
  • nullable: Array.concatNullableArrays is removed

v3.3.0

15 Jun 21:23
5e495fd
Compare
Choose a tag to compare

3.3.0 (2023-06-15)

Features

  • function: add sleep function (5e495fd)

v3.2.0

13 Jun 17:25
3adfcf6
Compare
Choose a tag to compare

3.2.0 (2023-06-13)

Features

v3.1.1

06 Jun 16:53
24ad209
Compare
Choose a tag to compare

3.1.1 (2023-06-06)

Bug Fixes

  • Add comparePath script helper
comparePaths('/path1/', '/path1/')   // 0
comparePaths('b', 'a')               // 1
comparePaths('a', 'b');              // -1
comparePaths('path', 'PAth')         // 0
comparePaths('reserve', 'réservé')   // 0
comparePaths('reserve', 'reserve//') // 0

Full Changelog: v3.1.0...v3.1.1

v3.0.2

13 Nov 00:29
5bb832c
Compare
Choose a tag to compare

3.0.2 (2022-11-13)

Bug Fixes

  • env: fix getEnv return type (5bb832c)

v3.0.1

09 Nov 12:58
aa3e30c
Compare
Choose a tag to compare

3.0.1 (2022-11-09)

Bug Fixes

  • env: fix getEnv type error (aa3e30c)

v3.0.0

09 Nov 12:10
7817b57
Compare
Choose a tag to compare

3.0.0 (2022-11-09)

Bug Fixes

  • env: ignore empty string on env fallback (7817b57)

BREAKING CHANGES

  • env: getEnv functions will ignore empty strings.

v2.22.0

09 Nov 09:22
ddd0e69
Compare
Choose a tag to compare

2.22.0 (2022-11-09)

Features

  • env: add getBooleanEnv (c6d3a40)
  • guards: add isBoolean guard (fb28a50)

v2.21.0

25 Sep 11:54
4867c2a
Compare
Choose a tag to compare

2.21.0 (2022-09-25)

Bug Fixes

Features

  • add Tuple type (b3ee2a3)
  • object: add pruneUndefinedOrEmpty (72bf9fd)