Skip to content

Latest commit

 

History

History
494 lines (307 loc) · 28.5 KB

CHANGELOG.md

File metadata and controls

494 lines (307 loc) · 28.5 KB

Changelog

v0.15.0 (2021-04-15)

Full Changelog

Closed issues:

  • normalized_when_valid: true seems broken if there are two phone attributes #195

Merged pull requests:

v0.14.13 (2019-07-03)

Full Changelog

Closed issues:

  • 0.4.11 was the latest release. However the new normalize_when_valid has been sitting here for a while... Release? #194

Merged pull requests:

  • Fixing #195 - Original value should be cached in correct instance var #196 (dlikhten)

v0.14.12 (2019-06-21)

Full Changelog

Closed issues:

  • Some German numbers not passing plausible_numbers? without country_code #193

Merged pull requests:

  • Upgrade Ruby versions and Relax dependancies #192 (berkos)
  • Add possibility to return original phone number when is not valid #190 (synion)
  • Add UK country_code. #189 (pudiva)

v0.14.11 (2018-10-11)

Full Changelog

Closed issues:

  • Problem with normalizing Estonian number #187

Merged pull requests:

v0.14.10 (2018-10-11)

Full Changelog

Closed issues:

  • PhonyRails.default_country_code too intrusive in plausible_number? method #179
  • default_country_code overrides 00-prefix country code #175
  • Valid 260 area code number is reported as invalid #168
  • Croatian number not validating as plausible. #165
  • phony_formatted not returning original String for non-digit only strings #163
  • should all normalized numbers be valid? #162
  • Extensions not working out of the box for validator #160

Merged pull requests:

v0.14.9 (2018-09-05)

Full Changelog

Closed issues:

  • Cut new release 0.14.7 to include new extension removal logic #177
  • default_country_code based on relation #174

Merged pull requests:

  • Allow brackets. Closes #170. #182 (joost)
  • add lambda support for default country code #181 (kimyu92)
  • Add Spanish translation for validation error #178 (r-sierra)

v0.14.7 (2018-05-25)

Full Changelog

Closed issues:

  • Country code wrapped in brackets is not recognized #170
  • Invalid number in countryCode VN #159

Merged pull requests:

v0.14.6 (2017-06-20)

Full Changelog

Closed issues:

  • Fail validation on raw input #161
  • Extension example in README does not work #155
  • Switching the dependancy from ActiveRecord::Base to ActiveModel::Model breaks support for Rails 3 apps #147

Merged pull requests:

v0.14.5 (2017-02-08)

Full Changelog

Closed issues:

  • phone number not being validated #154
  • Make phony_normalize optional, on condition #149

Merged pull requests:

  • Fix Rails 3 compatibility in issue #147 #156 (wvanheerde)
  • Support of phone numbers with extension in validator #153 (Kukunin)

v0.14.4 (2016-10-10)

Full Changelog

Closed issues:

  • Add support for internal Russian phone style (8 926 ... instead of +7 926 ...) #148
  • is it necessary to extend ActiveRecord::Base instead of ActiveModel::Model ? #143

Merged pull requests:

  • Bundle updates and fixes Travis #151 (joost)

v0.14.2 (2016-06-16)

Full Changelog

Merged pull requests:

  • Do not use insecure multiline regex in examples #146 (bdewater)
  • support for ActiveModel::Model alternative to database-backed models only #144 (brandondees)

v0.14.1 (2016-05-08)

Full Changelog

Closed issues:

  • Pull request #139 (released in 0.14.0) breaks message: :improbable_phone option #140

Merged pull requests:

  • Fixed a bug that prevents a normalized attribute from being set to nil #142 (kylerippey)
  • Read message value directly from options #141 (monfresh)

v0.14.0 (2016-04-21)

Full Changelog

Closed issues:

  • In normalize_number, .clone is being used, which preserves "frozenness", causing method to fail sometimes #136
  • question Is thr any way to find country code from mobile no? #135
  • invalid number assumed to be valid #130
  • Split fails when a + is present #123

