Skip to content

Releases: modiimedia/arri

v0.62.0

04 Oct 18:57
Compare
Choose a tag to compare

What's Changed

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

05 Sep 22:07
Compare
Choose a tag to compare

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

24 Aug 17:15
Compare
Choose a tag to compare

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 a Job for similar functionality.)
  • Rename modelPrefix to typePrefix in the the Kotlin code generator

Development Changes

Full Changelog: v0.60.3...v0.61.0

v0.60.3

18 Aug 13:12
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.60.2...v0.60.3

v0.60.2

17 Aug 18:46
Compare
Choose a tag to compare

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

17 Aug 03:41
Compare
Choose a tag to compare

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

07 Aug 17:46
Compare
Choose a tag to compare

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: [....]
});