Releases: nevware21/ts-utils
Releases · nevware21/ts-utils
0.12.6
Changelog
Features
- #497 Improve generic type signatures for deferred and lazy value functions
- Updated
getLazy,getWritableLazy,getDeferred, andgetWritableDeferredwith more flexible callback type signatures - Added union type to callback parameters:
cb: F | ((...args: any[]) => T/R) - Aligned type parameter defaults to
(...args: any[]) => T/Rfor consistency - Updated JSDoc to reflect new generic defaults
- Updated
- #498 Extend generic signature improvements to safe wrapper functions
- Updated
safe()to useReturnType<F>instead ofanyfor better type inference - Aligned
safeGet,safeGetLazy,safeGetWritableLazy,safeGetDeferred, andsafeGetWritableDeferredwith flexible callback signatures - Removed unnecessary default
T = booleanfromsafeGet
- Updated
Bug Fixes
- #491 Update incorrect documentation
- Fixed TSDoc for
strTrim()(was incorrectly documented astrim())
- Fixed TSDoc for
What's Changed
- Bump glob from 11.0.2 to 11.0.3 by @dependabot[bot] in #440
- Pin @sinonjs/samsam and @sinonjs/fake-timers to fix CI parser errors by @Copilot in #451
- Downgrade @sinonjs/samsam dependency to resolve workflow parsing errors by @Copilot in #454
- Bump actions/checkout from 4 to 5 by @dependabot[bot] in #448
- Bump actions/upload-pages-artifact from 3 to 4 by @dependabot[bot] in #457
- Bump github/codeql-action from 3 to 4 by @dependabot[bot] in #464
- Bump @rollup/plugin-commonjs from 28.0.9 to 29.0.0 by @dependabot[bot] in #465
- Bump cross-env from 7.0.3 to 10.1.0 by @dependabot[bot] in #463
- Bump actions/setup-node from 4 to 5 by @dependabot[bot] in #461
- Bump actions/setup-node from 5 to 6 by @dependabot[bot] in #466
- Bump @types/sinon from 17.0.4 to 20.0.0 by @dependabot[bot] in #467
- Bump @types/sinon from 20.0.0 to 21.0.0 by @dependabot[bot] in #468
- Bump glob from 11.0.3 to 11.1.0 by @dependabot[bot] in #469
- Bump glob from 11.0.3 to 13.0.0 by @dependabot[bot] in #471
- Bump actions/checkout from 5 to 6 by @dependabot[bot] in #472
- Enhance Dependabot configuration for GitHub Actions and npm by @nev21 in #473
- Update dependabot configuration for npm packages by @nev21 in #474
- Update Dependabot Force Rebase workflow configuration by @nev21 in #480
- Refactor Dependabot rebase workflow by @nev21 in #481
- Bump size-limit from 11.2.0 to 12.0.0 by @dependabot[bot] in #475
- Delete .github/workflows/dependabot-auto-merge.yml by @nev21 in #484
- Add workflow to sync rush.json with Dependabot updates by @nev21 in #483
- Add GitHub Actions workflow for auto-approving PRs by @nev21 in #486
- Bump peter-evans/rebase from 2 to 4 by @dependabot[bot] in #482
- Update incorrect documentation by @nev21 in #491
- Add GitHub Copilot instructions for repository by @Copilot in #490
- Delete .github/workflows/sync-rush-versions.yml by @nev21 in #494
- Update pr-auto-approve.yml by @nev21 in #495
- Bump lewagon/wait-on-check-action from 1.4.1 to 1.5.0 by @dependabot[bot] in #496
- fix: Improve generic type signatures for deferred and lazy value functions by @nev21 in #497
- fix: Extend generic signature improvements to safe wrapper functions by @nev21 in #498
- [Release] Increase version to 0.12.6 by @nev21 in #499
New Contributors
- @Copilot made their first contribution in #451
Full Changelog: 0.12.5...0.12.6
0.12.5
Changelog
Issues
- #434 [Bug] Tree-Shaking: _wellKnownSymbolMap using createEnumKeyMap is not always tree-shaken
Commits
What's Changed
- [Bug] Tree-Shaking: _wellKnownSymbolMap using createEnumKeyMap is not always tree-shaken #434 by @MSNev in #435
- [Release] Increase version to 0.12.5 by @nev21 in #436
Full Changelog: 0.12.4...0.12.5
0.12.4
0.12.3
Changelog
Features
- #424 [Feature] Add additional is function tests (isAsyncFunction, isGenerator, isAsyncGenerator)
- #420 [Feature] Add a new getDeferredValue that gets passed the function and optional parameters
- Added:
getDeferred,getWritableDeferred,safeGetDeferred,safeGetWritableDeferred - Updated existing functions to support the passing of optional additional arguments:
getLazy,getWritableLazy,safeGet
- Added:
- #416 [Feature] Added:
setGlobalTimeoutOverrides,setTimeoutOverrides
Commits
- #412 Increase code coverage
- #413 Enable CI Merge_Queue
- #411 Add additional size tests for the "isXXX" functions
- #410 Bump glob from 11.0.1 to 11.0.2
- #415 Reduce the code required for polyfills
- #417 Update README.md and documentation
- #418 Remove module documentation link
- #419 Update global and package level default timeout functions
- #421 Update size-optimization.md
What's Changed
- Increase code coverage by @nev21 in #412
- Enable CI Merge_Queue by @nev21 in #413
- Update codeql-analysis.yml to support merge-queue by @nev21 in #414
- Add additional size tests for the "isXXX" functions by @MSNev in #411
- Bump glob from 11.0.1 to 11.0.2 by @dependabot in #410
- Reduce the code required for polyfills by @nev21 in #415
- Add setGlobalTimeoutOverrides by @nev21 in #416
- Update README.md and documentation by @nev21 in #417
- Remove module documentation link by @nev21 in #418
- Update global and package level default timeout functions by @nev21 in #419
- Update size-optimization.md by @nev21 in #421
- [Feature] Add a new getDeferred that gets passed the function and optional parameters #420 by @nev21 in #423
- Add additional is function tests (isAsyncFunction, isGenerator, isAsyncGenerator) by @nev21 in #424
- [Release] Increase version to 0.12.3 by @nev21 in #425
Full Changelog: 0.12.2...0.12.3
0.12.2
Changelog
Issues
- #403 [Bug] Excessive increase in 0.12.0/0.12.1 which introduced a polyfill for objGetOwnPropertyDescriptor
- #405 [Bug] createWildcardRegex has an invalid regular expression
Tasks
- (Partial) #401 [Task] Add pre-release testing validation with external projects
- Adds a simple check that validates that all of the links in the readme map to the typedoc generated docs, this should catch unexpected dropped exports
Commits
- #402 [Bug] createWildcardRegex invalid regular expression #405 and link checker #401
- #406 [Bug] Excessive increase in 0.12.0/0.12.1 which introduced a polyfill for objGetOwnPropertyDescriptor #403
What's Changed
- [Bug] createWildcardRegex invalid regular expression #405 and link checker #401 by @nev21 in #402
- [Bug] Excessive increase in 0.12.0/0.12.1 which introduced a polyfill for objGetOwnPropertyDescriptor #403 by @nev21 in #406
- [Release] Increase version to 0.12.2 by @nev21 in #407
Full Changelog: 0.12.1...0.12.2
0.12.1
Changelog
Issues
- #398 [Bug] setValueByKey function is no longer exported in version 0.12.0
Commits
- #399 Reinstate the dropped exports due to code re-organization
What's Changed
- [Bug] setValueByKey function is no longer exported in version 0.12.0 #398 by @nev21 in #399
- [Release] Increase version to 0.12.1 by @nev21 in #400
Full Changelog: 0.12.0...0.12.1
0.12.0
Changelog
Issues
- #387 [Bug] Polyfill symbol doesn't work as expected as unique key for an object
- #389 [Bug] objCreate doesn't support additional optional properties argument
- #392 [Bug] mathMax is defined to use using Math.min
Commits
- #378 Bump mocha from 10.8.2 to 11.2.0
- #383 Add objIs and polyObjIs
- #384 Add additional Object alias functions
- objPropertyIsEnumerable, objFromEntries, objGetOwnPropertyDescriptors,objGetOwnPropertyNames, objGetOwnPropertySymbols, objIsFrozen, objIsSealed, objPreventExtensions, objIsExtensible
- Add new type check functions
- isMap, isMapLike
- Update symbol polyfill to enable isSymbol
- #390 Fixup exports and readme for new functions
- #391 Bump to typedoc ^0.28.2, Bump to typescript ~5.2.2
- Use github theme
- tag alias constants as functions
- Bump to typescript ~5.2.2
- remove suppressImplicitAnyIndexErrors
- #393 [Bug] mathMax is defined to use using Math.min #392
- Add additional ES5 Math aliases
- mathAbs, mathExp, mathLog, mathAsin, mathAcos, mathAtan, mathAtan2, mathPow, mathSqrt, mathRandom, mathSin, mathCos, mathTan
- Add additional ES5 Math aliases
- #394 Add isSet, SetLike, WeakSet and isWeakMap helpers
- #395 Add isBigInt, isElement, isEmpty, isInteger, isFiniteNumber
- #396 Add isElementLike helper
What's Changed
- Bump mocha from 10.8.2 to 11.2.0 by @dependabot in #378
- Add objIs and polyObjIs by @nev21 in #383
- Add additional Object alias functions by @nev21 in #384
- Fixup exports and readme for new functions by @nev21 in #390
- Bump to typedoc ^0.28.2, Bump to typescript ~5.2.2 by @nev21 in #391
- [Bug] mathMax is defined to use using Math.min #392 by @nev21 in #393
- Add isSet, SetLike, WeakSet and isWeakMap helpers by @nev21 in #394
- Add isBigInt, isElement, isEmpty, isInteger, isFiniteNumber by @nev21 in #395
- Add isElementLike helper by @nev21 in #396
- [Release] Increase version to 0.12.0 by @nev21 in #397
Full Changelog: 0.11.8...0.12.0
0.11.8
Changelog
New
- #370 Add
mathRoundalias forMath.round
Commits
- #369 Bump ts-mocha from 10.1.0 to 11.1.0
What's Changed
- Bump ts-mocha from 10.1.0 to 11.1.0 by @dependabot in #369
- Add mathRound alias for Math.round by @nev21 in #370
- [Release] Increase version to 0.11.8 by @nev21 in #371
Full Changelog: 0.11.7...0.11.8
0.11.7
Changelog
Issues
- #366 [Bug] getWritableLazy() introduced in 0.9.4 was not exported
- Also added
safeGetWritableLazy()
- Also added
Commits
- #353 Bump @rollup/plugin-node-resolve from 15.3.1 to 16.0.0
- #355 Bump puppeteer from 23.11.1 to 24.0.0
- #356 Bump glob from 11.0.0 to 11.0.1
What's Changed
- Bump @rollup/plugin-node-resolve from 15.3.1 to 16.0.0 by @dependabot in #353
- Bump puppeteer from 23.11.1 to 24.0.0 by @dependabot in #355
- Bump glob from 11.0.0 to 11.0.1 by @dependabot in #356
- [Bug] getWritableLazy() intriduced in 0.9.4 has not been exported #366 by @nev21 in #367
- [Release] Increase version to 0.11.7 by @nev21 in #368
Full Changelog: 0.11.6...0.11.7
0.11.6
Fixed Issues
- #350 [doc] TSDoc Error During Build
What's Changed
- Update dependabot.yml by @nev21 in #337
- Bump github/codeql-action from 2 to 3 by @dependabot in #338
- Bump actions/checkout from 2 to 4 by @dependabot in #340
- Bump codecov/codecov-action from 2 to 4 by @dependabot in #339
- Bump actions/configure-pages from 4 to 5 by @dependabot in #341
- Bump actions/setup-node from 3 to 4 by @dependabot in #342
- Update to use ts-build-tools by @nev21 in #343
- Bump @nevware21/ts-build-tools to ^0.1.3 by @nev21 in #344
- Bump codecov/codecov-action from 4 to 5 by @dependabot in #345
- Create FUNDING.yml by @nev21 in #347
- Update FUNDING.yml by @nev21 in #348
- [doc] TSDoc Error During Build #350 by @nev21 in #351
- [Release] Increase version to 0.11.6 by @nev21 in #352
Full Changelog: 0.11.5...0.11.6