Repository navigation
chore(release): version packages - #143
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@cosyte/cli@0.2.0
Minor Changes
c7ce5e2:
cosytenow runs on the 0.2 lines of@cosyte/hl7,@cosyte/fhirand@cosyte/ccda, with@cosyte/transform0.3 and the@cosyte/deidand@cosyte/mllpreleases that accept them, so a FHIR parse warning is now{ code, position: { expression } }with no severity, and every code those libraries pass through carries their prefix.What a caller must change: read each row of the table below against the scripts,
jqfilters and programs that consumecosyteoutput, thecosyte-mcptool results, orparseFormatandvalidateFormatfrom the programmatic API. HL7 v2, X12, ASTM, NCPDP, DICOM and C-CDA output keeps its shape; only the codes named in the second table change.warningsincosyte parseoutput for a FHIR resource, in aparse --ndjsonrecord, in the MCPparseresult, and fromparseFormat("fhir", ...){ "code", "severity", "expression" }{ "code", "position": { "expression" } }, the shape every other format's warnings havejqfilter or a program reading.warnings[].severityor.warnings[].expressionon FHIR inputseverityof acosyte validatefinding that comes from reading a FHIR resource (not fromvalidateResource), in the stderr line, in--json, in the MCPvalidateresult, and fromvalidateFormatinformationfor some codes, such as the decimal precision warningwarning; the verdict and the exit code are unchanged, since neither severity fails itgrep -rn 'information'near a check onvalidateoutput, orjq '.findings[] | select(.severity == "information")'@cosyte/hl7, inwarnings[].code,findings[].code, the parenthesized code afterCLI_PARSE_FAILED, and a failed record'serrorNO_MSH_SEGMENTHL7_in front:HL7_NO_MSH_SEGMENTgrep -rnE '"[A-Z][A-Z0-9]*(_[A-Z0-9]+)+"'in the code that reads HL7 v2 output@cosyte/fhir, in the same placesMALFORMED_JSON,CODE_INVALID,INVARIANT_VIOLATED,DECIMAL_PRECISION_AT_RISKFHIR_MALFORMED_JSON,FHIR_CODE_INVALID,FHIR_INVARIANT_VIOLATED,FHIR_DECIMAL_PRECISION_AT_RISKgrep, in the code that reads FHIR output@cosyte/ccda, in the same placesNOT_WELL_FORMED_XMLCCDA_in front:CCDA_NOT_WELL_FORMED_XMLgrep, in the code that reads C-CDA outputVT) inside a frame, read bycosyte parseorcosyte inspect0: the bytes before the secondVTdropped with anMLLP_TRAILING_BYTESframing warning, and the message after it read65,CLI_PARSE_FAILEDwith(MLLP_PAYLOAD_CONTAINS_VT): the frame is refused whole and nothing in it is read0or a nonzerowarningCountfrominspecton such a streamEach library's own changelog lists every renamed code. The ones the
cosytedocs and examples use:@cosyte/hl7NO_MSH_SEGMENT,MSH_TOO_SHORT,INVALID_ENCODING_CHARACTERS,EMPTY_INPUTHL7_NO_MSH_SEGMENT,HL7_MSH_TOO_SHORT,HL7_INVALID_ENCODING_CHARACTERS,HL7_EMPTY_INPUT@cosyte/fhirMALFORMED_JSON,CODE_INVALID,INVARIANT_VIOLATED,DECIMAL_PRECISION_AT_RISK,UNKNOWN_ELEMENT,CARDINALITY_MINFHIR_MALFORMED_JSON,FHIR_CODE_INVALID,FHIR_INVARIANT_VIOLATED,FHIR_DECIMAL_PRECISION_AT_RISK,FHIR_UNKNOWN_ELEMENT,FHIR_CARDINALITY_MIN@cosyte/ccdaNOT_WELL_FORMED_XML,MISSING_DOSE_QUANTITYCCDA_NOT_WELL_FORMED_XML,CCDA_MISSING_DOSE_QUANTITY@cosyte/mllpMLLP_TRAILING_BYTESon aVTinside a frameMLLP_PAYLOAD_CONTAINS_VTThe
CLI_*codes, the exit codes, the commands and their flags are unchanged. An install of this release takes the 0.2 lines of@cosyte/hl7,@cosyte/fhirand@cosyte/ccdaand nothing older, so a project that also depends on one of them directly moves it to 0.2 in the same change.