Skip to content

Commit

Permalink
Release 0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rnijveld authored and squell committed Aug 29, 2023
1 parent 81aff9a commit 58568f0
Show file tree
Hide file tree
Showing 6 changed files with 32 additions and 7 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# Changelog

## [0.2.0] - 2023-08-29

### Added
- `visudo` can set/fix file permissions using the `--perms` CLI flag
- `visudo` can set/fix the file owner using the `--owner` CLI flag
- Read `env_editor` from sudoers file for visudo
- Add basic support for `--list` in sudo

### Changed
- `visudo` now uses a random filename for the temporary file you are editing
- `su` now runs with a PTY by default
- Included files with relative paths in the sudoers file are imported relative
from the sudoers file
- `sudo` now checks if ownership and setuid bits have been set correctly on
its binary
- When syslog messages are too large they will be split between multiple
messages to prevent message truncation
- We now accept a wider range of dependencies
- Our MSRV (minimum supported rust version) has been set at 1.70.0

### Fixed
- Set arg0 to the non-resolved filename when running a command, preventing
issues with symlinks when commands rely on link filenames

## [0.2.0-dev.20230711] - 2023-07-11

### Added
Expand Down Expand Up @@ -52,6 +76,7 @@
- Use canonicalized paths for the executed binaries
- Simplified CLI help to only display supported actions

[0.2.0]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230711...v0.2.0
[0.2.0-dev.20230711]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230703...v0.2.0-dev.20230711
[0.2.0-dev.20230703]: https://github.com/memorysafety/sudo-rs/compare/v0.2.0-dev.20230627...v0.2.0-dev.20230703
[0.2.0-dev.20230627]: https://github.com/memorysafety/sudo-rs/compare/v0.1.0-dev.20230620...v0.2.0-dev.20230627
6 changes: 3 additions & 3 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "sudo-rs"
description = "A memory safe implementation of sudo and su."
version = "0.2.0-dev.20230711"
version = "0.2.0"
license = "Apache-2.0 OR MIT"
edition = "2021"
repository = "https://github.com/memorysafety/sudo-rs"
Expand Down
2 changes: 1 addition & 1 deletion docs/man/su.1.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- ---
title: SU(1) sudo-rs 0.2.0-dev.20230711 | sudo-rs
title: SU(1) sudo-rs 0.2.0 | sudo-rs
--- -->

# NAME
Expand Down
2 changes: 1 addition & 1 deletion docs/man/sudo.8.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- ---
title: SUDO(8) sudo-rs 0.2.0-dev.20230711 | sudo-rs
title: SUDO(8) sudo-rs 0.2.0 | sudo-rs
--- -->

# NAME
Expand Down
2 changes: 1 addition & 1 deletion docs/man/visudo.8.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!-- ---
title: VISUDO(8) sudo-rs 0.2.0-dev.20230711 | sudo-rs
title: VISUDO(8) sudo-rs 0.2.0 | sudo-rs
--- -->

# NAME
Expand Down

0 comments on commit 58568f0

Please sign in to comment.