Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Releases: ATVG-Studios/kLib

Release 5.3.0

23 Apr 10:11
8743b9d
Compare
Choose a tag to compare

Added

  • times extension for String
  • TablePrinter and table DSL to print Text Tables to any PrintStream
  • prompt<T> global function as Text Prompt with type parsing
  • copyFrom 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

23 Apr 10:10
c8f832b
Compare
Choose a tag to compare

Added

  • Link Value to RksvBill
  • alphanumericalRegex global function
  • replaceAllOf extension for String
  • `normalize' extension for String
  • klib.parser.influx.Influx object
  • klib.parser.influx.InfluxData data class
  • toSimpleString extension for Map

Changed

  • Allow access to Protected and Native methods in LClass

Deprecated

  • AustrianBill, use RksvBill instead

Release 5.1.0

08 Dec 16:25
387efcd
Compare
Choose a tag to compare

Added

  • string extension for Random
  • Directory as Directory2 alias
  • luhn10 extension for String
  • mod97 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 throws IncompatibleArrayLengthException 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

03 Jun 11:10
bd39135
Compare
Choose a tag to compare

Added

  • JsonKraken 2.0 dependency
  • objectOutputStream extension for File
  • objectInputStream extension for File
  • FFDB (FlatFile DataBase) (klib.ffdb.FFDB)
  • IncompatibleDatabaseException (klib.exceptions.IncompatibleDatabaseException)
  • openFFDB extension for String
  • splitBy extension for String
  • trimSpace 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

03 Mar 07:47
6788acc
Compare
Choose a tag to compare

Added

  • Sha512 Object
  • asSha512 extension for ByteArray
  • partition extension for IntArray
  • swap extension for IntArray
  • lessThen extension for Integer
  • lessThenOrEqualTo extension for Integer
  • greaterThen extension for Integer
  • greaterThenOrEqualTo extension for Integer
  • kLibRequireMin with a minimum only Version (Closes #6)
  • arrayBinSearch global function
  • listQuicksort global function
  • replaceLast 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 to func

Deprecated

  • Directory (klib.files.Directory)

Fixed

  • kLibRequire falsely made a lessThen comparison

4.1.0-rc.1

23 Feb 22:58
2cc0b52
Compare
Choose a tag to compare
4.1.0-rc.1 Pre-release
Pre-release

Expected Changes of 4.1.0

Added

  • Sha512 Object
  • asSha512 extension for ByteArray
  • partition extension for IntArray
  • swap extension for IntArray
  • lessThen extension for Integer
  • lessThenOrEqualTo extension for Integer
  • greaterThen extension for Integer
  • greaterThenOrEqualTo extension for Integer
  • kLibRequireMin with a minimum only Version (Closes #6)
  • arrayBinSearch global function
  • listQuicksort global function
  • replaceLast 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 to func

Deprecated

  • Directory (klib.files.Directory)

Fixed

  • kLibRequire falsely made a lessThen comparison

4.1.0-dev.6

23 Feb 22:58
b11e9dd
Compare
Choose a tag to compare
4.1.0-dev.6 Pre-release
Pre-release

Added

  • Directory2 (klib.files.Directory2)

Deprecated

  • Directory (klib.files.Directory)

4.1.0-dev.5

23 Feb 22:56
e7d2d5b
Compare
Choose a tag to compare
4.1.0-dev.5 Pre-release
Pre-release

Added

  • AustrianBill Class

4.1.0-dev.4

23 Feb 22:56
6c3cfc5
Compare
Choose a tag to compare
4.1.0-dev.4 Pre-release
Pre-release

Added

Fixed

  • kLibRequire falsely made a lessThen comparison

4.1.0-dev.3

29 Dec 12:56
50ac445
Compare
Choose a tag to compare
4.1.0-dev.3 Pre-release
Pre-release

Added

  • arrayBinSearch global function
  • listQuicksort global function

Changed

  • BREAKING: Queue.enqueue x parameter renamed to func
  • BREAKING: Http.url property is now private