Skip to content

Releases: nodecfdi/credentials

v2.0.3

13 Jul 21:10
b68e951
Compare
Choose a tag to compare

Patch Changes - Esm lib node-forge usage default

  • Fix problem with usage of external lib node-forge

v2.0.2

13 Jul 20:09
9244d4a
Compare
Choose a tag to compare

Patch Changes - Esm and support to require

  • Fix problem with esm and required node:fs
  • Update dependencies

v2.0.1

11 Jul 17:50
81edae4
Compare
Choose a tag to compare

Patch Changes - Resolve problems with usage on esmodule

  • Resolve problem with lib node-forge original commonjs but usage as module.
  • Apply new suite of rules with node-cfdi standard.
  • Small refactoring.

v2.0.0

30 Jun 23:17
Compare
Choose a tag to compare

Major Changes - PFX and Refactor to node-forge

  • Added support to pfx and pkcs12.
  • Refactor certificate handler lib from jsrsasign to node-forge for add support to pkcs12.
  • Updated example for browser usage with latest credentials release.
  • Changed microbundle to tsup for generation of library.
  • Fix declarations types for target import or require.
  • Remove unused code and library imports.
  • Added test for browser environment.
  • Update dependencies.
  • Update CI workflow for fix pipeline to latest github changes.

Breaking Change

  • Change sign method output from hexadecimal string to binary string like a phpcfdi/credentials.
  • Drop support to node versions < 16

v1.3.0

08 Jul 06:55
80086b2
Compare
Choose a tag to compare

Minor Changes

  • Feature added specific algorithm on sign and verify from credential, private key and public key.
  • Added example for browser usage.
  • Resolve dependencies for Browser and NodeJS usage.

CI

  • Added workflow build for use pnpm and updated source files for better coverage.
  • Added Sonarcloud for better quality code.

Build

  • Changed from rollup to microbundle for generation of library.

Version 1.2.2

14 Mar 22:19
Compare
Choose a tag to compare
  • Updated dependencies
  • Revert changes on certificate thanks to jsrsasign added support native teletex string

Full Changelog: v1.2.1...v1.2.2

Version 1.2.1

10 Mar 13:58
Compare
Choose a tag to compare
  • Updated dependencies
  • Added more rules to eslint and prettier (quality code)
  • Added test for certificate with TeletexStrings, and support to TeletexString

Full Changelog: v.1.2.0...v1.2.1

Version 1.2.0

19 Feb 21:24
Compare
Choose a tag to compare

Add OpenSSL compatibility: sign and verify

  • Updated methods sign and verify on private key, public key and credential.
  • Update signature algorithm, remove unused algorithms.
  • Compatibility with open ssl verify and sign expected but not return binary, return hexadecimal

There are some soft backwards incompatibility changes

  • Method sign of class PrivateKey now use different Signature algorithms and return hexadecimal signature
  • The parameter algorithm of PublicKey.verify() removed for not used.
  • Update methods sign and verify on Credential to target public and private key.

Full Changelog: v.1.1.0...v.1.2.0

Version 1.1.0

18 Feb 10:24
Compare
Choose a tag to compare
  • Added support to browser and node environments
  • Added ES6 and Rollup support
  • Updated dependencies
  • Updated license 2022
  • Added RFC4514