Releases: modiimedia/arri
v0.62.0
What's Changed
- chore: update TS and Swift dependencies by @joshmossas in #99
Breaking Change
- Disable experimental Websocket RPC in
ts-server
in preparation for major API changes
Full Changelog: v0.61.1...v0.62.0
v0.61.1
What's Changed
Kotlin
- fix bug where int64 and uint64 values were not being serialized properly when they were values of map/dictionary in the generated Kotlin client code
Typescript
- fix bug where the Typescript client code was not parsing map/dictionary values correctly
Misc
- modify integration tests to prevent regressions concerning these bugs
- updated npm dependencies
Full Changelog: v0.61.0...v0.61.1
v0.61.0
Non Breaking Changes
Dart
- bugfix: support
\r
and\r\n
line separators in Dart sse procedures by @joshmossas in #93
Kotlin
- Bugfix: support
\r
and\r\n
line separators in Kotlin sse procedures by @joshmossas in #94 - Feature: Improve kotlin SSE performance
- Feature: Add
maxBackoffTime
as a parameter to Kotlin sse procedures - Bugfix: fix bug where Kotlin jobs do not get cancelled properly from inside sse procedure hooks
Breaking Changes
Kotlin
- Kotlin sse procedures are now all suspend functions
- Kotlin sse procedures no longer accept a coroutine context as a parameter
- Kotlin sse procedures no longer return a
Job
instance. (You can still wrap them in aJob
for similar functionality.) - Rename
modelPrefix
totypePrefix
in the the Kotlin code generator
Development Changes
- Chore: create contribution guide by @joshmossas in #90
- chore: migrate to vitest 2.0 by @joshmossas in #91
Full Changelog: v0.60.3...v0.61.0
v0.60.3
What's Changed
- bugfix: fix broken swift builds on macOS by @joshmossas in #89
Full Changelog: v0.60.2...v0.60.3
v0.60.2
What's Changed
- feature: [swift] add
maxBodyBytes
parameter to allow for adjusting the maximum bytes a response body can take up by @joshmossas in #86 - chore: update github actions to only run integration tests on affected projects by @joshmossas in #87
Full Changelog: v0.60.1...v0.60.2
v0.60.1
What's Changed
- Feature: swift client generation by @joshmossas in #63
- Chore: update dependencies and dev dependencies
Full Changelog: v0.59.0...v0.60.1
Introducing Swift Client Support
This release introducing the initial version of the Arri Swift Client. For details on how to use it check out the docs
v0.59.0
Initial Release of Server Plugin System
The server plugin system is how we will enable arri to know about how to run different kinds of servers and where to access app definitions to run the client generations.
Server plugins get registered in the arri config file which will override the behaviors of arri build
and arri dev
in the CLI. A guide on creating a server plugin has also been added to the server implementation guide.
The Typescript server has been migrated to this system to ensure and consistent workflow between languages, so this is a breaking change.
Migration Guide
Move TS server options into the tsServer
plugin. Basically any property that isn't generators
is a TS server specific option.
/////// before ///////
import { defineConfig } from 'arri';
export default defineConfig({
entry: "app.ts",
port: 3000,
generators: [....]
});
/////// after ///////
import { defineConfig, servers } from 'arri';
export default defineConfig({
server: servers.tsServer({
entry: "app.ts",
port: 3000,
}),
generators: [....]
});