Skip to content

Releases: Byloth/core

v2.2.9

14 May 10:05
ab8ae8f

Choose a tag to compare

Patch release

  • A better ResponseException message format.
  • Updated dependencies.

Full Changelog: v2.2.8...v2.2.9

v2.2.8

08 May 15:15
a0175e4

Choose a tag to compare

Patch release

Full Changelog: v2.2.7...v2.2.8

v2.2.7

23 Apr 21:23
ec8bbff

Choose a tag to compare

Patch release

  • Implemented the seeded & deterministic version of the Random class object.
  • Updated GitHub Actions workflows.
  • Updated dependencies.

Full Changelog: v2.2.6...v2.2.7

v2.2.6

31 Mar 22:08
ba7bd3a

Choose a tag to compare

Patch release

  • Added support for TypeScript 6.

Full Changelog: v2.2.5...v2.2.6

v2.2.5

10 Mar 11:04
9e1ee57

Choose a tag to compare

Patch release

  • Added clamp function.
  • Better JSDoc.
  • Updated dependencies.

Full Changelog: v2.2.4...v2.2.5

v2.2.4

19 Feb 09:57
0d1b086

Choose a tag to compare

Patch release

  • Implemented a new ArrayView object class.
    Just like its "cousins" MapView and SetView, it can raise events whenever elements are added or removed.

  • Implemented a new Random.Split method.
    It can split a numeric value or an array into a given number of parts, with elements equally-randomly distributed between each part.

    Yeah... I know... I doesn't make sense... It easier to show than to explain... 😅

    Random.Split(100, 3);              // [28, 41, 31]
    Random.Split(10, 4);               // [3, 1, 4, 2]
    Random.Split([1, 2, 3, 4, 5], 2);  // [[1, 2], [3, 4, 5]]
    Random.Split([1, 2, 3, 4, 5], 2);  // [[1, 2, 3, 4], [5]]
    Random.Split("abcdef", 3);         // [["a"], ["b", "c", "d"], ["e", "f"]]
  • Added a new ResponseException object class.
    You can use it to wrap and throw a fetch response that failed with a error status code or whose body is malformed.

  • Minor improvements. & Updated dependencies.

Full Changelog: v2.2.3...v2.2.4

v2.2.3

05 Jan 15:58
20fccba

Choose a tag to compare

Patch release

  • Implemented the new Random.Sample method.
  • Various performance improvements.
  • Updated dependencies.

Full Changelog: v2.2.2...v2.2.3

v2.2.2

21 Nov 09:01
4076f44

Choose a tag to compare

Patch release

  • Now browsers seem to automatically handling the correct stack-trace output on exceptions.
    For this reason, we no longer need to handle it manually. EZ.
  • Updated dependencies.

Full Changelog: v2.2.1...v2.2.2

v2.2.1

09 Nov 18:18
54735e3

Choose a tag to compare

Patch release

  • Added the new CallbackChain object class.
    Now you can chain multiple functions or callbacks and call them one after another easily.

Full Changelog: v2.2.0...v2.2.1

v2.2.0

07 Nov 00:01
382a5bd

Choose a tag to compare

Minor release

  • A better abstract library object events.
    Removed the use of generic subscribe / unsubscribe methods on library objects, while introducing more user-friendly on[...] methods.

Full Changelog: v2.1.8...v2.2.0