Stream: shorthand
Topic: SUSHI 0.6.2
Chris Moesel (Jan 24 2020 at 23:56):
Time for another bug fix release. SUSHI 0.6.2 contains the following fixes and enhancements:
- Reverts default output folder back to
build
(#132)- NOTE: Resources will still be written to
${outDir}/input/resources
- NOTE: Resources will still be written to
- Allows authors to fix/set xhtml values (e.g.,
^text.div = "<div>My Text</div>"
) (#129) - Associates examples with profiles in IG when applicable (to populate "Examples" tab) (#127)
- Fixes instance generation to ensure proper serialization of array properties (#114)
- NOTE: This introduces additional validation that may expose errors related to #121, which is still open
- Fixes issue with ordering of slices when one slicename is substring of another (#122)
- Fixes IG dependency issues for dependencies using "current" or "dev" version (#140)
- Fixes line comments so that space is not required after
//
(e.g.,//My Comment
) (#130)
https://github.com/FHIR/sushi/releases/tag/v0.6.2
David Hay (Jan 25 2020 at 00:49):
yay!
btw - text syntax seems to be * text.div = "<div>My Text</div>" in an instance and * ^text.div in a profile
is that right?
Chris Moesel (Jan 25 2020 at 02:17):
Yeah. You don't use the ^
in instances because it's implied you're always editing the JSON directly. You need ^
in profiles/extensions to get out of the element editing mode and into the direct JSON editing mode (for lack of a better phrase).
Chris Moesel (Jan 25 2020 at 02:18):
Also note we do rudimentary validation of xhtml values. Basically just making sure they're valid XML (but that's about it). We leave the thorough validation to the IG Publisher.
David Hay (Jan 25 2020 at 02:40):
gotcha...
Last updated: Apr 12 2022 at 19:14 UTC