Skip to content

Commit

Permalink
Release v0.12.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
hugopl committed Sep 6, 2022
1 parent a26d921 commit 223bf9c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [0.12.0] - 2022-09-06
### Added
- Added overload `Gtk::Snapshot#translate(x : Float32, y : Float32)`.
- Added overload `Gtk::Snapshot#append_color(color : Gdk::RGBA, x : Float32, y : Float32, width : Float32, height : Float32)`.
- Added overload `Gtk::Snapshot#push_repeat(bounds_x : Float32, bounds_y : Float32, bounds_width : Float32, bounds_height : Float32, child_bounds_x : Float32, child_bounds_y : Float32, child_bounds_width : Float32, child_bounds_height : Float32)`
- Added overload `Gtk::Snapshot#save` that receives a block and calls `Gtk::Snapshot#restore` at the end.

### Fixed
- Don't crash when instantiating `Pango::FontMetrics`.
- Make possible to use `Pango::AttrList` and `Pango::Attributes`.

### Changed
- Using GI-Crystal v0.14.x, See [GI-Crystal changelog](https://github.com/hugopl/gi-crystal/blob/master/CHANGELOG.md) for more info.

## [0.11.1] - 2022-07-04
### Fixed
- Fix compilation with HarfBuzz 4.4.1.
Expand Down
6 changes: 3 additions & 3 deletions shard.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: gtk4
version: 0.11.1
version: 0.12.0

authors:
- Hugo Parente Lima <[email protected]>

dependencies:
gi-crystal:
github: hugopl/gi-crystal
branch: master
# version: "~>0.13.1"
# branch: master
version: "~>0.14.0"

crystal: ">= 1.4.1"

Expand Down

0 comments on commit 223bf9c

Please sign in to comment.