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

Bump screeps-game-api from 0.6.0 to 0.8.0 #33

Closed

Conversation

dependabot-preview[bot]
Copy link

Bumps screeps-game-api from 0.6.0 to 0.8.0.

Changelog

Sourced from screeps-game-api's changelog.

0.8.0 (2020-03-26)

Notably breaking:

  • Remove deprecated game::map::is_room_available, use new get_room_status instead
  • Move creep functions which are implemented identically on power creeps to SharedCreepProperties trait
  • Update integer representation of IntershardResource::SubscriptionToken to move out of conflict with normal resources to allow parsing market orders which might have either
  • Update game::market functions to be able to work with intershard orders and transactions for them, making RoomName optional in many cases as it's not used for intershard transactions
  • Update field visibility on game::market structs used as return values to public, update to native types for ResourceType and RoomName values, and make a number of fields optional for compatibility with intershard orders
  • Update game::market::create_order to use the currently documented object syntax and new MarketResourceType to specify resource
  • Update game::market::calc_transaction_cost to work with RoomName instead of &Room to avoid requiring visibility of both rooms
  • Change game::map::describe_exits to use RoomName instead of String for values
  • Remove StructurePowerSpawn::power and power_capacity (replaced with HasStore functions)
  • Remove explicitly implemented Creep::energy function which used deprecated .carry, now using the energy implementation from HasStore
  • Change RoomObjectProperties::room to return Option<Room> to handle the cases that the base game API leaves it undefined: for construction sites and flags in non-visible rooms
  • Add MarketResourceType enum, which can wrap either a ResourceType or IntershardResourceType and switch to using it for game::market endpoints which accept either type
  • Change StructureTerminal::send to take the destination room name as RoomName instead of &str
  • Change game::market::get_all_orders to accept an Option<MarketResourceType> as a filter since this is optimized in the server code
  • Change HasStore::store_free_capacity to return i32, handling potential negative values due to expiration of OPERATE_STORAGE
  • Change constants::GCL_POW to f64 from f32 due to slightly incorrect calculations when using this from f32 to calculate GCL levels
  • Remove explicit ticks_to_decay implementations on StructureContainer and Tombstone, use the implementation on CanDecay instead
  • Change game::cpu::limit, tick_limit, bucket, shard_limits, and set_shard_limits to use u32 from f64

Additions:

  • Add RoomVisual, rendering primitives (Circle, Line, Rect, Poly, Text).
  • Add Visual rendering primitive enum for storage and batching.
  • Add MoveToOptions::visualize_path_styleto allow for path visualization of movement system.
  • Add ResourceType::reaction_components function translating the REACTIONS constant
  • Add ResourceType::commodity_recipe function and FactoryRecipe struct translating the COMMODITIES constant
  • Add ResourceType::boost function translating the BOOSTS constant
  • Add game::map::get_room_status as interface to new Game.map.getRoomStatus function
... (truncated)
Commits
  • 85ba844 0.8.0 release (#289)
  • 2cdb6f1 Return an "incomplete" value when we are asked to search for zero goals (#309)
  • a7b2833 Change CPU function types to accept and return ints and add total_available_s...
  • aeffcda Remove explicit ticks_to_decay implementations from StructureContainer and To...
  • b61ddfe Add StructureFactory::level() which I missed when adding factories (#310)
  • 9365fbb Add GCL and GPL total point calculation functions (#307)
  • 25912e4 Prevent panic when store_free_capacity returns a negative value (#304)
  • f806c15 Update changelog to include room visual API.
  • 53692f0 Add clone auto-derive for visual types.
  • ec2fcda Add helper methods for generating visuals. Add creep path finding visualization.
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Jun 1, 2020
@dependabot-preview
Copy link
Author

Superseded by #56.

@dependabot-preview dependabot-preview bot deleted the dependabot/cargo/screeps-game-api-0.8.0 branch February 10, 2021 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants