Skip to content

Releases

ferro-usage_lib 0.10.3

Choose a tag to compare

Added

  • Precompiled gem for Windows on arm64 (aarch64-mingw-ucrt), which installs with no Rust.

Changed

  • The README and CHANGELOG are CC-BY-4.0 instead of CC-BY-SA-4.0, as the gem's code is permissive.

Fixed

  • On Windows, installing from a git source or from the packaged gem under a deep folder (a path past 260 characters) no longer fails to compile with "unable to copy file" from gcc-ar: the build uses a short folder of the temporary folder.

ferro-url 0.15.1

Choose a tag to compare

@github-actions github-actions released this 05 Dec 05:29

Added

  • Precompiled gem for Windows on arm64 (aarch64-mingw-ucrt), which installs with no Rust.

Changed

  • The README and CHANGELOG are CC-BY-4.0 instead of CC-BY-SA-4.0, as the gem's code is permissive.

Fixed

  • On Windows, installing from a git source or from the packaged gem under a deep folder (a path past 260 characters) no longer fails to compile with "unable to copy file" from gcc-ar: the build uses a short folder of the temporary folder.

ferro-time 0.6.1

Choose a tag to compare

@github-actions github-actions released this 05 Dec 05:24

Changed

  • The README and CHANGELOG are CC-BY-4.0 instead of CC-BY-SA-4.0, as the gem's code is permissive.

Fixed

  • On Windows, installing from a git source or from the packaged gem under a deep folder (a path past 260 characters) no longer fails to compile with "unable to copy file" from gcc-ar: the build uses a short folder of the temporary folder.

ferro-rfd 0.7.7

Choose a tag to compare

@github-actions github-actions released this 05 Dec 05:37

Changed

  • The README and CHANGELOG are CC-BY-4.0 instead of CC-BY-SA-4.0, as the gem's code is permissive.

Fixed

  • On Windows, installing from a git source or from the packaged gem under a deep folder (a path past 260 characters) no longer fails to compile with "unable to copy file" from gcc-ar: the build uses a short folder of the temporary folder.

ferro-kdl 0.3.0

Choose a tag to compare

@github-actions github-actions released this 05 Dec 05:22

Added

  • Precompiled gem for Windows on arm64 (aarch64-mingw-ucrt), which installs with no Rust.
  • De.from_str, the crate's de::from_str, which reads a document as Hashes, Arrays, Strings, Integers, Floats, true, false, and nil, and De::Error, with its span, diagnostic, debug, and De::Error.from.
  • De::Error.missing_field, .duplicate_field, .unknown_field, .unknown_variant, .invalid_length, .invalid_type, and .invalid_value, serde's provided constructors of de::Error, which answer an error that holds serde's message alone. The last two take serde's Unexpected as a Symbol for a variant that holds nothing (:Seq) or a one-pair Hash for one that holds a value ({Bool: true}).
  • The crate's serde feature is built in, and the gem depends on serde 1.0.229.
  • Se.to_string and Se.to_document, the crate's se::to_string and se::to_document, which write Hashes, Arrays, Strings, Integers, Floats, true, false, and nil as KDL, and Se::Error, with its debug; a Hash or an Array that holds itself raises ArgumentError.
  • The crate's v1 feature, offered at install (gem install ferro-kdl -- --features=v1), which links kdl 4.7.1 and its dependencies (miette 5, thiserror 1, and once_cell): parse_v1 on KdlDocument, KdlNode, KdlEntry, and KdlIdentifier, defined only in that build, and Ferro::Kdl::FEATURES, which lists what the build has. Precompiled gems carry the defaults, without it. A KDL 1 parse's memory grows with the square of the nesting depth, about 0.5 KB times the depth squared. In that build, KdlEntry#autoformat rewrites an entry that keep_format marked as KDL 2, as ensure_v2 does, so a String a bare identifier can write loses its quotes.
  • KdlDocument.v1_to_v2 and KdlDocument.v2_to_v1, which convert a document's text between KDL 1 and KDL 2, and ensure_v1 on KdlDocument, KdlNode, and KdlEntry, which rewrites a tree in KDL 1's syntax in place, answering nil; each exists only in a build with v1. ensure_v1 cuts an Integer in an entry with no format to 64 bits, as the crate does.
  • miette's Diagnostic trait, which the crate implements for KdlError, KdlDiagnostic, and De::Error: code, severity, help, url, source_code, labels, related, and diagnostic_source on each, where on KdlDiagnostic the trait's help and severity are the class methods KdlDiagnostic.help and .severity, since its fields have those names. A labeled span is a Hash of label, span, and primary.
  • The crate's v1-fallback feature, offered at install (gem install ferro-kdl -- --features=v1-fallback), which implies v1: parse on KdlDocument, KdlNode, KdlEntry, and KdlIdentifier reads KDL 1 where KDL 2 fails, and so does from_str on all of them but KdlNode, as in the crate, and De.from_str, which reads KDL 1 text as data. Ferro::Kdl::FEATURES lists "v1-fallback" in that build. Precompiled gems carry the defaults, without it, and a KDL 1 parse, De.from_str's included, costs the memory parse_v1 does.

