Releases: neuekit/utilities
Releases Β· neuekit/utilities
2.3 Minor Release
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
New
- Click outside Svelte action (Runs callback when a clicking outside the element)
Improvements
- Fixed tests
2.0 Major Release
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
New in this version:
- Added vanilla/sentenceCase function
- Improved prettier formatting
1.7 Minor Release
New in this version:
- Removed cypress test suite
- Added new vanilla/createEl function
- Improved integrations/googlemap function
1.6 Minor Release
New in this version:
- Added header passthrough for svelte/pull
- Removed dependancy on lazyblock
1.5 Minor Release
New in this version:
- Added svelte/push function (POST)
1.4 Minor Release
New in this version:
- Improved svelte/pull with new external mode and simplification
- Fixed missing lazy load import
1.3 Minor Release
New in this version:
- Added vanilla lazy load function
- Improved dayjs imports to allow dropping of unused private vars
1.2 Minor Release
New in this version:
- Added injectable google maps script
- Added middleware to remove trailing slashes and redirect accordingly
- Removed dist folder