Skip to content

Releases: intgr/posix-acl

v1.2.0

11 Dec 00:28
991a301
Compare
Choose a tag to compare
  • Added: Qualifier and ACLEntry now implement Copy and Clone (#69, #70)
    Contributed by eax-ebx
  • Added: Qualifier and ACLEntry now implement Eq (in addition to PartialEq) (#61)
  • Changed: Many methods now have #[must_use] annotation (#76)
  • Documentation: Added separate errors/panics sections to many functions (#71)
  • Documentation: Added example CLI app that prints ACL (#45)
  • Build: Declare Minimum Supported Rust Version (MSRV) as 1.60 (#72, #74)
  • Build: Enabled and fixed all Clippy pedantic lints (#75, #63)

1.1.0

25 May 19:53
Compare
Choose a tag to compare
  • Added ACLError::as_io_error() method to access the underlying std::io::Error instance (#57)
  • Minor: Documentation tweaks (#46)
  • Minor: Clippy warnings fixed (#47, #49)
  • Minor: CI/tests improvements (#44, #58)

1.0.0

29 Mar 23:06
46ca60d
Compare
Choose a tag to compare
  • API change: Now using ACLError structured error type instead of SimpleError (#39)

    Error messages from I/O calls no longer include the file name.

  • The PosixACL::new() constructor no longer adds a Mask entry (#37)

    Mask is only needed for "non-minimal" ACLs and automatically is added on write if necessary.

  • Major reorganization of code (#35)

  • Documentation improvements

0.5.0

17 Mar 19:05
0bc93c0
Compare
Choose a tag to compare
  • API change: Now using AsRef<Path> in methods that accept paths (read_acl etc.) (#33)

    This means .as_ref() is no longer needed or allowed when passing paths to these methods.

  • Added methods into_raw, from_raw for converting to/from raw acl_t pointer (#21).
    Thanks to @aidanhs!

  • Documentation tweaks & code cleanups.

0.4.0

10 Mar 22:34
3d61e9d
Compare
Choose a tag to compare

This release is fully API-compatible with 0.3.0.

  • Documentation expanded substantially (#27)
  • Added read_default_acl() and write_default_acl() to interact with default ACLs of directories
    (#18, #30). Thanks to @aidanhs!
  • PosixACL struct now implements the Debug trait (#24)
  • Improved test coverage and CI workflow

0.3.0

20 Feb 00:06
76027db
Compare
Choose a tag to compare
  • Update 'acl-sys' and 'libc' dependencies (#14)

0.2.0

08 Feb 01:18
2245b5a
Compare
Choose a tag to compare
  • Add equality trait for PosixACL (#7)
  • Use GitHub Actions & Docker for CI (#6)
  • Add ACL remove() method
  • Make ACLEntry fields public as intended