Change Log
1.6.0 (2024-12-06)
- BREAKING CHANGES: The
qsu
package no longer uses classes, so if you want to import the entire module at once, you must use something likeimport * as _ from 'qsu'
. (_
->* as _
) - BREAKING CHANGES: The
objectTo1d
method have been renamed toobjTo1d
- Separate files for each module purpose. Improved tree-shaking.
1.5.0 (2024-10-24)
- BREAKING CHANGES: The
md5
,sha1
, andsha256
methods have been renamed tomd5Hash
,sha1Hash
, andsha256Hash
. objMergeNewKey
: AddobjMergeNewKey
method
1.4.2 (2024-06-25)
isObject
: use more accurate detect logic
1.4.1 (2024-05-05)
safeJSONParse
: AddsafeJSONParse
methodsafeParseInt
: AddsafeParseInt
method
1.4.0 (2024-04-14)
- BREAKING CHANGES: Removed the
msToTime
andsecToTime
methods, which are unstable and have been replaced with theduration
method to provide a more stable utility. duration
: Addduration
method
1.3.8 (2024-04-12)
objectTo1d
: AddobjectTo1d
method- Strictly check object types on some methods
1.3.7 (2024-04-07)
trim
: handle error when value isnull
1.3.6 (2024-04-07)
- BREAKING CHANGES: The
trim
, Now there is no second argument, and the default behavior is to remove leading and trailing spaces, and change spaces in more than two letters to spaces in the sentence - BREAKING CHANGES: The
getPlatform
method has been deleted
1.3.5 (2024-03-31)
numberFormat
: allow string type parameterisTrueMinimumNumberOfTimes
: AddisTrueMinimumNumberOfTimes
method
1.3.4 (2024-03-19)
objDeleteKeyByValue
: AddobjDeleteKeyByValue
methodobjUpdate
: AddobjUpdate
methodarrGroupByMaxCount
: AddarrGroupByMaxCount
method
1.3.3 (2024-03-05)
objFindItemRecursiveByKey
: AddobjFindItemRecursiveByKey
methodurlJoin
: AddurlJoin
methodobjToArray
: AddobjToArray
method
1.3.2 (2023-12-28)
strToNumberHash
: AddstrToNumberHash
methodobjToQueryString
: AddobjToQueryString
methodobjToPrettyStr
: AddobjToPrettyStr
method
1.3.1 (2023-11-08)
encrypt
,decrypt
: Add toBase64 params for result string encodingcreateDateListFromRange
: Use regex instead of string checkgetPlatform
: Android is not linux os (This method has now been removed in version 1.3.6)
1.3.0 (2023-09-27)
objectId
: AddobjectId
methodsortByObjectKey
: AddsortByObjectKey
methodsortNumeric
: AddsortNumeric
method- Documentation improvements
1.2.3 (2023-09-15)
truncateExpect
: do not add a closing character to the last character for sentences without a closing character
1.2.2 (2023-08-15)
replaceBetween
: AddreplaceBetween
method
1.2.1 (2023-08-07)
capitalizeEverySentence
: AddcapitalizeEverySentence
methodarrUnique
: Use fast algorithm for 2d array uniquedebounce
: Adddebounce
method
1.2.0 (2023-06-29)
BREAKING CHANGES: The isBotAgent
, license
methods were separated from qsu
to the qsu-web
package. These methods are no longer available after version 1.2.0.
- Explore the
qsu-web
package: https://github.com/jooy2/qsu-web - Also, I've split the documentation page into the following sites: https://qsu.cdget.com
1.1.8 (2023-05-13)
strToAscii
: AddstrToAscii
methodtruncateExpect
: AddtruncateExpect
method
1.1.7 (2023-03-17)
- NodeJS 12 version deprecation
removeSpecialChar
: UsingexceptionCharacters
instead ofwithoutSpace
1.1.6 (2023-02-28)
isValidDate
: Only theyyyy-mm-dd
format can be verifieddateToYYYYMMDD
: AdddateToYYYYMMDD
methodcreateDateListFromRange
: AddcreateDateListFromRange
methodarrCount
: AddarrCount
method
1.1.5 (2023-02-07)
isEmail
: AddisEmail
methodsub
: Addsub
methoddiv
: Adddiv
method
1.1.4 (2022-12-22)
arrTo1dArray
: AddarrTo1dArray
methodisObject
: AddisObject
methodarrRepeat
: AddarrRepeat
methodisValidDate
: RenameisRealDate
toisValidDate
1.1.3 (2022-10-23)
funcTimes
: AddfuncTimes
methodgetPlatform
: AddgetPlatform
method (This method has now been removed in version 1.3.6)sum
,mul
,split
: Fix type errorarrUnique
,capitalizeEachWords
,strBlindRandom
: Fix correct use static method- Support named import
- Change test script to TypeScript
1.1.2 (2022-10-20)
trim
: Add new trim methodfileSize
: When byte is null, returns 0 bytesstrCount
: Use indexOf instead of regular expression to use better performancestrNumberOf
: Rename method name to strCount- Add prettier and reformat all codes
- Change require nodejs version to >= 12
- Remove unused ts-node package
- Upgrade package dependencies
1.1.1 (2022-10-08)
- Upgrade package dependencies
1.1.0 (2022-09-03)
- Reduced bundle size due to minify executable code
isBotAgent
: Remove duplicate string
1.0.9 (2022-08-15)
str
: Handling of null str values
1.0.8 (2022-08-15)
- Add GitHub workflows
truncate
: Return empty string when str is nullfileName
: Resolves windows path regardless of system environment
1.0.7 (2022-07-24)
- Add
CHANGELOG.md
to.npmignore
1.0.6 (2022-07-24)
isBotAgent
: Addchrome-lighthouse
in bot listssplit
: Fix incorrect return typeisEqual
: Add new isEqual methodisEqualStrict
: Add new isEqualStrict method- Import only the methods needed in the path and crypto module
1.0.5 (2022-06-23)
contains
: When the length of the str parameter value of string type is 0, no error is thrown and false is returned
1.0.4 (2022-06-16)
BREAKING CHANGES: convertDate
is no longer supported due to the removal of moment
as a dependent module.
The today
method has changed its usage. We no longer support custom date formats.
split
: Add new split methodtoday
: Remove dependent modules, change parameters to use pure codeconvertDate
: Remove methodencrypt
,decrypt
: Add basic validation check (more fix)
1.0.3 (2022-05-24)
encrypt
,decrypt
: Add basic validation check
1.0.2 (2022-05-23)
encrypt
decrypt
: Add basic validation checkstrBlindRandom
: Override the deprecated substr method
1.0.1 (2022-05-12)
- Minimize bundle size and clean up code
1.0.0 (2022-05-09)
- First version release
0.0.1 ~ 0.5.5 (2021-03-16 ~ 2022-04-09)
- This is for the Alpha release and is not recommended for use