Tags give the ability to mark specific points in history as being important
  • 4.1.0-dev.2
    Release 4.1.0-dev.2

    This is a Development Version

    Added

    • kLibRequireMin with a minimum only Version (Closes #6)

    Changed

    • kLibRequire falsely made a lessThen comparison
  • 4.1.0-dev
    Release 4.1.0-dev

    This is a Development Version

    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

    Changed

    • Upgraded Kotlin from 1.3.60 to 1.3.61
  • 4.0.0
    8ca0681e · Release 4.0.0 ·
    Release 4.0.0

    Added

    • KSocket (klib.net.socket.KSocket)
    • KString (klib.text.KString)
    • asFileInputStream extension for String
    • asFileOutputStream extension for String
    • Light weight JSON Parser (net.jemzart.jsonkraken)
    • toListOfType extension for JsonArray
    • toObjectOfType extension for JsonObject
    • Directory (klib.files.Directory)
    • asDirectory extension for File
    • readAll extension for FileList
    • writeAll extensions for FileList
    • replaceAllOf extension for MutableFileList
    • readInt global function
    • readLong global function
    • runRandom global function
    • orNullable extension for Any
    • toSnakeCase extension for String
    • asIntOr extension for String
    • asLongOr extensions for String

    Changed

    • Upgraded Kotlin from 1.3.31 to 1.3.60
    • Moved and Renamed a lot of packages (Major Breaking Change)
    • toObjectFromType extension on String uses Generics
    • toObjectFromType extension on String uses Generics

    Deprecated

    • kSock (klib.net.socket.kSock)

    Removed

    • SimpleJSON was removed again (org.json.*)
    • GSON was removed again (com.google.gson)
    • toObject(json, type) function from Json interface
    • binSearch extension from MutableList
  • 4.0.0-rc.1
    6721f1c4 · Build: kLib RC 1 ·
  • 4.0.0-beta.2
  • 4.0.0-beta.1
    b511f859 · Functions: Fix linting ·
  • 3.2.0
    c34851e1 · Release 3.2.0 ·
    Release 3.2.0

    Added

    • print Top-Level Function
    • binSearch extension for List
    • binSearch extension for MutableList
    • Http.custom function
    • Konfig now supports Lists/Arrays
    • kLib is now shipping with JSON Parser (it adds about 300KB to builds)

    Changed

    • Extended Http.get with headers parameter
    • Extended Http.post with headers parameter
    • Default JsonHandler now uses JSON Parser and actually works
  • 3.1.0
    17e71d10 · Release 3.1.0 ·
    Release 3.1.0

    Added

    • smartMerge extension to MutableMap (With value type converter)
    • fullMerge extension to MutableMap (With value type converter)
    • mergeArrays extension to MutableMap (With value type converter)
    • toListWithConvert extension to List
    • toListWithConvert extension to MutableList
    • fromUrl extension to File
    • toFile extension to URL
    • toObjectOfType extension to URL
    • Http class
    • Http.DataTypes Enum Class
    • readText extension to InputStream
    • fromHex extension to String
    • fromHexToLong extension to String
    • toHex extension to Byte
    • binSearch extension to IntArray (Using Recursion, its 50% faster)

    Changed

    • Moved Library API from Experimental to Stable
  • 3.0.0
    Release 3.0.0

    IMPORTANT NOTICE

    • kLib is now licensed under the OSPL20 (a MPL 2.0 Fork), kLib prior to 3.0 will stay MIT!

    Added

    • smartMerge extension to MutableMap
    • smartMerge extension to MutableMap (With value type converter)
    • fullMerge extension to MutableMap
    • mergeArrays extension to MutableMap
    • openIfExist parameter for ZipFile.open
    • reset extension to File
    • kSock object class
    • every extension to Function () -> Unit

    Removed

    • version property of kLibInf (Replaced with semver)
    • versionId property of kLibInf (Replaced with semver)
    • klibRequire for versionId (Replaced with semver)
    • klibRequire for versionId range (Replaced with semver)

    Fixed

    • Fixed bug in SemVer parsing crashing when preRelease and buildMetadata was not given
  • 2.1.1
    f04170a9 · Release 2.1.1 ·
    Release 2.1.1

    Fixed

    • Removed Experimental Annotations from ZipFile functions/classes
  • 2.1.0
    e7b63ee5 · Release 2.1.0 ·
    Release 2.1.0

    Added

    • new function to LClass (To be used with is and as and Interfaces)
    • semver property of kLibInf is now priority
    • kLibRequire Top-Level Function gets semver support
    • extract function to ZipFile
    • unzip function to ZipFile

    Changed

    • Moved ZipFile out of Experimental

    Deprecated

    • version property of kLibInf (Replaced with semver)

    Fixed

    • println ran in infinite loop
  • 2.0.1
    c5ef6ab9 · Linting ·
    Release 2.0.1

    Fixed

    • String.deny failing on empty strings
    • String.require not considering empty strings
    • kLibInf.version having the wrong version number
  • 2.0.0
    6007417f · Release 1.4.0 ·
    Release 2.0.0

    Added

    • checksum property for HashResult
    • getBytes function for HashResult
    • Sha1 Object Class
    • asSha1 extension for String
    • inBoundsOf extension for Int
    • hashSha256 extension for File
    • hashSha1 extension for File
    • Sha256Checksum extension for File
    • Sha1Checksum extension for File
    • asSha1 extension for ByteArray
    • toStrInt extension for Char
    • semver property for kLibInf
    • SemVer Type Class
    • InvalidTypeException Exception Class

    Removed

    • KonfParseException Exception Class

    Fixed

    • String.deny failed on empty string or param; Now only fails on empty param
    • Konfig.parse crashing on empty lines

    Downloads

    The Java Jar contains the Kotlin STD Library. This Jar is required if you want to add kLib to your Java Applications. If you write a Kotlin Application, please use the Kotlin Jar as it only contains the kLib binary code.

  • 1.4.0
    6007417f · Release 1.4.0 ·
    Release 1.4.0

    Changed

    • Extended Experimental Library implementation
      • LClass now supports super class functions
      • LClass now supports direct method invocation
      • LClass now provides a list of LFunction's defined in Host class (and Supers)
      • LFunction now supports one-argument method invocations

    Fixed

    • zipPath not being used when using addFiles on ZipFile

    Downloads

    The Java Jar contains the Kotlin STD Library. This Jar is required if you want to add kLib to your Java Applications. If you write a Kotlin Application, please use the Kotlin Jar as it only contains the kLib binary code.

  • 1.3.0
    a8c5d379 · Release 1.3.0 ·
    Release 1.3.0

    Added

    • Library Object Class
    • LClass Type Class
    • LFunction Type Class
    • loadAsLibraryWithClass extension for File
    • loadAsLibraryWithClass extension for String
    • loadAsLibraryWithFunction extension for File
    • loadAsLibraryWithFunction extension for String

    Downloads

    The Java Jar contains the Kotlin STD Library. This Jar is required if you want to add kLib to your Java Applications. If you write a Kotlin Application, please use the Kotlin Jar as it only contains the kLib binary code.

  • 1.2.0
    030f8be7 · Release 1.2.0 ·
    Release 1.2.0

    Added

    • toJson extension for Any
    • println Top-Level Function
    • asFile extension for String
    • ZipFile Type Class (Experimental API)
    • toFile extension for InputStream
    • toFileInZipFile extension for InputStream
    • addToZipFile extension for File

    Downloads

    The Java Jar contains the Kotlin STD Library. This Jar is required if you want to add kLib to your Java Applications. If you write a Kotlin Application, please use the Kotlin Jar as it only contains the kLib binary code.

  • 1.1.0
    f636efc8 · Release 1.1.0 ·
    Release 1.1.0

    Added

    • abs property for Int
    • isTrue property for Int
    • isFalse property for Int
    • KonfigParseException Exception
    • pairOf Top-Level Function
    • p Top-Level Function
    • deny extension for Pair
    • require extension for Pair

    Deprecated

    • KonfParseException Exception

    Downloads

    The Java Jar contains the Kotlin STD Library. This Jar is required if you want to add kLib to your Java Applications. If you write a Kotlin Application, please use the Kotlin Jar as it only contains the kLib binary code.

  • 1.0.0
    a4a8d1ca · Fixing lints ·
    Release 1.0.0

    Added

    • asInt extension for Boolean
    • power extension for Double
    • half property for Int
    • third property for Int
    • quarter property for Int
    • fourth property for Int
    • tenth property for Int

    Downloads

    The Java Jar contains the Kotlin STD Library. This Jar is required if you want to add kLib to your Java Applications. If you write a Kotlin Application, please use the Kotlin Jar as it only contains the kLib binary code.

  • 0.2.2 protected
    ca7789c1 · Release 0.2.2 ·
    Release 0.2.2

    Added

    • quicksort extension for MutableList
    • quicksort extension for List
    • plusAssign Function to Queue
    • invoke Function to Queue
    • startTimedExecution Function to Queue
    • Konfig Object Class (Experimental API)

    Downloads

    The Java Jar contains the Kotlin STD Library. This Jar is required if you want to add kLib to your Java Applications. If you write a Kotlin Application, please use the Kotlin Jar as it only contains the kLib binary code.

  • 0.2.1 protected
    e7506985 · Fix wrong version ·
    Release 0.2.1

    Changed

    • Make Queue non-experimental

    Downloads

    The Java Jar contains the Kotlin STD Library. This Jar is required if you want to add kLib to your Java Applications. If you write a Kotlin Application, please use the Kotlin Jar as it only contains the kLib binary code.