Releases: experiandataquality/GlobalIntuitive
v1.0.0
v0.4.0 - Olympus
Node and Grunt
This release saw big improvements in the tooling with the introduction of Grunt for the front-end build tasks. Among other things this includes:
- JS component concatenation and minification.
- LESS compilation and CSS minification.
Tokens
Significant changes were also made to the auth-token management.
- When performing a demo search, the token is no longer hardcoded and must be passed in the query string.
- When the API search methods are called, the
Auth-Token
is now set as an HTTP header.
Other improvements
Other changes in this release include:
- Added in "Search again" button.
- Position the "use address entered" option at the bottom of the picklist outside the scroll.
- Handle keyboard navigation and selection.
- Show a spinner in the input field whilst searching.
- Disable autocomplete on the form.
- Published more events.
- Manual address entries are now split into lines using comma delimiter.
- Handling unauthorised requests (invalid token) by allowing manual entry.
v0.3.0 - Matterhorn
Notable new features include:
(Simple) Styling of example pages
- A single form page
- And a page with two forms
Events
The code can now publish/trigger events that the integrators can listen/subscribe to. Currently the only events that the code publishes are:
formatting-search
- before the format URL is called to get the final addressformatted-address
- after the format URL is called and the final address is being rendered
An example of subscribing to these events would be:
address.events.on("formatting-search", function(){ document.querySelector(".loader").classList.remove("hidden"); });
"Edit address"
After a formatted address is returned an "Edit address" link is shown enabling manual edit of each of the address lines.
As well as the following other updates:
- Creating the picklist container dynamically
- Creating the formatted address container dynamically
- Hidden inputs to store the formatted address that can be posted back to the server
- Inclusion of a customisable 'take' parameter for controlling the picklist size
v0.2.0 - K2
Complete re-write to support multiple instances using a constructor function. In other words, more than one address form on the same page.
This changes invocation from:
contactDataServices.init(options);
to:
var address = new ContactDataServices.address(options);
Also, the following has been dropped:
- "Caching" - this was only happening on each page request
- Merge settings - the base object is now built up from the user's options
v0.1.1
Additional features include:
- AUS, FRA and NZL country support
- Adding 5 second timeout to requests
- Emphasis to matching item(s) in picklist
v0.1.0 - Kilimanjaro
Initial commit of an Address search integration, supporting:
- searching against an internal, test URL
- searching using a test token
- appending the token to each request's querystring
- overriding any settings when initialising
- searching against UK and US
- displaying results in a picklist
- using a "use address entered" option
- "caching" the query and formatted address requests
- displaying the final, formatted address