Releases: rsm-hcd/AndcultureCode.JavaScript.Core
v0.5.0
v0.5.0 Release
Release notes
Adds the ability to pull culture from the first path index in the route with i18next-browser-languageDetector
Notable features:
LocalizationUtils.initializenow takes anoptionsobject in the third parameter, with a boolean fieldescapeValueto support previous functionalityLocalizationUtils.cultureCodeFromRouteStringUtils.isValidCultureCode
Known issues
#12 Add abstraction of browser-based language detection to localization utils
Contributors
v0.4.3
v0.4.3 Release
Release notes
Maintenance release - downgrade axios from 0.21.1 to 0.19.2 to fix incompatibility issues w/ projects relying on the lower version. See AndcultureCode.JavaScript.React#60
Contributors
v0.4.2
v0.4.1
v0.4.1 Release
Release notes
Adds type guard for RecordUtils.isRecord, as well as some restructuring to both RecordUtils and CoreUtils to ensure JSDoc comments are actually maintained in the .d.ts files that are generated.
Known issues
#82 StringUtils.isEmpty type guard types value as 'never' when false
#83 Add type guard for RecordUtils.isRecord
Partially fixes #51 Declaration files do not retain JSDoc comments (for RecordUtils and CoreUtils)
Contributors
v0.4.0
v0.4.0 Release
Release notes
Adds various type guards for ease of developer use.
Notable features:
CollectionUtils.isEmptywill now returncollection is undefined, signifying that the collection should not be trusted to pull values out of.CollectionUtils.hasValuesandCollectionUtils.isNotEmptyreturncollection is any[] | Immutable.List<any>, signifying that the collection is both non-null and contains at least one value. This should alleviate the need to force the TS compiler with!after calling it on a collection.StringUtils.isEmptyandStringUtils.hasValuenow returnvalue is string
Known issues
#73 Identify and add Type Guards to methods that return a boolean
Contributors
v0.3.7
v0.3.7 Release
Release notes
Maintenance release to wrap various external dependencies in private functions to reduce burden on global distribution users
Known issues
#51 Declaration files do not retain JSDoc comments
#69 Consider removing peer dependency usage directly in exported objects
Contributors
v0.3.6
v0.3.6 Release
Release notes
Maintenance release to add a missed export from the index - BrowserUtils
Known issues
#77 Export BrowserUtils from index.ts
Contributors
v0.3.5
v0.3.4
v0.3.4 Release
Release notes
Feature release with a few new CollectionUtils functions and some additional test coverage for ScrollUtils
Notable features:
intersectionandintersectionWithnow available fromCollectionUtils, forwarded fromlodashCollectionUtilsfunctions are now all wrapped in a private function which should alleviate some pains when using the package as a global script (see #69 for reference)sortByStringis now available inCollectionUtilswhich allow a consumer to easily sort a collection of objects by one of its string properties
Known issues
#44 Export intersection function from lodash
#62 Port CollectionUtils.sortByString
#70 Added tests to increase coverage
Contributors
v0.3.3 - Added Support for Global
v0.3.3 Release
Release notes
Added supported for a global distribution for use on websites, backfill test coverage for various utility methods, updates to RouteUtils to better support query string formats, updates to ServiceUtils for developer ease-of-use
Notable features:
- Non-module based applications / websites can now import this library and have access to all it's functionality using the
AndcultureCodewindow namespace ServiceResponse.resultObjectsis now a non-nullable array, which will be empty by defaultRouteUtils.appendQueryParamsnow supports different array formats based on theQueryStringArrayFormatenum
Known issues
#20 Update RouteUtils.appendQueryParams to use QueryString to build string
#26 Backfill tests for ScrollUtils
#54 Backfill tests for CoreUtils.sleepSync
#60 ServiceUtils.mapPagedAxiosResponse maps empty arrays as null instead of empty array
#66 Write tests for CoreUtils
#67 Add distribution for non module based system using webpack