Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: release #1

Merged
merged 1 commit into from
Mar 3, 2024
Merged

chore: release #1

merged 1 commit into from
Mar 3, 2024

Conversation

release-plz-scottbot95[bot]
Copy link
Contributor

@release-plz-scottbot95 release-plz-scottbot95 bot commented Mar 2, 2024

🤖 New release

  • screeps-async: 0.1.0
  • screeps-async-macros: 0.1.0
Changelog

screeps-async

0.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

screeps-async-macros

0.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 PR was generated with release-plz.

@release-plz-scottbot95 release-plz-scottbot95 bot force-pushed the release-plz-2024-03-02T09-33-08Z branch from b971422 to 68647d6 Compare March 3, 2024 01:10
Signed-off-by: release-plz-scottbot95[bot] <161648441+release-plz-scottbot95[bot]@users.noreply.github.com>
@scottbot95 scottbot95 force-pushed the release-plz-2024-03-02T09-33-08Z branch from 68647d6 to b0a08ef Compare March 3, 2024 01:19
@scottbot95 scottbot95 self-assigned this Mar 3, 2024
@scottbot95 scottbot95 merged commit 6c2a630 into main Mar 3, 2024
4 checks passed
@scottbot95 scottbot95 deleted the release-plz-2024-03-02T09-33-08Z branch March 3, 2024 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant