Skip to content

Latest commit

 

History

History
453 lines (258 loc) · 16.3 KB

CHANGES.md

File metadata and controls

453 lines (258 loc) · 16.3 KB

dev

full changelog

2.0.1 / 2024-19-06

full changelog

  • Valvat::Options#check_uk_key: Fixed missing silence variable
  • Added vies_down translation for italian locale Lorenzo Zabot

2.0.0 / 2024-12-06

full changelog

BREAKING CHANGE: To validate UK VAT numbers you have to provide authentication credentials for the HMRC API. From valvat v2 onwards, simply setting the :uk option to true will always return false (same as the default).

  • Added support for HMRC API v2.0 with OAuth 2.0 authentication Denys Metelov
  • Resolved the rexml security vulnerabilities that affected versions < 3.3.6 by Riana Ferreira

1.4.4 / 2024-07-11

full changelog

  • Merged missed pull request intended for v1.4.3: Readded translation files back to the gem Edouard Brière

1.4.3 / 2024-07-11

full changelog

  • Missed to merge pull request. Skip this version.

1.4.2 / 2024-07-09

full changelog

1.4.1 / 2024-01-08

full changelog

  • Fixed incorrect variable usage in SOAP request body by Jay Tabudlo)

1.4.0 / 2023-07-20

full changelog

  • Valvat.configure: Allow global configuration
  • Update the Cyprus syntax regular expression by Orien Madgwick)
  • Valvat::Checksum::ES: Fixed issue with VAT ids starting with '*00' #124 / #115 (by Thomas Scalise)

1.3.0 / 2023-04-19

full changelog

  • Checksum::FR: Correct validation for french VAT ids not starting with two numerical chars #119
  • Equality for Valvat objects #120

1.2.1 / 2022-10-05

full changelog

  • Added missing dependency rexml #117
  • Lookup: Retry IOError
  • Lookup: require 'date' in VIES and 'time' in HMRC

1.2.0 / 2022-09-30

full changelog

  • Implemented lookup of VAT numbers from the UK (via HMRC api and only with :uk option set to true) (by Adrien Rey-Jarthon)
  • Remimplemented VIES lookup using only nethttp (removes dependency on savon)
  • Deprecate require 'valvat/local'. Please require 'valvat' directly.
  • Apply more rules to spanish VAT numbers on checksum validation #115 (by Thomas Scalise)

1.1.5 / 2022-09-14

full changelog

  • Fixed natural person VAT checksum validation for ES #114 (by Thomas Scalise)
  • Better (ruby) code blocks in README #113
  • Minor internal syntax changes / refactorings

1.1.4 / 2022-05-05

full changelog

  • Support BE 1-series format (by Cashaca)
  • Removed duplication on french error messages (by Sunny Ripert)

1.1.3 / 2022-01-26

full changelog

  • Handle Savon::HTTPError and Savon::UnknownOperationError as LookupError and throw Valvat::HTTPError and Valvat::OperationUnknown instead.

1.1.2 / 2021-10-29

