Skip to content

Commit dc0552c

Browse files
chore: update changelog
Signed-off-by: Henry <mail@henrygressmann.de>
1 parent 53ede31 commit dc0552c

File tree

4 files changed

+36
-7
lines changed

4 files changed

+36
-7
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,15 @@ Since this is not a library, this changelog focuses on the changes that are rele
1818

1919
## Unreleased
2020

21-
- GeoIP database now automatically reloads if it has been updated on disk
22-
- Docker image is now based on `distroless`
21+
- Updated to the latest version of DuckDB (1.5)
22+
- GeoIP database now automatically reloads if it has been updated on disk / fixed an issue where the GeoIP database would not be updated on the first boot
2323
- Switched to using `axum` as the web framework and `ua-parser` for user-agent parsing
2424
- Added new `listen` configuration option to specify the address and port to listen on (can be a socket address or just a port number). The old `port` option is still supported for backwards compatibility.
25+
- Some small UI improvements and optimizations
26+
- Container image is now based on `distroless`
27+
28+
**⚠️ The container now runs as a non-root user (UID 1000)!**
29+
If you map a folder to `/data` and encounter permission issues, ensure it’s owned by UID `1000` (e.g. `chown 1000:1000 ./data`) or has appropriate permissions (e.g. `chmod 777 ./data`). You can also override the UID user by Liwan when starting the container by setting the `--user` flag (e.g. `docker run --user 0 ...`).
2530

2631
## [v1.3.0] - 2025-10-12
2732

Cargo.lock

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

Cargo.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
[package]
22
name="liwan"
3-
version="1.2.1"
3+
version="1.4.0"
44
edition="2024"
5-
rust-version="1.93"
5+
rust-version="1.94"
66
repository="https://github.com/explodingcamera/liwan"
77
license="Apache-2.0"
88
publish=false
@@ -87,6 +87,7 @@ r2d2={version="0.8", default-features=false}
8787
refinery={version="0.9", default-features=false}
8888
refinery-core={version="0.9", default-features=false}
8989
maxminddb={version="0.27", optional=true, features=["simdutf8"]}
90+
mimalloc={version="0.1"}
9091

9192
[dev-dependencies]
9293
figment={version="*", features=["test"]}

src/main.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
#![forbid(unsafe_code)]
2-
#![warn(rust_2018_idioms)]
3-
42
use anyhow::Result;
53

64
use liwan::app::{Liwan, models::Event};
75
use liwan::{cli, config::Config, web};
86
use tracing_subscriber::EnvFilter;
97

8+
use mimalloc::MiMalloc;
9+
10+
#[global_allocator]
11+
static GLOBAL: MiMalloc = MiMalloc;
12+
1013
#[tokio::main(flavor = "multi_thread")]
1114
async fn main() -> Result<()> {
1215
let args = cli::args();

0 commit comments

Comments
 (0)