Changes for version 0.101 - 2026-12-01
- BREAKING: Model::SAML2::Db::set uses an upsert, so the cache table needs a unique key on column k; existing tables without it make set fail. Suggested schema: k TEXT UNIQUE NOT NULL, expire BIGINT (Pg) or INTEGER (SQLite), data TEXT
- BREAKING: Model::SAML2::Db creates its table at construction if it does not exist (constructor option auto, default 1). Engines other than Pg and SQLite throw an exception unless auto is a CREATE TABLE query or 0
- Model::SAML2::Db: new create_table_query (CREATE TABLE query for Pg and SQLite) and create_table_if_not_exists (safe with concurrent processes)
- Tests: SAML2::Db tests skip with MojoX::MojoDbWrap < 0.100; t/50, t/52 and t/75 use the cheapest Argon2 settings too (inactivity timeouts on a slow tester with 0.100)
Modules
moderately opinionated support module for authentication in Mojolicious applications (local and SAML2)