Skip to main content

is_annotation_shapes 0.5.0 copy "is_annotation_shapes: ^0.5.0" to clipboard
is_annotation_shapes: ^0.5.0 copied to clipboard

Annotation shapes for intersyntactic: a comment, a correction to a node's value, an approval and a mark that a node was seen, each written beside a node and never changing it.

Changelog #

0.5.0 #

  • Breaking: depends on checked_json ^0.4.0. toJson and fromJson use its JsonObject, which is now a class that can't be changed at any depth, and two of them are equal when their fields are equal. A plain Map is no longer a JsonObject; read one with JsonObject.parse.

0.4.0 #

  • Breaking: depends on checked_json ^0.3.0, whose JsonObject.decode refuses a key named twice in one object and an integer past 2^53 - 1 written without a fraction or exponent. Decoding an annotation refuses the same inputs.
  • Depends on is_shapes ^0.6.0. No code change.

0.3.2 #

  • Depends on is_shapes >=0.4.0 <0.7.0, so it resolves beside 0.6.0, which removes RendererId. This package doesn't use RendererId.

0.3.1 #

  • Depends on is_shapes >=0.4.0 <0.6.0, so it resolves beside 0.5.0, where JourneyId is MissionId and JourneyPathId is TrajectoryId. This package uses none of the names 0.5.0 renamed or removed.

0.3.0 #

  • Breaking: every type is named for what it is. The annotations are NodeComment, NodeCorrection<V>, NodeApproval and NodeSeenMark (were Comment, Correction<V>, Approval and Seen), and a Withdrawal<Approval> is a Withdrawal<NodeApproval>.
  • Breaking: Response is VerdictOnShownMessage: a person's call on something shown to them. Its cases are ApprovedVerdict, HeldOffVerdict and ProposedCorrectionVerdict (were Approved, HeldOff and Proposed).
  • VerdictOnShownMessage.fromJson and toJson(): a verdict as JSON in a node's map form, {"shape": "<class name>", ...its fields}, so it can travel already built from the process that reads a press to the one that builds its annotations. Reading is strict: an unknown shape, or a field missing, extra or of the wrong type, is a FormatException. Depends on checked_json.
  • Docs: "pass" is gone. A node is named three ways, by its anchor (what it is about), its version (what it says) and its exact id (which one exactly), in is_shapes' words, and each rule is a comparison of two: an annotation holds for a later node at its anchor with the same version.
  • VerdictOnShownMessage.shapeNames, built from each case's shapeName, which fromJson matches on: every shape a verdict decodes from, for checking that no two packages' node shapes collide.

0.2.1 #

  • Response: what a person said back to something shown to them, before anyone knows which node it was. It is Approved, HeldOff or Proposed with the text fields their client sent, and has no target and no author, for a module that knows only which message was pressed (https://github.com/intersyntactic/docking_port/pull/1).

0.2.0 #

  • Breaking: Approve is renamed Approval, so the withdrawable shapes are all nouns: Comment, Correction, Approval.
  • Breaking: depends on is_shapes ^0.4.0, where Withdraw<T> is Withdrawal<T>.

0.1.1 #

  • Docs: a version leaves out the whole history its exact id names, in the words TurnId uses in is_shapes 0.3.1.

0.1.0 #

  • First release: Comment, Correction<V extends Value>, Approve and Seen, built on is_shapes.
0
likes
160
points
503
downloads

Documentation

API reference

Publisher

verified publisherenspyr.co

Weekly Downloads

Annotation shapes for intersyntactic: a comment, a correction to a node's value, an approval and a mark that a node was seen, each written beside a node and never changing it.

Repository (GitHub)
View/report issues

License

Apache-2.0 (license)

Dependencies

checked_json, is_shapes

More

Packages that depend on is_annotation_shapes