Skip to content

Commit

Permalink
Merge branch 'master' into experiment/go-server-exporation
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmossas committed Oct 4, 2024
2 parents ccbe943 + c93e530 commit 464c071
Show file tree
Hide file tree
Showing 38 changed files with 1,448 additions and 1,152 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# uses: swift-actions/setup-swift@v2
uses: redsun82/setup-swift@b2b6f77ab14f6a9b136b520dc53ec8eca27d2b992 # temporary work around for https://github.com/swift-actions/setup-swift/issues/591
with:
swift-version: "5.9"
swift-version: "5.10"
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down Expand Up @@ -104,7 +104,7 @@ jobs:
# uses: swift-actions/setup-swift@v2
uses: redsun82/setup-swift@b2b6f77ab14f6a9b136b520dc53ec8eca27d2b99 # temporary work around for https://github.com/swift-actions/setup-swift/issues/591
with:
swift-version: "5.9"
swift-version: "5.10"
- name: Install Node.js
uses: actions/setup-node@v4
with:
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

I'm really excited that you are interested in contributing to Arri RPC. This guide is designed to help you get your environment setup and give a general overview of the codebase.

If you need any additional guidance, feel free to pop into the Arri RPC [discord](https://discord.gg/3pdbYGDa).
If you need any additional guidance, feel free to pop into the Arri RPC [discord](https://discord.gg/5m23HEQss7).

## Table of Contents

Expand Down Expand Up @@ -166,7 +166,7 @@ For a more complete guide on creating a code generator see [here](/docs/creating

- Run `pnpm format` before submitting
- PRs should address primarily a single concern. Example: Do not open a PR that fixes 3 unrelated bugs.
- Before adding features or submitting a large PR please open up an issue or start a discussion on [discord](https://discord.gg/3pdbYGDa).
- Before adding features or submitting a large PR please open up an issue or start a discussion on [discord](https://discord.gg/5m23HEQss7).
- Provide a good PR description as a record of what change is being made and why it was made. Link to a GitHub issue if it exists.

## Obtaining Commit Access
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ _**WARNING: Breaking changes are likely to happen until v1.0 is released**_

# Arri RPC

[![Discord](https://img.shields.io/discord/1272569268869005322?logo=discord&logoColor=white&logoSize=)](https://discord.gg/3pdbYGDa)
[![Discord](https://img.shields.io/discord/1272569268869005322?logo=discord&logoColor=white&logoSize=)](https://discord.gg/5m23HEQss7)

Arri RPC is a code-first RPC framework. Type-safe clients get generated directly from your server code meaning you never need to manually write another client again.

Expand Down Expand Up @@ -192,4 +192,4 @@ JSON app definitions are something that would normally be automatically generate

Contributions are welcome!

Please read the [contribution guide](/CONTRIBUTING.md) which will guide you through the entire workflow of how to build the source code, how to run the tests, and how to contribute changes to the Arri RPC codebase. Also feel free to reach out on [discord](https://discord.gg/3pdbYGDa) if you have any other additional questions.
Please read the [contribution guide](/CONTRIBUTING.md) which will guide you through the entire workflow of how to build the source code, how to run the tests, and how to contribute changes to the Arri RPC codebase. Also feel free to reach out on [discord](https://discord.gg/5m23HEQss7) if you have any other additional questions.
2 changes: 1 addition & 1 deletion docs/creating-a-custom-generator.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ When it comes to data integrity the server should be deemed as the authority. Th

## Additional Requirements for Official Client Generators

_If you have any additional questions or concerns regarding the instructions below, please reach out on [discord](https://discord.gg/3pdbYGDa)_
_If you have any additional questions or concerns regarding the instructions below, please reach out on [discord](https://discord.gg/5m23HEQss7)_

Maintaining high quality first party clients is a very high priority for Arri RPC. This is important to distinguish us from other projects where the clients sometimes do not maintain the same level of quality. In order to facilitate this Arri, has a number of test files and integration tests to test our generated clients in a variety of scenarios. All official clients need to have tests setup to pass these scenarios. Additionally we should try to minimize the number of dependencies needed by official clients.

Expand Down
4 changes: 4 additions & 0 deletions languages/dart/dart-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 0.62.0

## 0.61.2

## 0.61.1

## 0.61.0
Expand Down
2 changes: 1 addition & 1 deletion languages/dart/dart-client/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: arri_client
description: Client library needed for the code generated by the arri server library.
version: "0.61.1"
version: "0.62.0"
repository: https://github.com/modiimedia/arri
issue_tracker: https://github.com/modiimedia/arri/issues
environment:
Expand Down
2 changes: 1 addition & 1 deletion languages/dart/dart-codegen-reference/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ packages:
path: "../dart-client"
relative: true
source: path
version: "0.61.1"
version: "0.62.0"
async:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion languages/dart/dart-codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arrirpc/codegen-dart",
"version": "0.61.1",
"version": "0.62.0",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
Expand Down
2 changes: 1 addition & 1 deletion languages/kotlin/kotlin-codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arrirpc/codegen-kotlin",
"version": "0.61.1",
"version": "0.62.0",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
Expand Down
2 changes: 1 addition & 1 deletion languages/rust/rust-client/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion languages/rust/rust-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "arri_client"
version = "0.61.1"
version = "0.62.0"
edition = "2021"
description = "Client library needed to use rust code generated by the Arri CLI"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion languages/rust/rust-codegen-reference/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion languages/rust/rust-codegen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
"pathe": "^1.1.2"
},
"devDependencies": {},
"version": "0.61.1"
"version": "0.62.0"
}
10 changes: 5 additions & 5 deletions languages/swift/swift-client/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"originHash" : "ecd15ac105c00114b4378ef445f5c6b21c32aa08433235c01aab1653b93a938b",
"originHash" : "a9935ca9e8217c19fe15d5bfe9374be2720e05a730ed14ab3d6b44365fe0cdca",
"pins" : [
{
"identity" : "async-http-client",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-server/async-http-client.git",
"state" : {
"revision" : "0ae99db85b2b9d1e79b362bd31fd1ffe492f7c47",
"version" : "1.21.2"
"revision" : "64abc77edf1ef81e69bd90a2ac386de615c8e8ea",
"version" : "1.23.0"
}
},
{
Expand Down Expand Up @@ -60,8 +60,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio",
"state" : {
"revision" : "4c4453b489cf76e6b3b0f300aba663eb78182fad",
"version" : "2.70.0"
"revision" : "665206000b8307cab5ac51203d29b0f232d7e31b",
"version" : "2.74.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion languages/swift/swift-client/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ let package = Package(
targets: ["ArriClient"]),
],
dependencies: [
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.9.0")
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.23.0")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down
10 changes: 5 additions & 5 deletions languages/swift/swift-codegen-reference/Package.resolved
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"originHash" : "72381a4c5870cf896383818c44bda00bf21b9f23b0d6f5ff27b671fcca36fd4e",
"originHash" : "828fc7cf635dba701727babca7487e8aa7cc35b80073b3f5a9d40d549d84d511",
"pins" : [
{
"identity" : "async-http-client",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-server/async-http-client.git",
"state" : {
"revision" : "0ae99db85b2b9d1e79b362bd31fd1ffe492f7c47",
"version" : "1.21.2"
"revision" : "64abc77edf1ef81e69bd90a2ac386de615c8e8ea",
"version" : "1.23.0"
}
},
{
Expand Down Expand Up @@ -60,8 +60,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio.git",
"state" : {
"revision" : "4c4453b489cf76e6b3b0f300aba663eb78182fad",
"version" : "2.70.0"
"revision" : "665206000b8307cab5ac51203d29b0f232d7e31b",
"version" : "2.74.0"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion languages/swift/swift-codegen-reference/Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ let package = Package(
],
dependencies: [
.package(name: "ArriClient", path: "../swift-client"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.9.0")
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.23.0")
],
targets: [
// Targets are the basic building blocks of a package, defining a module or a test suite.
Expand Down
2 changes: 1 addition & 1 deletion languages/swift/swift-codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arrirpc/codegen-swift",
"version": "0.61.1",
"version": "0.62.0",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
Expand Down
4 changes: 2 additions & 2 deletions languages/ts/ts-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arrirpc/client",
"version": "0.61.1",
"version": "0.62.0",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.mjs",
Expand All @@ -17,7 +17,7 @@
"dependencies": {
"@arrirpc/schema": "workspace:*",
"@joshmossas/ofetch": "^1.3.5",
"event-source-plus": "^0.1.3",
"event-source-plus": "^0.1.4",
"ws": "^8.18.0"
},
"devDependencies": { "@types/ws": "^8.5.12" }
Expand Down
2 changes: 1 addition & 1 deletion languages/ts/ts-codegen-reference/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "ts-codegen-reference",
"private": true,
"version": "0.61.1",
"version": "0.62.0",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
Expand Down
2 changes: 1 addition & 1 deletion languages/ts/ts-codegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arrirpc/codegen-ts",
"version": "0.61.1",
"version": "0.62.0",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
Expand Down
8 changes: 4 additions & 4 deletions languages/ts/ts-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arrirpc/server",
"version": "0.61.1",
"version": "0.62.0",
"type": "module",
"license": "MIT",
"author": { "name": "joshmossas", "url": "https://github.com/joshmossas" },
Expand All @@ -22,11 +22,11 @@
"@arrirpc/schema": "workspace:*",
"@types/source-map-support": "^0.5.10",
"arri": "workspace:*",
"crossws": "^0.2.4",
"h3": "^1.12.0",
"crossws": "^0.3.1",
"h3": "^1.13.0",
"scule": "^1.3.0",
"source-map-support": "^0.5.21",
"uncrypto": "^0.1.3"
},
"devDependencies": { "bun-types": "^1.1.26" }
"devDependencies": { "bun-types": "^1.1.29" }
}
Loading

0 comments on commit 464c071

Please sign in to comment.