Skip to content

Releases: elementary/granite

granite 7.7.0 Released

30 Sep 21:21
ae94e91

Choose a tag to compare

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

21 Nov 16:04
065ba1f

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 7.5.0...7.6.0

granite 7.5.0 Released

06 May 22:15
f190e26

Choose a tag to compare

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

18 Nov 17:42
949703f

Choose a tag to compare

Improvements:

  • Add a withdraw method for Granite.Toast
  • Updated translations

Granite 7.3.0 Released!

12 Jun 15:30
dead268

Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 7.2.0...7.3.0

Granite 7.2.0 Released!

27 Feb 18:32
e7447e3

Choose a tag to compare

What's Changed

Full Changelog: 7.1.0...7.2.0

granite 7.1.0 Released

10 Oct 23:51
d79db0b

Choose a tag to compare

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

30 Apr 18:15
4102088

Choose a tag to compare

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

23 Nov 21:37
4ab145c

Choose a tag to compare

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

25 Oct 18:48
dde6e40

Choose a tag to compare

Fixes:

  • Use values from the Settings Portal when possible
  • Disable horizontal scrolling by default in SettingsPage
  • Updated translations