CHANGELOG.md in thinreports-0.9.1 vs CHANGELOG.md in thinreports-0.10.0
- old
+ new
@@ -1,5 +1,23 @@
+## 0.10.0
+
+ * Thinreports requires Prawn 2.2
+ * Dropped Ruby 1.9.3 and 2.0.0 support
+ * Fixed a bug line-height of a text line-wrapped is broken #36 [@tkobayashi0330]
+ * Remove deprecated top-module `ThinReports`
+ * Remove `config.convert_palleted_transparency_png` option
+ * Remove `config.generator.default` option
+ * Deprecate `:report` and `:generator` argument of `Thinreports::Report.generate`
+
+### Remove config.convert_palleted_transparency_png option
+
+PNG image with indexed transparency has been supported since Prawn version 2.0. And now, thinreports requires Prawn 2.2+, so the unique support in thinreports is no longer needed.
+
+### Remove deprecated top-module ThinReports
+
+Please use `Thinreports` instead.
+
## 0.9.1
* Fixed bug that line-height of text-block is always set to 0 #68
* Fixed a referenced text-block not rendered #68
* Fixed #66 an error occurred when render list #68
@@ -44,11 +62,12 @@
```ruby
png_image = StringIO.new(png_data)
page.item(:image_block).src(png_image)
require 'open-uri'
-png_data = open('http://example.com/image.png')
-page.item(:image_block).src(image_data)
+open('http://example.com/image.png') do |image_data|
+ page.item(:image_block).src(image_data)
+end
```
### Remove old way to define callback of list
The block of `Report::Base#use_layout` never performed: