v30.0.3
First stable v30 release, which is a complete rewrite.
Full docs released for the first time: https://electrovir.github.io/augment-vir
The change log, compared to v29, is below:
@augment-vir/common
flatten2dArray: removed. Use[].flat().AtLeastOneEntryArray: removed. UseAtLeastTuple.typedArrayIncludes: removed. Usecheck.isInorcheck.hasValuefrom@augment-vir/assertinstead.arrayToObject: the callback must now provide both key and value.getEnumTypedValues: renamed togetEnumValues.getEnumTypedKeys: removed. UsegetEnumValuesinstead.isEnumValue: removed. Usecheck.isEnumValuefrom@augment-vir/assertinstead.ensureEnum: removed. UseassertWrap.isEnumValuefrom@augment-vir/assertinstead.filterToEnumValues: removed thirdcaseInsensitiveinput.hasKey: removed. Usecheck.hasKeyfrom@augment-vir/assertinstead.isKeyof: removed. Usecheck.isKeyOffrom@augment-vir/assertinstead.mapObjectValuesSync: no longer needs to be curried.PartialAndNullable: renamed toPartialWithNullable.PartialAndUndefined: renamed toPartialWithUndefined.isObject: removed. Usecheck.isObjectfrom@augment-vir/assertinstead.PropertyValueType: renamed toValues.RemovePartial: improved and renamed toCompleteRequire.PickDeep: removed entirely. Use thePickSelectionpattern instead.typedHasProperty: removed. Usecheck.hasValuefrom@augment-vir/assertinstead.typedHasProperties: removed. Usecheck.hasValuesfrom@augment-vir/assertinstead.createDeferredPromiseWrapper: refactored into a class:DeferredPromise.isPromiseLike: removed. Usecheck.isPromiseLikefrom@augment-vir/assertinstead.executeWithRetries: renamed tocallWithRetries.waitUntilTruthy: removed. UsewaitUntil.isTruthyfrom@augment-vir/assertinstead.isUuid: removed. Usecheck.isUuidfrom@augment-vir/assertinstead.ansiRegex: renamed toansiRegExp.getAllIndexesOf: renamed tofindSubstringIndexes.isTruthy: removed. Usecheck.isTruthyfrom@augment-vir/assertinstead.isFalsy: moved to@augment-vir/assert.doesRequireScientificNotation: renamed torequiresScientificNotation.ensureMinAndMax: renamed toensureMinMaxconvertIntoNumber: removed. UsetoNumber.wrapNumber:valueis now the standalone first input.round:valueis now the standalone first input.clamp:valueis now the standalone first input.removeCommasFromNumberString: renamed toremoveCommas.makeCaseInsensitiveRegExp: removed. UsesetRegExpCaseSensitivityinstead.getAllIndexesOf: renamed togetSubstringIndexes.typedSplit: renamed tosafeSplit.createDebounce: refactored into a class,Debounce.isBrowser: removed. UseisRuntimeEnv(RuntimeEnv.Web)instead.combineErrors: always returns anErrornow.combineErrorMessages: now takes string inputs and is smarter about combinations.JsonCompatiblePrimitiveValue: renamed to justJsonCompatiblePrimitive.stringifyJson: removed. Usestringifyor justJSON.stringifyinstead.parseJson: removed. UseJSON.parseinstead.deDupeRegExFlags: removed. UseremoveDuplicateCharactersinstead.timeCallback: renamed tomeasureExecutionDuration.isLengthAtLeast: removed. Usecheck.isLengthAtLeastfrom@augment-vir/assertinstead.assertLengthAtLeast: removed. Useassert.isLengthAtLeastfrom@augment-vir/assertinstead.Writeable: renamed toWritable.DeepWriteable: renamed toWritableDeep.RequiredBy: renamed toSetRequired.RequiredAndNotNullBy: renamed toSetRequiredAndNotNull.IfEquals: moved to@augment-vir/assert.wrapNarrowTypeWithTypeCheck: removed. Use TypeScript's built-insatisfiesinstead.NoInfer: removed. Use TypeScript's built-inNoInferinstead, with a default type parameter ofnever.Public: removed.
@augment-vir/browser
Deprecated. Renamed to @augment-vir/web.
findOverflowParent: renamed tofindOverflowAncestorqueryChildren: removed. UsequeryThroughShadowinstead.shuffleArray: moved to@augment-vir/common
@augment-vir/browser-testing
Deprecated. All functionality moved to the testWeb export from @augment-vir/test.
@augment-vir/chai
Deprecated. All functionality moved to @augment-vir/test.
@augment-vir/docker
Deprecated. All functionality moved to the docker export from @augment-vir/node.
@augment-vir/node-js
Deprecated. Renamed to @augment-vir/node.
shuffleArray: moved to@augment-vir/common- All log related exports moved to
@augment-vir/common
@augment-vir/prisma-node-js
Deprecated. Types moved to @augment-vir/common. Functionality moved to the prisma export from @augment-vir/node.
@augment-vir/testing
Deprecated. Use @augment-vir/test instead.