Skip to content

Commit

Permalink
chore: release
Browse files Browse the repository at this point in the history
  • Loading branch information
release-plz-scottbot95[bot] authored Mar 2, 2024
1 parent 63fbd92 commit b971422
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 1 deletion.
18 changes: 18 additions & 0 deletions screeps-async-macros/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Changelog
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).

## [Unreleased]

## [0.1.0](https://github.com/rustyscreeps/screeps-async/releases/tag/screeps-async-macros-v0.1.0) - 2024-03-02

### Added
- Add #[main] macro to automatically call ScreepsRuntime.run()

### Other
- Prep project for transfer to rustyscreeps
- Refactor API to simplify usage
- Refactor runtime to use async_task crate
- Update docs for #[main] and add examples
33 changes: 33 additions & 0 deletions screeps-async/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Changelog
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).

## [Unreleased]

## [0.1.0](https://github.com/rustyscreeps/screeps-async/releases/tag/screeps-async-v0.1.0) - 2024-03-02

### Added
- *(spawn)* `spawn` now returns a `JobHandle` that can be used to get the output of spawned futures
- Return an error when we run out of time in a given tick
- Add `yield_now` helper as replacement for delay(0)
- Add #[main] macro to automatically call ScreepsRuntime.run()

### Fixed
- *(each_tick!)* Incorrect path to `yield_tick()`

### Other
- Prep project for transfer to rustyscreeps
- Rename `delay` to `delay_ticks` to be more clear
- Refactor API to simplify usage
- Refactor runtime to use async_task crate
- Update docs for #[main] and add examples
- Fix each_tick! example
- Run cargo fmt
- Refactor module structure more and add missing docs
- Add some docs and Cargo.toml metadata
- Refactor task polling/submission slightly to be less error-prone
- Refactor module structure slightly
- Add `each_tick!` helper macro
- Implement basic tick-aware async runtime
2 changes: 1 addition & 1 deletion screeps-async/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ flume = { version = "0.11", default-features = false }
screeps-game-api = "0.20.1"

[dev-dependencies]
rstest = "0.18.2"
rstest = "0.18.2"

0 comments on commit b971422

Please sign in to comment.