Skip to content

OUTDATED RC CHANGELOG

Gregory Brown edited this page Dec 13, 2013 · 1 revision

NOTE: A while back we had thought Prawn was close to a 1.0 release and cut a couple pre-releases with that in mind. We later decided that we weren’t quite ready for 1.0, and went back to 0.x numbering. The notes below are all included in the 0.13.0 release notes, but they have been preserved here for historical purposes. Please note that the Prawn 1.0.rc1 and Prawn 1.0.rc2 are completely unsupported. Use the official gems instead!

Prawn 1.0.0.rc2

Here are some of the important changes in version 1.0.0.rc2. You can see the full list with git log 1.0.0.rc1..1.0.0.rc2.

Features / Enhancements

  • Switch from test-spec to rspec
  • Soft mask support [Alexander [Cheba] Mankuta]
  • Add a travis config file and TravisCI badge [James Healy, Trung Lê]
  • Several manual improvements and updates [Felipe Doria]
  • Various performance optimizations [Alex Dowad]
  • Allow multiple embedded images [Brad Ediger]
  • Allow cells to have dashed and dotted borders, with documentation [Tommy Back]
  • Encrypt outline titles (#312)
  • Allow importing a stream for page template [Wes Garrison]
  • Support for colspan and rowspan in tables [Brad Ediger]
  • Add Gemfile and manual/ to gem manifest (#305) [Brad Ediger]
  • Make indents consistent across columns [Giuseppe Bertini]
  • Add ability to scale background image [Nathan Colgate]

Bugfixes

  • Fix implicit flooring bug in PNG alpha channel unfiltering [Stephen Pike]
  • Ignore call to pdf.text(nil) [Luis Correa d’Almeida]
  • ColumnBox puts spacers only between columns (#302) [Brad Ediger]
  • Fix conversion of UTF-16 strings to hex on jruby in 1.9 mode (#283) [James Healy]
  • Fix documentation for formatted_text :styles option [Brad Ediger]

Prawn 1.0.0.rc1:

Prawn has been production-ready for quite some time, and it’s high time we acknowledged that! Here are the important changes; you can see the full list with `git log 0.12.0..1.0.0.rc1`.

Features / Enhancements

  • Tables now support image cells (#122) [Brad Ediger]
  • Add :inline_format option to text_box() [Brad Ediger]
  • Inline-formatted text accepts <br/> for newline [Brad Ediger]
  • Remove the old examples/ directory, replacing it with the self-documenting manual. (#187) [Michaël Witrant, Daniel Nelson, Brad Ediger]
  • Tables accept a :position argument (#150) [Brad Ediger]
  • text() accepts a :color argument (#145) [Gregory Brown / Brad Ediger]
  • Table rows() / columns() takes an array argument [Alexander Gitter / Brad Ediger]
  • Add even-odd winding rules option for fill / fill_and_stroke (#281) [Richard Fairhurst / Brad Ediger]

Bugfixes

  • Dynamic repeaters respect page ranges (#279) [BJ Lawson / Brad Ediger]
  • Fix Document#width_of and sizing of table cells with styled text (#59, #167) [Johan Andersson / Brad Ediger]
  • Fix ColumnBox width within indent() [Brad Ediger]
  • Fix error when Text::Box#render is called multiple times [Brad Ediger]
  • Fix bug with TTF font metrics embedded in the font descriptor (#158) [Brad Ediger]
  • Tables with :row_colors now respect an explicit row background color [Brad Ediger]
  • Text boxes or table cells with :valign => :bottom now include room for the descender [Brad Ediger]
  • Fix exception when certain documents are snapshotted (#261) [Sean Russell / Brad Ediger]