Fixed

  • KdlError.new, KdlDiagnostic.new, and the three format classes' new raise TypeError at once for a field of the wrong class, where KdlError.new(input: 5, diagnostics: []) kept -5 and diagnostics: "abc" failed later with NoMethodError.
  • KdlIdentifier.from and KdlEntry.from, called on a subclass with an instance of the base class, answer an instance of the subclass, a copy for an entry, as every other constructor does, where they answered the instance given.
  • KdlDocument#to_s, #len, and #is_empty, and KdlNode#to_s, raise RangeError ("Formatting argument out of range") instead of Error ("kdl panicked: ...") for a node without format data 16,385 levels below the one printed.
  • On Windows, installing from a git source or from the packaged gem under a deep folder (a path past 260 characters) no longer fails to compile with "unable to copy file" from gcc-ar: the build uses a short folder of the temporary folder.

Changed

  • Breaking: KdlNode#iter_mut and #iter_children_mut yield the crate's mutable iterator, KdlNode::EntryIterMut or KdlNode::ChildrenIterMut, to the block once, instead of each entry or child in turn, and answer what the block answers instead of the node. Its next, peek, and each lend each item as a copy of your own and store it once it stops being the current one, the last when the block ends; debug answers the crate's Debug text; rewind, dup, and clone raise TypeError; and once the block ends, every method raises IOError.
  • The README and CHANGELOG are CC-BY-4.0 instead of CC-BY-SA-4.0, as the gem's code is permissive.

ferro-idna 0.4.3

Choose a tag to compare

@github-actions github-actions released this 05 Dec 05:04

Changed

  • The README and CHANGELOG are CC-BY-4.0 instead of CC-BY-SA-4.0, as the gem's code is permissive.

Fixed

  • On Windows, installing from a git source or from the packaged gem under a deep folder (a path past 260 characters) no longer fails to compile with "unable to copy file" from gcc-ar: the build uses a short folder of the temporary folder.

ferro-global_hotkey 0.11.2

Choose a tag to compare

Changed

  • The README and CHANGELOG are CC-BY-4.0 instead of CC-BY-SA-4.0, as the gem's code is permissive.

Fixed

  • On Windows, installing from a git source or from the packaged gem under a deep folder (a path past 260 characters) no longer fails to compile with "unable to copy file" from gcc-ar: the build uses a short folder of the temporary folder.

ferro-arboard 0.8.1

Choose a tag to compare

Changed

  • The README and CHANGELOG are CC-BY-4.0 instead of CC-BY-SA-4.0, as the gem's code is permissive.

Fixed

  • On Windows, installing from a git source or from the packaged gem under a deep folder (a path past 260 characters) no longer fails to compile with "unable to copy file" from gcc-ar: the build uses a short folder of the temporary folder.

ferro-usage_lib 0.10.2

Choose a tag to compare

Fixed

  • A builder made by Sub.builder no longer shows Sub in inspect or instance_variables, and a builder subclass that sets its own @built no longer raises TypeError from build.

ferro-usage_lib 0.10.1

Choose a tag to compare

Added

  • Precompiled gems for Linux on x86_64 and arm64 with musl (x86_64-linux-musl and aarch64-linux-musl), which install with no Rust.