Proyectos de Subversion LeadersLinked - Backend

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
16825 efrain 1
# Changelog
2
 
3
## v17.0.0 (2020-04-18)
4
- Update validationError enum in utils.js to match latest version of libphonenumber
5
- Change ID attributes to be unique (both within the dropdown e.g. dupe countries in preferred section, AND across multiple instances of the plugin)
6
 
7
## v16.1.0 (2020-04-10)
8
 
9
 
10
## v16.0.0 (2019-06-23)
11
Breaking changes
12
 
13
- Switched CSS class names to use BEM, so you shouldn't get any more clashes with generic class names like "highlight"
14
- All NANP countries now have just +1 as their dialCode, when some used to include the area code e.g. Barbados used to have dial code +1246 and now has just +1.
15
 
16
## v15.1.0 (2019-05-23)
17
- Accessibility: focus highlighted list item
18
 
19
## v15.0.0 (2019-02-10)
20
Change behaviour of autoHideDialCode option
21
 
22
It still clears the input on blur/submit if it just contains a dial code, but now it no longer re-adds it on focus. This is due to a bug (#847): when submitting the form with an empty (but required) input, the browser displayed an error on the input and also focusing it, which caused the plugin to automatically add the dial code which then triggered the browser to remove the error again instantly, so it could actually never be seen. I have also just come to believe more generally that injecting a value on focus is unexpected and dangerous, and so should be avoided.
23
 
24
## v14.1.0 (2019-02-09)
25
- added `getInstance` static method
26
 
27
## v14.0.6 (2019-01-02)
28
 
29
 
30
## v14.0.0 (2018-09-23)
31
We finally removed the jQuery dependency! This changes how you initialise and use the plugin - see readme for details. All of the tests are currently passing on Chrome/Firefox/Safari/IE11.
32
 
33
- You can no longer initialise the plugin on multiple inputs at once, but other than that AFAICS it should be feature complete
34
- Instead of jQuery deferred objects we now use ES6 promises (if available)
35
- `dropdownContainer` option has changed from taking a jQuery selector string, to a node e.g. `document.body`
36
 
37
I also simplified the CSS media queries in this release, so let me know if you notice any problems with that.
38
 
39
## v13.0.0 (2018-07-25)
40
- changed how hiddenInput option works, to make it compatible with initialising the plugin on multiple inputs at once (so now if your input name contains square brackets then it will give the hidden input the same name, replacing the contents of the brackets with the given name)
41
- removed an undocumented `utilsScriptDeferred` argument to static method `loadUtils` which is no longer needed
42
- lots of bug fixes
43
 
44
## v12.4.0 (2018-06-24)
45
 
46
 
47
## v12.3.0 (2018-06-10)
48
 
49
 
50
## v12.2.0 (2018-06-09)
51
 
52
 
53
## v12.1.0 (2017-09-25)
54
- added new setPlaceholderNumberType public method
55
 
56
## v12.0.0 (2017-07-30)
57
- added new hiddenInput option
58
- trigger new open/close dropdown events
59
 
60
## v11.1.0 (2017-07-01)
61
- now triggers `close:countrydropdown` event
62
 
63
## v11.0.0 (2017-02-05)
64
- Drop support for IE8 (see readme). There are no actual changes in this release, it just marks a line in the sand where future changes will no longer consider IE8.
65
 
66
 
67
## v10.0.0 (2016-12-11)
68
- rename numberType option to placeholderNumberType
69
- rename formatOnInit to formatOnDisplay
70
 
71
 
72
## v9.2.0 (2016-10-01)
73
- separate `allowDropdown` and `separateDialCode` options
74
- make defaults object accessible from outside
75
- bug fixes
76
 
77
 
78
## v9.1.0 (2016-09-29)
79
- updated autoPlaceholder option to accept "off", "polite" and "aggressive"
80
 
81
 
82
## v9.0.3 (2016-07-14)
83
 
84
 
85
## v9.0.0 (2016-06-11)
86
- BREAKING CHANGE: removed 2nd arg from setNumber
87
- optimize PNGs
88
- update libphonenumber to v7.3.2
89
- remove cookie stuff (easy to do yourself)
90
- added support for jquery 3
91
- added kosovo
92
 
93
 
94
## v8.5.2 (2016-04-27)
95
 
96
 
97
## v8.5.0 (2016-04-19)
98
- autoHideDialCode now works on submit as well
99
 
100
 
101
## v8.4.7 (2016-03-09)
102
 
103
 
104
## v8.4.6 (2016-03-09)
105
 
106
 
107
## v8.4.5 (2016-03-06)
108
 
109
 
110
## v8.4.3 (2016-02-23)
111
 
112
 
113
## v8.4.0 (2016-02-19)
114
- added formatOnInit option (defaults to true)
115
 
116
 
117
## v8.3.1 (2016-02-19)
118
 
119
 
120
## v8.3.0 (2016-02-18)
121
- bug fixes (along with lots more tests)
122
- re-added getExtension method, which now uses libphonenumber internally for more reliable results
123
 
124
 
125
## v8.2.0 (2016-02-17)
126
- added separateDialCode option
127
 
128
 
129
## v8.1.0 (2016-02-15)
130
- added allowDropdown option (defaults to true)