Merge pull request #174 from InsanusMokrassar/0.17.0

0.17.0
This commit is contained in:
InsanusMokrassar 2023-06-18 13:43:03 +06:00 committed by GitHub
commit c6643dbdbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 19 additions and 12 deletions

View File

@ -1,5 +1,14 @@
# SauceNaoAPI Changelog
## 0.17.0
* Versions:
* `Kotlin`: `1.8.22`
* `Serialization`: `1.5.1`
* `Ktor`: `2.3.1`
* `MicroUtils`: `0.19.2`
* `Klock`: `4.0.3`
## 0.16.0
Add `MicroUtils` as used micro utils

View File

@ -1,3 +1,3 @@
kotlin.code.style=official
library_version=0.16.0
library_version=0.17.0

View File

@ -1,15 +1,13 @@
[versions]
kt = "1.8.21"
kt-serialization = "1.5.0"
kt = "1.8.22"
kt-serialization = "1.5.1"
kt-coroutines = "1.6.4"
klock = "3.4.0"
ktor = "2.3.0"
klock = "4.0.3"
ktor = "2.3.1"
microutils = "0.18.2"
okio = "3.3.0"
microutils = "0.19.2"
gh-release = "2.4.1"

View File

@ -1,6 +1,6 @@
package dev.inmo.saucenaoapi.additional
import com.soywiz.klock.TimeSpan
import korlibs.time.TimeSpan
typealias AccountType = Int
const val defaultAccountType: AccountType = 1 // "basic"

View File

@ -1,6 +1,6 @@
package dev.inmo.saucenaoapi.exceptions
import com.soywiz.klock.TimeSpan
import korlibs.time.TimeSpan
import dev.inmo.saucenaoapi.additional.LONG_TIME_RECALCULATING_MILLIS
import dev.inmo.saucenaoapi.additional.SHORT_TIME_RECALCULATING_MILLIS
import io.ktor.client.plugins.ClientRequestException

View File

@ -1,6 +1,6 @@
package dev.inmo.saucenaoapi.utils
import com.soywiz.klock.DateTime
import korlibs.time.DateTime
import dev.inmo.saucenaoapi.additional.LONG_TIME_RECALCULATING_MILLIS
import dev.inmo.saucenaoapi.additional.SHORT_TIME_RECALCULATING_MILLIS
import dev.inmo.saucenaoapi.exceptions.TooManyRequestsException

View File

@ -1,6 +1,6 @@
package dev.inmo.saucenaoapi.utils
import com.soywiz.klock.DateTime
import korlibs.time.DateTime
import dev.inmo.saucenaoapi.additional.LONG_TIME_RECALCULATING_MILLIS
import dev.inmo.saucenaoapi.additional.SHORT_TIME_RECALCULATING_MILLIS
import kotlinx.coroutines.*