Skip to content

Releases: EvidentSolutions/apina

v0.25.0

21 Nov 10:24
Compare
Choose a tag to compare

What's Changed

  • Allow reexporting imports
  • Incubating support for using Promises instead of Observables with Angular

Full Changelog: v0.24.0...v0.25.0

v0.24.0

21 Nov 10:22
Compare
Choose a tag to compare

What's Changed

  • Incubating support for branded primitive types.
  • Stricter typing in the runtime library.
  • Remove Dictionary in generated TypeScript code and replace uses with Record<string, T>. This will probably
    not affect you unless you have imported Dictionary (in which case you can define your own alias with
    type Dictionary<T> = Record<string, T>).

Full Changelog: v0.23.1...v0.24.0

v0.23.1

28 May 06:29
Compare
Choose a tag to compare

What's Changed

  • Fix crash when processing some obscure class files

Full Changelog: v0.23.0...v0.23.1

v0.23.0

21 May 11:42
Compare
Choose a tag to compare
  • Support reading class files generated by Kotlin 2.0

v0.22.0

21 May 11:43
Compare
Choose a tag to compare

Breaking changes

  • Use {providedIn: 'root'} for Angular endpoints. This facilitates tree-shaking of unused code.
  • Don't create ApinaModule for Angular, but a provideApina-function instead that you can use to create.
    a provider. Also, HttpClient is not automatically imported anymore, you should use Angular's provideHttpClient
    to register a client. To migrate, remove ApinaModule from imports and use this instead:
    {
        providers: [
           provideHttpClient(),
           provideApina()
        ]
    }
    To customize Apina configuration, don't add additional providers manually, but pass parameters to provideApina.

v0.21.0

21 May 11:43
Compare
Choose a tag to compare
  • Update to Gradle 8.2.1
  • Update to ASM 9.5, supporting Java 21
  • Update to Kotlin Metadata 0.6.1, supporting Kotlin 1.9
  • The JAR coordinates of the plugin have changed from legacy gradle.plugin.fi.evident.apina:apina-gradle to just
    fi.evident.apina:apina-gradle. This will probably not affect you, the plugin id is still the same as before.

v0.20.2

14 Nov 11:42
Compare
Choose a tag to compare
  • Improve translation of Kotlin collections

Full Changelog: v0.20.1...v0.20.2

v0.20.1

14 Nov 10:49
Compare
Choose a tag to compare
  • Fix nullability analysis of Kotlin properties

v0.20.0

14 Nov 09:25
Compare
Choose a tag to compare
  • Improve translation of Kotlin inline classes. Preserve the original class names of inline-classes and register
    type-aliases for them. This allows one to override the translation by importing another type.

Full Changelog: v0.19.0...v0.20.0

v0.19.0

31 Aug 05:57
Compare
Choose a tag to compare
  • Support Kotlin 1.7
  • Translate response type Mono<T> as T.