Skip to content

Releases: mmkal/trpc-cli

v0.12.1

15 Nov 23:38

Choose a tag to compare

What's Changed

  • [experimental] proxify helper to create a cli for a remote server by @mmkal in #153
    • note: this is experimental so don't use this unless you want to help iron out the details/are aware it might be removed completely some day

Docs:

  • Update README.md for orpc os.input instead of os.procedure.input by @hunterwilhelm in #155

Internal:

New Contributors

Full Changelog: v0.12.0...v0.12.1

v0.12.0

20 Oct 16:32

Choose a tag to compare


v0.11.0...v0.12.0

v0.11.0

09 Sep 15:00

Choose a tag to compare

  • [BREAKING] use peer dependencies for all but commander (#146) d03b05c

v0.10.2...v0.11.0

v0.10.2

29 Jul 08:41

Choose a tag to compare

  • tsc fix: safer cast a954c5d
  • workaround for some zod v4 descriptions being dropped (#143) f0ee1fd

v0.10.1...v0.10.2

v0.10.1

25 Jul 15:11

Choose a tag to compare


v0.10.0...v0.10.1

v0.10.0

10 Jul 15:24

Choose a tag to compare


v0.9.2...v0.10.0

v0.9.2

12 Jun 00:52

Choose a tag to compare

v0.9.1

12 Jun 00:42

Choose a tag to compare

  • fix: avoid confusing bundlers 56d0d0f
  • ci: run on pull request b25f63a

v0.9.0...v0.9.1

v0.9.0

11 Jun 17:51

Choose a tag to compare

You can now also pass an oRPC router (thanks @unnoq)! Much like tRPC, just pass a router:

import {os} from '@orpc/server'
import {z, createCli} from 'trpc-cli'

export const router = os.router({
  add: os.procedure
    .input(z.object({left: z.number(), right: z.number()}))
    .handler(({input}) => input.left + input.right),
})

const cli = createCli({router})
cli.run()

Commits in this release:


v0.8.0...v0.9.0

v0.8.0

10 Jun 19:49

Choose a tag to compare


v0.7.1...v0.8.0