Skip to content

Releases: FundingCircle/fc-vault-rails

Version v2.0.3

22 Aug 12:26
d5d8bbc
Compare
Choose a tag to compare

BUG FIXES

  • Fix bug where JSONSerializer would raise an error when passed a string

Version v2.0.2

17 May 13:11
7e145d9
Compare
Choose a tag to compare

IMPROVEMENTS

  • Fixes issue when a blank string ciphertext is used by the memory_decrypt method.

Version v2.0.1

02 May 13:39
0ffd1ae
Compare
Choose a tag to compare

NEW FEATURES

  • Added .unencrypted_attributes which returns all attributes ignoring the encrypted_column

IMPROVEMENTS

  • Fixes issue with .attributes on rails >= 4.2 and < 5 now returning the vault_attribute correctly.

Version v1.0.1

14 Mar 13:49
4cdac9b
Compare
Choose a tag to compare

NEW FEATURES

  • Added encrypted_where_not finds encrypted records not matching the specified conditions

Version v2.0.0

17 Apr 15:21
0a3898b
Compare
Choose a tag to compare

NEW FEATURES

  • Added support for Rails 4.2.x

IMPROVEMENTS

  • No longer required to include the module Vault::AttributeProxy

BREAKING CHANGES

  • You can not pass an ActiveRecord::Type through the type option on vault_attribute, to do this just specify the type as a symbol.

Version 0.6.13

15 Apr 06:49
45d0a9c
Compare
Choose a tag to compare

IMPROVEMENTS

  • Add default StringSerializer, which will be used when no other serializer is defined

BREAKING CHANGES

  • Move the type option from vault_attribute_proxy to vault_attribute

Version v0.6.12

15 Mar 09:10
b6c4a0d
Compare
Choose a tag to compare

NEW FEATURES

  • Added encrypted_where_not finds encrypted records not matching the specified conditions

Version v1.0.0

11 Mar 11:02
c701ff1
Compare
Choose a tag to compare

NEW FEATURES

  • Added encrypted_find_by finds the first encrypted record matching the specified conditions
  • Added encrypted_find_by! like encrypted_find_by, except that if no record is found, raises an ActiveRecord::RecordNotFound error.

IMPROVEMENTS

  • find_by_vault_attributes renamed to encrypted_where as it returns a relation rather than a single record

BREAKING CHANGES

  • find_by_vault_attributes renamed to encrypted_where

Version v0.6.11

11 Mar 14:28
441642e
Compare
Choose a tag to compare

NEW FEATURES

  • Added encrypted_find_by finds the first encrypted record matching the specified conditions
  • Added encrypted_find_by! like encrypted_find_by, except that if no record is found, raises an ActiveRecord::RecordNotFound error.

IMPROVEMENTS

  • find_by_vault_attributes renamed to encrypted_where as it returns a relation rather than a single record

BREAKING CHANGES

  • find_by_vault_attributes renamed to encrypted_where

Version v0.7.7

06 Mar 16:53
3837d77
Compare
Choose a tag to compare

IMPROVEMENTS

  • Updates error message when vault_uniqueness is used, so now the vault_attribute's name is used rather than the encrypted column name