Releases: foundryvtt/foundryvtt-cli
Releases · foundryvtt/foundryvtt-cli
3.0.3
Improvements
- Added support for processing Level embedded Documents.
- (Mana) Added the
transformSerializedoption 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
--inand--outoptions if configuration hadn't been completed.
3.0.2
3.0.1
3.0.0
Breaking Changes
- (Jeff Hitchcock) Using the
--expandAdventuresoption without--foldersnow 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.coreVersionand_stats.systemVersionto the list of volatile fields ignored by the--omitVolatileflag. - Volatile fields are now also ignored on embedded children.
2.0.0
Fixes
- (BoltsJ) Fixed the package ID and type not being read from local config.
Breaking Changes
- (Jeff Hitchcock) When passing both
--expandAdventuresand--folders, the Adventure's contents will now be grouped by Document type in separate folders. The--recursiveflag must be supplied when packing entries extracted in this way.
Improvements
- Added the
--omitVolatilecommand-line flag, and correspondingomitVolatileparameter toextractPact. 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.lastModifiedByare considered volatile.
1.1.0
Improvements
- Attempting to unpack a directory that is not a valid LevelDB database now throws an error.
- (BoltsJ) Added the
--configcommand-line flag. Configuration options read from this file will be merged with the global.fvttrc.ymlconfiguration options. - (Jeff Hitchcock) Added the
--folderscommand-line flag, and correspondingfoldersparameter toextractPack. 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
--expandAdventurescommand-line flag, and correspondingexpandAdventuresparameter toextractPack. 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
1.0.3
1.0.2
Improvements
- Added the
--cleancommand-line flag for unpack operations that will delete the destination directory before unpacking. - Throw an error when packing if an entry with the same
_idwould overwrite an entry that had already been packed as part of the same operation.