full changelog

  • Fixed SOAPAction error (#105) (by Ľubo )

1.1.1 / 2021-07-15

full changelog

  • Added support for italian VAT numbers with special province part (#104)

1.1.0 / 2021-01-15

full changelog

  • Added support for Northern Ireland XI prefixed VAT numbers (by Avatar Ignacy Kasperowicz)
  • ActiveModel: Return specific error message if VIES is down and fail_if_down is set to true (by Arkadiy Zabazhanov)
  • Removed support for EOL rubies (all before 2.5) and ActiveModel before 5.0

1.0.1 / 2020-12-06

full changelog

  • Added missing spaces to malformatted portuegese locale file
  • Removed GB from EU_COUNTRIES / EU_MEMBER_STATES but kept support
  • Fixed typo in error message: UNK(N)OWN (by Igor Gonchar)

1.0.0 / 2020-11-06

full changelog

  • Refactored lookup to use specific rescue for savons soapfaults
  • Raises vies specific error classes to help debugging temporary and permanent VIES errors
  • Lookup#validate supports :savon option to allow altering the behaviour of the used savon client
  • ActiveModel validator now supports all lookup options.
  • Use https instead of http for accessing vies (by Crazy Chris)
  • Lookup#validate supports :raise_error option to return nil instead of raising (known) error when connecting to the VIES web service.
  • [BUGFIX] Checksum: Prevent error on some invalid IE vat numbers
  • EN: Capitalized VAT in error messages (and specs) (by Vitalii Kashoid)

0.9.1 / 2020-03-19

full changelog

  • Follow redirects to fix alteration of VIES-API (by xxswingxx)

0.9.0 / 2020-02-28

full changelog

  • Validate new dutch 2020 vat identification number (by yvonnenieuwerth)
  • Set the country adjectives to masculine in FR locales (by bobmaerten)
  • Fix greek country adjectif in french (by bobmaerten)

0.8.2 / 2019-11-15

full changelog

  • Fixed checksum computation for Slovenian VAT ID.
  • Updated normalize regexp to clean spaces, punctuation and control chars (by jarthod)

0.8.1 / 2019-07-30

full changelog

  • Added Norwegian translation (by erikaxel)

0.8.0 / 2019-07-19

full changelog

  • Added support for new IE vat number format, with 2 letters (by lluis)
  • Added support for spanish NIE Y and Z in checksums (by descala)
  • Added catalan translation (by descala)
  • Fixed spanish invalid vat message (by descala)

0.7.4 / 2018-11-21

full changelog

  • Fixed HU and SK translations

0.7.3 / 2018-11-21

full changelog

  • Added Hungarian & Slovakian translations (by tomas-radic)

0.7.2 / 2018-02-26

full changelog

  • Added support for GB vats checksum validation (by ivopashov)
  • Corrected dutch language support (by ploomans)

0.7.1 / 2017-06-21

full changelog

  • Allow to require all functionality except lookup with 'valvat/local'

0.7.0 / 2017-05-16

full changelog

  • Improved regex for Cyprus, Estonia, and Lithuania (by ndnenkov)
  • Added checksum validations for Cyprus, Estonia, Lithuania, Romania, Malta, Hungary, and Croatia (by ndnenkov)

0.6.11 / 2017-04-07

full changelog

  • Removed fakeweb tests and dependency
  • Add French checksum validation (by 0ctobat)
  • Test against current ruby (2.4) and activemodel (5.0) versions

0.6.10 / 2015-05-29

full changelog

  • Added finish translations (by kaapa)

0.6.9 / 2015-03-19

full changelog

0.6.8 / 2014-12-18

full changelog

0.6.7 / 2014-11-03

full changelog

  • Fixed SOAP issue with current wasabi 3.3 - fixed #33
  • Several minor travis/guard fixes

0.6.6 / 2014-10-02

full changelog

0.6.5 / 2014-06-19

full changelog

  • Added french, spanish and danish translations (by Roman Lehnert)
  • Specs: Fixed issues with rspec 3
  • Specs: Switched to :expect syntax

0.6.4 / 2014-04-09

full changelog

  • Added dutch translations (by 0scarius)

0.6.3 / 2014-04-05

full changelog

  • Fixed portuguese translations (by Davidslv)

0.6.2 / 2013-11-10

full changelog

  • Added blank? method to Valvat object

0.6.1 / 2013-09-02

full changelog

  • Valvat::Lockup: require savon on load

0.6.0 / 2013-08-01

full changelog

  • Works now with current version of savon gem (2.3.0) (by liggitt)
  • Corrected regex for IE VAT numbers (by brianphillips)
  • Improved PT translation
  • Some code refactorings
  • Spec improvments

0.5.0 / 2013-07-18

full changelog

  • Added experimental checksum verification for 17 european countries (with help from kirichkov)
  • Works now with current version of savon gem (2.2.0) (by nevesenin)

0.4.7 / 2013-07-18

full changelog

  • Added I18n locales for Polish, Romanian, Italian, Portuguese and Latvian (by shaundaley39)

0.4.6 / 2013-07-01

full changelog

  • Added support for croatian vat numbers (by mowli)

0.4.5 / 2013-02-16

full changelog

  • Added I18n locales in bulgarian (by kirichkov)

0.4.4 / 2013-01-07

full changelog

  • Fixed dependency on savon version 1.2 (2.0 uses new api)
  • Convert to string before normalize (by borodiychuk)

0.4.3 / 2012-12-11

full changelog

  • Fixed error handling in Lookup (by bmurzeau)

0.4.2 / 2012-11-16

full changelog

  • Fixed usage with savon version 1.2
  • Require version 1.2 of the savon gem from now on
  • Added :raise_error option to throw errors instead of returning nil

0.4.1 / 2012-07-17

full changelog

  • Fixed issue with current savon version & required more recent savon version

0.4.0 / 2012-07-17

full changelog

  • Added support for company details and requester identifiers in successful responses (by lcx)
  • Added Valvat::Lookup.last_error for debugging

0.3.6 / 2012-04-10

full changelog

  • Fixed wrong regexp for Belgium numbers (by opsidao)

0.3.5 / 2012-02-02

full changelog

0.3.4 / 2011-08-01

full changelog

  • Normalize all input on initialization (by SpoBo)

0.3.3 / 2011-06-02

full changelog

  • Add Valvat::Utils.iso_country_to_vat_country (by Deb Bassett)

0.3.2 / 2011-01-14

full changelog

  • Fixed localization strings (en/de)
  • Moved locales folder to lib/valvat/locales

0.3.1 / 2011-01-12

full changelog

  • ActiveModel validation: Failed validations with match_country now use error message with country from given attribute
  • ActiveModel validation: Failed validations with match_country skip lookup and syntax checks

0.3.0 / 2011-01-12

full changelog

  • ActiveModel validation: added match_country option to validate if iso country code of vat number matches another attribute.

0.2.3 / 2011-01-10

full changelog

  • Valvat::Utils.normalize now removes spaces and special chars anywhere

0.2.2 / 2011-01-10

full changelog

  • Using vies directly via soap/savon again; isvat.appspot.com is not really reliable.
  • Added support for Valvat#exist? as an alias of Valvat#exists?

0.2.1 / 2011-01-07

full changelog

  • Fixed blocker in valvat/lookup

0.2.0 / 2011-01-07

full changelog

  • Rewrote Valvat module to a vat number class for convenience + internal use of Valvat instances
  • I18n: Default error messages in german

0.1.1 / 2011-01-07

full changelog

  • Fixed issue with country web service down and added spec
  • Stubbed web service specs with fakeweb
  • Added documentation for ActiveModel support

0.1.0 / 2011-01-07

full changelog

  • ActiveModel validation: added optional lookup support
  • ActiveModel validation: I18n support with country specific messages
  • ActiveModel validation: I18n locales in english and german
  • Fixed bug with wrong iso country code on greek vat number (EL != GR)
  • Valvat::Util.split only returns countries from europe

0.0.3 / 2011-01-06

full changelog

  • Basic support for ActiveModel validation

0.0.2 / 2011-01-06

full changelog

  • Use REST-wrapper for accessing VIES web service; this removes dependency on savon and some lines of code. See http://isvat.appspot.com/