Repository navigation
Releases
Releases · setdef/Ferro
ferro-usage_lib 0.10.3
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
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
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
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
Added
- Precompiled gem for Windows on arm64 (
aarch64-mingw-ucrt), which installs with no Rust. De.from_str, the crate'sde::from_str, which reads a document as Hashes, Arrays, Strings, Integers, Floats,true,false, andnil, andDe::Error, with itsspan,diagnostic,debug, andDe::Error.from.De::Error.missing_field,.duplicate_field,.unknown_field,.unknown_variant,.invalid_length,.invalid_type, and.invalid_value, serde's provided constructors ofde::Error, which answer an error that holds serde's message alone. The last two take serde'sUnexpectedas 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
serdefeature is built in, and the gem depends on serde 1.0.229. Se.to_stringandSe.to_document, the crate'sse::to_stringandse::to_document, which write Hashes, Arrays, Strings, Integers, Floats,true,false, andnilas KDL, andSe::Error, with itsdebug; a Hash or an Array that holds itself raisesArgumentError.- The crate's
v1feature, 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_v1onKdlDocument,KdlNode,KdlEntry, andKdlIdentifier, defined only in that build, andFerro::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#autoformatrewrites an entry thatkeep_formatmarked as KDL 2, asensure_v2does, so a String a bare identifier can write loses its quotes. KdlDocument.v1_to_v2andKdlDocument.v2_to_v1, which convert a document's text between KDL 1 and KDL 2, andensure_v1onKdlDocument,KdlNode, andKdlEntry, which rewrites a tree in KDL 1's syntax in place, answeringnil; each exists only in a build withv1.ensure_v1cuts an Integer in an entry with no format to 64 bits, as the crate does.- miette's
Diagnostictrait, which the crate implements forKdlError,KdlDiagnostic, andDe::Error:code,severity,help,url,source_code,labels,related, anddiagnostic_sourceon each, where onKdlDiagnosticthe trait'shelpandseverityare the class methodsKdlDiagnostic.helpand.severity, since its fields have those names. A labeled span is a Hash oflabel,span, andprimary. - The crate's
v1-fallbackfeature, offered at install (gem install ferro-kdl -- --features=v1-fallback), which impliesv1:parseonKdlDocument,KdlNode,KdlEntry, andKdlIdentifierreads KDL 1 where KDL 2 fails, and so doesfrom_stron all of them butKdlNode, as in the crate, andDe.from_str, which reads KDL 1 text as data.Ferro::Kdl::FEATURESlists"v1-fallback"in that build. Precompiled gems carry the defaults, without it, and a KDL 1 parse,De.from_str's included, costs the memoryparse_v1does.
Fixed
KdlError.new,KdlDiagnostic.new, and the three format classes'newraiseTypeErrorat once for a field of the wrong class, whereKdlError.new(input: 5, diagnostics: [])kept-5anddiagnostics: "abc"failed later withNoMethodError.KdlIdentifier.fromandKdlEntry.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, andKdlNode#to_s, raiseRangeError("Formatting argument out of range") instead ofError("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_mutand#iter_children_mutyield the crate's mutable iterator,KdlNode::EntryIterMutorKdlNode::ChildrenIterMut, to the block once, instead of each entry or child in turn, and answer what the block answers instead of the node. Itsnext,peek, andeachlend each item as a copy of your own and store it once it stops being the current one, the last when the block ends;debuganswers the crate'sDebugtext;rewind,dup, andcloneraiseTypeError; and once the block ends, every method raisesIOError. - 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
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
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
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
Fixed
- A builder made by
Sub.builderno longer showsSubininspectorinstance_variables, and a builder subclass that sets its own@builtno longer raisesTypeErrorfrombuild.
ferro-usage_lib 0.10.1
Added
- Precompiled gems for Linux on x86_64 and arm64 with musl (
x86_64-linux-muslandaarch64-linux-musl), which install with no Rust.