Skip to content

0.4.0

Latest

Choose a tag to compare

@disisto disisto released this 31 Aug 10:50
· 2 commits to main since this release
66d2057

Breaking Changes

Important: This release is only compatible with SimpleSAMLphp 2.2.2 and higher due to the required formURL variable.
Users on SimpleSAMLphp 2.2.1 and earlier should remain on theme version 0.2.1.

Major Changes

Complete CSP Strict Compliance

  • Removed all inline event handlers and replaced with data attributes
  • Eliminated all inline scripts - moved to external files (theme-init.js)
  • Removed all inline styles in favor of CSS classes
  • Full compatibility with Content Security Policy strict mode without requiring nonces

JavaScript Architecture Overhaul

  • Unified all JavaScript functionality into single theme-bundle.js file
  • Added separate theme-init.js for immediate theme application (prevents flash)
  • Reduced HTTP requests from 5+ files to 2 core bundles
  • Exposed window.SimpleSAMLTheme object for external integrations

UI/UX Design Improvements

  • Simplified theme switcher to dark/light modes only (removed auto mode)
  • Modernized password visibility toggle with minimal 18x18px icon design
  • Wider alert containers (600px) for better error message readability
  • Consistent button heights across all navigation elements
  • Changed error alerts to use danger styling (red) instead of warning (yellow)

Form Compatibility Updates

  • Updated form action to use formURL variable instead of moduleURL() function
  • Compatible with SimpleSAMLphp 2.2+ form handling
  • Dynamic username placeholder when forceUsername is active

Bootstrap Framework Update

  • Updated from Bootstrap 5.3.2 to Bootstrap 5.3.8

New Features

  • Keyboard accessibility for password visibility toggle
  • Form validation with submit button state management
  • Auto-dismiss feature for dismissible alerts after 10 seconds
  • Development mode logging for easier debugging

Compatibility Matrix

SimpleSAMLphp Version Theme Version Compatibility
2.0.x - 2.2.1 0.2.1 Full
2.2.2+ 0.4.0 Full