-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: release-plz-scottbot95[bot] <161648441+release-plz-scottbot95[bot]@users.noreply.github.com>
- Loading branch information
1 parent
adf9fb6
commit 68647d6
Showing
3 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters