Skip to content

Releases: Noelware/utils

v2.5.1

17 Apr 03:24
Compare
Choose a tag to compare
  • Added object support in the structure of ({ message: '...' }) with assertIsError (@auguwu)

Full Changelog: 2.5.0...2.5.1

v2.5.0

11 Feb 02:38
Compare
Choose a tag to compare

✨ Additions

  • Add Result and Option modules (accessible by @noelware/utils/{result,option}) (@auguwu)
  • Add exports, module, and types fields to package.json (@auguwu)
  • Add src/ directory to NPM for easier lookup of methods, types, etc. (@auguwu)
  • Added DecouplePromise type (@auguwu)

😔 Deprecations (scheduled to be removed in v2.7.0)

  • Deprecated types due to none being used (@auguwu):
    • Listener
    • ExtractListenerArguments
    • GenericEventBusMap
    • ReaddirOptions
    • Ctor
    • ConstructorReturnType
    • ObjectKeysWithSeperator
    • KeyToPropType
    • DotNotation
  • Deprecated classes due to none being used (@auguwu):
    • EventBus
  • Deprecated functions due to none being used (@auguwu):
    • isEventEmitterLike
    • sleep
    • titleCase
    • shouldExclude
    • readdirSync
    • readdir
  • Deprecated constants due to none being used (@auguwu):
    • Months
    • DaysInWeek

👾 Removed

  • humanize function that was scheduled to be removed in 2.3
  • pluralize function that was scheduled to be removed in 2.3

Full Changelog: v2.4.0...2.5.0

v2.4.0

17 Jul 07:47
Compare
Choose a tag to compare

✨ Additions

  • Export lazy function to create a Lazy instance (@auguwu)
  • Documentation for Lazy and Stopwatch classes and methods (@auguwu)

❌ Removed

  • Deprecated functions (property) and types (OmitUndefinedOrNull, FilterOut, AllowedNames, and FilterFlags) (@auguwu)

🐛 Bug Fixes

  • Fixed issues with perf_hooks not being installed, opting to Date.now as a backwards compat. way (@auguwu)

Full Changelog: v2.3.0...v2.4.0

v2.3.0

10 May 13:58
47c9899
Compare
Choose a tag to compare

too many to list, ill probably do this later

Full Changelog: v2.2.1...v2.3.0

v2.2.1

25 Sep 07:28
4708145
Compare
Choose a tag to compare

Fixes

  • Type generic in EventBus by representing any object, not just Record<string, Listener>

Additions

  • noop function.

v2.2.0

01 Aug 00:53
211e93b
Compare
Choose a tag to compare

Additions

  • feat: new Lazy utility by @auguwu

Fixes

  • fix(readdirSync): recursive on readdirSync by @auguwu
  • fix(tryRequire): modules are now cached in a Map by @auguwu

Dependency Updates

Full Changelog: v2.1.0...v2.2.0

v2.1.0

26 Jul 11:56
3a437ec
Compare
Choose a tag to compare

Fixes

  • stackoverflow in tryRequire function by @auguwu

Dependency Updates

Full Changelog: v2.0.1...v2.1.0

v2.0.1

05 Jul 04:44
498bc27
Compare
Choose a tag to compare

Had a nap and it didn't upload the proper dist, so this release fixes it. Sorry~

v2.0.0

04 Jul 19:51
29fc9a9
Compare
Choose a tag to compare

This is the first library that is bumping towards the @noelware/ NPM organization rather than @augu/. This refreshes the old code and uses newer code that hasn't been tested yet so uh.... yeah!

also bark bark.