Merged pull requests:

v0.13.0 (2016-03-12)

Full Changelog

Closed issues:

  • Adding country code twice for Luxemburg numbers #128
  • Unexpected result when calling normalize_number multiple times with country_code option #126
  • No method find_by_normalized_phone_number #125
  • Invalid number is valid? #124
  • Can it validate mobile phone? #122

Merged pull requests:

  • Do not raise NoMethodError when an illegal country code is set #133 (klaustopher)
  • only assigned normalize values if there is one #132 (ekkyou)
  • Adding Kosovo phone code #131 (Xanders)
  • Add Dutch translation for invalid number #129 (bdewater)

v0.12.11 (2015-11-12)

Full Changelog

Closed issues:

  • French formatting #121
  • French phony_normalize #120
  • Correct phone number failed the validatiton #115
  • 'no implicit conversion of nil into String' from phony_formatted!(spaces: '-', strict: true) with invalid numbers #113
  • Can i skip a validation with another number? #110
  • Consider dropping the dependency on the countries gem and using a YAML file instead #108
  • Some Finnish mobile numbers are formatted wrong #107
  • undefined method `[]' for Data:Class #106
  • Phony is out of date #102

Merged pull requests:

v0.12.9 (2015-07-13)

Full Changelog

Closed issues:

  • Countries 0.11.5 introduces a breaking change #103

Merged pull requests:

v0.12.8 (2015-06-22)

Full Changelog

Closed issues:

  • activerecord dependency #99
  • Using a number different from the country #97
  • UK 0203 numbers not handled correctly #95
  • Consider keeping a Changelog for changes in each version. #91
  • Phone numbers with extensions #78

Merged pull requests:

  • remove active_record dependency #100 (sbounmy)
  • Add enforce_record_country option to phony_normalize method #98 (phillipp)

v0.12.7 (2015-06-18)

Full Changelog

Closed issues:

  • inconsistent normalization #93

Merged pull requests:

  • Adding default error translation for the Hebrew language #96 (pazaricha)

v0.12.6 (2015-05-11)

Full Changelog

Closed issues:

  • Nil return values for normalize cause validations to pass #92

Merged pull requests:

  • pass all options from String#phony_normalized to PhonyRails.normalize_number #94 (krukgit)

v0.12.5 (2015-04-30)

Full Changelog

Closed issues:

  • phony_normalize strips parentheses from NDC part #89
  • Does not normalize when validations are skipped #88

v0.12.4 (2015-04-05)

Full Changelog

v0.12.2 (2015-04-05)

Full Changelog

Closed issues:

  • Some numbers not normalizing properly as of 0.12.1 #87
  • Something wrong with normalization of NO phones #85

v0.12.1 (2015-04-01)

Full Changelog

Closed issues:

  • Validate a phone number format, but don't require the presence #84
  • Simple question about creating a record #83

v0.12.0 (2015-03-26)

Full Changelog

Closed issues:

  • Allow validating against multiple countries #81

Merged pull requests:

  • allow all valid options #82 (zzma)

v0.11.0 (2015-03-04)

Full Changelog

Closed issues:

  • Method phony_formatted return "undefined method `split' for 1:Fixnum" #79

Merged pull requests:

  • Fix incorrect Japanese translation #80 (ykzts)

v0.10.1 (2015-01-21)

Full Changelog

Closed issues:

  • PhonyRails.normalize_number is removing unexpected zero #77
  • support for arrays in postgres #59
  • Phone extension support #57

Merged pull requests:

  • Fixes #55 - Validation fails if record country code does not match code ... #56 (juanpaco)

v0.10.0 (2015-01-21)

Full Changelog

Closed issues:

  • Already normalized numbers have default country code prepended #76

v0.9.0 (2015-01-13)

Full Changelog

Merged pull requests:

v0.8.2 (2014-12-18)

Full Changelog

