Tairesh / SpaceAge

Other
3 stars 0 forks source link

Update tetra requirement from 0.7 to 0.8 #9

Closed dependabot[bot] closed 1 year ago

dependabot[bot] commented 1 year ago

Updates the requirements on tetra to permit the latest version.

Changelog

Sourced from tetra's changelog.

[0.8.0] - 2023-03-17

Added

  • Animation now has is_finished and has_frames_remaining utility methods. (@​vrmiguel in #315)
  • ContextBuilder now has a fps_limit option, which allows users to disable the built-in FPS capping behaviour. (@​fililip in #321)
  • ScreenScaler now has scale_factor and sizing utility methods. (@​timerertim in #327)
  • ScreenScaler now has a from_canvas constructor. This can be used for greater control over the canvas that is used for scaling.

Changed

  • Breaking: Updated rodio to 0.17.
  • Breaking: Updated lyon_tessellation to 1.0.
  • Updated half to 2.1.
  • Updated hashbrown to 0.13.
  • Updated glow to 0.12.
  • Various types now implement Eq as well as PartialEq.

[0.7.0] - 2022-03-23

Added

  • Texture, Canvas and ImageData can now be created with different underlying data formats.
  • Vector fonts can now be generated with premultiplied alpha.
  • Color::clamp can be used to clamp a color's components between 0 and 1.

Changed

  • Breaking: This crate now uses Rust 2021, and therefore requires at least Rust 1.56.
  • Breaking: Most enums in the API are now marked as non_exhaustive, and so must have a wildcard arm when matching on them.
    • This is to make it so adding a new enum variant is not a breaking change in the future.
  • Breaking: The naming scheme for various constructors has been changed to be more consistent/simple:
    • new usually involves loading from a file path (as this is the most common use-case).
    • from_data loads from raw data, without any specific file-type encoding (e.g. RGBA8 pixels).
    • from_encoded loads from encoded data in a supported file format (e.g. PNG).
    • This applies to Texture, ImageData, Sound and BmFontBuilder.
  • Breaking: BlendMode and BlendAlphaMode have been replaced with BlendState, BlendFactor and BlendOperation, which give you much lower-level control of how colors are blended.
    • As such, graphics::set_blend_mode and graphics::reset_blend_mode have been renamed to graphics::set_blend_state and graphics::reset_blend_state respectively.
    • The old presets for blending behaviour are still available as const constructors on BlendState, so you should be able to migrate without any changes in behaviour.
  • Breaking: Updated vek to 0.15.
  • Breaking: Updated rodio to 0.15.
  • Updated hashbrown to 0.12.
  • Color operations are no longer saturating.
    • This is so that HDR colors can be represented without data loss.
  • KeyModifier's behaviour has been reverted to be layout-based rather than position-based.
    • This better matches the expected behaviour for keyboard shortcuts (which is the primary use case for this type), and the behaviour of the underlying platform code.
  • The transparent padding between font glyphs is now incorporated into the rendered quads. This prevents texture filtering/anti-aliasing from cutting off unnaturally at the edges.

... (truncated)

Commits


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)