Skip to content

Latest commit

 

History

History
216 lines (127 loc) · 6.32 KB

File metadata and controls

216 lines (127 loc) · 6.32 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

dependabot: #90 Bump flatted from 3.3.3 to 3.4.1

2.2.0 - 2025-10-02

Added

  • tryParseSwissIbanNumber swiss standard function
  • tryParseSwissSocialInsuranceNumber swiss standard function
  • splitLines string utility function
  • trimStart, trimEnd and trim string type utility functions

Changed

  • Moved isValidSwissIbanNumber and isValidSwissSocialInsuranceNumber to swissStandards

Fixed

  • isValidSwissSocialInsuranceNumber is now named properly
  • isValidSwissIbanNumber now also allows IBAN numbers with letters

2.1.0 - 2025-09-03

Added

  • isValidSwissIbanNumber string utility function
  • isValidSwissSocialSecurityNumber string utility function

2.0.0 - 2025-07-29

Added

  • truncate string utility function

Removed

  • UMD build format from Rollup config

Fixed

  • convertNullToUndefined is now handling arrays properly

1.5.0 - 2025-07-07

Added

  • isImageMimeType, isPdfMimeType, isVideoMimeType, isAudioMimeType, isTextMimeType, and isApplicationMimeType MIME type utility functions

1.4.0 - 2025-06-24

Added

  • uncapitalize string utils

1.3.1 - 2025-06-06

Fixed

  • isValidGuid unwanted behaviour which was returning false for Guid sequentially generated by following Microsoft EntityFramework
  • maxGuid (ffffffff-ffff-ffff-ffff-ffffffffffff) is now recognized as valid Guid

1.3.0 - 2025-04-10

Changed

  • Rollup and Jest configs in TypeScript
  • Ignore code coverage output folder
  • Migrate to eslint 9 flat config

Removed

  • Unnecessary dev-dependencies

Added

  • getFirstDayOfYear date utility function

1.2.2 - 2025-04-04

Changed

  • Split up CI workflow into two separate workflows for the comment posting to work for PRs from forks.

Fixed

  • Improved getEnumNameFromValue and getEnumValueFromName performance

1.2.1 - 2025-03-18

dependabot: #57 Bump tj-actions/changed-files from 41 to 46 in /.github/workflows

dependabot: #54 Bump @babel/helpers from 7.21.5 to 7.26.10

dependabot: #55 Bump @babel/runtime from 7.21.5 to 7.26.10

dependabot: #53 Bump serialize-javascript from 6.0.0 to 6.0.2

dependabot: #49 Bump cross-spawn from 7.0.3 to 7.0.6

Added

  • Code coverage with 100% threshold
  • README.md

1.2.0 - 2025-01-13

Added

  • getStartOfDay, getEndOfDay and getLastDayOfYear date utility functions

1.1.0 - 2024-10-17

  • export boolean utilities

1.0.0 - 2024-10-10

Added

  • pkg.pr.new workflow

Changed

  • 💥 getEnumValues and getEnumValueFromName return type from string | number to enum type

0.7.0 - 2024-10-02

dependabot: #42 Bump rollup from 3.21.4 to 3.29.5

dependabot: #40 Bump webpack from 5.82.0 to 5.94.0

dependabot: #41 Bump micromatch from 4.0.5 to 4.0.8

  • added parseBool utility function
  • added clamp and roundPrecision utility functions

0.6.0 - 2024-06-26

dependabot: #37 Bump braces from 3.0.2 to 3.0.3

  • added dateIsFirstDayOfMonth, dateIsLeapYear, dateIsWeekend and getNextBusinessDate utility functions
  • added isObject and convertNullToUndefined utility functions

0.5.0 - 2024-03-15

Added

  • isValidGuid function to check whether a given string is a valid Guid

dependabot: #31 Bump ip from 1.1.8 to 1.1.9

0.4.0 - 2024-01-29

  • added CacheProvider<TEnum> utility class
  • export the StandardEnum<T> type

0.3.1 - 2024-01-19

  • added export lib/string and lib/guid

0.3.0 - 2024-01-15

  • added isNullOrEmpty, isNullOrWhitespace and capitalize utility functions

0.2.0 - 2024-01-11

dependabot: #19 Bump tj-actions/changed-files from 37 to 41 in /.github/workflows

dependabot: #20 Bump @babel/traverse from 7.21.5 to 7.23.7

  • added dateIsValid, dateIsLastDayOfMonth and dateDifferenceInDays utility functions
  • added newGuid function and emptyGuid constant
  • added getLocalStorageItem, setLocalStorageItem and removeLocalStorageItem utility functions

0.1.1 - 2023-08-04

Fixed

  • Fixed export for CommonJS

0.1.0 - 2023-08-03

Added

  • added eslint-plugin-jsdoc to lint jsdoc comments
  • getEnumNameFromValue,getEnumValueFromName, getEnumNames,getEnumNameValues functions to respectively get the name of an enum from its value, the value from its name, all the names and all the values