This repository has been 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
times
extension for StringTablePrinter
and table DSL to print Text Tables to any PrintStreamprompt<T>
global function as Text Prompt with type parsingcopyFrom
extension for anything that inherits from Any- Added JodaTime as a Dependency (Adds ~600 KB to FAT jar)
Changed
isNumeric
extension on String uses start and end in regex^\d+$
Release 5.2.0
Added
- Link Value to RksvBill
alphanumericalRegex
global functionreplaceAllOf
extension for String- `normalize' extension for String
klib.parser.influx.Influx
objectklib.parser.influx.InfluxData
data classtoSimpleString
extension for Map
Changed
- Allow access to Protected and Native methods in LClass
Deprecated
- AustrianBill, use RksvBill instead
Release 5.1.0
Added
string
extension for Random- Directory as Directory2 alias
luhn10
extension for Stringmod97
extension for String- isVirtual parameter to ZipFile constructor
- ZipFile.openVirtual to output the file to a random Stream
klib.os.Platform
object- Platform Extensions for System
IncompatibleArrayLengthException
onConflict
to Map.smartMerge
and 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.
mergeArrays
throwsIncompatibleArrayLengthException
when 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.
toUpperCaseOnUnderscore
was 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
objectOutputStream
extension for FileobjectInputStream
extension for File- FFDB (FlatFile DataBase) (
klib.ffdb.FFDB
) - IncompatibleDatabaseException (
klib.exceptions.IncompatibleDatabaseException
) openFFDB
extension for StringsplitBy
extension for StringtrimSpace
extension 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
) asDirectory
extension 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
Sha512
ObjectasSha512
extension for ByteArraypartition
extension for IntArrayswap
extension for IntArraylessThen
extension for IntegerlessThenOrEqualTo
extension for IntegergreaterThen
extension for IntegergreaterThenOrEqualTo
extension for IntegerkLibRequireMin
with a minimum only Version (Closes #6)arrayBinSearch
global functionlistQuicksort
global functionreplaceLast
extension for String- Implement OpenSpec Konfig 19.3
- Implement OpenSpec Konfig 20.1
- Implement OpenSpec Konfig 20.2
AustrianBill
Class- Directory2 (
klib.files.Directory2
)
Changed
- Upgraded Kotlin from 1.3.60 to 1.3.61
- Queue.enqueue
x
parameter renamed tofunc
Deprecated
- Directory (
klib.files.Directory
)
Fixed
kLibRequire
falsely made alessThen
comparison
4.1.0-rc.1
Expected Changes of 4.1.0
Added
Sha512
ObjectasSha512
extension for ByteArraypartition
extension for IntArrayswap
extension for IntArraylessThen
extension for IntegerlessThenOrEqualTo
extension for IntegergreaterThen
extension for IntegergreaterThenOrEqualTo
extension for IntegerkLibRequireMin
with a minimum only Version (Closes #6)arrayBinSearch
global functionlistQuicksort
global functionreplaceLast
extension for String- Implement OpenSpec Konfig 19.3
- Implement OpenSpec Konfig 20.1
- Implement OpenSpec Konfig 20.2
AustrianBill
Class- Directory2 (
klib.files.Directory2
)
Changed
- Upgraded Kotlin from 1.3.60 to 1.3.61
- Queue.enqueue
x
parameter renamed tofunc
Deprecated
- Directory (
klib.files.Directory
)
Fixed
kLibRequire
falsely made alessThen
comparison
4.1.0-dev.6
Added
- Directory2 (
klib.files.Directory2
)
Deprecated
- Directory (
klib.files.Directory
)
4.1.0-dev.5
Added
AustrianBill
Class
4.1.0-dev.4
Added
replaceLast
extension for String- Implement OpenSpec Konfig 19.3
- Implement OpenSpec Konfig 20.1
- Implement OpenSpec Konfig 20.2
Fixed
kLibRequire
falsely made alessThen
comparison
4.1.0-dev.3
Added
arrayBinSearch
global functionlistQuicksort
global function
Changed
- BREAKING: Queue.enqueue
x
parameter renamed tofunc
- BREAKING: Http.url property is now private