Geo-Address-Formatter

 view release on metacpan or  search on metacpan

CHANGES  view on Meta::CPAN

Revision history for Perl module Geo::Address::Formatter.

1.9992 2026-02-18
      - fix to paramater passing in instance method

1.9991 2026-02-15
      - new instance method for creating singleton and reusing across requests under mod_perl

1.9990 2026-02-11
      - speed optimizations
      - improved POD

1.9989 2025-10-31
      - drop components with special characters, test
      - newest address-formatting

1.9988 2025-09-24
      - make apply_replacements regex case insensitive
      - newest address-formatting

1.9987 2025-05-11
       - require newest YAML::LibYAML
       - minor tweak to apply_replacements step, some components can be skipped

1.9986 2025-03-26
      - in case with multiple unknown entries in the components, sort them before adding them to the attention
        value to ensure consistency

1.9985 2025-03-24
      - tired of fighting Test::Perl::Critic to get it to install, no longer requiring

1.9984 2025-03-24
      - code clean up, improved performance
      - add Ref::Util::XS as dependency
      - newest address-formatting

1.9983 2024-10-28
      - more tests for abbreviations (one yaml file per language)
      - change regex used in abbreviations

1.9982 2023-06-08
      - no longer use File::Find::Rule to find config files (still used in tests)
      - simplify the logic of reading config files

1.9981 2023-06-06
      - minor syntax change

1.998 2023-06-06
      - limit search for .yaml conf to a single directory

1.997 2023-03-09
       - revert one minor "improvement" *sigh*

1.996 2023-03-09
       - improve private method _apply_replacements
       - newest address-formatting
       
1.995  2023-03-09
       - various performance tweaks
       - newest address-formatting

1.994  2023-03-02
       - various performance tweaks
       - newest address-formatting

1.993  2022-12-14
       - ability to set "only_address" as optional param to format_address

1.992  2022-12-14
       - new optional "only_address" parameter to new method to use only known components in
         the formatted output

1.991  2022-10-30
       - new optional "no_warnings" parameter to new method to suppress
         some warnings
       - newest address-formatting

1.99   2022-04-21
       - internal reorganization so that component aliases now chosen based on
         the order they appear in the components conf file rather than
         alphabetically as they had (mistakenly) been chosen previously
         
1.98   2022-01-20
       - roll back change to _find_unknown_components
         seems to be causing problems

1.97   2022-01-20
       - Deal with the fact that in OSM some countries use the "district" as
         if it is "city_district" others as if it is "state_district"

1.96   2021-08-06
       - if address_template is specified to format_address always use it
         skip the check for minimal components
       - newest address-formatting

CHANGES  view on Meta::CPAN


1.94   2021-06-08
       - ability to pass an "address_template" option to format_address
         to overwrite the template specified in conf
       - test

1.93   2021-06-07
       - make sure final_components are reset every time format_address
         is called

1.92   2021-06-04
       - PR #9, fix speed regression introduced in 1.91

1.91   2021-06-04
       - yet another rewrite of _render_template logic to replace
       the "first" lambda. More robust solution that v1.90
       see PR #8

1.90   2021-06-03
       - major rewrite of _render_template logic for dealing with
         "first" - remove recursive use of Text::Hogan
       - remove internal template cache as Text::Hogan already has one
       - remove List::Util as a dependency
       - remove Text::Trim as a testing dependency       

1.89   2021-05-29
       - die if conf path doesnt exit or no conf files found

1.88   2021-05-10
       - remove the tidyall stuff, made life too complicated
       - more tests
       - use generic address_template even if a country specific fallback
         template or formatting rules are specified
       - newest address-formatting templates       

1.87   2021-03-14
       rename perltidy conf files so Dist::Zilla adds them to distribution

1.86   2021-03-13
       - perltidy all files, add tidy test and precommit hook
         many thanks to Olaf Alders for the step by step guide
         http://www.perladvent.org/2020/2020-12-01.html
         
1.85   2020-11-20
       - ugh, forgot to check in various files
       - newest address-formatting templates       
       
1.84   2020-11-20
       - no code changes
       - new test to ensure validity of all yaml conf files, previously abbreviation files were not checked
       - newest address-formatting templates

1.83   2020-09-27
       - basic tests for _postformat method
       - hack for now to not deduplicate "new york, new york"
       - newest address-formatting templates

1.82   2020-05-19
       - support for determining correct state_code or county_code
         in multiple languages
       - require Ref::Util, update various other requirements
       - more tests
       - newest address-formatting templates

1.81   2019-02-03
       - require YAML::LibYAML >= 0.81
       - newest address-formatting templates
    
1.80   2019-12-18
       - Text::Hogan 2.03 or higher
       - cleanup of the dist.ini file

1.79   2019-07-29
       - Clone 0.43 or higher

1.78   2019-07-27
       - force Clone 0.41 and seems 0.42 causes warnings
       - newest address-formatting templates

1.77   2019-07-26
       - change logic used to create ordered_components list
       - newest address-formatting templates
       - OpenCage is now OpenCage GmbH

1.76   2019-04-20
       - better cleanup in _sanity_cleanup to avoid component keys with no value
       - newest address-formatting templates

1.75   2019-03-03
       - use Text::Hogan 2.01
       
1.74   2019-02-23
       - use Text::Hogan 1.09
       - newest address-formatting templates

1.73   2018-12-21
       - use YAML::XS everywhere
       - newest address-formatting templates
       
1.72   2018-12-21
       - switch to Try::Catch
       - switch to YAML::XS

1.71   2018-12-21
       - newest version of Text::Hogan
       
1.70   2018-12-21
       - new final_components method to get the final components after all
         work has been done on it.
       - some new tests

1.69   2018-12-18
       - removed debugging
       - more tests for county_code
       
1.68   2018-12-18
       - deal with case where state value is actually state_code
       - newest address-formatting templates and tests       
       
1.67   2018-09-19
       - more Washington DC improvements



( run in 1.613 second using v1.01-cache-2.11-cpan-5837b0d9d2c )