Skip to content
This repository has been archived by the owner on Aug 2, 2023. It is now read-only.

Commit

Permalink
Release 0.3.0 (#107)
Browse files Browse the repository at this point in the history
This release contains an SDK for Node and an in-depth tutorial on how to
play the game with TypeScript. Examples for both JavaScript and
TypeScript have been added to the repository.
  • Loading branch information
jdno authored Apr 23, 2022
1 parent e46cd29 commit a8d5743
Show file tree
Hide file tree
Showing 15 changed files with 43 additions and 27 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.3.0](https://github.com/jdno/atc/releases/tag/v0.3.0)

### Added

- Publish Node SDK by [@jdno](https://github.com/jdno) in [#97](https://github.com/jdno/auto-traffic-control/pull/97)
- Write tutorial for a TypeScript bot by [@jdno](https://github.com/jdno) in [#104](https://github.com/jdno/auto-traffic-control/pull/104)

### Changed

- Rename enum variants in Protocol Buffer by [@jdno](https://github.com/jdno) in [#99](https://github.com/jdno/auto-traffic-control/pull/99)

**Full Changelog**: <https://github.com/jdno/auto-traffic-control/compare/v0.2.0...v0.3.0>

## [0.2.0](https://github.com/jdno/atc/releases/tag/v0.2.0)

### Added
Expand Down
10 changes: 5 additions & 5 deletions Cargo.lock

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

5 changes: 4 additions & 1 deletion bin/prepare-release
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,11 @@ root_directory="$(cd "${bin_directory}/.." || exit 5 && pwd)"
echo "Bumping version..."

files=(
"examples/starter-rust/Cargo.toml"
"examples/javascript/package.json"
"examples/rust/Cargo.toml"
"examples/typescript/package.json"
"game/Cargo.toml"
"sdk/node/package.json"
"sdk/rust/Cargo.toml"
"sdk/rust/README.md"
"utilities/debug-client/Cargo.toml"
Expand Down
6 changes: 3 additions & 3 deletions examples/javascript/package-lock.json

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

2 changes: 1 addition & 1 deletion examples/javascript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auto-traffic-control-example",
"version": "0.2.0",
"version": "0.3.0",
"description": "An example showing how to use Auto Traffic Control's API",
"private": true,
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions examples/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "auto-traffic-control-example"
license = "MIT OR Apache-2.0"
version = "0.2.0"
version = "0.3.0"
edition = "2021"

description = "An example showing how to use Auto Traffic Control's API"
Expand All @@ -17,6 +17,6 @@ publish = false
# https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
auto-traffic-control = { path = "../../sdk/rust", version = "0.2.0" }
auto-traffic-control = { path = "../../sdk/rust", version = "0.3.0" }

tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
6 changes: 3 additions & 3 deletions examples/typescript/package-lock.json

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

2 changes: 1 addition & 1 deletion examples/typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auto-traffic-control-example",
"version": "0.2.0",
"version": "0.3.0",
"description": "An example showing how to use Auto Traffic Control's API",
"private": true,
"main": "main.ts",
Expand Down
4 changes: 2 additions & 2 deletions game/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "auto-traffic-control-game"
license = "MIT OR Apache-2.0"
version = "0.2.0"
version = "0.3.0"
edition = "2021"

rust-version = "1.60"
Expand Down Expand Up @@ -31,7 +31,7 @@ copyright = "Copyright (c) 2022 Jan David Nose"
category = "public.app-category.games"

[dependencies]
auto-traffic-control = { path = "../sdk/rust", version = "0.2.0", features = ["server"] }
auto-traffic-control = { path = "../sdk/rust", version = "0.3.0", features = ["server"] }

bevy = "0.7.0"
dashmap = "5.2.0"
Expand Down
4 changes: 2 additions & 2 deletions sdk/node/package-lock.json

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

2 changes: 1 addition & 1 deletion sdk/node/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "auto-traffic-control",
"version": "0.3.0-alpha.2",
"version": "0.3.0",
"description": "A video game for programmers about air traffic control",
"main": "src/index.js",
"types": "src/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion sdk/rust/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "auto-traffic-control"
license = "MIT OR Apache-2.0"
version = "0.2.0"
version = "0.3.0"
edition = "2021"

rust-version = "1.56"
Expand Down
2 changes: 1 addition & 1 deletion sdk/rust/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ First, add `auto-traffic-control` as a new dependency to your `Cargo.toml`.

```toml
[dependencies]
auto-traffic-control = "0.2.0"
auto-traffic-control = "0.3.0"
```

You also need to add [`tonic`](https://crates.io/crates/tonic), the Rust
Expand Down
4 changes: 2 additions & 2 deletions utilities/debug-client/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "debug-client"
license = "MIT OR Apache-2.0"
version = "0.2.0"
version = "0.3.0"
edition = "2021"

rust-version = "1.56"
Expand All @@ -18,7 +18,7 @@ publish = false
# https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
auto-traffic-control = { path = "../../sdk/rust", version = "0.2.0", features = ["server"] }
auto-traffic-control = { path = "../../sdk/rust", version = "0.3.0", features = ["server"] }

tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
tokio-stream = { version = "0.1.8" }
4 changes: 2 additions & 2 deletions utilities/test-server/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "test-server"
license = "MIT OR Apache-2.0"
version = "0.2.0"
version = "0.3.0"
edition = "2021"

rust-version = "1.56"
Expand All @@ -15,7 +15,7 @@ publish = false
# https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
auto-traffic-control = { path = "../../sdk/rust", version = "0.2.0", features = ["server"] }
auto-traffic-control = { path = "../../sdk/rust", version = "0.3.0", features = ["server"] }

prost = "0.10.1"
semver = "1.0.7"
Expand Down

0 comments on commit a8d5743

Please sign in to comment.