Skip to main content

Changelog

4.4.1​
  • Fix vulnerability issues
4.4.0​
  • NEW: JSON -> safeJsonParse - parse JSON without throwing and return a discriminated success/error result with an unknown value
  • Update storageGet to reuse safeJsonParse while preserving its fallback behavior
  • Fix API documentation generation for utilities with TypeScript imports
4.3.4​
  • Trying to fix some publish workflow issue
  • Some changes to bundling
  • Replace eslint and prettier with biome
4.3.2​
  • Fix issue build is not generating types
4.3.1​
  • Update readableBytes to support minimum unit
  • Update readableBytes(number, options?) to accept optional options object as 2nd parameter for decimal and minimum unit
4.3.0​
  • NEW: Colors -> readableColor - get light/dark mode color for text readability
4.2.0​
  • Removed arrayToString -> Array.prototype.join
  • Removed stringToArray -> String.prototype.split
4.1.7​
  • Update depedencies
  • Update package.json node engine to >=20.19
4.1.6​
  • Update arrayRemoveItem to support number
4.1.5​
  • TODO: Switch to pnpm
  • Fix issue not publishing correctly resulting to incorrect imports
  • Switch build to tsup
4.1.4​
  • Moved all deps to devdeps
4.1.3​
  • Fix build script not creating files
4.1.2​
  • UPDATE Remove barrel files to improve bundle size and test performance
March 20, 2024​
  • UPDATE New look for the documentation using docusaurus
4.1.1​
  • Bugfix: TypeScript files not published
4.1.0​
  • NEW: Array -> arrayRemoveItem
4.0.0​
  • Migrated to TypeScript
  • Removes the feature where an error is thrown when a wrong type is supplied since we're already on TypeScript
3.1.1​
  • UPDATE: Boolean | toBoolean()
3.1.0​
  • NEW: Browser | browserDetect()
3.0.0​
  • Major revision!
  • Able to import each method separately
2.1.0​
  • Add SlugUtil.slugify()
2.0.5​
  • StorageUtil.getItem - return empty string of key is not found in storage
2.0.4​
  • StorageUtil.getItem - return JSON.parse(data)
2.0.3​
  • Fix SSR issue where window is undefined
2.0.2​
  • Transfer ownership
2.0.1​
  • Display method name on takes() error
2.0.0​
  • Update takes() to accept required and optional arguments
1.9.1​
  • Update typings
1.9.0​
  • NEW: StorageUtil.clear()
  • NEW: StorageUtil.getItem()
  • NEW: StorageUtil.removeItem()
  • NEW: StorageUtil.setItem()
1.8.0​
  • NEW: ObjectUtil.isEmpty()
1.7.4​
  • Fix npm deploy from travis
1.7.3​
  • Update dependencies
  • NEW: greenkeeper
1.7.2​
  • Travis
1.7.1​
  • NEW: ColorUtil.brightness
1.6.2​
  • Changes to shield badge maxAge
1.6.1​
  • NEW: ColorUtil.invertHexColor()
1.6.0​
  • Overhaul on the structure
1.5.2​
  • Update dependencies
1.5.1​
  • Add typing for CoreUtil.argTypesMatch()
1.5.0​
  • Changes to CoreUtil
  • Clean-up CoreUtil
  • Add tests to CoreUtil.takes()
  • Add a new method CoreUtil.argTypesMatch()
1.4.0​
  • Automated documentation
1.3.0​
  • Add TypeScript type definitions for intellisense
1.2.0​
  • Travis, Codecov, etc
1.1.0​
  • Code coverage
1.0.9​
  • Here's some docs to make this look legit
  • We start at 1.0.9