Releases: Oluwasetemi/utils
v0.0.6
🚀 Features
- Update vitest config for coverage - by @Oluwasetemi (c5985)
🐞 Bug Fixes
- Linting errors - by @Oluwasetemi (a0e1e)
- Resolve type errors in object.test.ts and p.test.ts - by @Oluwasetemi (530ab)
View changes on GitHub
v0.0.5
📝 Documentation
• Enhanced TypeScript Support: Added comprehensive JSDoc documentation across all utility modules to improve TypeScript IntelliSense and type inference
• Better Developer Experience: All functions now have detailed JSDoc comments including parameter descriptions, return types, and usage examples
🔧 Improvements
• Added JSDoc to arrays utilities - by @Oluwasetemi (a4f64cb)
• Added JSDoc to base utilities - by @Oluwasetemi (fa01ddd)
• Added JSDoc to equal utilities - by @Oluwasetemi (a9276bd)
• Added JSDoc to function utilities - by @Oluwasetemi (20acbf1)
• Added JSDoc to guard utilities - by @Oluwasetemi (8c4b95e)
• Added JSDoc to is utilities - by @Oluwasetemi (dc81a98)
• Added JSDoc to math utilities - by @Oluwasetemi (3fb3f89)
• Added JSDoc to object utilities - by @Oluwasetemi (3b64377)
• Added JSDoc to p utilities - by @Oluwasetemi (992a5d8)
• Added JSDoc to promise utilities - by @Oluwasetemi (6a92978)
• Added JSDoc to string utilities - by @Oluwasetemi (8b9fa04)
• Added JSDoc to time utilities - by @Oluwasetemi (02c30a9)
• Added JSDoc to types utilities - by @Oluwasetemi (401a9e8)
• Added JSDoc to vendor utilities - by @Oluwasetemi (170e9b5)
• Fixed linting issues with JSDoc overload - by @Oluwasetemi (c8c8b8f)
• Generated update with code coverage - by @Oluwasetemi (f6a36af)
• CodeRabbitAI review fixes - by @Oluwasetemi (3b73c00)
• Skill update to improve the package - by @Oluwasetemi (5e233a1)
• Resolved lint issues - by @Oluwasetemi (7ce2166)
🔀 Pull Requests
• Merged PR #1: feature/jsdoc - by @Oluwasetemi (c49d3f3)
View changes on GitHub: v0.0.4...v0.0.5
v0.0.5-beta.1
No significant changes
View changes on GitHub
v0.0.4
🚀 Features
- Added groupBy - by @Oluwasetemi (3a4d1)
- time: Add comprehensive Temporal API utilities with temporal-polyfill dependency, remove FUNDING.yml, implement date/time creation, parsing, formatting, arithmetic, comparison, validation, range generation, timezone conversion, business day calculations, duration manipulation, and sorting/filtering utilities - by @Oluwasetemi (07691)
View changes on GitHub
v0.0.3
No significant changes
View changes on GitHub
v0.0.2
🚨 Breaking Changes
- Update - by @antfu (9e803)
- Do not dep on dom in typescript lib - by @xiaoxiangmoe in https://github.com/Oluwasetemi/utils/issues/7 (46ae2)
- Upgrade
throttle-debounceand usetype: module- by @antfu (84840) - Drop CJS build, now it's ESM-only - by @antfu (7a5a1)
🚀 Features
- ObjectMap - by @antfu (51903)
- New functions - by @antfu (68305)
- New functions - by @antfu (d52d3)
- Deep merge - by @antfu (95c75)
- Promise - by @antfu (7a755)
- ObjectPick - by @antfu (8e046)
- EnsurePrefix - by @antfu (c84d4)
- ClearUndefined - by @antfu (87853)
- Vendor throttle-debounce - by @antfu (39772)
- Generic class type - by @johannschopplich in https://github.com/Oluwasetemi/utils/issues/5 (62a42)
- CreatePromiseLock - by @antfu (cbbf7)
- Add
ensureSuffix- by @jbaubree in https://github.com/Oluwasetemi/utils/issues/8 (ee2c8) - Inline
@antfu/p- by @antfu (729ef) - Random str - by @antfu (af5e1)
- Add dual esm/cjs format types exports - by @userquin in https://github.com/Oluwasetemi/utils/issues/39 (4f64b)
- Add
unindentfunction - by @antfu (c2c5d) - Update deps - by @antfu (7511b)
- New
isPrimitiveandobjectIdfunction - by @antfu (ab8b3) - array:
- Range - by @antfu (657d1)
- Move - by @antfu (5544b)
- Partition support multiple filters - by @antfu (72068)
- Sample and shuffle - by @antfu (52cbd)
isDeepEqualanduniqueBy- by @akinoccc and @antfu in https://github.com/Oluwasetemi/utils/issues/24 (11198)- New
filterInPlacefunction - by @antfu (a47b8)
- base:
- Assertion function type guard - by @johannschopplich in #2 (973ac)
- deepMergeWithArray:
- function:
- Tap utility - by @innocenzi in #1 (f48e8)
- is:
- Add some type guard - by @LuciNyan in https://github.com/Oluwasetemi/utils/issues/25 (f8698)
- math:
lerpandremaputils - by @osalinasv in https://github.com/Oluwasetemi/utils/issues/31 (f8b24)
- object:
- HasOwnProperty util - by @johannschopplich in https://github.com/Oluwasetemi/utils/issues/3 (2d94d)
- promise:
- string:
- New template function - by @antfu (cedde)
- Add string test case - by @Wing-9527 in https://github.com/Oluwasetemi/utils/issues/19 (7570f)
- Add
capitalizeand test case - by @Wing-9527 in https://github.com/Oluwasetemi/utils/issues/23 (d8baa)
- template:
- Support object style templates - by @jd-solanki and @antfu in https://github.com/Oluwasetemi/utils/issues/34 (c7bbe)
🐞 Bug Fixes
- Types, thanks @xiaoxiangmoe - by @antfu (c26fa)
- Revert Nullable - by @antfu (9d030)
- Build target - by @antfu (c8f1b)
- ObjectPick - by @antfu (3cec2)
- Deps - by @antfu (a5494)
- ObjectKeys return type - by @TGlide in https://github.com/Oluwasetemi/utils/issues/17 (5d233)
- Export
equal- by @NamesMT in https://github.com/Oluwasetemi/utils/issues/38 (c68ad) - Update
thenmethod signature - by @benny123tw in https://github.com/Oluwasetemi/utils/issues/50 (e2795) - array:
toArray- convert to empty array only for nullish - by @huynl-96 in https://github.com/Oluwasetemi/utils/issues/20 (4d937)
- deepMerge:
- isDeepEqual:
- NaN equals - by @liuyang0826 in https://github.com/Oluwasetemi/utils/issues/26 (2664d)
- object:
- The return type of objectMap should be the return type o… - by @s3xysteak in https://github.com/Oluwasetemi/utils/issues/46 (e7516)