4.0
Tramway
- Dropped Rails 7.x support — now verified only against Rails 8.0 and 8.1
- Removed
gemfiles/rails_7.0.gemfile,rails_7.1.gemfile,rails_7.2.gemfile - Font Awesome is now bundled via the engine (
font-awesome-rails), with font asset paths andfont-awesome.cssprecompilation wired up automatically for Propshaft apps
Tramway Navbar
- Added
direction:option totramway_navbar(:verticalis now the default,:horizontalfor the classic top navbar) - Default
:verticalnavbar now renders as a fixed, collapsible left sidebar on desktop (mobile always shows the top navbar regardless ofdirection:) - Sidebar collapse toggle now uses a single rotating
fa-chevron-lefticon instead of swapping between two icons - Tuned collapse/expand transitions per element (width/padding-left vs. opacity) with custom easing curves, respecting
prefers-reduced-motion -
tramway_main_containernow auto-syncs its left offset (md:pl-72/md:pl-24) with the navbar's direction and collapsed state
Tramway Grid (new)
- Added
tramway_gridandtramway_cardfor dashboard-style layouts with cards spanning multiple rows and columns - Supports
rows:,columns:, andoutline: true(centered separators between cells)
Tramway Table
- Added
size:option totramway_table(:small,:medium,:large; default:mediummatches prior behavior) -
tramway_row,tramway_header, andtramway_cellnow automatically follow the table's active size - Table carries a default
bg-zinc-950background, overridable viaclass: - Linked rows (
href:) keep a transparent background
Tramway Chat
- Added custom
tramway-scrollbarstyling to the messages panel
Fixes & Internals
- Fixed CSS class concatenation in
Containers::Main/Containers::Narrow(previous string concatenation could produce classes glued together without a space) - Replaced
rubocop:disable/rubocop:enableblock comments withrubocop:disable-nextthroughout -
lefthookversion now pinned via.tool-versionsformise/make install
Full Changelog: 3.1.2.8...4.0