arri_client
Client library needed for the code generated by the arri server library.
0.84.1
modiimedia/arri
What this package is like to depend on
Last release 20 days ago
04 Aug 2026
Release timing varies
gaps range from 2 weeks to 6 months
Rarely documented
notes for 21 of 213 stable releases
Nothing withdrawn
no release was ever pulled
3 years old
222 releases · first in 2023
10 releases in the last 12 months
see the full history below
Release timeline
222 releases · Aug 2023 to Aug 2026Releases
latest 60 of 222-
0.84.104 Aug 2026Release notes
Open source →What's Changed
- [ts-codegen] fix regression where generated enum validator type name is incorrect by @joshmossas in #200
Full Changelog: v0.84.0...v0.84.1
-
0.84.004 Aug 2026Release notes
Open source →Typescript
-
[ts-codegen] the
typescriptClientgenerator now accepts an optionalfeaturesobject to enable and disable some of the generated helper functionsexport default defineConfig({ generators: [ generators.typescriptClient({ features: { validateFn: true, // output a "validate" helper fn for every type (default: false) cloneFn: true, // output a "clone" helper fn for every type that does a deep clone (default: false) validatorObj: true, // output a validator object for every type that is prefixed with $$ (default: true) } // rest of config }) ] })
-
[ts-codegen] BREAKING: the
typescriptClientgenerator no longer outputs the validate helper fn by default. You must enable it in the arri config -
[ts-codegen] The outputted typescript code is now much more treeshakable.
- All helper functions such as "validate" and "clone" will not be included in the final bundle unless actually imported into your application
- generated code now outputs separate functions such as "fromJson" and "toJson" for each type, that can be imported individually to improve treeshaking. The previous validator objects are still outputted for compatibility reasons and for convenience reasons.
import { MyTypeFromJsonString, MyTypeToJsonString, MyTypeValidate } from './my-client.g'; const result = MyTypeFromJsonString('{}'); MyTypeToJsonString(result); MyTypeValidate(result); // the old way is still available but it is less tree-shakable // this will cause FromJson, ToJson, New, and any other helper fns for this type to be imported import { $$MyType } from './my-client.g'; const result = $$MyType.fromJsonString('{}');
PRs
- feature: make TS client more tree-shakeable by @joshmossas in #198
- feature: add option to generate a clone helper function for generated types by @joshmossas in #199
Full Changelog: v0.83.1...v0.84.0
-
-
0.83.113 Jul 2026 -
0.83.013 Jul 2026Release notes
Open source →What's Changed
- dart client: SSE partial character parsing bugfix by @joshmossas in #197
Full Changelog: v0.82.0...v0.83.0
-
0.82.021 May 2026Release notes
Open source →I marked this as a breaking change just in case, however nobody should be broken by these changes.
What's Changed
Typescript
Enum Generation
For enums ts-codegen will now also output a static object with all of the possible values. Example:
// before export type MyEnum = (typeof $$MyEnumValues)[number]; const $$MyEnumValues = ["foo", "bar", "baz"]; // after export type MyEnum = "foo" | "bar" | "baz"; export const MyEnum = { Foo: "foo", Bar: "bar", Baz: "baz", } as const; const $$MyEnumValues = ["foo", "bar", "baz"];
This allows users to access enum variants like so if they so choose:
console.log(MyEnum.Foo)
The actual type remains a string union so consumers aren't affected.
Lines of Code Reduction
The generated typescript code now outputs 10%-25% less lines of code on average.
PRs:
- feature: make ts clients coerce bigints
- feature: ts enum generation improvements by @joshmossas in #195
- feature: reduce line-count of generated ts code by @joshmossas in #196
Full Changelog: v0.81.3...v0.82.0
-
0.81.401 May 2026Nothing published for this version
-
0.81.312 Mar 2026Release notes
Open source →What's Changed
Rust
- feature: add annotation to ignore clippy lints in rust codegen output by @joshmossas in #192
Full Changelog: v0.81.2...v0.81.3
-
0.81.202 Feb 2026Release notes
Open source →What's Changed
Typescript
- [@arrirpc/schema] feat: add
a.toJsonSchema()function
CLI
- add export json schema command
arri export json-schema ./app-definition.jsonCommits
New Contributors
Full Changelog: v0.81.1...v0.81.2
- [@arrirpc/schema] feat: add
-
0.81.109 Dec 2025Release notes
Open source →What's Changed
- fix(rust-codegen): emit nested service struct definitions by @michael-dm in #188
- fix(go-server): fix bug where url paths for nested services are not consistent with the ts server implementation
- chore: add tests for nested services to integration test suite by @joshmossas in #189
New Contributors
- @michael-dm made their first contribution in #188
Full Changelog: v0.81.0...v0.81.1
-
0.81.006 Dec 2025Release notes
Open source →What's Changed
Typescript
- BREAKING [ts-codegen]
new Date(0)is now the fallback value for timestamps instead ofnew Date() - [ts-server] fallback to non-compiled validators in environments that do not allow eval (e.g. cloudflare workers, edge functions)
Dart
- BREAKING [dart-codegen]
DateTime(0)is now the fallback value for timestamps instead ofDateTime.now()
Merged PRs
- chore: update libs by @joshmossas in #180
- refactor: dart and ts make datetime parsing treat Date(0) as the default by @joshmossas in #183
- feature: fallback to runtime validation if a.compile fails by @joshmossas in #185
- chore: update ts libs by @joshmossas in #186
Full Changelog: v0.80.3...v0.81.0
- BREAKING [ts-codegen]
-
0.80.313 Jun 2025Release notes
Open source →What's Changed
Arri CLI
- fix build issues on windows when running
arri devandarri build. Fixes are in place for both the go server plugin and ts server plugin
Typescript
- [ts-server] add ability to set default heartbeatInterval app - wide
Go
- [go-server] add ability to set default HeartbeatInterval app wide
Dart
- [dart-client] add optional
timeoutparameter to generated clients that accepts aDuration. This parameter is used to set a default timeout duration for http requests - [dart-client] add optional
heartbeatIntervalMultiplierparameter to generated clients. This is used when setting heartbeat timeouts for server sent events.
Commits
- Modify GitHub Actions yaml to run unit tests on ubuntu and windows os to validate cross platform build by @MatthewMarroquin in #177
- feature: more dart and ts client options by @joshmossas in #178
New Contributors
- @MatthewMarroquin made their first contribution in #177
Full Changelog: v0.80.2...v0.80.3
- fix build issues on windows when running
-
0.80.209 Jun 2025Nothing published for this version
-
0.80.109 Jun 2025Nothing published for this version
-
0.80.009 Jun 2025Nothing published for this version
-
0.79.127 May 2025Nothing published for this version
-
0.79.016 Apr 2025Nothing published for this version
-
0.78.001 Apr 2025Nothing published for this version
-
0.77.131 Mar 2025Nothing published for this version
-
0.77.025 Mar 2025Nothing published for this version
-
0.76.417 Mar 2025Nothing published for this version
-
0.76.314 Mar 2025Nothing published for this version
-
0.76.3-beta.014 Mar 2025 pre-releaseNothing published for this version
-
0.76.023 Feb 2025Nothing published for this version
-
0.75.220 Feb 2025Nothing published for this version
-
0.75.120 Feb 2025Nothing published for this version
-
0.75.013 Feb 2025Nothing published for this version
-
0.74.105 Feb 2025Nothing published for this version
-
0.74.030 Jan 2025Nothing published for this version
-
0.73.026 Jan 2025Nothing published for this version
-
0.72.019 Jan 2025Nothing published for this version
-
0.71.112 Jan 2025Nothing published for this version
-
0.71.011 Jan 2025Nothing published for this version
-
0.70.128 Dec 2024Nothing published for this version
-
0.69.207 Dec 2024Nothing published for this version
-
0.69.104 Dec 2024Nothing published for this version
-
0.69.004 Dec 2024Nothing published for this version
-
0.68.030 Nov 2024Nothing published for this version
-
0.67.022 Nov 2024Nothing published for this version
-
0.66.014 Nov 2024Nothing published for this version
-
0.65.213 Nov 2024Nothing published for this version
-
0.65.113 Nov 2024Nothing published for this version
-
0.65.012 Nov 2024Nothing published for this version
-
0.64.012 Nov 2024Nothing published for this version
-
0.63.312 Nov 2024Nothing published for this version
-
0.63.216 Oct 2024Nothing published for this version
-
0.63.107 Oct 2024Nothing published for this version
-
0.63.007 Oct 2024Nothing published for this version
-
0.62.004 Oct 2024Nothing published for this version
-
0.61.105 Sep 2024Nothing published for this version
-
0.61.024 Aug 2024Nothing published for this version
-
0.60.318 Aug 2024Nothing published for this version
-
0.60.217 Aug 2024Nothing published for this version
-
0.60.117 Aug 2024Nothing published for this version
-
0.60.017 Aug 2024Nothing published for this version
-
0.59.007 Aug 2024Nothing published for this version
-
0.58.107 Aug 2024Nothing published for this version
-
0.58.004 Aug 2024 -
0.57.831 Jul 2024 -
0.57.731 Jul 2024Nothing published for this version
-
0.57.630 Jul 2024