Skip to content

Commit

Permalink
chore: release
Browse files Browse the repository at this point in the history
Signed-off-by: release-plz-scottbot95[bot] <161648441+release-plz-scottbot95[bot]@users.noreply.github.com>
  • Loading branch information
release-plz-scottbot95[bot] committed Mar 3, 2024
1 parent adf9fb6 commit 68647d6
Show file tree
Hide file tree
Showing 3 changed files with 56 additions and 1 deletion.
19 changes: 19 additions & 0 deletions screeps-async-macros/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# 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-03

### Added
- *(main)* Update #[main] macro to support an async entrypoint
- 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
36 changes: 36 additions & 0 deletions screeps-async/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# 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-03

### Added
- *(block_on)* Add `block_on` function to allow blocking on a future
- *(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
- *(yield_now)* Fix yield_now to actually yield execution to the scheduler
- *(each_tick!)* Incorrect path to `yield_tick()`

### Other
- *(each_tick)* Cleanup `each_tick!` macro to avoid unnecessary function creation/calls
- 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 68647d6

Please sign in to comment.