Releases: elementary/granite
Releases · elementary/granite
granite 7.7.0 Released
New Icons:
- View icons for columns, grids, lists, and reader mode. Plus horizontal and vertical ellipsis icons
- Start and End show/hide sidebar icons
- Emoji category icons used by GTK's emoji picker
- Eye icons required by Gtk.PasswordEntry
New Features:
- Box is an orientable widget that includes standardized spacing and linked styles
- ListItem is a standard list widget that includes styles and spacing
- ToolBox is a vertical layout widget for top and bottom toolbars
- new style class constants for labels: CssClass.NUMERIC and CssClass.MONOSPACE
- StyleManager handles automatically setting dark and light modes as well as system accent colors using Portals
- BackButton is a standardized navigation button that activates "navigation.pop" and includes a shortcut tooltip
Improvements:
- accel_to_string now uses the word "Super" instead of the "⌘" symbol
- HeaderLabel has a new property for H1-H4 sizes and H2 styles are now bolder
- CssClass.CARD is now rounded by default
- Updated translations
Deprecations:
- Utils.set_color_primary. Modern apps have moved to more of a split paned design and this style is no longer very fashionable
- Nearly all of the old `STYLE_CLASS` constants have been deprecated. Some of them have been replaced by `CssClass` constants, others by widgets.
Demo Improvements:
- More demo pages with more widgets
- Color scheme switcher in the sidebar
granite 7.6.0 Released
What's Changed
- Dialog: Add since annotation to new method by @davidmhewitt in #721
- SwitchModelButton: set accessible label, description, and state by @danirabbit in #723
- ValidatedEntry: set AccessibleState by @danirabbit in #724
- HeaderLabel: set accessible description by @danirabbit in #725
- AbstractSimpleSettingsPage: Correct replacement class by @ryonakano in #726
- meson: Use gnome module to compile schemas by @ryonakano in #727
- SwitchModelButton: wrap label by @danirabbit in #729
- Introduce Granite.Bin for subclassing by @leolost2605 in #730
- Fix dead link (#734) by @salim-b in #735
New Contributors
Full Changelog: 7.5.0...7.6.0
granite 7.5.0 Released
New Features:
- Toast: add a new dismissed signal that includes the reason for dismissal
- Add STYLE_CLASS_SUCCESS
- HeaderLabel: allow secondary text to use markup
Improvements:
- Make building Demo optional
- Demo now uses a modern split-pane design
- DateTime: handle relative datetime when epoch
- MessageDialog: Set last button as focus widget
- SwitchModelButton: Remove redundant switch keyboard focusing
- Load fallback styles for widgets when using Granite.init
- Updated translations
Deprecations:
- SettingsPage and SettingsSidebar: these widgets have moved to LibSwitchboard
granite 7.4.0 Released
Improvements:
- Add a withdraw method for Granite.Toast
- Updated translations
Granite 7.3.0 Released!
What's Changed
- Fix build with newer Vala by @Exalm in #637
- Switch to GHCR containers by @davidmhewitt in #640
- settings: remove inappropriate ownership annotation by @mcatanzaro in #642
- Add granite styles as a gresource by @danirabbit in #639
- Init: load gresourced styles if present by @danirabbit in #644
- Fix demo desktop file by @meisenzahl in #647
- Settings Urls by @Antolius in #649
- Constants: Add since versions to new URI values by @davidmhewitt in #651
- Styles: add basics by @danirabbit in #646
- Metainfo improvements by @danirabbit in #652
- Update POTFILES by @ryonakano in #654
- README: Point to granite-7 version of valadoc by @ryonakano in #655
New Contributors
- @Exalm made their first contribution in #637
- @mcatanzaro made their first contribution in #642
- @Antolius made their first contribution in #649
Full Changelog: 7.2.0...7.3.0
Granite 7.2.0 Released!
What's Changed
- Add icon and use it by @danirabbit in #629
- Init: add ensure type by @danirabbit in #632
- Add 'since' annotations to things added in 7.1 by @davidmhewitt in #635
- Add since annotation to new public init method by @davidmhewitt in #636
Full Changelog: 7.1.0...7.2.0
granite 7.1.0 Released
New Features:
- Granite.STYLE_CLASS_RICH_LIST for standard Gtk.ListBox row padding
- Granite.STYLE_CLASS_FRAME for adding a border to Gtk.LisBox, Gtk.InfoBar, and others
- Granite.STYLE_CLASS_SIDEBAR for styling application sidebars
- Granite.STYLE_CLASS_BACKGROUND to use the default background color for a widget
- Add optional secondary text to Granite.HeaderLabel
Improvements:
- Allow text in Granite.Toast to wrap
- SimpleSettingsPage: Wrap titles and allow description text to go under switches
- Updated translations
granite 7.0.0 Released
New Features:
- Ported to GTK4! 🎉️
- Granite.Placeholder: replaces AlertView and Welcome
- SimpleSettingsPage: Allow markup in description
Removals:
- Application: use Gtk.Application instead
- Drawing: Use Gtk.CSS
- DynamicNotebook: use Adw.TabBar instead
- Logger: use GLib.log instead
- ModeButton: Use Gtk.ToggleButton with the "group" property and "linked" style class instead
- Paths: use GLib.Environment instead
- Seekbar
- Services.Settings: use GLib.Settings instead
- SimpleCommand: use GLib.AppInfo.create_from_commandline instead
- SourceList: use Gtk.ListBox with the "sidebar" style class instead
- StorageBar
- TextStyle: use style class constants instead
- Several functions in System were replaced by GLib.AppInfo
Improvements:
- Updated translations
granite 6.2.0 Released
New Features:
- min_length property for Granite.ValidatedEntry
- Granite.HyperTextView for navigatable URLs in text views
Improvements:
- Updated translations
Fixes:
- Prevent crashing on environments without dark style preference support
Granite 6.1.2
Fixes:
- Use values from the Settings Portal when possible
- Disable horizontal scrolling by default in SettingsPage
- Updated translations