Skip to content

Releases: tgstation/rust-g

6.0.0

06 Jan 08:15
ad59d94

Choose a tag to compare

Breaking Changes

  • Drop windows 7 support by @ZeWaka in #251
  • Bump Minimum Supported Rust Version to 1.89 by @ZeWaka in #251
    • This was actually already the case in prior releases, however it was not caught properly due to our CI runners using the nightly toolchain (due to win7).

Full Changelog: 5.0.1...6.0.0

5.0.1

25 Dec 06:41
4c54cb9

Choose a tag to compare

Breaking Changes

  • hash: updates TOTP generator by @itsmeow in #225
    • rustg_generate_totp and rustg_hash_generate_totp_tolerance have been updated from rustg_generate_totpXXX(seed, ...) to rustg_generate_totpXXX(algorithm, seed, ...)
      • The old default hash algorithm was RUSTG_HASH_SHA1
    • rustg_generate_totp now accepts seeds in Base32, not hex, as this is standard for OTP apps & QR codes
  • iconforge: generate_headless does not allow parent directory traversal nor root-absolute paths by @ZeWaka in #248 and #252

Feature Additions

  • hash: Adds rustg_csprng_chacha20(_seeded), adds (en)decode_base32 by @itsmeow in #225

Fixes

  • hash: Prevent decode_base64 and decode_base32 from panicking if given invalid base64 by @Absolucy in #244
  • iconforge: fix generate_headless on win for bad paths not panicking by @ZeWaka in #248 and #252
  • git: fix rg_git_revparse filling memory by @ZephyrTFA in #247
  • Handle errors in panic hook explicitly by @strandsofivy in #245

New Contributors

Notes about the release

4.3.0 and 5.0.0 were never fully released, but since their versions are present in the main branch, this release is following SemVer as if they were yanked.

Full Changelog: 4.2.0...5.0.1

4.2.0

13 Nov 02:34

Choose a tag to compare

Feature Additions

  • IconForge: Headless Icon Generation by @itsmeow in #236
    • rustg_iconforge_generate_headless - Creates a single DMI/PNG using 'sprites' as a list of icon states / images.

Feature Changes

  • assorted optimizations to cellularnoise, dbpnoise, and worleynoise by @Absolucy in #243
  • makes rustg_noise_poisson_map around 8x faster by @Absolucy in #240

Internal Changes

  • cargo update & cargo upgrade & png fix by @ZeWaka in #241

Full Changelog: 4.1.0...4.2.0

4.1.0

14 Oct 08:01
c686375

Choose a tag to compare

Feature Changes

  • dmi: Add QR code generation by @itsmeow in #226
    • rustg_create_qr_code_png(path, data)
    • rustg_create_qr_code_svg(data)

Internal Changes

  • Bump dmi to 0.5.0, optimize dmi_read_metadata by @itsmeow in #238
  • Update CI to target 516.1666 by @ZeWaka in #237

Full Changelog: 4.0.0...4.1.0

4.0.0

27 Jul 05:59
ca4586e

Choose a tag to compare

Breaking Changes

  • IconForge: DMI Generation, Code Reorganization, Improved Caching, Cleaner I/O by @itsmeow in #213

Migration Notes

  • Breaking DM change: add , FALSE, TRUE argument to the end of existing calls to rustg_iconforge_generate() or rustg_iconforge_generate_async()

    Example: rustg_iconforge_generate("data/spritesheets/", name, entries_json, do_cache, FALSE, TRUE)

  • Breaking DM change: The default arguments of the commonly used uni_icon API need to be adjusted so that dir and frame are null

    Example: /datum/universal_icon/New(icon/icon_file, icon_state="", dir=null, frame=null, datum/icon_transformer/transform=null, color=null)

New Features

Internal Changes

Fixes

New Contributors

Full Changelog: 3.11.0...4.0.0

3.11.0

23 Jun 05:51
71e3992

Choose a tag to compare

New Feature

Internal Changes

New Contributors

Full Changelog: 3.10.0...3.11.0

3.10.0

16 May 22:19
3eb594e

Choose a tag to compare

Default Feature Addition

Important

librust_g64.so not included due to BYOND being offline, causing problems with the build agent

Full Changelog: 3.9.0...3.10.0

3.9.0

11 May 06:08
e357ce4

Choose a tag to compare

Feature Changes

dmi

time

  • Adds a new time function, formatted_timestamp by @Absolucy in #214

Internal

New Contributors

Full Changelog: 3.8.0...3.9.0

3.8.0

26 Mar 21:04
3d318d9

Choose a tag to compare

Feature Changes

Internal

Full Changelog: 3.7.0...3.8.0

3.7.0

05 Mar 03:54

Choose a tag to compare

Feature Changes

  • IconForge: Sort GAGS output states by @itsmeow in #206
  • IconForge: Improve GAGS frame/dir difference handling by @itsmeow in #207
  • 64bit detection (rust_g64.dll/.so, in the attached rust_g.dm) by @ZeWaka in #202

Internal

Full Changelog: 3.6.0...3.7.0