Skip to content

Releases: Solvro/lib-solvro-utils

v1.5.0

05 Jan 21:46
6f6efce

Choose a tag to compare

new function in misc.ts:

  • assertExhaustive - utility function for getting TS to yell at you if you ever forget to cover every single possibility in a switch statement
    • useful when switching on an enum value
    • see test cases for usage examples

v1.4.0

24 Oct 18:34
dfde279

Choose a tag to compare

new minilib: misc.ts:

  • isPlainObject: simple function to verify that a value is just a plain JS object: not null, not undefined, not an array, not a class instance - just an object

v1.3.0

30 Sep 12:27
edf407a

Choose a tag to compare

  • added the request_bundler minilib

v1.2.0

29 Sep 22:19
a26dc96

Choose a tag to compare

new mini-libs:

  • option.ts
    • *Map functions: basically Rust's Option::map ported to JS
    • assert* functions: null/undefined asserts
  • ics.ts - an ICS file parser (to JSON)

v1.1.2

05 Jun 15:17
352ac15

Choose a tag to compare

  • fixed the autorelease workflow
  • the package structure should be correct now

v1.1.1 [broken]

05 Jun 15:16
42ae4d7

Choose a tag to compare

v1.1.1 [broken] Pre-release
Pre-release
  • new autorelease workflow
    • which broke the package directory structure

v1.1.0

05 Jun 15:15
093aad1

Choose a tag to compare

  • added the promises minilib:
    • wait(): a promise that resolves after a set amount of time

v1.0.0

05 Jun 14:22
08af961

Choose a tag to compare

Initial release:

  • all the utils used in backend-topwr:
    • arrays: chunkArray and zip
    • map: getOrInsert*
    • semaphore: the simple Semaphore
  • plus unit tests