- added
post-merge
git hook (runsgalacrypt decrypt
ongit pull
) - added
post-rewrite
git hook (runsgalacrypt decrypt
ongit rebase
) - added
.galacryptrc.json
disableImplicitDecrypt
file option to never implicitly decrypt those files, see readme for more infos - added
--all
option to decrypt all files, including files anoted withdisableImplicitDecrypt
- dropped support for
galacrypt write
- dropped support for
galacrypt read
- more reliable options parsing
To upgrade from 1.1.0 to 2.0.0, you will need to do this:
- verify that your pre-commit hook use
yarn galacrypt encrypt --git-add
and notyarn galacrypt write --git-add
- update galacrypt
yarn add --dev @galadrim/galacrypt
- add new git hooks by re-running
yarn galacrypt use <YOUR_GALACRYPT_KEY>
(your galacrypt key is in your.galacryptkey
file)
- added
--only
option to encrypt / decrypt only some files