Skip to content

Releases: mjorgegulab/nestjs-cryptography

v3.1.0

13 Oct 21:21
ac70d46
Compare
Choose a tag to compare

Features

  • [feat(aes)] check module options on symmetric secure (2cd6a27)
  • [feat(hmac)] check module options on secure hmac (5add3e7)
  • [feat(hashing)] check module options + defaults password hashing argon2 (fcd000e)
  • [feat(kdf)] check required values + use default ones deriveMasterKey (b361096)

Refactoring

  • [chore(types)] subcategorize module options type (f5ba329)

Miscellaneous

  • [ops(publish)] add tests & format on npm publish workflow (cbe11de)
  • [chore] ignore wiki path on jest test (6ecf6a8)
  • [chore] add wiki to .npmignore (4ba323d)
  • [chore(core)] set version 3.1.0 (ac70d46)

Dependencies

  • [chore(deps)] upgrade eslint 8.57.1 (bb8efe0)
  • [chore(deps)] update & upgrade dependencies (22a378d)
  • [chore]] Create SECURITY.md (77cc9fc)

Tests

  • [test] check error when no required module options specified (7fe6f31)
  • [fix(tests)] ignore wiki path to jest tests (59700e2)

Documentation

  • [docs(config)] add search capabilities (00d861c)

Full Changelog: v3.0.0...v3.1.0

v3.0.0

22 Sep 21:35
b57087d
Compare
Choose a tag to compare

Features

  • [lib] Move internal salt functionality to extractSaltFromHmac
  • [lib] Move internal HMAC secure key functionality to createHmacSecureKey
  • [lib] Remove internal method generateKeyDEK
  • [lib] [BREAKING] Rename createArgonHashFromPassword to createArgon2HashFromPassword
  • [lib] [BREAKING] Rename verifyArgonHashFromPassword to verifyArgon2HashFromPassword
  • [lib] [BREAKING] Remove outputLength from createCustomHash & verifyCustomHash methods
  • [lib] [BREAKING] Remove encoding param from genRandomPassword method
  • [lib] [BREAKING] Add new option param to createCustomHash & verifyCustomHash methods
  • [lib] [BREAKING] Add new option param to createSecureHash & verifySecureHash methods
  • [lib] [BREAKING] Add new option param to createCustomHmac & verifyCustomHmac methods
  • [lib] [BREAKING] Add new option param to createSecureHmac & verifySecureHmac methods
  • [lib] [BREAKING] Add new option param to symmetricSecureDataEncrypt & symmetricSecureDataDecrypt methods
  • [lib] Make public available symmetricDataEncrypt & symmetricDataDecrypt methods
  • [lib] Add new option param to symmetricDataEncrypt & symmetricDataDecrypt methods
  • [lib config] Rename kdf.defaultOutputKeyLength to kdf.outputKeyLength
  • [lib] Rename createSaferRandomData to createSafeRandomData
  • [lib] Make public available createSafeRandomData method
  • [lib] Make length param of deriveMasterKey as optional

Refactoring

  • [lib] Remove redundant Buffer.from of results concatenation

Tests

  • [test] Add tests to reflect all the available methods

Documentation

  • [docs] Set v3.x version reflecting all the previous changes
  • [docs config] Set only warn on onBrokenLinks docusaurus config option

Infrastructure

  • [readme] Show wiki publication result
  • [gh action] Remove github packages publish workflow
  • [gh action] Fix NPM package publish workflow. Set --registry & --access params

Full Changelog: v2.2.3...v3.0.0


This version includes a lot of changes in the public available methods so please read the documentation to stay up to date.

v2.2.3

21 Sep 01:44
8e978a4
Compare
Choose a tag to compare

Full Changelog: v2.2.0...v2.2.3

v2.2.0

21 Sep 01:23
6f61199
Compare
Choose a tag to compare