1 | # 10.0.0
|
2 |
|
3 | - BREAKING CHANGES
|
4 | - Update Node to v18
|
5 | -DevDependencies
|
6 | - Update prettier to v3
|
7 | - Update eslint-plugin-prettier to v5
|
8 | - Typescript to v5
|
9 |
|
10 | # 9.1.0
|
11 |
|
12 | - Add additional Hiper bins (#115 thanks @upigilam)
|
13 |
|
14 | # 9.0.1
|
15 |
|
16 | - Correct issue where ELO cards were misidentified as Maestro cards (thanks @gabrielozaki)
|
17 |
|
18 | # 9.0.0
|
19 |
|
20 | - Add typescript types
|
21 |
|
22 | _Breaking Changes_
|
23 |
|
24 | - Drop Bower Support
|
25 | - Drop support for card numbers instantiated with `new String(number)`
|
26 |
|
27 | # 8.3.0
|
28 |
|
29 | - Add support for series 8 UnionPay cards (fixes #95 thanks @leebradley)
|
30 |
|
31 | # 8.2.0
|
32 |
|
33 | - Add 14 and 15 length configuration to UnionPay cards
|
34 |
|
35 | # 8.1.0
|
36 |
|
37 | - Add support for Hiper cards
|
38 | - Add support for Hipercard cards
|
39 |
|
40 | # 8.0.0
|
41 |
|
42 | - Improve pattern recognition for card types
|
43 |
|
44 | _Breaking Changes_
|
45 |
|
46 | - When adding or updating cards, this module no longer uses an `exactPattern` and `prefixPattern` model. Instead, it takes an array of patterns. See https://github.com/braintree/credit-card-type#pattern-detection for details.
|
47 |
|
48 | # 7.1.0
|
49 |
|
50 | - Add support for `Elo` card type
|
51 | - Adds `updateCard` method (#77)
|
52 |
|
53 | # 7.0.0
|
54 |
|
55 | - Updates "master-card" enum to "mastercard"
|
56 |
|
57 | # 6.3.0
|
58 |
|
59 | - Add support for `MIR` card type (thanks @antongolub)
|
60 |
|
61 | # 6.2.0
|
62 |
|
63 | - Allow custom card brands to be added
|
64 |
|
65 | # 6.1.1
|
66 |
|
67 | - Correct Mastercard bin range for series 2 bins
|
68 |
|
69 | # 6.1.0
|
70 |
|
71 | - Add support for JCB cards of length 17, 18, and 19 (#54, thanks @zeh)
|
72 |
|
73 | # 6.0.0
|
74 |
|
75 | - Update mastercard niceType property to `Mastercard` to match new brand guidelines
|
76 |
|
77 | **Breaking Changes**
|
78 |
|
79 | - Remove internal properties `prefixPattern` and `exactPattern` from returned object
|
80 |
|
81 | # 5.0.4
|
82 |
|
83 | - Correct Discover to respect lengths for international cards
|
84 | - Make Maestro pattern more exact
|
85 |
|
86 | # 5.0.3
|
87 |
|
88 | - Fix prefix pattern for MasterCard numbers starting with `27`
|
89 |
|
90 | # 5.0.2
|
91 |
|
92 | - Fix checking for UnionPay ranges
|
93 |
|
94 | # 5.0.1
|
95 |
|
96 | - Visa cards can now be 16, 18, or 19 digits.
|
97 |
|
98 | # 5.0.0
|
99 |
|
100 | - Card matching has been replaced with a two-tier process. This simplifies the matching process for ambiguous numbers.
|
101 |
|
102 | - Partial BIN matches (`prefixPattern`) are accumulated separately from exact BIN matches (`exactPattern`).
|
103 | - If there were any exact BIN matches, those matches are returned.
|
104 | - If there are no exact BIN matches, all partial matches are returned.
|
105 |
|
106 | # 4.1.0
|
107 |
|
108 | - Add `getTypeInfo` and `types` exports for getting type information such as number spacing given a type string such as `visa`.
|
109 |
|
110 | # 4.0.3
|
111 |
|
112 | - Remove behavior where some UnionPay cards displayed Discover and UnionPay as possible card types
|
113 |
|
114 | # 4.0.2
|
115 |
|
116 | - Add support for series 2 MasterCard bins (ranging from 222100 to 272099)
|
117 | - Removes dependency on Lodash
|
118 |
|
119 | # 4.0.1
|
120 |
|
121 | - Switch to one version of Lodash
|
122 |
|
123 | # 4.0.0
|
124 |
|
125 | - Further resolve ambiguity issues with various cards; return an array of potential card types instead of a single type
|
126 |
|
127 | # 3.0.0
|
128 |
|
129 | - Resolve ambiguity issues with Maestro and Discover cards
|
130 |
|
131 | # 2.0.0
|
132 |
|
133 | - Add support for Maestro and UnionPay
|
134 | - Change return type of `length` as a `String` to `lengths` as an `Array`
|
135 |
|
136 | # 1.0.0
|
137 |
|
138 | - Initial Release
|