Skip to content

Releases: ibericode/vat

2.1.2

24 Feb 17:51
6abfd3a

Choose a tag to compare

Full Changelog: 2.1.1...2.1.2

2.1.1

24 Feb 17:48
4afbcde

Choose a tag to compare

What's Changed

  • Remove deprecated function curl_close by @trippo in #80

New Contributors

Full Changelog: 2.1...2.1.1

2.1

05 Dec 10:43
f788d91

Choose a tag to compare

2.1
  • Remove SM from VAT validation patterns
  • Remove GB from VAT validation patterns
  • Add XI to VAT validation patterns

2.0.10

03 Jan 09:55
195359f

Choose a tag to compare

  • PHP 8.4 compatibility

2.0.9

02 Nov 09:25

Choose a tag to compare

  • declare visibility on class constants
  • add void return type declarations in Rates class
  • improve validation regex for Belgian VAT numbers, thanks @gert-creatic

2.0.8

06 Sep 08:28

Choose a tag to compare

  • Add missing ISO-3611 countries to Countries class. Thanks @dennisoderwald.
  • Throw Exception when cached rates file contains invalid content that could not be unserialized.
  • Fix tests to no longer test against ip2country.info API.

2.0.7

01 Aug 08:39
2a8b910

Choose a tag to compare

  • Add Countries::getCountryCodesInEU() method. Thanks @Kilbourne
  • Add validation pattern for VAT numbers prefixed with EU. Thanks @uldisn
  • Add validation pattern for SM prefixes. Thanks @simonevallana
  • Ignore tests and development related files during Git export. Thanks @VincentLanglet
  • Add SOAP as a required PHP extension. Thanks @BrekiTomasson

2.0.6

15 Nov 12:32
59831d6

Choose a tag to compare

  • Use HTTPS for VIES service (props @gemal)
  • Avoid deprecation warnings on PHP 8.1 (props @franmomu)

2.0.5: Merge pull request #34 from mixisLv/patch-1

30 Dec 17:04
b12b6e4

Choose a tag to compare

2.0.4

17 Dec 12:44

Choose a tag to compare

Brexit transition period ends on Dec 31, so

Countries::isCountryCodeInEU(string $country_code)

will return false starting 2021-01-01 00:00:00