Crossview 3.5.0 Release Announcement #166
MoeidHeidari
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Release v3.5.0
We’re excited to announce v3.5.0 of our project! This release introduces flexible authentication options, database-optional setups, enhanced CI pipelines, and several improvements to our frontend and Helm chart configurations.
New Features
Authentication Modes
You can now choose the authentication mode that fits your environment:
Header auth configuration:
server.auth.mode(orAUTH_MODE):session | header | noneserver.auth.header.trustedHeader(default:X-Auth-User)server.auth.header.createUsers(default:true)server.auth.header.defaultRole(default:viewer)When using header or none, the app will skip database connections, migrations, and pings. The
UserRepositoryis nil-safe when no database is configured.Helm Chart
config.server.authandconfig.server.auth.header.*in values.AUTH_MODE,AUTH_TRUSTED_HEADER,AUTH_CREATE_USERS,AUTH_DEFAULT_ROLE.database.enabled: false.Frontend Updates
/api/auth/checknow returnsauthMode.CI Pipeline
⚡ Changes & Improvements
AuthMiddlewarenow handles session, header, or none.RequireAdminresolvesuserIdfrom context first, then session; returns Forbidden whenuserId = 0.Checksupports header and none modes, returning synthetic users and auth mode info.🔒 Security Notes
For detailed configuration examples and usage, see our updated docs and examples:
config/examples/config-header.yaml.exampleconfig/examples/config-none.yaml.exampleconfig/examples/config-session.yaml.exampleconfig/examples/config-session-sso.yaml.exampleThis release includes 423 commits since the previous version. Thank you to everyone who contributed!
Beta Was this translation helpful? Give feedback.
All reactions