Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

7.4.0 #273

Merged
merged 50 commits into from
Nov 1, 2024
Merged

7.4.0 #273

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
82e1b43
remove unneccesary textreference inheritance
vendelieu Sep 8, 2024
2226271
Update dependency io.gitlab.arturbosch.detekt to v1.23.7
renovate[bot] Sep 8, 2024
354be26
Update dependency gradle to v8.10.1 (#238)
renovate[bot] Sep 9, 2024
f0593dd
Update dependency com.gradle.plugin-publish to v1.3.0 (#239)
renovate[bot] Sep 11, 2024
b62b8b2
add option to pass lambda instead off guard class for FDSL
vendelieu Sep 12, 2024
a829d8c
improve functional dsl
vendelieu Sep 12, 2024
8eba983
improve functional dsl
vendelieu Sep 12, 2024
d7dce2d
fix fdsl test
vendelieu Sep 13, 2024
2a1dccd
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-core to v1…
renovate[bot] Sep 13, 2024
0026e7d
Update dependency org.jetbrains.kotlinx:kotlinx-coroutines-slf4j to v…
renovate[bot] Sep 13, 2024
cf628ac
improve logging
vendelieu Sep 14, 2024
4d9f72e
improve logging
vendelieu Sep 14, 2024
7a135d3
Update dependency io.github.hakky54:sslcontext-kickstart-for-pem to v…
renovate[bot] Oct 3, 2024
71901e7
Update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to…
renovate[bot] Oct 3, 2024
abf8fe2
Update dependency org.springframework.boot:spring-boot-starter to v3.…
renovate[bot] Oct 3, 2024
ef44cbc
add optin to compiler's options
vendelieu Oct 4, 2024
25db91e
update botctx-redis module
vendelieu Oct 4, 2024
1e9cd0c
fix wrong logging for activities + ktor req
vendelieu Oct 4, 2024
98a2caa
update redis v
vendelieu Oct 6, 2024
8242a02
Update dependency eu.vendeli:re.this to v0.1.5 (#253)
renovate[bot] Oct 6, 2024
c419f25
little improvements
vendelieu Oct 9, 2024
c80f77a
little improvements
vendelieu Oct 9, 2024
c42aba7
Update dependency io.mockk:mockk to v1.13.13
renovate[bot] Oct 9, 2024
fc94d5d
upgrade to ktor 3
vendelieu Oct 10, 2024
c626753
fix tests
vendelieu Oct 10, 2024
d7ebffb
Update dependency eu.vendeli:re.this to v0.1.6 (#257)
renovate[bot] Oct 10, 2024
e05674d
Update kotlin monorepo to v2.0.21
renovate[bot] Oct 10, 2024
66491f2
Update dependency eu.vendeli:re.this to v0.1.7
renovate[bot] Oct 11, 2024
12146dd
Update ksp to v2.0.21-1.0.25
renovate[bot] Oct 11, 2024
689c388
change dokka logo
vendelieu Oct 11, 2024
343ada8
minor improvements
vendelieu Oct 11, 2024
d114cec
expose updates flow
vendelieu Oct 12, 2024
0eafc44
Update dependency ch.qos.logback:logback-classic to v1.5.10
renovate[bot] Oct 12, 2024
153c876
add dokka note
vendelieu Oct 13, 2024
d7f4954
Update dependency eu.vendeli:re.this to v0.1.8
renovate[bot] Oct 13, 2024
cca6871
Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.30…
renovate[bot] Oct 15, 2024
e32ea8f
Update dependency ch.qos.logback:logback-classic to v1.5.11 (#265)
renovate[bot] Oct 15, 2024
cd6dcd9
Update poet to v2 (#268)
renovate[bot] Oct 23, 2024
1320b7d
Update ksp to v2.0.21-1.0.26
renovate[bot] Oct 23, 2024
f352f94
Update dependency org.springframework.boot:spring-boot-starter to v3.…
renovate[bot] Nov 1, 2024
c9b13d2
fix test
vendelieu Nov 1, 2024
44bf1ad
update new api spec
vendelieu Nov 1, 2024
6bc5554
use lower redis ver (due to datetime conflict)
vendelieu Nov 1, 2024
df47d7a
improve validator
vendelieu Nov 1, 2024
d05c4a0
fix found problems
vendelieu Nov 1, 2024
a4f8232
implement api changes
vendelieu Nov 1, 2024
c25da21
fix plugin forceVer concurrentModification err
vendelieu Nov 1, 2024
20cde20
Prepare release
vendelieu Nov 1, 2024
123992a
Update dependency ch.qos.logback:logback-classic to v1.5.12 (#271)
renovate[bot] Nov 1, 2024
d1b330d
fix snap ver badge
vendelieu Nov 1, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 12 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
# Telegram-bot (KtGram) Changelog

## 7.4.0

* Supported Telegram API [7.11](https://core.telegram.org/bots/api-changelog#october-31-2024).
* Removed `onCommand(Regex)` from FunctionalDSL since `common` is already covering its case and the functionality was
removed anyway and the feature remained by chance :)
* Exposed updates flow `bot.update.flow` [🔬].
* Little improvements to logging process.
* Added `linuxX64` + `mingwX64` targets to `botctx-redis` module.

### 7.3.1

* Add missing `user` and `text` references for `PurchasedPaidMediaUpdate`.

## 7.3.0

* Supported Telegram API [7.10](https://core.telegram.org/bots/api-changelog#september-6-2024)
* Supported Telegram API [7.10](https://core.telegram.org/bots/api-changelog#september-6-2024).
* Added option to auto clean state in `@InputChain` as annotation parameter [🔬].
* Added option to set chaining strategy for `@InputChain` links, to have more control over flow.
* Added option to set custom argument parser for specific activities (`@CommandHandler`, `@CommonHandler`).
* Removed special deeplink case handling, now will need to use the basic mechanism (can be caught by ordered parameters).
* Removed special deeplink case handling, now will need to use the basic mechanism (can be caught by ordered
parameters).

### 7.2.2

Expand Down
2 changes: 1 addition & 1 deletion CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ a project may be further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [INSERT EMAIL ADDRESS]. All
reported by contacting the project team at [[email protected]](mailto:[email protected]). All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ in [native-example](https://github.com/ktgram/native-example/blob/master/build.g
<details>
<summary><i>Snapshots</i></summary>

[![Snapshot version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Fv229149.hosted-by-vdsina.ru%2Fsnap-ver%2Ftelegram-bot&query=%24%5B0%5D.name&logo=github&label=SNAPSHOT&link=https%3A%2F%2Fgithub.com%2Fvendelieu%3Ftab%3Dpackages%26repo_name%3Dtelegram-bot)](https://github.com/vendelieu?tab=packages&repo_name=telegram-bot)
[![Snapshot version](https://img.shields.io/badge/dynamic/json?url=https%3A%2F%2Frx.vendeli.eu%2Fsnap-ver%2Ftelegram-bot&query=%24%5B0%5D.name&logo=github&label=SNAPSHOT&link=https%3A%2F%2Fgithub.com%2Fvendelieu%3Ftab%3Dpackages%26repo_name%3Dtelegram-bot)](https://github.com/vendelieu?tab=packages&repo_name=telegram-bot)

To install snapshot versions, add snapshot repository,
if you're using plugin just use `addSnapshotRepo` parameter:
Expand Down
Binary file added assets/logo-icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 0 additions & 17 deletions assets/logo-styles.css

This file was deleted.

File renamed without changes
12 changes: 11 additions & 1 deletion buildSrc/src/main/kotlin/ConfiguredKotlinExt.kt
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
import org.gradle.api.Project
import org.gradle.kotlin.dsl.assign
import org.gradle.kotlin.dsl.configure
import org.jetbrains.kotlin.gradle.ExperimentalKotlinGradlePluginApi
import org.jetbrains.kotlin.gradle.dsl.JvmTarget
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension

private val jvmTargetVer = JvmTarget.JVM_17
private val optIns: Array<String> = arrayOf(
"-opt-in=eu.vendeli.tgbot.annotations.internal.KtGramInternal",
"-opt-in=eu.vendeli.tgbot.annotations.internal.ExperimentalFeature"
)

private fun KotlinMultiplatformExtension.configureJvm() {
jvm {
Expand All @@ -13,7 +18,7 @@ private fun KotlinMultiplatformExtension.configureJvm() {
compileTaskProvider.configure {
compilerOptions {
jvmTarget.set(jvmTargetVer)
freeCompilerArgs = listOf("-Xjsr305=strict")
freeCompilerArgs = listOf("-Xjsr305=strict", *optIns)
}
}
}
Expand All @@ -34,6 +39,11 @@ fun Project.configuredKotlin(block: KotlinMultiplatformExtension.() -> Unit) {
plugins.apply("kotlin-multiplatform")

configure<KotlinMultiplatformExtension> {
@OptIn(ExperimentalKotlinGradlePluginApi::class)
compilerOptions {
freeCompilerArgs = optIns.toList()
}

configureJvm()
js { nodejs() }
mingwX64()
Expand Down
Loading
Loading