Skip to content

Releases: 17cupsofcoffee/tetra

0.9.1

29 Sep 20:04

Choose a tag to compare

Changelog

Changed

  • Text input events no longer fail to fire. (@Tairesh in #355)

0.9.0

20 Sep 13:36

Choose a tag to compare

Long time no see! This is mostly just a maintainence release, but it comes with a big change: Tetra now uses SDL3!

I've tested a few of my projects with the new version, and it all seems to work fine with minimal changes (see the sections labeled 'breaking' below), but please let me know if there's any issues with upgrading.

Changelog

Added

  • The window::get_refresh_rate function was added, allowing you to check the current display's refresh rate. (@fililip in #345)
  • A new example was added, showing how to efficiently re-use a loaded font across multiple pieces of text. (@brettchalupa in #348)

Changed

  • Breaking: Tetra now uses SDL3 instead of SDL2.
    • This means that you will need to download the latest development libraries (and DLLs, on Windows) - see the installation docs for more details on how.
  • Breaking: Mouse wheel movement is now represented as a Vec2<f32> instead of a Vec2<i32>.
  • Breaking: window::get_monitor_count now returns a usize instead of a Result<i32>.
  • Breaking: Monitor indices are now usize rather than i32.
  • Breaking: window::is_vsync_enabled now returns a Result<bool> instead of a bool.
  • Breaking: TetraError::FailedToChangeDisplayMode and TetraError::FailedToGetRefreshRate have been removed.
    • These were effectively just variations on TetraError::PlatformError, and it was a bit arbitary which were used where.
  • Breaking: The serde_support feature was renamed to serde.
  • Breaking: The sdl2_bundled feature was renamed to sdl_build_from_source.
  • Breaking: The sdl2_static_link feature was renamed to sdl_static_link.
  • Breaking: Updated vek to 0.17.
  • Breaking: Updated rodio to 0.20.
  • Breaking: Updated image to 0.25.
  • The docs for Camera were updated to use less confusing terminology.
  • Updated glow to 0.16.
  • Updated hashbrown to 0.16.

0.8.0

17 Mar 12:15

Choose a tag to compare

Release 0.8

0.7.0

23 Mar 18:59

Choose a tag to compare

Release 0.7

0.7.0-alpha1

07 Jan 22:35

Choose a tag to compare

0.7.0-alpha1 Pre-release
Pre-release
Release 0.7.0-alpha1

0.6.7

05 Nov 18:20

Choose a tag to compare

Release 0.6.7

0.6.6

10 Oct 12:44

Choose a tag to compare

Release 0.6.6

0.6.5

26 May 18:53

Choose a tag to compare

Release 0.6.5

0.6.4

14 May 17:25

Choose a tag to compare

Release 0.6.4

0.6.3

09 Apr 19:36

Choose a tag to compare

Release 0.6.3