Skip to content

Commit 704b541

Browse files
committed
Bump versions and update changelogs
1 parent 89aff60 commit 704b541

File tree

8 files changed

+55
-16
lines changed

8 files changed

+55
-16
lines changed

Cargo.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sunset"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2021"
55
description = "A SSH library suitable for embedded and larger programs"
66
repository = "https://github.com/mkj/sunset"
@@ -18,9 +18,9 @@ members = [
1818
]
1919

2020
[workspace.dependencies]
21-
sunset = { path = ".", version = "0.3" }
21+
sunset = { path = ".", version = "0.4" }
2222
sunset-sshwire-derive = { version = "0.2", path = "sshwire-derive" }
23-
sunset-async = { path = "async", version = "0.3" }
23+
sunset-async = { path = "async", version = "0.4" }
2424
sunset-demo-common = { path = "demo/common" }
2525

2626
portable-atomic = "1"

async/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sunset-async"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2021"
55
repository = "https://github.com/mkj/sunset"
66
categories = ["network-programming", "embedded", "no-std"]

async/changelog.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# `sunset-async` Changelog
22

3+
## 0.4.0 - 2026-01-11
4+
5+
- Fix discarded channel input data. If async `progress()`
6+
ran before `ChanIn` data was consumed, it could result
7+
in discarded data. This didn't seem to affect sunsetc,
8+
but could affect other applications.
9+
310
## 0.3.0 - 2025-06-16
411

512
### Changed

changelog.md

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Sunset Changelog
22

3-
# unreleased
3+
## 0.4.0 - 2026-01-11
44

55
### Added
66

77
- Add server authentication helpers `matches_username()`,
8-
`matches_password()`.
8+
`matches_password()` for constant time comparison.
99

1010
- Add environment session variable support
1111

@@ -14,7 +14,8 @@
1414

1515
### Fixed
1616

17-
- Fix public key authentication. Github #30
17+
- Fix public key authentication for the server, previously signatures
18+
would not validate. Github #30
1819

1920
- Don't fail in some circumstances during key exchange when
2021
packets are received in particular order. Github #25, Github #27
@@ -24,13 +25,24 @@
2425

2526
- Fix using sshwire-derive outside of sunset
2627

27-
- Fix winch signal for sunsetc (regression in 0.3.0)
28-
2928
### Changed
3029

30+
- Server auth events such as `ServFirstAuth` can enable or disable
31+
password or public key auth for subsequent attempts. Now no authentication methods are enabled by default, they must be explicitly enabled with eg `enable_password_auth()`, `enable_pubkey_auth()`.
32+
33+
- Minimum Rust version is 1.87
34+
35+
- `Channels::by_handle_mut()` renamed from `from_handle_mut()` to be
36+
more idiomatic.
37+
3138
- Log a better warning when host key signatures fail
3239

33-
- Improve exit code handling in sunsetc
40+
- Code size improvements.
41+
42+
- Fail with `PacketWrong` when calling an event method, rather
43+
than on a subsequent `progress()` call.
44+
45+
- CI scripts now build in `target/ci` rather than `testing/target`
3446

3547
## 0.3.0 - 2025-06-16
3648

sshwire-derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sunset-sshwire-derive"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
edition = "2021"
55
repository = "https://github.com/mkj/sunset"
66
license = "0BSD"

stdasync/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "sunset-stdasync"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
edition = "2021"
55
repository = "https://github.com/mkj/sunset"
66
license = "0BSD"

stdasync/changelog.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# `sunset-stdasync` Changelog
22

3+
## 0.4.0 - 2026-01-11
4+
5+
### Fixed
6+
7+
- `CmdlineClient`: fix exit code, flush logs on completio n
8+
9+
- `sunsetc`: fix winch signal being lost (regression in 0.3.0)
10+
11+
### Added
12+
13+
- `sunsetc`: `--version` argument
14+
15+
- `sunsetc`: Allow `%p` in tracefile filename for PID
16+
17+
### Changed
18+
19+
- `sunsetc`: buffer tracefile output for performance
20+
21+
- `sunsetc`: escape banner sent from a server
22+
323
## 0.3.0 - 2025-06-16
424

525
### Changed

0 commit comments

Comments
 (0)