Skip to content

v0.7.0

Compare
Choose a tag to compare
@madig madig released this 04 Mar 17:34
· 134 commits to master since this release
ac09b2b

User Visible Changes

  • Rewrote the entire error hierarchy to be specific to the operation at hand instead of having one big error type for everything.
  • Glyph names, layer names, group names and kerning entries now use Name instead of String to enforce UFO restrictions on what can be contained in a name.
  • The DataRequest builder API now passes back Self instead of a mutable reference, for writing "one-liners".
  • All public items should now have documentation text attached to them.
  • The norad::util module is private for now.
  • Minor API changes in NonNegativeIntegerOrFloat, IntegerOrFloat is just an f64 now.
  • Font.data_request is private for now.
  • Load and save methods apart from those in Font and Glyph are now private.
  • Font::get_glyph(), Layer::get_glyph(), Layer::remove_glyph() and Layer::iter now return &Glyph without the Arc<> wrapper unless the druid feature is enabled; some methods got a _raw counterpart for explicitly getting behind the Arc<> wrapper then.
  • Image::file_name() is now a getter for the underlying private file_name field.
  • On saving, font parts other than glyphs are validated up-front, to reduce the chance of erroring out half-way through saving.
  • Color's fields are now private.
  • Layer renaming is more strict now and catches things forbidden by the spec.
  • Minor GLIF versions are now read.
  • Identifier's API should now mostly match Name's.

What's Changed

Full Changelog: v0.6.0...v0.7.0