is_annotation_shapes 0.5.0
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.toJsonandfromJsonuse itsJsonObject, 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 plainMapis no longer aJsonObject; read one withJsonObject.parse.
0.4.0 #
- Breaking: depends on
checked_json^0.3.0, whoseJsonObject.decoderefuses 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 removesRendererId. This package doesn't useRendererId.
0.3.1 #
- Depends on
is_shapes>=0.4.0 <0.6.0, so it resolves beside 0.5.0, whereJourneyIdisMissionIdandJourneyPathIdisTrajectoryId. 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>,NodeApprovalandNodeSeenMark(wereComment,Correction<V>,ApprovalandSeen), and aWithdrawal<Approval>is aWithdrawal<NodeApproval>. - Breaking:
ResponseisVerdictOnShownMessage: a person's call on something shown to them. Its cases areApprovedVerdict,HeldOffVerdictandProposedCorrectionVerdict(wereApproved,HeldOffandProposed). VerdictOnShownMessage.fromJsonandtoJson(): 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 aFormatException. Depends onchecked_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'sshapeName, whichfromJsonmatches on: everyshapea 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 isApproved,HeldOfforProposedwith 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:
Approveis renamedApproval, so the withdrawable shapes are all nouns:Comment,Correction,Approval. - Breaking: depends on
is_shapes^0.4.0, whereWithdraw<T>isWithdrawal<T>.
0.1.1 #
- Docs: a version leaves out the whole history its exact id names, in the
words
TurnIduses inis_shapes0.3.1.
0.1.0 #
- First release:
Comment,Correction<V extends Value>,ApproveandSeen, built onis_shapes.