Marvin Froeder
88f3d9e039
[ci skip] updating versions to next development iteration 12.1-SNAPSHOT
2 years ago
Marvin Froeder
d4b0282624
prepare release 12.0
2 years ago
Donghyeon Kim
6378ae2e83
Remove the unused code from the MethodInfo ( #1785 )
...
The MethodInfo.configKey field is not more used since PR #1757 removing AsyncInvocation
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
2 years ago
dependabot[bot]
ca2f200382
build(deps): bump kotlin.version from 1.7.10 to 1.7.20 ( #1771 )
...
Bumps `kotlin.version` from 1.7.10 to 1.7.20.
Updates `kotlin-stdlib-jdk8` from 1.7.10 to 1.7.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20 )
Updates `kotlin-reflect` from 1.7.10 to 1.7.20
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.20/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.7.10...v1.7.20 )
Updates `kotlin-maven-plugin` from 1.7.10 to 1.7.20
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: org.jetbrains.kotlin:kotlin-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Marvin Froeder
45fe10a0e3
Preparing for next development version
2 years ago
Donghyeon Kim
d42fcef2bc
Add methodInfoResolver attribute to Coroutinebuilder ( #1762 )
...
* Add methodInfoResolver attribute to Coroutinebuilder
Work on the [feedback](https://github.com/OpenFeign/feign/pull/1754#discussion_r974700238 ) of PR #1754
2 years ago
Donghyeon Kim
7d1cf7ced7
Refactor async feign ( #1755 )
...
* Add MethodInfoResolver to customize MethodInfo creation logic
* Add methodInfoResolver setter to AsyncBuilder
* Refactor CoroutineFeign to use AsyncFeignBuilder instead of FeignBuilder
* Deprecate CoroutineFeign.coBuilder
* Change AsyncFeign to not inherit Feign
* Deprecate AsyncFeign.asyncBuilder
* Refactor AsyncBuilder to build Feign directly
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
2 years ago
dependabot[bot]
2b2c33cd71
build(deps): bump kotlin.version from 1.6.20 to 1.7.10 ( #1750 )
...
Bumps `kotlin.version` from 1.6.20 to 1.7.10.
Updates `kotlin-stdlib-jdk8` from 1.6.20 to 1.7.10
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.10/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.20...v1.7.10 )
Updates `kotlin-reflect` from 1.6.20 to 1.7.10
- [Release notes](https://github.com/JetBrains/kotlin/releases )
- [Changelog](https://github.com/JetBrains/kotlin/blob/v1.7.10/ChangeLog.md )
- [Commits](https://github.com/JetBrains/kotlin/compare/v1.6.20...v1.7.10 )
Updates `kotlin-maven-plugin` from 1.6.20 to 1.7.10
---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-stdlib-jdk8
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-reflect
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: org.jetbrains.kotlin:kotlin-maven-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 years ago
Donghyeon Kim
39ed8ef2a7
Support kotlin coroutines ( #1706 )
...
* Support kotlin coroutines
Resolves : #1565
Inspired by https://github.com/PlaytikaOSS/feign-reactive/pull/486
## TODO
- [ ] Separate Kotlin support module
- [ ] Enhance test case
- [ ] Refactoring
- [ ] Clean up pom.xml
* Apply optional dependency to kotlin support related dependency
* Seperate Kotlin support module
* Remove unused code from ClassUtils.java
* Remove unused code from ClassUtils.java
* Refactor KotlinDetector
* Move ClassUtils location into KotlinDetector
* Move KotlinDetector location
* Format code
* First attempt to move kotlin work to it's own isolated module
* Coroutine Feign using AyncFeign
* Coroutine Feign using AyncFeign
* Refactor suspending function detect logic
- Remove KotlinDetector.java
- Add Method.isSuspend extension function
* Cleanup CoroutineFeignTest test code format
* Fix suspend function contract parsing error when using http body
* Rename test names to be meaningful
* Add Github Example With Coroutine
- Copy of GithubExample
* Remove unnecessary dependency
https://github.com/OpenFeign/feign/pull/1706/files#r965389041
Co-authored-by: Marvin Froeder <velo.br@gmail.com>
Co-authored-by: Marvin Froeder <velo@users.noreply.github.com>
2 years ago