Trestle v0.9.0 Release Notes
Release Date: 2019-11-08 // over 4 years ago-
๐ฑ ๐๐๐
๐ After many months in development, this release finally incorporates the new build process from #195!**If you have written a lot of custom code that depends on Bootstrap 3, this may be a breaking update. Please review your admin application code before pushing to production. **
**If you are using trestle-auth or trestle-search, please also ensure you also update to trestle-auth >= 0.3.0 and trestle-search >= 0.4.0 **
โก๏ธ The main features of this update are:
- ๐ A Webpack-based build process which produces a static CSS bundle. This means a Sass compilation gem (
sass-rails
orsassc-rails
) is no longer a required dependency unless you are doing custom theme compilation. - Cleaned up the Sass and JS code, and migrated the JS to ES6 syntax.
- โก๏ธ Updated to Bootstrap 4 (4.3.1).
- โก๏ธ Updated to FontAwesome 5 (5.11.2). The v4 compatibility classes are included.
- โ Removed Ionicons.
- Theme customization is now done within
app/assets/stylesheets/trestle/_theme.scss
(rather than_variables.scss
). Thetrestle:install
generator has been updated to create this new file. However your current_variables.scss
should continue to work for supported variables. - Sprockets is still a required dependency (for now).
โก๏ธ Other updates and fixes include:
0๏ธโฃ The
col
helper now accepts an integer for the default (mobile breakpoint) columns. Old usage should continue to work:Newcol(4) { ... } col(6, lg: 3) { ... }# Oldcol(xs: 4) { ... } col(xs: 6, lg: 3) { ... }
โ Added new
card
helper to replacepanel
helper๐ Deprecated
panel
andwell
helpersAdded support for custom
check_box
/radio_button
controls (default) as well as switchcheck_boxes
check_box :published, switch: true
Always show tabs if form was defined using one or more
tab
blocks0๏ธโฃ Use model name to determine default resource admin human name (#251)
๐ Fixed model name pluralization when singular and plural versions are defined (#238)
- ๐ A Webpack-based build process which produces a static CSS bundle. This means a Sass compilation gem (