Skip to content

Releases: FHIR/fhir-package-loader

FPL 1.0.0

31 Jan 18:06
478cccc
Compare
Choose a tag to compare

FHIR Package Loader 1.0.0 marks the first major release of FHIR Package Loader. This release increases the Node.js version requirement to Node 18. Other than that, there are no significant changes; the promotion to v1.0.0 is mainly a recognition that FPL is now used in production software.

What's Changed

Full Changelog: v0.7.0...v1.0.0

FPL 0.7.0

18 Oct 14:24
7f251e0
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.6.0...v0.7.0

FPL 0.6.0

26 Jul 14:17
e8415ad
Compare
Choose a tag to compare

What's Changed

  • Update for resolving tarball location of custom registries to support NPM clients by @bkaney in #16

New Contributors

Full Changelog: v0.5.0...v0.6.0

FPL 0.5.0

20 Jul 20:53
3a052ef
Compare
Choose a tag to compare

What's Changed

  • Support loading package versions using a patch wildcard by @jafeltra in #15

Full Changelog: v0.4.0...v0.5.0

FPL 0.4.0

12 Jul 15:16
86c3734
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.3.0...v0.4.0

FPL 0.3.0

15 May 16:27
e4e9143
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.2.0...v0.3.0

FPL 0.2.0

24 Mar 17:32
70e1db5
Compare
Choose a tag to compare

What's Changed

  • Restrict branches to master or main when version is current by @jafeltra in #3
  • Add support for current$mybranch to specify other branches in the CI build by @cmoesel in #8
  • Download current builds using branch-specific URLs by @cmoesel in #4
  • Improve support for HTTP proxies by @guhanthuran in #5
  • Avoid returning duplicate definitions by @mint-thompson in #6
  • Bump Node.js to v16 by @cmoesel in #7

New Contributors

Full Changelog: v0.1.0...v0.2.0

FPL 0.1.0

11 Apr 17:43
a495874
Compare
Choose a tag to compare

FPL 0.1.0 is the initial release of FHIR Package Loader (FPL), a library for downloading FHIR packages locally and loading its definitions into memory. This library can be used within JavaScript or TypeScript projects, or it can be used through a Command Line Interface (CLI). For more details on the arguments and options available on the command line, see the README. FPL also provides an API, which can be used to download packages programmatically. For more information on how to use the API, see the README.

The initial release provides an initial implementation for downloading packages, but it is subject to change in future releases.

To install FPL, first install Node.js, then run:

npm install -g fhir-package-loader

After installing fhir-package-loader, fpl should be in your path:

$ fpl --help
Usage: fpl [options] [command]

CLI for downloading FHIR packages

Options:
  -v, --version                        output the version number
  -h, --help                           display help for command

Commands:
  install [options] <fhirPackages...>  download and unzip specified FHIR packages
  help [command]                       display help for command

Examples:
  fpl install hl7.fhir.us.core@current
  fpl install hl7.fhir.us.core@4.0.0 hl7.fhir.us.mcode@2.0.0 --cachePath ./myProject

FPL can be run to download specified packages to either the FHIR Cache or another specified directory locally:

$ fpl install hl7.fhir.us.core@current
info  Checking <HOME>/.fhir/packages for hl7.fhir.us.core#current...
info  Did not find hl7.fhir.us.core#current in <HOME>/.fhir/packages.
info  Downloading hl7.fhir.us.core#current... https://build.fhir.org/ig/HL7/US-Core/package.tgz
info  Downloaded hl7.fhir.us.core#current
info  Loaded package hl7.fhir.us.core#current