Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download addressfield-7.x-1.0-rc1.tar.gztar.gz 72.82 KB
MD5: b67a4f2f88c958e5bc5dccff84cf7856
SHA-1: 92cbac16d008d41c69fe5a8e975f9a7d43833225
SHA-256: 593da17a90c69d41479ec4ef0d6536e04f2ff3918854f5c34211df62105f9042
Download addressfield-7.x-1.0-rc1.zipzip 84.34 KB
MD5: ec6930f5fa22c02a457eebf925c3fd59
SHA-1: d757346685d20ec1f52962b237ce441960736db2
SHA-256: 40b7fe5335cdc00e154d7ee534392037113009c6d240de104620a9454f089bb7

Release notes

This release over 50 commits made since beta5, with major improvements backported from our commerceguys/addressing library (the base of the future addressfield D8 version).

  • Created the concept of an address format.
    An address format is an array which contains the per-country list of used fields, list of required fields, and the field labels.
    Imported address formats for 200 countries, derived from Google’s dataset.
  • Moved administrative areas out of address.inc, into their own include file (addressfield.administrative_areas.inc), added an alter hook.
  • Added administrative areas for 20 countries:
    Argentina, Chile, China, Colombia, Egypt, Hong Kong, India, Indonesia, Ireland, Jamaica, Japan, Malaysia, Mexico, Peru, Russia, South Korea, Spain, Turkey, United Arab Emirates, Venezuela.
  • The field can now be optional.
  • Added plugins for hiding the street address and/or the postal code.

Changes since 7.x-1.0-beta5:

  • #2159251: Clear country specific fields when changing the country
  • #1662680 by fago: Stop duplicating form state values in $form_state['addressfield']
  • Rename the addressfield-example.inc handler to make room for other example handlers.
  • #2262841 by DomoSapiens: W3C validation errors
  • #2181001 by PJnes, xurizaemon, greatmatter: WSOD: Call to undefined function addressfield_token_info_alter
  • Fix regression introduced by #968112 that caused the addressfield on the field edit form to have required fields.
  • #2302281 by Dave Reid: Plugins to hide street address or postal code fields
  • #2391989: Notice: Undefined variable: instance
  • #2283483 by vasike: Missing statuses messages for addressfield ajax callback commands
  • #968112 by Zoltán Balogh, ergophobe, mlncn, duckzland, David Stosik, guedressel, fgm, rolfmeijer, mrmikedewolf, jantoine, davisben: Allow addressfield to be optional
  • Remove the empty first option for predefined administrative areas, rely on Drupal for this behavior.
  • Add the correct administrative area label for Ukraine.
  • #2151903 by johnv: Make sub_premise whole
  • #2319093 by mistermoper: Missing sub administrative area views handler
  • #1665788 by adubovskoy, andypost, VVS, bojanz, sin, Daniel A. Beilinson: Add administrative areas for Russian regions
  • #1345198 by frost, pjcdawkins, mrfelton, roblav, rich.3po: Add irish counties, fix locality label
  • #1713698 by bojanz, aidanlis, ergophobe, er_d0s: Correct address labels for Australia
  • Fix indentation in addressfield.address_formats.inc, add alter hooks for address formats and administrative areas.
  • Further address format improvements.
  • Rebuild the list of countries that put the postal code after the locality, remove unneeded Brazil specific code.
  • Move the dependent locality (suburb) field to its own row by default, customize formats for China, Philippines, Thailand.
  • #2389517 by bojanz, skyredwang: Add administrative areas for China
  • #2270913: Help text not shown.
  • #2325411 by DuaelFr: Order plugins by weight instead of name
  • #2390035: Introduce the concept of an address format, import (some of) Google's dataset
  • Add administrative areas for Turkey and South Korea.
  • Add administrative areas for United Arab Emirates, Argentina, Chile, Hong Kong, Jamaica, Venezuela.
  • #2156061 by KalyaniK: Add missing indian state Telangana, separate territories.
  • #1304140 by bojanz, Remon: Egypt administrative divisions
  • Move predefined administrative areas to their own include file.
  • #1707192 by Yaazkal: Add Columbian administrative areas (departments)
  • Add the dependent_locality (suburb/neighbourhood) field to 9 additional countries.
  • #2387967: Remove New Zealand regions
  • #2129829 by ItangSanjana: Indonesia addresses
  • Update the list of countries that use administrative areas in addresses, based on Google's dataset.
  • Update postal code metadata (which countries have them, where they're required) from Google's dataset.
  • Revert "Issue #1669620 by malberts, RStrydom: South Africa doesn't have states"
  • #1819494: Remove Albania from the list of countries without postal codes.
  • #1669620 by malberts, RStrydom: South Africa doesn't have states
  • #1472628: Add Mexican States
  • Move the list of Malaysian states.
  • #1950448 by marvil07: Support Peruvian addresses
  • #1297580 by jonloh: State dropdown list for Malaysia
  • Remove duplicate Spanish subdivision.
  • #1107484 by pineray, attiks, shi99: Support for Japanese addresses
  • #2202945 by lorenx: Correct 3 italian province names
  • #2304349 by eneko1907: Well known administrative areas for Spain -ES-
  • #2134625 by RajeevK: Add indian states.
  • #1997572 by plach, xurizaemon: Undefined index in _addressfield_render_address() line 223
  • #2189637 by xmacinfo: District of Columbia state have a case issue
  • #2300431 by zengenuity: Lebanon Has Optional Postal Codes
  • #2318763 by bc: Expose the data column to views
  • #2185001 by nedjo: Country Malawi should not have a postal code
Created by: bojanz
Created on: 15 Dec 2014 at 14:25 UTC
Last updated: 16 Jan 2015 at 16:48 UTC
Bug fixes
New features

Other releases