This repository was archived by the owner on Mar 21, 2023. It is now read-only.
Releases: ATVG-Studios/kLib
Releases · ATVG-Studios/kLib
Release 5.3.0
Added
timesextension for StringTablePrinterand table DSL to print Text Tables to any PrintStreamprompt<T>global function as Text Prompt with type parsingcopyFromextension for anything that inherits from Any- Added JodaTime as a Dependency (Adds ~600 KB to FAT jar)
Changed
isNumericextension on String uses start and end in regex^\d+$
Release 5.2.0
Added
- Link Value to RksvBill
alphanumericalRegexglobal functionreplaceAllOfextension for String- `normalize' extension for String
klib.parser.influx.Influxobjectklib.parser.influx.InfluxDatadata classtoSimpleStringextension for Map
Changed
- Allow access to Protected and Native methods in LClass
Deprecated
- AustrianBill, use RksvBill instead
Release 5.1.0
Added
stringextension for Random- Directory as Directory2 alias
luhn10extension for Stringmod97extension for String- isVirtual parameter to ZipFile constructor
- ZipFile.openVirtual to output the file to a random Stream
klib.os.Platformobject- Platform Extensions for System
IncompatibleArrayLengthExceptiononConflictto Map.smartMergeand Map.mergeArrays
Changed
- Upgraded Kotlin from 1.3.71 to 1.4.10
- FFDB v1 files are read-only. (FFDB is still Experimental so this change is acceptable)
- fileName parameter of ZipFile constructor is Nullable (only allowed when isVirtual=true)
- ZipFile.open only opens a file if fileName!=null; throws an error if fileName==null && isVirtual==false
- In ZipFile all file accessors could throw a ZipTraversalNotAllowedException
- Map.
mergeArraysthrowsIncompatibleArrayLengthExceptionwhen arrays have different sizes
Deprecated
- Queue (
klib.queue.Queue) - Function (
klib.queue.Function) - Function -> Any (`klib.queue.Function_Any``)
- Word (
klib.word.Word)
Fixed
- String.
toUpperCaseOnUnderscorewas rewritten and works propperly now
Security
- ZipFile reject all paths that seem like they could cause a traversal attack
Release 5.0.0
Added
- JsonKraken 2.0 dependency
objectOutputStreamextension for FileobjectInputStreamextension for File- FFDB (FlatFile DataBase) (
klib.ffdb.FFDB) - IncompatibleDatabaseException (
klib.exceptions.IncompatibleDatabaseException) openFFDBextension for StringsplitByextension for StringtrimSpaceextension for String
Changed
- Upgraded Kotlin from 1.3.61 to 1.3.71
Removed
- JsonKraken 1.0 Source
- kSock (
klib.net.socket.kSock) - Directory (
klib.files.Directory) asDirectoryextension for File- Status number from
klib.files.Directory2.DirectoryError
Fixed
- FFDB now checks if the File exists before writing/reading
- FFDB now checks if the FIle is empty before reading
Release 4.1.0
Added
Sha512ObjectasSha512extension for ByteArraypartitionextension for IntArrayswapextension for IntArraylessThenextension for IntegerlessThenOrEqualToextension for IntegergreaterThenextension for IntegergreaterThenOrEqualToextension for IntegerkLibRequireMinwith a minimum only Version (Closes #6)arrayBinSearchglobal functionlistQuicksortglobal functionreplaceLastextension for String- Implement OpenSpec Konfig 19.3
- Implement OpenSpec Konfig 20.1
- Implement OpenSpec Konfig 20.2
AustrianBillClass- Directory2 (
klib.files.Directory2)
Changed
- Upgraded Kotlin from 1.3.60 to 1.3.61
- Queue.enqueue
xparameter renamed tofunc
Deprecated
- Directory (
klib.files.Directory)
Fixed
kLibRequirefalsely made alessThencomparison
4.1.0-rc.1
Expected Changes of 4.1.0
Added
Sha512ObjectasSha512extension for ByteArraypartitionextension for IntArrayswapextension for IntArraylessThenextension for IntegerlessThenOrEqualToextension for IntegergreaterThenextension for IntegergreaterThenOrEqualToextension for IntegerkLibRequireMinwith a minimum only Version (Closes #6)arrayBinSearchglobal functionlistQuicksortglobal functionreplaceLastextension for String- Implement OpenSpec Konfig 19.3
- Implement OpenSpec Konfig 20.1
- Implement OpenSpec Konfig 20.2
AustrianBillClass- Directory2 (
klib.files.Directory2)
Changed
- Upgraded Kotlin from 1.3.60 to 1.3.61
- Queue.enqueue
xparameter renamed tofunc
Deprecated
- Directory (
klib.files.Directory)
Fixed
kLibRequirefalsely made alessThencomparison
4.1.0-dev.6
Added
- Directory2 (
klib.files.Directory2)
Deprecated
- Directory (
klib.files.Directory)
4.1.0-dev.5
Added
AustrianBillClass
4.1.0-dev.4
Added
replaceLastextension for String- Implement OpenSpec Konfig 19.3
- Implement OpenSpec Konfig 20.1
- Implement OpenSpec Konfig 20.2
Fixed
kLibRequirefalsely made alessThencomparison
4.1.0-dev.3
Added
arrayBinSearchglobal functionlistQuicksortglobal function
Changed
- BREAKING: Queue.enqueue
xparameter renamed tofunc - BREAKING: Http.url property is now private