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

Releases: noel-archive/ktor-routing

v0.5.2-beta

09 Jan 21:09
41bb29e
Compare
Choose a tag to compare

Additions

  • Added install method for all endpoints with a specific method (@auguwu)

Full Changelog: v0.5.1-beta...v0.5.2-beta

v0.5.1-beta

05 Jan 12:52
24c20ea
Compare
Choose a tag to compare

Additions

  • The plugin will now load all the endpoints from the config.endpoints variable when IEndpointLoader.load() was called. (@auguwu)

Dependency Upgrades

Full Changelog: v0.5-beta...v0.5.1-beta

v0.5-beta

03 Jan 13:02
b148422
Compare
Choose a tag to compare

This release improves the quality of life of the project by using JUnit5 instead of Kotest for testing the library and deprecating the old Ktor plugin for the new one (located in org.noelware.ktor.plugin) that removes supports for Kotlin's Result which was anticipated to be used by Noelware, but never did in later project, so it is deprecated and will be removed in v0.6-beta.

v0.4.1-beta

22 Nov 02:03
d5dabf3
Compare
Choose a tag to compare

Additions

  • Add support for HEAD requests with @Head annotation by @auguwu

Dependency Updates

  • Update dependency io.kotest:kotest-assertions-core from v5.5.3 to v5.5.4 by @renovate-bot (#82)
  • Update dependency io.kotest:kotest-property from v5.5.3 to v5.5.4 by @renovate-bot (#83)
  • Update dependency io.kotest:kotest-runner-junit5 from v5.5.3 to v5.5.4 by @renovate-bot (#84)
  • Update dependency org.slf4j:slf4j-api from v2.0.3 to v2.0.4 by @renovate-bot (#85)
  • Update dependency org.slf4j:slf4j-simple from v2.0.3 to v2.0.4 by @renovate-bot (#85)

Full Changelog: v0.4-beta...v0.4.1-beta

v0.4-beta

03 Nov 03:07
7623b60
Compare
Choose a tag to compare

馃毃 BREAKING CHANGES 馃毃

All artifact IDs forwards will be org.noelware.ktor:ktor-routing-<submodule> for now on, this will prevent from creating issues with naming conflicts.

Additions

Dependency Updates

there is so many...

Full Changelog: v0.3.1-beta...v0.4-beta

v0.3.1-beta

07 Jul 18:54
8862aee
Compare
Choose a tag to compare

This release basically reverts the plugin to initialize endpoints, so the endpoints can be initialized when the class is being initialized. :)

What's Changed

  • chore(deps): update dependency gradle to v7.5-rc-3 by @renovate-bot
  • chore(deps): update dependency org.jetbrains.dokka:dokka-gradle-plugin to v1.7.0 by @renovate-bot

Full Changelog: v0.3-beta...v0.3.1-beta

v0.3-beta

30 Jun 23:58
31421e3
Compare
Choose a tag to compare

Features

kotlin.Result<*> support

There is a new experimental API to support returning kotlin.Result objects in any endpoint methods. You can view the example in the test.

This requires the ExperimentalApi annotation to be visible, and you will need to set a data response caller, otherwise, the plugin will throw away the result and unexpected behaviours can occur.

Kotlin 1.7.0 Support

The plugin now supports Kotlin 1.7

Additions

Deprecations

  • This releases removes the now deprecated NoelKtorRoutingPlugin variable, please switch to NoelKtorRouting.

Dependency Updates

  • chore(deps): update dependency io.kotest:kotest-assertions-core to v5.3.1 by @renovate-bot
  • chore(deps): update dependency io.kotest:kotest-assertions-core to v5.3.1 by @renovate-bot
  • chore(deps): update dependency io.kotest:kotest-property to v5.3.1 by @renovate-bot
  • chore(deps): update dependency io.kotest:kotest-runner-junit5 to v5.3.1 by @renovate-bot
  • chore(deps): update dependency io.kotest:kotest-assertions-core to v5.3.2 by @renovate-bot
  • chore(deps): update dependency io.kotest:kotest-property to v5.3.2 by @renovate-bot
  • chore(deps): update dependency io.kotest:kotest-runner-junit5 to v5.3.2 by @renovate-bot
  • chore(deps): update dependency io.ktor:ktor-server-core to v2.0.3 by @renovate-bot
  • chore(deps): update dependency io.ktor:ktor-server-test-host to v2.0.3 by @renovate-bot

Full Changelog: v0.2-beta...v0.3-beta

v0.2-beta

13 Jun 03:45
f6c9654
Compare
Choose a tag to compare

Features

Multiple Path Resources

This release includes the new Multiple Path Resources implementation for the AbstractEndpoint class.

You can define multiple path resources (i.e, /api/v1, /api/v2) and it can be loaded in a single AbstractEndpoint instance.

class MyEndpoint: AbstractEndpoint("/") // <- before (this still works!)
class MyOtherEndpoint: AbstractEndpoint(listOf("/", "/api")) // <- using the multiple path resources impl.

Additions

Dependencies

  • chore(deps): upgrade com.diffplug.spotless:spotless-plugin-gradle from v6.6.1 to v6.7.2 by @renovate-bot, @auguwu
  • chore(deps): upgrade dev.floofy.commons:(gradle|slf4j|extensions-koin) from v2.1.0.1 to v2.1.1 by @renovate-bot, @auguwu
  • chore(deps): upgrade Kotlin standard library from v1.6.21 to v1.7.0 by @auguwu, @renovate-bot

v0.1.1-beta

08 May 20:21
26966d0
Compare
Choose a tag to compare

Additions

  • feat(endpoint): add route + method specific plugins by @auguwu (#1)

Full Changelog: v0.1-beta...v0.1.1-beta

v0.1-beta

07 May 22:44
528800a
Compare
Choose a tag to compare

Additions

  • feat(endpoints): local-scoped plugins for specific routes by @auguwu

Fixes

  • fix(endpoints): loading non-GET endpoints results in GET by @auguwu
  • fix(plugin): creating multiple routes so it overrides by @auguwu

Full Changelog: v0.0.1-beta...v0.1-beta