Releases: FHIR/GoFSH
GoFSH 1.6.5
What's Changed
- Support for extensions on primitives (such as type._targetProfile.extension) by @cmoesel in #214
- Use name of local CodeSystem when optimizing assigned code by @mint-thompson in #215
- Update SUSHI to v2.10.1 by @cmoesel in #216
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
Full Changelog: v1.6.4...v1.6.5
GoFSH 1.6.4
GoFSH 1.6.4 introduces minor enhancements and bug fixes.
What's Changed
- Improve indenting support by using Path Rules by @guhanthuran, @cmoesel, and @jafeltra in #202 and #209
- Resolve contentReference when getting types by @mint-thompson in #205
- Update dependencies, including update to SUSHI 2.8.0 by @cmoesel in #207
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
Full Changelog: v1.6.3...v1.6.4
GoFSH 1.6.3
GoFSH 1.6.3 contains the following changes:
- Improve some logging statements to include more information (#197)
- Support contentReference when processing resources and logical models (#199)
- Update SUSHI dependency to SUSHI 2.7.0
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
Additional Documentation
For additional documentation, see FSH School.
Full Changelog: v1.6.2...v1.6.3
GoFSH 1.6.2
GoFSH 1.6.2 contains the following changes:
- Improve file matching for comparison in the FSHing Trip (
--fshing-trip
option) output (#191) - Restore support for running GoFSH without any arguments (#193)
- Update SUSHI dependency to SUSHI 2.6.1
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
Additional Documentation
For additional documentation, see FSH School.
GoFSH 1.6.1
GoFSH 1.6.1 contains the following changes:
- Fix export of rules for contained resources in Parameters (#186)
- Log all runtime arguments provided to GoFSH (#187)
- Update SUSHI dependency to SUSHI 2.6.0
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
Additional Documentation
For additional documentation, see FSH School.
GoFSH 1.6.0
GoFSH 1.6.0 contains the following changes:
- Improve support for FHIR R4B and FHIR R5 pre-releases (#180)
- Allow users to indicate FHIR version via
-u
/--useFHIRVersion
flag (details below) (#177) - Ignore
ig-r4.json
file since it duplicates original IG JSON file (#179) - Indicate that GoFSH supports FHIR Shorthand 2.0.0 (#174)
- Update SUSHI dependency to SUSHI 2.5.0
Allow users to indicate FHIR version via -u
/--useFHIRVersion
flag
Typically, GoFSH will analyze the input sources to determine the FHIR version to use. In some cases, however, the sources do not provide enough information to determine the FHIR version. In these cases, authors can use the -u
or --useFHIRVersion
flag to indicate the version to use. For example:
gofsh /path/to/my/ig --useFHIRVersion 4.0.1
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
To revert to a previous release, run a command like the following:
$ npm install -g gofsh@1.5.0
Additional Documentation
For additional documentation, see FSH School.
GoFSH 1.5.0
GoFSH 1.5.0 contains the following changes:
- Support for providing existing aliases to use when generating FSH (#155) (details below)
- Update SUSHI dependency to SUSHI 2.3.0
Provide a FSH file with existing aliases
Typically, GoFSH will automatically generate an aliases.fsh
file based on the content and URLs it encounters during processing. Now, users can use the new --alias-file
option to specify an existing FSH (.fsh
) file that contains aliases. When processing the IG, GoFSH will create aliases to match those from the passed in file (where applicable), allowing for author-defined alias names.
Example usage:
gofsh /path/to/my/ig --alias-file /different/path/to/aliases.fsh
NOTE: Paths can be absolute or relative to the working directory.
Many thanks to @AymericGrassart for contributing this idea and feature!
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
To revert to a previous release, run a command like the following:
$ npm install -g gofsh@1.4.3
Additional Documentation
For additional documentation, see FSH School.
GoFSH 1.4.3
GoFSH 1.4.3 contains the following changes:
- Support for projects using FHIR version
5.0.0-snapshot1
- Updates SUSHI dependency to SUSHI 2.2.6
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
Additional Documentation
For additional documentation, see FSH School.
GoFSH 1.4.2
GoFSH 1.4.2 contains the following bug fixes and minor enhancements:
- Fix output paths for resources with path separators in their
name
(#167) (details below) - Improve processing of extensions that don't follow the expected approach (#157, #158)
- Update dependency libraries to address known vulnerabilities (#168)
Output Paths and Resource Names
For some output styles, GoFSH generates file names based on the resource name. In past versions of GoFSH, if the name contained one or more path separators, it was possible to cause GoFSH to write the FSH file to other locations on the filesystem. This behavior could be abused to intentionally overwrite existing FSH files on the system. The utility of leveraging this bug, however, is limited by the fact that the file extension will always be .fsh
and the file contents will always be FHIR Shorthand. In this version of GoFSH, the bug has been fixed by properly sanitizing file names before writing them to disk.
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
Additional Documentation
For additional documentation, see FSH School.
GoFSH 1.4.1
GoFSH 1.4.1 contains the following enhancements:
- Add option to generate FSH without Aliases using
--no-alias
flag (#156, #159) - Update built-in SUSHI to v2.2.1
Note: GoFSH 1.4.0 was skipped due to an error in the release process.
Install or Update
To install or update to the latest version, run the following command:
$ npm install -g gofsh
Additional Documentation
For additional documentation, see FSH School.