source-foundry / ufofmt

A fast, flexible UFO source file formatter based on the Rust Norad library
Apache License 2.0
7 stars 1 forks source link

Bump norad from 0.6.0 to 0.8.0 #57

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Bumps norad from 0.6.0 to 0.8.0.

Release notes

Sourced from norad's releases.

v0.8.0

Support for reading design spaces, and a few smaller tweaks.

What's Changed

New Contributors

Full Changelog: https://github.com/linebender/norad/compare/v0.7.0...v0.8.0

v0.7.0

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

... (truncated)

Commits
  • 1ef6f20 Add custom Codepoints type, wrapping IndexSet
  • b67c9f4 Use IndexSet instead of Vec for codepoints
  • 417e4ac Fix rustdoc complaints
  • 8a464f4 Make user_name_to_file_name public, tweak signature
  • b98c0e5 Make layer_filter closure non-static
  • 9b08bdb Update layer request API to be closure based
  • c3177ae Finer grained control over layer loading
  • 9a2bfbc Update version to 0.8.0, bump kurbo
  • c546de8 Merge pull request #272 from rsheeter/designspace
  • 0568370 Remove pointless Path::new
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)