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.7.0 #49

Closed dependabot[bot] closed 2 years ago

dependabot[bot] commented 2 years ago

Bumps norad from 0.6.0 to 0.7.0.

Release notes

Sourced from norad's releases.

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
  • ac09b2b Merge pull request #261 from linebender/groups-kerning-use-name
  • 6e11cf4 Use Name instead of String in Groups and Kerning
  • c59d43e Merge pull request #260 from linebender/add-fromstr-name-id
  • bf5d9f1 Update manifest for v0.7.0
  • 6e3a352 Remove FromStr from Identifier
  • b528349 Implement FromStr for Name and Identifier
  • 6351783 Merge pull request #259 from linebender/identifiers-mimic-names
  • bb6f279 Merge pull request #257 from linebender/use-Name-for-glyph-parts
  • 7c5c7c3 Make code for Identifier match Name
  • eb63537 Instruct serde to treat Name as transparent
  • 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)
chrissimpkins commented 2 years ago

These fails are due to the refactored error handling in norad and should be addressed in #44. Will close this and update the norad dependency version in that PR.

dependabot[bot] commented 2 years ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.