Releases: EvidentSolutions/apina
Releases · EvidentSolutions/apina
v0.25.0
v0.24.0
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
v0.23.0
v0.22.0
Breaking changes
- Use
{providedIn: 'root'}
for Angular endpoints. This facilitates tree-shaking of unused code. - Don't create
ApinaModule
for Angular, but aprovideApina
-function instead that you can use to create.
a provider. Also,HttpClient
is not automatically imported anymore, you should use Angular'sprovideHttpClient
to register a client. To migrate, removeApinaModule
from imports and use this instead:To customize Apina configuration, don't add additional providers manually, but pass parameters to{ providers: [ provideHttpClient(), provideApina() ] }
provideApina
.
v0.21.0
- 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
- Improve translation of Kotlin collections
Full Changelog: v0.20.1...v0.20.2
v0.20.1
v0.20.0
- 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