Skip to content

Commit

Permalink
Release all (#493)
Browse files Browse the repository at this point in the history
  • Loading branch information
robklg authored Dec 24, 2023
1 parent cc81120 commit bb1c3a2
Show file tree
Hide file tree
Showing 12 changed files with 108 additions and 86 deletions.
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,23 @@
# Changelog

### upcoming
### libunftp 0.19.1

_tag: libunftp-0.19.1_

- Upgraded dependencies

### unftp-auth-rest v0.2.4

- [#492](https://github.com/bolcom/libunftp/pull/492) Added source IP parameter support
- compiled against libunftp v0.19.1

### unftp-auth-jsonfile v0.3.3, unftp-auth-pam v0.2.4

- compiled against libunftp v0.19.1

### unftp-sbe-fs v0.2.4, unftp-auth-pam v0.2.5

- compiled against libunftp v0.19.1

### libunftp 0.19.0

Expand Down
30 changes: 15 additions & 15 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "libunftp"
version = "0.19.0" # remember to update html_root_url
version = "0.19.1" # remember to update html_root_url
authors = [
"Agoston Horvath <[email protected]>",
"Dávid Kosztka <[email protected]>",
Expand Down Expand Up @@ -30,34 +30,34 @@ members = [
]

[dependencies]
async-trait = "0.1.73"
bitflags = "2.4.0"
async-trait = "0.1.75"
bitflags = "2.4.1"
bytes = "1.5.0"
chrono = { version = "0.4.31", default-features = false, features = ["clock", "std"] }
derive_more = { version = "0.99.17", features = ["display"] }
futures-util = { version = "0.3.28", default-features = false, features = ["alloc", "sink"] }
getrandom = "0.2.10"
futures-util = { version = "0.3.29", default-features = false, features = ["alloc", "sink"] }
getrandom = "0.2.11"
lazy_static = "1.4.0"
md-5 = "0.10.5"
md-5 = "0.10.6"
moka = { version = "0.11.3", default-features = false, features = ["sync"] }
prometheus = { version = "0.13.3", default-features = false }
proxy-protocol = "0.5.0"
rustls = "0.21.7"
rustls-pemfile = "1.0.3"
rustls = "0.21.10"
rustls-pemfile = "1.0.4"
slog = { version = "2.7.0", features = ["max_level_trace", "release_max_level_info"] }
slog-stdlog = "4.1.1"
thiserror = "1.0.48"
tokio = { version = "1.32.0", features = ["macros", "rt", "net", "sync", "io-util", "time"] }
thiserror = "1.0.51"
tokio = { version = "1.35.1", features = ["macros", "rt", "net", "sync", "io-util", "time"] }
tokio-rustls = "0.24.1"
tokio-util = { version = "0.7.8", features = ["codec"] }
tracing = { version = "0.1.37", default-features = false }
tracing-attributes = "0.1.26"
uuid = { version = "1.4.1", features = ["v4"] }
tokio-util = { version = "0.7.10", features = ["codec"] }
tracing = { version = "0.1.40", default-features = false }
tracing-attributes = "0.1.27"
uuid = { version = "1.6.1", features = ["v4"] }
x509-parser = "0.14.0"
dashmap = "5.5.3"
libc = "0.2"

[dev-dependencies]
pretty_assertions = "1.4.0"
tokio = { version = "1.32.0", features = ["macros", "rt-multi-thread"] }
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }
unftp-sbe-fs = { path = "../libunftp/crates/unftp-sbe-fs"}
11 changes: 9 additions & 2 deletions RELEASE-CHECKLIST.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,26 @@
# Release Checklist

* Update minor versions dependencies. Install [cargo-edit](https://crates.io/crates/cargo-edit) and run `cargo upgrade --workspace`.
You can also use `cargo upgrades` to just check what is outstanding or this oneliner:
* Update minor versions dependencies. Install [cargo-edit](https://crates.io/crates/cargo-edit) and run `cargo upgrade`.
Cargo-edit also covers all the crates in the workspace
You can also use `cargo upgrade --dry-run` to just check what is outstanding or this oneliner:
`cat Cargo.toml | sed -n '33,56p' | awk '{ print $1 }' | xargs -L1 cargo search --limit=1`
* Update Cargo.toml with the new version number
* Search for the old version number to find references to it in documentation and update those occurrences.
Do this for all the crates that will be released
* Run `make pr-prep`, ensuring everything is green
* Before releasing libunftp itself, run unFTP while pointing to the new version of libunftp
* Update CHANGELOG.md for all the crates affected
* Prepare release notes for the Github release page
* Make a new commit (don't push) indicating the crate name and version number e.g.
> Release libunftp version x.y.x
or

> Release unftp-sbe-fs version x.y.x
or

> Release all
* Run `make publish`
* Push to Github
* Create the release in Github using tag format {component}-{version} e.g.
Expand Down
24 changes: 12 additions & 12 deletions crates/unftp-auth-jsonfile/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unftp-auth-jsonfile"
version = "0.3.2"
version = "0.3.3"
description = "An authenticator back-end for libunftp that authenticates against a JSON file"
authors = [
"Agoston Horvath <[email protected]>",
Expand All @@ -18,22 +18,22 @@ repository = "https://github.com/bolcom/libunftp/tree/master/crates/unftp-auth-j
readme = "README.md"

[dependencies]
async-trait = "0.1.73"
base64 = "0.21.4"
async-trait = "0.1.75"
base64 = "0.21.5"
bytes = "1.5.0"
ipnet = "2.8.0"
ipnet = "2.9.0"
iprange = "0.6.7"
libunftp = { version="0.19.0", path="../../"}
libunftp = { version="0.19.1", path="../../"}
ring = "0.16.20"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
tokio = { version = "1.32.0", features = ["rt", "time"] }
tracing = { version = "0.1.37", default-features = false }
tracing-attributes = "0.1.26"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
tokio = { version = "1.35.1", features = ["rt", "time"] }
tracing = { version = "0.1.40", default-features = false }
tracing-attributes = "0.1.27"
valid = "0.3.1"
flate2 = "1.0.27"
flate2 = "1.0.28"

[dev-dependencies]
pretty_env_logger = "0.5.0"
tokio = { version = "1.32.0", features = ["macros"] }
tokio = { version = "1.35.1", features = ["macros"] }
unftp-sbe-fs = { version="0.2.2", path="../unftp-sbe-fs"}
12 changes: 6 additions & 6 deletions crates/unftp-auth-pam/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unftp-auth-pam"
version = "0.2.3"
version = "0.2.4"
description = "An authenticator back-end for libunftp that authenticates against PAM"
authors = [
"Agoston Horvath <[email protected]>",
Expand All @@ -19,13 +19,13 @@ repository = "https://github.com/bolcom/libunftp/tree/master/crates/unftp-auth-p
readme = "README.md"

[dependencies]
async-trait = "0.1.73"
libunftp = { version="0.19.0", path="../../"}
tracing = { version = "0.1.37", default-features = false }
tracing-attributes = "0.1.26"
async-trait = "0.1.75"
libunftp = { version="0.19.1", path="../../"}
tracing = { version = "0.1.40", default-features = false }
tracing-attributes = "0.1.27"

[target.'cfg(target_family = "unix")'.dependencies]
pam-auth = { package = "pam", version = "0.7.0" }

[dev-dependencies]
tokio = { version = "1.32.0", features = ["macros"] }
tokio = { version = "1.35.1", features = ["macros"] }
26 changes: 13 additions & 13 deletions crates/unftp-auth-rest/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unftp-auth-rest"
version = "0.2.3"
version = "0.2.4"
description = "An authenticator back-end for libunftp that consumes an HTTP API to authenticate"
authors = [
"Agoston Horvath <[email protected]>",
Expand All @@ -18,20 +18,20 @@ repository = "https://github.com/bolcom/libunftp/tree/hannes/crates/unftp-auth-r
readme = "README.md"

[dependencies]
async-trait = "0.1.73"
hyper = { version = "0.14.27", features = ["client", "runtime", "stream", "http1"] }
hyper-rustls = "0.24.1"
libunftp = { version="0.19.0", path="../../"}
percent-encoding = "2.3.0"
regex = "1.9.5"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
tokio = { version = "1.32.0", features = ["rt", "net", "sync", "io-util", "time"] }
tracing = { version = "0.1.37", default-features = false }
tracing-attributes = "0.1.26"
async-trait = "0.1.75"
hyper = { version = "0.14.28", features = ["client", "runtime", "stream", "http1"] }
hyper-rustls = "0.24.2"
libunftp = { version="0.19.1", path="../../"}
percent-encoding = "2.3.1"
regex = "1.10.2"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
tokio = { version = "1.35.1", features = ["rt", "net", "sync", "io-util", "time"] }
tracing = { version = "0.1.40", default-features = false }
tracing-attributes = "0.1.27"


[dev-dependencies]
pretty_env_logger = "0.5.0"
tokio = { version = "1.32.0", features = ["macros"] }
tokio = { version = "1.35.1", features = ["macros"] }
unftp-sbe-fs = { version="0.2.2", path="../unftp-sbe-fs"}
22 changes: 11 additions & 11 deletions crates/unftp-sbe-fs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "unftp-sbe-fs"
version = "0.2.3"
version = "0.2.4"
description = "A storage back-end for libunftp, storing files on local disk"
authors = [
"Agoston Horvath <[email protected]>",
Expand All @@ -19,15 +19,15 @@ repository = "https://github.com/bolcom/libunftp/tree/master/crates/unftp-sbe-fs
readme = "README.md"

[dependencies]
async-trait = "0.1.73"
async-trait = "0.1.75"
cfg-if = "1.0"
futures = { version = "0.3.28", default-features = false, features = ["std"] }
libunftp = { version="0.19.0", path="../../"}
futures = { version = "0.3.29", default-features = false, features = ["std"] }
libunftp = { version="0.19.1", path="../../"}
path_abs = "0.5.1"
tokio = { version = "1.32.0", features = ["rt", "net", "sync", "io-util", "time", "fs"] }
tokio = { version = "1.35.1", features = ["rt", "net", "sync", "io-util", "time", "fs"] }
tokio-stream = "0.1.14"
tracing = { version = "0.1.37", default-features = false }
tracing-attributes = "0.1.26"
tracing = { version = "0.1.40", default-features = false }
tracing-attributes = "0.1.27"

[dev-dependencies]
async_ftp = "6.0.0"
Expand All @@ -37,7 +37,7 @@ pretty_env_logger = "0.5.0"
rstest = "0.18.2"
slog-async = "2.8.0"
slog-term = "2.9.0"
tempfile = "3.8.0"
tokio = { version = "1.32.0", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = "0.3.17"
getrandom = "0.2.10"
tempfile = "3.8.1"
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = "0.3.18"
getrandom = "0.2.11"
2 changes: 1 addition & 1 deletion crates/unftp-sbe-fs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add the libunftp and tokio crates to your project's dependencies in `Cargo.toml`

```toml
[dependencies]
libunftp = "0.19.0"
libunftp = "0.19.1"
unftp-sbe-fs = "0.2.2"
tokio = { version = "1", features = ["full"] }
```
Expand Down
38 changes: 19 additions & 19 deletions crates/unftp-sbe-gcs/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "unftp-sbe-gcs"
description = "A storage back-end for libunftp, storing files in Google Cloud Storage (GCS)"
version = "0.2.4"
version = "0.2.5"
authors = [
"Agoston Horvath <[email protected]>",
"Dávid Kosztka <[email protected]>",
Expand All @@ -18,25 +18,25 @@ repository = "https://github.com/bolcom/libunftp/tree/master/crates/unftp-sbe-gc
readme = "README.md"

[dependencies]
async-trait = "0.1.73"
base64 = "0.21.4"
async-trait = "0.1.75"
base64 = "0.21.5"
bytes = "1.5.0"
chrono = { version = "0.4.31", default-features = false, features = ["std", "serde"] }
futures = { version = "0.3.28", default-features = false, features = ["std"] }
hyper = { version = "0.14.27", features = ["client", "runtime", "stream", "http1"] }
hyper-rustls = "0.24.1"
libunftp = { version="0.19.0", path="../../"}
futures = { version = "0.3.29", default-features = false, features = ["std"] }
hyper = { version = "0.14.28", features = ["client", "runtime", "stream", "http1"] }
hyper-rustls = "0.24.2"
libunftp = { version="0.19.1", path="../../"}
mime = "0.3.17"
percent-encoding = "2.3.0"
serde = { version = "1.0.188", features = ["derive"] }
serde_json = "1.0.107"
time = "0.3.28"
tokio = { version = "1.32.0", features = ["rt", "net", "sync", "io-util", "time", "fs"] }
percent-encoding = "2.3.1"
serde = { version = "1.0.193", features = ["derive"] }
serde_json = "1.0.108"
time = "0.3.31"
tokio = { version = "1.35.1", features = ["rt", "net", "sync", "io-util", "time", "fs"] }
tokio-stream = "0.1.14"
tokio-util = { version = "0.7.8", features = ["codec", "compat"] }
tracing = { version = "0.1.37", default-features = false }
tracing-attributes = "0.1.26"
yup-oauth2 = "8.3.0"
tokio-util = { version = "0.7.10", features = ["codec", "compat"] }
tracing = { version = "0.1.40", default-features = false }
tracing-attributes = "0.1.27"
yup-oauth2 = "8.3.1"

[dev-dependencies]
async_ftp = "6.0.0"
Expand All @@ -50,6 +50,6 @@ slog = { version = "2.7.0", features = ["max_level_trace", "release_max_level_in
slog-async = "2.8.0"
slog-stdlog = "4.1.1"
slog-term = "2.9.0"
tempfile = "3.8.0"
tokio = { version = "1.32.0", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = "0.3.17"
tempfile = "3.8.1"
tokio = { version = "1.35.1", features = ["macros", "rt-multi-thread"] }
tracing-subscriber = "0.3.18"
4 changes: 2 additions & 2 deletions crates/unftp-sbe-gcs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Add the needed dependencies to Cargo.toml:

```toml
[dependencies]
libunftp = "0.19.0"
unftp-sbe-gcs = "0.2.3"
libunftp = "0.19.1"
unftp-sbe-gcs = "0.2.5"
tokio = { version = "1", features = ["full"] }
```

Expand Down
4 changes: 2 additions & 2 deletions crates/unftp-sbe-gcs/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
//!
//! ```toml
//! [dependencies]
//! libunftp = "0.19.0"
//! unftp-sbe-gcs = "0.2.3"
//! libunftp = "0.19.1"
//! unftp-sbe-gcs = "0.2.5"
//! tokio = { version = "1", features = ["full"] }
//! ```
//!
Expand Down
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#![deny(clippy::all)]
#![deny(missing_docs)]
#![forbid(unsafe_code)]
#![doc(html_root_url = "https://docs.rs/libunftp/0.19.0")]
#![doc(html_root_url = "https://docs.rs/libunftp/0.19.1")]

//! libunftp is an extensible, async, cloud orientated FTP(S) server library.
//!
Expand All @@ -20,7 +20,7 @@
//!
//! ```toml
//! [dependencies]
//! libunftp = "0.19.0"
//! libunftp = "0.19.1"
//! unftp-sbe-fs = "0.2.0"
//! tokio = { version = "1", features = ["full"] }
//! ```
Expand Down

0 comments on commit bb1c3a2

Please sign in to comment.