Skip to content

Commit

Permalink
Organize changelog and update Cargo.toml for 0.9.0 release (#337)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanemadden authored Feb 3, 2021
1 parent d649291 commit 865e3ee
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
35 changes: 24 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,43 @@
Unreleased
==========

- Change `game::inter_shard_memory` functions to avoid panicking on private servers where the
interface doesn't exist


0.9.0 (2021-01-23)
==================

### Notably breaking:

- Change `game::inter_shard_memory::get_local` and `get_remote` to return `Option<String>`,
accounting for cases where they have not been set (breaking)
- Remove `constants::INVADER_CORE_EXPAND_TIME`, replaced by per-level
`constants::invader_core_expand_time`
- Add the ability to mark a room as impassable when using the pathfinder. Converts callback
functions for room cost to use `SingleRoomCostResult` and `MultiRoomCostResult` as appropriate.

### Additions:

- Add `AccountPowerCreep::cancel_delete`, which allows cancelling pending deletion of a power
creep
- Add `StructureType::controller_structures`, which translates the `CONTROLLER_STRUCTURES`
constant, the number of each structure allowed at a given RCL
- Update `constants::stronghold_rampart_hits` function with updated values from rebalancing
- Add missing `constants::MARKET_MAX_ORDERS`, `constants::MARKET_ORDER_LIFE_TIME`, and
`constants::HARVEST_DEPOSIT_POWER`
- Remove `constants::INVADER_CORE_EXPAND_TIME`, replaced by per-level
`constants::invader_core_expand_time`
- Corrected value of `constants::RAMPART_HITS_MAX_RCL5` and `constants::POWER_SPAWN_HITS`
- Add the `parse_display::Display` trait to type constant enums which currently implement
`parse_display::FromStr`, allowing reversal of the conversion from native to constant string
- Fixed `Position::get_direction_to` which always returned the opposite of what it should
- Fixed deserialization of `EVENT_POWER` and `EVENT_TRANSFER` events
- Add new `IntershardResourceType::CPUUnlock`, `IntershardResourceType::Pixel`, and
`IntershardResourceType::AccessKey` resources
- Add `game::cpu::generate_pixel` and `constants::PIXEL_CPU_COST`
- Add the ability to mark a room as impassable when using the pathfinder. Converts callback
functions for room cost to use `SingleRoomCostResult` and `MultiRoomCostResult` as appropriate.
- Update `PIXEL_CPU_COST` to match game balance change.
- Update `constants::PIXEL_CPU_COST` to match game balance change.

### Bugfixes:

- Change `game::inter_shard_memory` functions to avoid panicking on private servers where the
interface doesn't exist
- Update `constants::stronghold_rampart_hits` function with updated values from rebalancing
- Corrected value of `constants::RAMPART_HITS_MAX_RCL5` and `constants::POWER_SPAWN_HITS`
- Fixed `Position::get_direction_to` which always returned the opposite of what it should
- Fixed deserialization of `EVENT_POWER` and `EVENT_TRANSFER` events

0.8.0 (2020-05-30)
==================
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "screeps-game-api"
version = "0.8.0"
version = "0.9.0"
authors = ["David Ross <[email protected]>"]
documentation = "https://docs.rs/screeps-game-api/"
edition = "2018"
Expand Down

0 comments on commit 865e3ee

Please sign in to comment.