Skip to content

Releases: neuekit/utilities

2.3 Minor Release

29 May 14:51
Compare
Choose a tag to compare

New

  • Click outside Vanilla function (creates a throttled function from any standard function)
  • Added micro CLI tool to create new modules

Improvements

  • Updated docs

2.1 Minor Release

28 Aug 14:12
Compare
Choose a tag to compare

New

  • Click outside Svelte action (Runs callback when a clicking outside the element)

Improvements

  • Fixed tests

2.0 Major Release

19 Jul 22:20
Compare
Choose a tag to compare

New

  • Clamp module (Returns a clamped value between two points)
  • Cookie module (set, get and unset browser cookies)
  • Nice type module (transforms strings into sentence or title case)
  • Overscroll module (Detects when browser is scrolled to the bottom)
  • Query module (Converts and object to a url query string or vice-versa)
  • To Base64 module (Converts a file/blob to base64 string)
  • Tristate module (returns 1, 0 or -1 based on input being true, false or undefined)
  • Zero dependencies

Breaking

  • Removed WordPress modules
  • Removed svelte/lazy in favour of vanilla/lazy
  • Replaced sentenceCase and titleCase with niceType that does both
  • Removed dayjs integration module
  • Rebuilt niceDay new API
  • Renamed package from @neuekit/utilities to @neuekit/utils

Improvements

  • Modules are importable via top-level import import { getIndex } from '@neuekit/utils'
  • Added tests to most modules (uvu)
  • Added benchmarks to most modules (benchmark.js)
  • Improved niceDate (dependency free and faster implementation)
  • Improved hex module (accepts length as an arg)
  • Improved leadZero module (faster implementation)
  • Improved svelte/storable (ability to reset)
  • Setup github action for tests and code coverage
  • Added new badges
  • Simplified project structure
  • Moved from Rollup to Vite

1.8 Minor Release

10 Jan 10:18
Compare
Choose a tag to compare

New in this version:

  • Added vanilla/sentenceCase function
  • Improved prettier formatting

1.7 Minor Release

10 Jan 10:15
Compare
Choose a tag to compare

New in this version:

  • Removed cypress test suite
  • Added new vanilla/createEl function
  • Improved integrations/googlemap function

1.6 Minor Release

09 Jan 10:44
Compare
Choose a tag to compare

New in this version:

  • Added header passthrough for svelte/pull
  • Removed dependancy on lazyblock

1.5 Minor Release

09 Jan 10:40
Compare
Choose a tag to compare

New in this version:

  • Added svelte/push function (POST)

1.4 Minor Release

09 Jan 10:38
Compare
Choose a tag to compare

New in this version:

  • Improved svelte/pull with new external mode and simplification
  • Fixed missing lazy load import

1.3 Minor Release

09 Jan 10:34
Compare
Choose a tag to compare

New in this version:

  • Added vanilla lazy load function
  • Improved dayjs imports to allow dropping of unused private vars

1.2 Minor Release

09 Jan 10:24
Compare
Choose a tag to compare

New in this version:

  • Added injectable google maps script
  • Added middleware to remove trailing slashes and redirect accordingly
  • Removed dist folder