diff --git a/mkdocs/config/en/mkdocs.yml b/mkdocs/config/en/mkdocs.yml index 5b284e5..f92b977 100644 --- a/mkdocs/config/en/mkdocs.yml +++ b/mkdocs/config/en/mkdocs.yml @@ -3,7 +3,7 @@ site_dir: "../../generated/en" # Project information -site_name: Kora Framework 1.2.12 +site_name: Kora Framework 1.2.13 site_url: https://kora-projects.github.io/kora-docs/en/ nav: - Examples: diff --git a/mkdocs/config/ru/mkdocs.yml b/mkdocs/config/ru/mkdocs.yml index e041007..919fbd9 100644 --- a/mkdocs/config/ru/mkdocs.yml +++ b/mkdocs/config/ru/mkdocs.yml @@ -3,7 +3,7 @@ site_dir: "../../generated/ru" # Project information -site_name: Kora фреймворк 1.2.12 +site_name: Kora фреймворк 1.2.13 site_url: https://kora-projects.github.io/kora-docs/ru/ nav: - Примеры: diff --git a/mkdocs/docs/en/changelog/changelog.md b/mkdocs/docs/en/changelog/changelog.md index e4b6468..6a6ea4a 100644 --- a/mkdocs/docs/en/changelog/changelog.md +++ b/mkdocs/docs/en/changelog/changelog.md @@ -5,7 +5,22 @@ hide: - navigation --- -## 1.2.12 +## 1.2.13 + +Added: + +- Added support for custom Undertow HTTP handler configuration via `HttpHandlerConfigurer` +- Added `UndertowConfigurer` for advanced HTTP server setup in Undertow + +Fixed: + +- Fixed `of` method contract in `HttpServerResponseException` to ensure consistent exception creation +- Fixed OpenAPI reserved keywords splitting to properly handle different target languages `Java/Kotlin` +- Fixed AOP method propagation for `@Mapping` and `@Tag` annotations +- Fixed Kora app KSP processor to validate only required elements, reducing unnecessary checks +- Optimized Database repository coroutine dispatcher initialization to improve startup performance + +### 1.2.12 Added: diff --git a/mkdocs/docs/en/documentation/general.md b/mkdocs/docs/en/documentation/general.md index 431014b..7c5fa34 100644 --- a/mkdocs/docs/en/documentation/general.md +++ b/mkdocs/docs/en/documentation/general.md @@ -125,7 +125,7 @@ dependency `ru.tinkoff.kora:kora-parent` which requires to specify the version o } dependencies { - koraBom platform("ru.tinkoff.kora:kora-parent:1.2.12") + koraBom platform("ru.tinkoff.kora:kora-parent:1.2.13") annotationProcessor "ru.tinkoff.kora:annotation-processors" } ``` @@ -164,7 +164,7 @@ dependency `ru.tinkoff.kora:kora-parent` which requires to specify the version o } dependencies { - koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.12")) + koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.13")) ksp("ru.tinkoff.kora:symbol-processors") } ``` @@ -190,7 +190,7 @@ and the [BOM dependency](https://docs.gradle.org/current/userguide/platforms.htm } dependencies { - koraBom platform("ru.tinkoff.kora:kora-parent:1.2.12") + koraBom platform("ru.tinkoff.kora:kora-parent:1.2.13") annotationProcessor "ru.tinkoff.kora:annotation-processors" } ``` @@ -209,7 +209,7 @@ and the [BOM dependency](https://docs.gradle.org/current/userguide/platforms.htm } dependencies { - koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.12")) + koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.13")) ksp("ru.tinkoff.kora:symbol-processors") } ``` diff --git a/mkdocs/docs/en/documentation/http-server.md b/mkdocs/docs/en/documentation/http-server.md index bf6f85d..76bd278 100644 --- a/mkdocs/docs/en/documentation/http-server.md +++ b/mkdocs/docs/en/documentation/http-server.md @@ -171,6 +171,9 @@ Example of the complete configuration described in the `HttpServerConfig` class Module metrics are described in the [Metrics Reference](metrics.md#http-server) section. +Kora provides fine-grained control over the Undertow HTTP server through two dedicated configuration interfaces: `UndertowConfigurer` and `HttpHandlerConfigurer`. +These allow you to customize server behavior and request processing pipeline without sacrificing integration with Kora’s modular architecture. + ## SomeController declarative The `@HttpController` annotation should be used to create a controller, and the `@Component` annotation should be used to register it as a dependency. diff --git a/mkdocs/docs/en/documentation/openapi-codegen.md b/mkdocs/docs/en/documentation/openapi-codegen.md index ec5be6b..bd35eaf 100644 --- a/mkdocs/docs/en/documentation/openapi-codegen.md +++ b/mkdocs/docs/en/documentation/openapi-codegen.md @@ -9,7 +9,7 @@ or create declarative [HTTP clients](http-client.md) from OpenAPI contracts usin ```groovy buildscript { dependencies { - classpath("ru.tinkoff.kora:openapi-generator:1.2.12") + classpath("ru.tinkoff.kora:openapi-generator:1.2.13") } } ``` @@ -29,7 +29,7 @@ or create declarative [HTTP clients](http-client.md) from OpenAPI contracts usin ```groovy buildscript { dependencies { - classpath("ru.tinkoff.kora:openapi-generator:1.2.12") + classpath("ru.tinkoff.kora:openapi-generator:1.2.13") } } ``` diff --git a/mkdocs/docs/en/examples/hello-world.md b/mkdocs/docs/en/examples/hello-world.md index 295f7bd..57fd869 100644 --- a/mkdocs/docs/en/examples/hello-world.md +++ b/mkdocs/docs/en/examples/hello-world.md @@ -51,7 +51,7 @@ Basic concepts and description of the framework can be read on the [main page](. } dependencies { - koraBom platform("ru.tinkoff.kora:kora-parent:1.2.12") + koraBom platform("ru.tinkoff.kora:kora-parent:1.2.13") annotationProcessor "ru.tinkoff.kora:annotation-processors" implementation "ru.tinkoff.kora:http-server-undertow" @@ -88,7 +88,7 @@ Basic concepts and description of the framework can be read on the [main page](. } dependencies { - koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.12")) + koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.13")) ksp("ru.tinkoff.kora:symbol-processors") implementation("ru.tinkoff.kora:http-server-undertow") diff --git a/mkdocs/docs/ru/changelog/changelog.md b/mkdocs/docs/ru/changelog/changelog.md index 21f2648..e7d8104 100644 --- a/mkdocs/docs/ru/changelog/changelog.md +++ b/mkdocs/docs/ru/changelog/changelog.md @@ -5,7 +5,21 @@ hide: - navigation --- -## 1.2.12 +## 1.2.13 +Добавлено: + +- Добавлена поддержка кастомной настройки HTTP-обработчиков в Undertow через `HttpHandlerConfigurer` +- Добавлен `UndertowConfigurer` для гибкой настройки HTTP-сервера на базе Undertow + +Исправлено: + +- Исправлен контракт метода `of` в исключении `HttpServerResponseException` для корректного создания исключений +- Исправлено разделение зарезервированных слов в OpenAPI с учётом целевого языка генерации `Java/Kotlin` +- Устранена проблема с распространением AOP-методов для аннотаций `@Mapping` и `@Tag` +- Исправлен KSP-процессор Kora: теперь проверяются только обязательные элементы +- Оптимизирована инициализация диспетчера корутин в репозиториях базы данных для ускорения запуска + +### 1.2.12 Добавлено: diff --git a/mkdocs/docs/ru/documentation/general.md b/mkdocs/docs/ru/documentation/general.md index 798515f..9c9b456 100644 --- a/mkdocs/docs/ru/documentation/general.md +++ b/mkdocs/docs/ru/documentation/general.md @@ -125,7 +125,7 @@ Kafka продюсеров, репозиториев баз данных и та } dependencies { - koraBom platform("ru.tinkoff.kora:kora-parent:1.2.12") + koraBom platform("ru.tinkoff.kora:kora-parent:1.2.13") annotationProcessor "ru.tinkoff.kora:annotation-processors" } ``` @@ -164,7 +164,7 @@ Kafka продюсеров, репозиториев баз данных и та } dependencies { - koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.12")) + koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.13")) ksp("ru.tinkoff.kora:symbol-processors") } ``` @@ -190,7 +190,7 @@ Kafka продюсеров, репозиториев баз данных и та } dependencies { - koraBom platform("ru.tinkoff.kora:kora-parent:1.2.12") + koraBom platform("ru.tinkoff.kora:kora-parent:1.2.13") annotationProcessor "ru.tinkoff.kora:annotation-processors" } ``` @@ -209,7 +209,7 @@ Kafka продюсеров, репозиториев баз данных и та } dependencies { - koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.12")) + koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.13")) ksp("ru.tinkoff.kora:symbol-processors") } ``` diff --git a/mkdocs/docs/ru/documentation/http-server.md b/mkdocs/docs/ru/documentation/http-server.md index fc5fe50..5192348 100644 --- a/mkdocs/docs/ru/documentation/http-server.md +++ b/mkdocs/docs/ru/documentation/http-server.md @@ -172,6 +172,9 @@ Undertow — это легковесный веб-сервер с открыты Предоставляемые метрики модуля описаны в разделе [Справочник метрик](metrics.md#http-server). +Kora предоставляет тонкую настройку HTTP-сервера Undertow через два специализированных интерфейса конфигурации: `UndertowConfigurer` и `HttpHandlerConfigurer`. +Они позволяют кастомизировать поведение сервера и конвейер обработки запросов, не жертвуя интеграцией с модульной архитектурой Kora. + ## Контроллер декларативный Для создания контроллера следует использовать `@HttpController` аннотацию, а для его регистрации как зависимость `@Component`. diff --git a/mkdocs/docs/ru/documentation/openapi-codegen.md b/mkdocs/docs/ru/documentation/openapi-codegen.md index 4c755fd..75b084c 100644 --- a/mkdocs/docs/ru/documentation/openapi-codegen.md +++ b/mkdocs/docs/ru/documentation/openapi-codegen.md @@ -9,7 +9,7 @@ ```groovy buildscript { dependencies { - classpath("ru.tinkoff.kora:openapi-generator:1.2.12") + classpath("ru.tinkoff.kora:openapi-generator:1.2.13") } } ``` @@ -29,7 +29,7 @@ ```groovy buildscript { dependencies { - classpath("ru.tinkoff.kora:openapi-generator:1.2.12") + classpath("ru.tinkoff.kora:openapi-generator:1.2.13") } } ``` diff --git a/mkdocs/docs/ru/examples/hello-world.md b/mkdocs/docs/ru/examples/hello-world.md index f5b4206..a332e3c 100644 --- a/mkdocs/docs/ru/examples/hello-world.md +++ b/mkdocs/docs/ru/examples/hello-world.md @@ -51,7 +51,7 @@ distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip } dependencies { - koraBom platform("ru.tinkoff.kora:kora-parent:1.2.12") + koraBom platform("ru.tinkoff.kora:kora-parent:1.2.13") annotationProcessor "ru.tinkoff.kora:annotation-processors" implementation "ru.tinkoff.kora:http-server-undertow" @@ -88,7 +88,7 @@ distributionUrl=https\://services.gradle.org/distributions/gradle-8.10-bin.zip } dependencies { - koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.12")) + koraBom(platform("ru.tinkoff.kora:kora-parent:1.2.13")) ksp("ru.tinkoff.kora:symbol-processors") implementation("ru.tinkoff.kora:http-server-undertow")