Skip to content

Latest commit

 

History

History
169 lines (140 loc) · 5.74 KB

CHANGELOG.md

File metadata and controls

169 lines (140 loc) · 5.74 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

0.12.0 - 2021-04-26

Changed

  • Set the gem development Ruby version to Ruby 3.0.1
  • Ensured compatibility with Ruby 3.0
  • Updated the API client to handle internal Loqate errors such as 502:
JSON::ParserError (767: unexpected token at '<html><head>)
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>

0.11.1 - 2021-04-26

Fixed

  • Fixed the allowed values of the enum Phone::PhoneNumberValidation::IsValid by adding Maybe as a valid value.

0.11.0 - 2021-01-29

Changed

  • Updated bundler to version 2.1
  • Updated guard to version 2.16
  • Updated guard-bundler to version 3.0
  • Updated guard-rubocop to version 1.3
  • Updated overcommit to version 0.53
  • Updated pry to version 0.13
  • Updated rubocop to version 0.85
  • Updated rubocop-rspec to version 1.39
  • Updated simplecov-console to version 0.7
  • Updated vcr to version 6.0
  • Updated webmock to version 3.8
  • Enabled the newest RuboCop rules
  • Set the local development Ruby version to 2.7.1

Removed

  • Removed the attribute is_complainer_or_fraud_risk from EmailValidation. It is no longer supported by Loqate's API and will always return false.

Fixed

  • Fixed the type coercion of the attribute duration on the EmailValidation class:
[Loqate::Email::EmailValidation.new] 0 (Integer) has invalid type for :duration violates
  constraints (type?(Float, 0) failed)

0.10.4 - 2020-05-08

Changed

  • Updated HTTP to version 4.3
  • Updated Rake to version 12.3

Fixed

0.10.3 - 2020-01-13

Changed

  • Updated Rubocop to version 0.78
  • Fixed the keyword arguments deprecation warning introduced in Ruby 2.7

Added

  • Added additional build versions (2.5, 2.6, 2.7 and jruby) on Travis CI

0.10.2 - 2019-12-31

Changed

  • Relaxed the dependency on bundler to support Bundler 2.x and later
  • Replaced .ruby-versions with .tools-versions because asdf is a modular package manager for all languages
  • Set the Ruby development version to 2.6.5

Fixed

  • Renamed Dry::Struct::Value to Dry::Struct to fix a deprecation warning
  • Renamed Dry::Types.module to Dry.Types() to fix a deprecation warning

0.10.1 - 2019-04-29

Fixed

  • Updated dry-struct to version 1.0, which has a more stable API

0.10.0 - 2018-12-12

Added

  • A service to find the nearest places around a given coordinate

Changed

  • Disabled the Yardstick rules ExampleTag, ReturnTag and Summary::Presence.

0.9.0 - 2018-12-11

Added

  • Geocoding service of the Geocoding API
  • A service to calculate the country a given location is within

0.8.0 - 2018-12-10

Added

  • Distance service of the Geocoding API

0.7.0 - 2018-12-03

Changed

  • Moved the Address, Email and Phone APIs into their own namespaces

0.6.0 - 2018-12-03

Added

  • Bank API

0.5.0 - 2018-11-20

Added

  • Email API

0.4.0 - 2018-11-14

Changed

  • Updated the gem HTTP to version 4.0.0
  • Added the header Accept: application/json to every request
  • Simplified the Value Objects with Dry-Struct

Added

  • A License (MIT)
  • Phone API

0.3.0 - 2018-11-10

Changed

  • address.retrieve and address.find return a single error, not an array with a single item
  • address.retrieve returns a single address, not an array of addresses
  • Loqate::Error inherits from StandardError so that it can be raised as an exception
  • Improved the documentation of Success and Failure

Added

  • find! to find an address or raise an exception
  • retrieve! to retrieve the details of an address or raise an exception
  • Aliased Failure#value to Failure#error

Fixed

  • Fixed the documentation of AddressGateway

0.2.0 - 2018-10-31

Added

  • VCR and WebMock to record HTTP interactions
  • A file to hold a development API key (.api_key)
  • A ruby version dotfile (.ruby-version)
  • Core of the gem
  • Address API

Changed

  • Document the available code maintenance Rake tasks.

[0.1.0] - 2018-09-29

Added

  • Initial core functionality
  • Codebase maintenance tools