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

1.5.0 Release #87

Closed
AldaronLau opened this issue Feb 14, 2024 · 1 comment · Fixed by #94
Closed

1.5.0 Release #87

AldaronLau opened this issue Feb 14, 2024 · 1 comment · Fixed by #94
Assignees
Milestone

Comments

@AldaronLau
Copy link
Member

Any pre-release bugs, typos, or other issues can be reported in the comments. Official testing will happen before 1.5.0 release.

All pre-releases will be announced in the comments here.

@AldaronLau AldaronLau added the good first issue Good for newcomers label Feb 14, 2024
@AldaronLau AldaronLau added this to the v1.5.0 milestone Feb 14, 2024
@AldaronLau AldaronLau pinned this issue Feb 14, 2024
@AldaronLau
Copy link
Member Author

AldaronLau commented Feb 15, 2024

Released 1.5.0-pre.0: https://crates.io/crates/whoami/1.5.0-pre.0

https://docs.rs/whoami/1.5.0-pre.0/

Changelog

Added

  • WASI support
  • Fallible functions
    • whoami::fallible::devicename()
    • whoami::fallible::devicename_os()
    • whoami::fallible::distro()
    • whoami::fallible::hostname() - notably doesn't normalize to lowercase
    • whoami::fallible::realname()
    • whoami::fallible::realname_os()
    • whoami::fallible::username()
    • whoami::fallible::username_os()
  • whoami::langs()
  • Language
  • Country

Removed

  • Generated device names that infer casing based on the hostname when the device name is not available - now returns the hostname unchanged

Changed

  • Deprecated whoami::distro_os()
  • Deprecated whoami::hostname()
  • Deprecated whoami::hostname_os()
  • Deprecated whoami::lang()

Fixed

  • Removed some unnecessary allocations
  • Rare and nearly impossible cases of undefined behavior
  • Better handling of UTF-8 non-conformant strings

@AldaronLau AldaronLau changed the title 1.5.0 Pre-release testing 1.5.0 Release Mar 3, 2024
@AldaronLau AldaronLau removed the good first issue Good for newcomers label Mar 3, 2024
@AldaronLau AldaronLau self-assigned this Mar 3, 2024
@AldaronLau AldaronLau linked a pull request Mar 3, 2024 that will close this issue
@AldaronLau AldaronLau unpinned this issue Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant