Skip to content

Releases: danang-id/simple-crypto-js

3.0.1

08 Dec 13:24
Compare
Choose a tag to compare

What's New in 3.0.1 (latest current)

  • Upgrade crypto-js dependency to version 4.1.1.
  • Improving typings.

For full change-log, please refer to CHANGELOG file.

2.5.1 (Legacy)

08 Dec 13:15
Compare
Choose a tag to compare

What's New in 2.5.1

  • Improving typings.
  • Add eslint and prettier for code cleaning.
  • Upgrade devDependencies.

For full change-log, please refer to CHANGELOG file.

3.0.0

14 May 16:03
Compare
Choose a tag to compare

What's New in 3.0.0

  • Upgrade crypto-js dependency to version 4.0.0. This version of crypto-js replaces Math.random() method with native crypto module, and will cause breaking changes in some environments that does not support native crypto module, like IE 10 earlier and React Native. If you are affected by these changes, please use SimpleCrypto ^2.5.0.

For full change-log, please refer to CHANGELOG file.

2.5.0

14 May 16:03
Compare
Choose a tag to compare

What's New in 2.5.0

  • As the same with 2.4.1, but rollback crypto-js dependency to version 3.3.0 to maintain compatibility with environment that does not support native crypto module.

For full change-log, please refer to CHANGELOG file.

2.4.2

11 May 23:43
Compare
Choose a tag to compare

What's New in 2.4.2

  • Removed empty string check to allow decryption and encryption on empty string (as suggested by @TransmissionsDev on issue#21).

For full change-log, please refer to CHANGELOG file.

2.4.1

11 May 18:24
Compare
Choose a tag to compare

What's New in 2.4.1

  • Fix a bug on type detection mechanism where a string that begins with number detected as number when decryption, thus cutting the rest of the string result (thanks @TransmissionsDev).

For full change-log, please refer to CHANGELOG file.

2.4.0

09 May 23:42
Compare
Choose a tag to compare

What's New in 2.4.0

  • Added data type detection. Decryption process will now return data with its proper data type. For now, object, string, number and boolean are supported.
  • Added append() and update() functions, both to append and update the data buffer respectively.
  • Added overload functions for decrpyt() and encrypt().
  • Added initial support for encoding (see static variable SimpleCrypto.encoders). However, for now, it only supports UTF-8 even if you set another encoder.
  • Added chaining functions support. Functions that initially have no return, like append(), update(), setSecret(), setEncoder(), now will returning its instance.
  • Added static function SimpleCrypto.generateRandomString() and SimpleCrypto.generateRandomWordArray().

For full change-log, please refer to CHANGELOG file.

2.3.1

08 May 10:21
Compare
Choose a tag to compare

What's New in 2.3.1

  • Fix npm dependencies security audit.

For full change-log, please refer to CHANGELOG file.

2.3.0

08 May 09:34
Compare
Choose a tag to compare

What's New in 2.3.0

  • Fix chosen cipher text attacks vulnerability (thanks @paragonie-scott and @adi928).
  • Fix security risk in dependencies by upgrading them.

For full change-log, please refers to CHANGELOG file.

2.2.0

05 Aug 08:48
Compare
Choose a tag to compare

What's New in 2.2.0

  • Fix CDN release, setting webpack output as UMD with default library name of SimpleCrypto.
  • CDN now have two file you may use, the distribution file and minified distribution one.

For full changelog, please refers to CHANGELOG file.