From 893bf94fcc4a35d614fc2dfbe49e47650ed6c974 Mon Sep 17 00:00:00 2001 From: Jan David Date: Sat, 16 Apr 2022 22:56:20 +0200 Subject: [PATCH] Release 0.2.0 (#85) The second release extends the original prototype with a new game mechanic: Airplanes and airports now have a color that must match to land the airplane. The APIs of the game have been extended to provide more information about the map and the different colors. And a public website with preliminary documentation has been created. --- CHANGELOG.md | 37 +++++++++++++++++++++++++++++++ Cargo.lock | 8 +++---- bin/prepare-release | 2 +- examples/starter-rust/Cargo.toml | 4 ++-- game/Cargo.toml | 4 ++-- sdk/rust/Cargo.toml | 2 +- sdk/rust/README.md | 2 +- utilities/debug-client/Cargo.toml | 4 ++-- 8 files changed, 50 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 94734ea..0808544 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,43 @@ 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.2.0](https://github.com/jdno/atc/releases/tag/v0.2.0) + +### Added + +- Create and add routing grid to the map by [@jdno](https://github.com/jdno) in [#37](https://github.com/jdno/auto-traffic-control/pull/37) +- Create API to query the map by [@jdno](https://github.com/jdno) in [#39](https://github.com/jdno/auto-traffic-control/pull/39) +- Add a game over screen by [@jdno](https://github.com/jdno) in [#41](https://github.com/jdno/auto-traffic-control/pull/41) +- Add routing grid to map data in API responses by [@jdno](https://github.com/jdno) in [#42](https://github.com/jdno/auto-traffic-control/pull/42) +- Add tags to airplanes and airports by [@jdno](https://github.com/jdno) in [#44](https://github.com/jdno/auto-traffic-control/pull/44) +- Add flag to nodes to indicate whether they are accessible by [@jdno](https://github.com/jdno) in [#45](https://github.com/jdno/auto-traffic-control/pull/45) +- Add second airport to the map by [@jdno](https://github.com/jdno) in [#46](https://github.com/jdno/auto-traffic-control/pull/46) +- Add width and height to map message type by [@jdno](https://github.com/jdno) in [#47](https://github.com/jdno/auto-traffic-control/pull/47) +- Prototype path finding in Rust bot by [@jdno](https://github.com/jdno) in [#48](https://github.com/jdno/auto-traffic-control/pull/48) +- Prototype graphics by [@jdno](https://github.com/jdno) in [#50](https://github.com/jdno/auto-traffic-control/pull/50) +- Write getting started guide by [@jdno](https://github.com/jdno) in [#71](https://github.com/jdno/auto-traffic-control/pull/71) +- Document API by [@jdno](https://github.com/jdno) in [#72](https://github.com/jdno/auto-traffic-control/pull/72) +- Document the game rules by [@jdno](https://github.com/jdno) in [#73](https://github.com/jdno/auto-traffic-control/pull/73) +- Publish Rust client by [@jdno](https://github.com/jdno) in [#74](https://github.com/jdno/auto-traffic-control/pull/74) +- Document project status and API versioning by [@jdno](https://github.com/jdno) in [#78](https://github.com/jdno/auto-traffic-control/pull/78) +- Document coordinate systems by [@jdno](https://github.com/jdno) in [#83](https://github.com/jdno/auto-traffic-control/pull/83) + +### Changed + +- Refactor store to manage all shared state by [@jdno](https://github.com/jdno) in [#38](https://github.com/jdno/auto-traffic-control/pull/38) +- Refactor airplane lifecycle by [@jdno](https://github.com/jdno) in [#40](https://github.com/jdno/auto-traffic-control/pull/40) +- Create type for airports and add it to the map by [@jdno](https://github.com/jdno) in [#43](https://github.com/jdno/auto-traffic-control/pull/43) +- Rename validation errors by [@jdno](https://github.com/jdno) in [#55](https://github.com/jdno/auto-traffic-control/pull/55) +- Relicense project under MIT or Apache-2.0 by [@jdno](https://github.com/jdno) in [#59](https://github.com/jdno/auto-traffic-control/pull/59) +- Add high-res spritesheets by [@jdno](https://github.com/jdno) in [#69](https://github.com/jdno/auto-traffic-control/pull/69) +- Restyle the main screen by [@jdno](https://github.com/jdno) in [#70](https://github.com/jdno/auto-traffic-control/pull/70) + +### Fixed + +- Normalize speed when flying diagonally by [@jdno](https://github.com/jdno) in [#51](https://github.com/jdno/auto-traffic-control/pull/51) + +**Full Changelog**: + ## [0.1.0](https://github.com/jdno/atc/releases/tag/v0.1.0) ### Added diff --git a/Cargo.lock b/Cargo.lock index c35be80..3e599a1 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -209,7 +209,7 @@ dependencies = [ [[package]] name = "auto-traffic-control" -version = "0.1.0" +version = "0.2.0" dependencies = [ "glob", "prost", @@ -220,7 +220,7 @@ dependencies = [ [[package]] name = "auto-traffic-control-game" -version = "0.1.0" +version = "0.2.0" dependencies = [ "auto-traffic-control", "bevy", @@ -1331,7 +1331,7 @@ dependencies = [ [[package]] name = "debug-client" -version = "0.1.0" +version = "0.2.0" dependencies = [ "auto-traffic-control", "tokio", @@ -3209,7 +3209,7 @@ checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" [[package]] name = "starter-rust" -version = "0.1.0" +version = "0.2.0" dependencies = [ "auto-traffic-control", "pathfinding", diff --git a/bin/prepare-release b/bin/prepare-release index a24d167..4c54824 100755 --- a/bin/prepare-release +++ b/bin/prepare-release @@ -59,7 +59,7 @@ done echo "Updating changelog..." vim -c "%s/^\* /- /g" -c "wq" "${root_directory}/CHANGELOG.md" -vim -c "%s!https://github\.com/jdno/atc/pull/\(\d\+\)![#\1](https://github.com/jdno/atc/pull/\1)!g" -c "wq" "${root_directory}/CHANGELOG.md" +vim -c "%s!https://github\.com/jdno/auto-traffic-control/pull/\(\d\+\)![#\1](https://github.com/jdno/auto-traffic-control/pull/\1)!g" -c "wq" "${root_directory}/CHANGELOG.md" vim -c "%s!@\(\w\+\)![@\1](https://github.com/\1)!g" -c "wq" "${root_directory}/CHANGELOG.md" # Commit changes diff --git a/examples/starter-rust/Cargo.toml b/examples/starter-rust/Cargo.toml index 8957278..770fc1d 100644 --- a/examples/starter-rust/Cargo.toml +++ b/examples/starter-rust/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "starter-rust" license = "MIT OR Apache-2.0" -version = "0.1.0" +version = "0.2.0" edition = "2021" description = "A starter bot for the video game Auto Traffic Control" @@ -16,7 +16,7 @@ publish = false # https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -auto-traffic-control = { path = "../../sdk/rust", version = "0.1.0", features = ["server"] } +auto-traffic-control = { path = "../../sdk/rust", version = "0.2.0", features = ["server"] } pathfinding = "3.0.12" tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] } diff --git a/game/Cargo.toml b/game/Cargo.toml index a4c3cfe..66894c9 100644 --- a/game/Cargo.toml +++ b/game/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "auto-traffic-control-game" license = "MIT OR Apache-2.0" -version = "0.1.0" +version = "0.2.0" edition = "2021" rust-version = "1.60" @@ -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.1.0", features = ["server"] } +auto-traffic-control = { path = "../sdk/rust", version = "0.2.0", features = ["server"] } bevy = "0.6.1" dashmap = "5.2.0" diff --git a/sdk/rust/Cargo.toml b/sdk/rust/Cargo.toml index 6647c67..f4002bf 100644 --- a/sdk/rust/Cargo.toml +++ b/sdk/rust/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "auto-traffic-control" license = "MIT OR Apache-2.0" -version = "0.1.0" +version = "0.2.0" edition = "2021" rust-version = "1.56" diff --git a/sdk/rust/README.md b/sdk/rust/README.md index fb1ba6d..9cdf3bb 100644 --- a/sdk/rust/README.md +++ b/sdk/rust/README.md @@ -24,7 +24,7 @@ First, add `auto-traffic-control` as a new dependency to your `Cargo.toml`. ```toml [dependencies] -auto-traffic-control = "0.1.0" +auto-traffic-control = "0.2.0" ``` You also need to add [`tonic`](https://crates.io/crates/tonic), the Rust diff --git a/utilities/debug-client/Cargo.toml b/utilities/debug-client/Cargo.toml index 058363e..ae2bb71 100644 --- a/utilities/debug-client/Cargo.toml +++ b/utilities/debug-client/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "debug-client" license = "MIT OR Apache-2.0" -version = "0.1.0" +version = "0.2.0" edition = "2021" rust-version = "1.56" @@ -18,7 +18,7 @@ publish = false # https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -auto-traffic-control = { path = "../../sdk/rust", version = "0.1.0", features = ["server"] } +auto-traffic-control = { path = "../../sdk/rust", version = "0.2.0", features = ["server"] } tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] } tokio-stream = { version = "0.1.8" }