Closed issues:

  • uninitialized constant Listen::Turnstile #69
  • Issue with brazilian numbers #68
  • Phony is now at 2.8.x #67
  • Update to latest phony version? #65

Merged pull requests:

  • Remove depreciation warnings while running tests. #71 (jmera)
  • Update guard to handle change in listen dependency #70 (JonMidhir)

v0.8.0 (2014-11-07)

Full Changelog

Closed issues:

  • Update README #66

v0.7.3 (2014-10-23)

Full Changelog

Merged pull requests:

  • Ability to validate against the normalized input #64 (dimroc)

v0.7.2 (2014-10-15)

Full Changelog

Merged pull requests:

v0.7.1 (2014-10-01)

Full Changelog

v0.7.0 (2014-09-30)

Full Changelog

Closed issues:

  • TAG on release #62
  • Unable to run migrations if "as" attribute added #60
  • Rails not recognizing phony_rails method #58
  • Validation fails if record country code does not match code in phone number #55
  • Phony 2.2.3 breaks test #51
  • Country code not set when first two digits eq country code #50
  • Phony 2.1 incompatibility related to country codes/numbers #48
  • Clarify Indended Functionality and Require a Default Country Code #43
  • Use Phony 2.0 #28

Merged pull requests:

  • Raise runtime errors not argument errors when :as attr undefined #61 (chelsea)
  • Add turkish locale file. #54 (onurozgurozkan)
  • Translate german #53 (toxix)
  • Fix country code being incorrectly passed to phony #49 (pjg)

v0.6.0 (2014-01-28)

Full Changelog

Closed issues:

  • French normalized number isn't good #42
  • Invalid numbers should not be formatted #41
  • Error when formatting invalid numbers #40
  • License missing from gemspec #38
  • Expose Country objects, and allow national-to-international conversion #34
  • default_country_code forces country code #33
  • "translation missing" when using validator on non-activerecord backed models #30
  • Error when normalizing long telephone numbers with default country code #29
  • Fix default_country_number appending repeatedly #25
  • Detect if phone number has country code specified and use that #22
  • problem with v 0.2.1 #21
  • Error with phony_normalize on migration #19
  • Mongoid Error Message #18
  • Make dependency on newer version of phony #11
  • add a wiki #7
  • validator not included #4
  • Country Number out of Country gem #3

Merged pull requests:

  • Add support for phony version ~> 2.1 #45 (pjg)
  • In the validator: add country code & number handling #44 (robink)
  • PhonyRails.country_number_for should accept case agnostic country code #39 (ahegyi)
  • option for country code validation in helper #37 (JeffLtz)
  • Fix phone number formatting method call in README #36 (pjg)
  • Better attribute accessor pattern + Japanese translation #35 (johnnyshields)
  • Cleanup for better Mongoid support #32 (johnnyshields)
  • add activemodel validation translation #31 (ghiculescu)
  • use default_country_code when normalizing #27 (espen)
  • update Gemfile.lock with lastest version #26 (espen)
  • Raise only an exception at validation for non-existing attributes (#19) #20 (k4nar)
  • Do not normalize an implausible phone #16 (Jell)
  • Override the default loading of the "countries" gem so that the Country class isn't unqualified. #15 (jcoleman)
  • Mongoid support. #14 (siong1987)
  • Do not pollute the global namespace with a Country class #13 (Jell)
  • Address issue #11 - need to use a newer version of phony for additional countries #12 (rjhaveri)
  • Compatibility with Ruby 1.8.7 #10 (triskweline)
  • remove cause for warning: already initialized constant VERSION #9 (triskweline)
  • validator translation #8 (ddidier)
  • refactored tests and added options to validates_plausible_phone #6 (ddidier)
  • some tests and a helper method #5 (ddidier)
  • Bumped Phony dependency to the latest #2 (Rodeoclash)
  • Changed the remaining references to phony_number to phony_rails. #1 (floere)

* This Changelog was automatically generated by github_changelog_generator