Skip to content

Commit

Permalink
bump deps and build nightly for Hiqlite testing (#621)
Browse files Browse the repository at this point in the history
* update deps + major version bumps + nightly version + fix issues

* update recipes and `Dockerfile`s to make them work again

* make `DATABASE_URL` optional for better UX in prod

* fix DB check in webauthn `auth_finish()`

* bump nightly version and build new image
  • Loading branch information
sebadob authored Nov 19, 2024
1 parent 80f50c8 commit 4f9554e
Show file tree
Hide file tree
Showing 18 changed files with 968 additions and 552 deletions.
877 changes: 583 additions & 294 deletions Cargo.lock

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ members = ["src/*"]
exclude = ["rauthy-client"]

[workspace.package]
version = "0.27.0-20241031"
version = "0.27.0-20241119"
edition = "2021"
authors = ["Sebastian Dobe <[email protected]>"]
license = "Apache-2.0"
Expand Down Expand Up @@ -39,11 +39,11 @@ askama_actix = "0.14"
async-trait = "0.1.74"
base64 = "0.22.0"
bincode = "1"
cached = "0.53.1"
cached = "0.54"
chacha20poly1305 = { version = "0.10", features = ["std"] }
chrono = { version = "0.4", default-features = false, features = ["clock", "serde", "std"] }
cidr = "0.3.0"
cron = "0.12"
cron = "0.13"
cryptr = { version = "0.5.1", features = ["s3", "streaming"] }
css-color = "0.2"
derive_more = "1"
Expand All @@ -54,7 +54,7 @@ futures = "0.3"
futures-util = "0.3"
gethostname = "0.5.0"
hex = { version = "0.4", features = ["serde"] }
hiqlite = { version = "0.2.1", features = ["full"] }
hiqlite = { version = "0.3.0-20241115", features = ["full"] }
hmac-sha256 = { version = "1.1.7", features = ["traits010"] }
hmac-sha512 = { version = "1.1.5", features = ["traits010", "sha384"] }
image = { version = "0.25.1", default-features = false, features = [
Expand Down Expand Up @@ -91,7 +91,7 @@ rustls-pemfile = "2.1.2"
semver = { version = "1.0.19", features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
serde_json_path = "0.6.7"
serde_json_path = "0.7.1"
serde_with = { version = "3.8.1", features = ["macros"] }
spow = { version = "0.4", features = ["server"] }
sqlx = { version = "0.8.2", features = ["macros", "migrate", "postgres", "runtime-tokio", "sqlite", "tls-rustls", "uuid"] }
Expand All @@ -101,9 +101,10 @@ time = { version = "0.3", features = ["formatting", "local-offset", "macros", "p
tracing = { version = "0.1", features = ["attributes"] }
tracing-subscriber = { version = "0.3", features = ["env-filter", "json", "tracing"] }
tokio = { version = "1", features = ["full"] }
utoipa = { version = "4", features = ["actix_extras", "chrono", "openapi_extensions"] }
utoipa-swagger-ui = { version = "=7.0.1", features = ["actix-web"] }
utoipa = { version = "5", features = ["actix_extras", "chrono", "openapi_extensions"] }
utoipa-swagger-ui = { version = "8.0.3", features = ["actix-web"] }
uuid = { version = "1", features = ["serde", "v4"] }
# update to 0.19 blocked by `actix-web-validator`
validator = { version = "0.18", features = ["derive"] }
webauthn-rs = { version = "0.5", features = [
"danger-allow-state-serialisation", "danger-credential-internals"
Expand Down
3 changes: 2 additions & 1 deletion Dockerfile_builder
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ RUN <<EOF
set -e

rustup target add aarch64-unknown-linux-gnu
rustup component add rustfmt

apt update
apt install -y gcc-aarch64-linux-gnu
apt install -y clang gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
apt-get clean
EOF

Expand Down
1 change: 1 addition & 0 deletions dev_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

## Stage 2 - features - do before v1.0.0

- on the long term, get rid of `actix-web-validator` as it often blocked `validator` updates already
- events view wide -> button height 30px -> error with overflow
- input validation in account view broken for first / last name -> backend requests 2 chars +
- find a nice way to simply always expose the swagger UI for rauthy admins only without config
Expand Down
Loading

0 comments on commit 4f9554e

Please sign in to comment.