Skip to content

Releases: foundryvtt/foundryvtt-cli

3.0.3

14 Jan 14:17
b87b74b

Choose a tag to compare

Improvements

  • Added support for processing Level embedded Documents.
  • (Mana) Added the transformSerialized option which can be used to modify the serialized content before it is written to disk.

Fixes

  • Fixed error thrown when attempting to pack or unpack with --in and --out options if configuration hadn't been completed.

3.0.2

13 Nov 00:47
c19d73d

Choose a tag to compare

Improvements

  • Added support for processing ActiveEffect primary Documents.
  • Added documentType to the context objects passed to transformEntry and transformName.

3.0.1

04 Nov 18:00
50f1f6d

Choose a tag to compare

Improvements

  • Updated publish workflow to use OIDC.

3.0.0

03 Sep 23:26
375bd71

Choose a tag to compare

Breaking Changes

  • (Jeff Hitchcock) Using the --expandAdventures option without --folders now adds the document type to the extracted entry's name to disambiguate it in cases where it shares a name and ID with another document in the adventure of a different type.
  • File paths inside extracted adventure entries now always use POSIX delimiters, regardless of which OS the extraction occurs on.

Improvements

  • Added _stats.coreVersion and _stats.systemVersion to the list of volatile fields ignored by the --omitVolatile flag.
  • Volatile fields are now also ignored on embedded children.

2.0.0

18 Aug 15:45
023e0d1

Choose a tag to compare

Fixes

  • (BoltsJ) Fixed the package ID and type not being read from local config.

Breaking Changes

  • (Jeff Hitchcock) When passing both --expandAdventures and --folders, the Adventure's contents will now be grouped by Document type in separate folders. The --recursive flag must be supplied when packing entries extracted in this way.

Improvements

  • Added the --omitVolatile command-line flag, and corresponding omitVolatile parameter to extractPact. When used, changes will only be written if at least one non-volatile field has changed between the entry on disk and the candidate entry being extracted. Currently, _stats.createdTime, _stats.modifiedTime, and _stats.lastModifiedBy are considered volatile.

1.1.0

13 May 18:14
df0d036

Choose a tag to compare

Improvements

  • Attempting to unpack a directory that is not a valid LevelDB database now throws an error.
  • (BoltsJ) Added the --config command-line flag. Configuration options read from this file will be merged with the global .fvttrc.yml configuration options.
  • (Jeff Hitchcock) Added the --folders command-line flag, and corresponding folders parameter to extractPack. When used, this option writes the pack's entries to a directory structure matching the pack's internal Folder document structure.
  • (Jeff Hitchcock) Added the --expandAdventures command-line flag, and corresponding expandAdventures parameter to extractPack. When used, this option writes each Adventure document's embedded documents to their own files.

Fixes

  • (Jakob Törmä) Fixed launch command assuming electron directory structure.
  • Fixed packing and unpacking ignoring CombatantGroups.

1.0.4

20 Jan 14:33
ffc65c6

Choose a tag to compare

Improvements

  • Added the ability to pack and unpack JournalEntry categories.

1.0.3

25 Jun 13:41
13024b4

Choose a tag to compare

Fixes

  • Fixed packing and unpacking ignoring Scene Regions.

1.0.2

21 Nov 15:14
3542fe5

Choose a tag to compare

Improvements

  • Added the --clean command-line flag for unpack operations that will delete the destination directory before unpacking.
  • Throw an error when packing if an entry with the same _id would overwrite an entry that had already been packed as part of the same operation.

1.0.1

17 Nov 17:09
08669af

Choose a tag to compare

Fixes

  • Fixed issue with YAML serialization.