diagrams-cairo v0.6 Release Notes

Release Date: 2012-12-12 // over 11 years ago
  • πŸ†• New features

    • πŸ†• New --list option for multiMain to list all available diagrams

    • πŸ“š Major documentation improvements

    • πŸ†• New modules:

      • Diagrams.Backend.Cairo.Ptr, for rendering directly to buffers in memory
      • Diagrams.Backend.Cairo.List, for rendering to a list of lists of pixels.

    API changes

    • πŸ’… Removal of StyleParam from Diagrams.Backend.Cairo.Text, change functions in that module to accept Style R2. Usage can be fixed by applying these style functions to mempty.

    • πŸ“¦ GTK rendering has been split out into a new package, diagrams-gtk.

    • The Diagrams.Backend.Cairo.Gtk module is now Diagrams.Backend.Gtk in the diagrams-gtk package.

    • The CairoOptions record has a new boolean cairoBypassAdjust option; when set, the backend should bypass calling adjustDia2D.

    • The GTK output type is gone.

    • There is a new RenderOnly output type, for when you don't care about the IO action but only want the cairo Render action.

    πŸ›  Fixed bugs:

    • old-time and 7.6 #21

    • πŸ—„ Use of deprecated 'try' function in Diagrams.Backend.Cairo.Internal #12

    • πŸ‘ Better error message when image file does not exist #11

    • Path doesn't get resized correctly when no transformations are applied to it #6

    • πŸ‘‰ Make Cairo backend smarter about missing attributes #4

    • Attribute transformations are not handled correctly when rendering #3

    Closed issues:

    • vector-space-0.8.5 breaks compilation #27

    • β€˜cairoBypassAdjust’ undocumented #23

    • πŸ‘Œ Improve diagrams-cairo documentation #10

    πŸ”€ Merged pull requests:

    • βž• Additional rendering functions, for Ptr Word8 and [[Colour a]] #25 (haasn)

    • old-time to time #22 (fryguybob)

    • πŸ“¦ split out gtk rendering into a separate package #20 (byorgey)

    • πŸ—„ use requiredScaleT in place of deprecated adjustSize #17 (byorgey)

    • 0️⃣ call setDefault2DAttributes even when bypassing size adjustments #16 (byorgey)