Skip to content

Releases: ogham/rust-users

v0.11.0

08 Oct 02:19
Compare
Choose a tag to compare

Breaking changes

  • Certain functions now return Arc<OsStr> rather than Arc<OsString>

Bug fixes and other changes

  • Retry lookups with larger buffer sizes on ERANGE error condition (#38)
  • Switch logging to use Trace level rather than Debug (#39)

v0.5.0

29 Jan 18:27
Compare
Choose a tag to compare

Breaking changes

  • Split Users trait into Users and Groups (052cf24)
  • The users cache no longer takes &mut self, and returns clones of Arcs (aa94ee8)
  • Replace fields with accessors (fefddc4)
  • Rename OSUsers to UsersCache (77eefe0)
  • Move user-switching functions to the switch module (9dadca8)
  • Move OS-dependent functions (group members and user information) to underneath their own trait (look at the examples to see how to do this now) (54d53c8)
  • Fix group ID type on systems where they're different (28ddc0c)

Other changes

  • Add an iterator over all users (ac85727)
  • Add Debug impls for User and Group (32d340e)
  • Document the fact that we use from_utf8_lossy (e32ec99)