worldwide 1.20.1 → 1.21.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.github/workflows/ci-typescript.yml +3 -3
- data/.github/workflows/ci.yml +2 -2
- data/.github/workflows/npm-release.yml +3 -3
- data/CHANGELOG.md +7 -0
- data/Gemfile.lock +1 -1
- data/data/regions/BG.yml +1 -1
- data/data/regions/GB.yml +2 -2
- data/data/regions/LU.yml +1 -1
- data/lib/worldwide/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 69478b1240841c6980c7b206322b298cdc45ad6bda7f3c722a64f983d7924389
|
|
4
|
+
data.tar.gz: 8381f3ca65e99b04d1a5be36793f9ff52ed555aab1873b41a2dff496357d8a37
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd8c72c0fee94e135b3dc0390494882f92ab3c963e8cec599225d7a01df984d87e8601dc6b56c8feb9d1aeb6e8d0214d69167551cdcdc5867962405f010251b2
|
|
7
|
+
data.tar.gz: 40c68338ba93c3b3119ab2990d6175e3fe7402a30cdd8cab8c830f50f65e3b450f2dc8f4ab361a6865f5cae44d9043cdcf20eed5c20c6f53555df86a8d34b151
|
|
@@ -15,13 +15,13 @@ jobs:
|
|
|
15
15
|
working-directory: lang/typescript
|
|
16
16
|
steps:
|
|
17
17
|
- name: Check out code
|
|
18
|
-
uses: actions/checkout@
|
|
18
|
+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
19
19
|
- name: Setup Node
|
|
20
|
-
uses: actions/setup-node@
|
|
20
|
+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
21
21
|
with:
|
|
22
22
|
node-version: 20
|
|
23
23
|
- name: Setup PNPM
|
|
24
|
-
uses: pnpm/action-setup@
|
|
24
|
+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
|
|
25
25
|
with:
|
|
26
26
|
version: 9.1.3
|
|
27
27
|
- name: Install dependencies
|
data/.github/workflows/ci.yml
CHANGED
|
@@ -20,9 +20,9 @@ jobs:
|
|
|
20
20
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
|
21
21
|
steps:
|
|
22
22
|
- name: Check out code
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
24
24
|
- name: Set up Ruby ${{ matrix.ruby }}
|
|
25
|
-
uses: ruby/setup-ruby@
|
|
25
|
+
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0
|
|
26
26
|
with:
|
|
27
27
|
ruby-version: ${{ matrix.ruby }}
|
|
28
28
|
bundler-cache: true
|
|
@@ -20,15 +20,15 @@ jobs:
|
|
|
20
20
|
working-directory: lang/typescript
|
|
21
21
|
steps:
|
|
22
22
|
- name: Checkout Repo
|
|
23
|
-
uses: actions/checkout@
|
|
23
|
+
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
|
|
24
24
|
with:
|
|
25
25
|
token: ${{ secrets.SHOPIFY_GH_ACCESS_TOKEN }}
|
|
26
26
|
- name: Setup Node
|
|
27
|
-
uses: actions/setup-node@
|
|
27
|
+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
|
|
28
28
|
with:
|
|
29
29
|
node-version: 20
|
|
30
30
|
- name: Setup PNPM
|
|
31
|
-
uses: pnpm/action-setup@
|
|
31
|
+
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4.2.0
|
|
32
32
|
with:
|
|
33
33
|
version: 9.1.3
|
|
34
34
|
- name: Install dependencies
|
data/CHANGELOG.md
CHANGED
|
@@ -28,6 +28,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
|
28
28
|
## [Unreleased]
|
|
29
29
|
|
|
30
30
|
---
|
|
31
|
+
## [1.21.1] - 2026-01-13
|
|
32
|
+
- Fix GB postal code regex to reject invalid outward code formats (AA99A, A99A) that were incorrectly accepted (e.g., "KT11X 2JH")
|
|
33
|
+
- Fix LU postal code regex to allow zero as first digit for packstation addresses (e.g., "0692")
|
|
34
|
+
|
|
35
|
+
## [1.21.0] - 2025-10-14
|
|
36
|
+
- Bulgaria to start using EUR as its official currency as of Jan 1, 2026 [#413](https://github.com/Shopify/worldwide/pull/413)
|
|
37
|
+
|
|
31
38
|
## [1.20.1] - 2025-10-14
|
|
32
39
|
- Patch pt subdivisions to remove superscript marker on Spanish provinces [#392](https://github.com/Shopify/worldwide/pull/392)
|
|
33
40
|
|
data/Gemfile.lock
CHANGED
data/data/regions/BG.yml
CHANGED
data/data/regions/GB.yml
CHANGED
|
@@ -11,8 +11,8 @@ ignore_provinces: true
|
|
|
11
11
|
group: European Countries
|
|
12
12
|
group_name: Europe
|
|
13
13
|
zip_label: Postcode
|
|
14
|
-
zip_regex: "^[A-Za-z]{1,2}
|
|
15
|
-
partial_zip_regex: "^[A-Z]{1,2}[
|
|
14
|
+
zip_regex: "^[A-Za-z]{1,2}(\\d[A-Za-z]?|\\d\\d)\\s?\\d[A-Za-z]{2}$"
|
|
15
|
+
partial_zip_regex: "^[A-Z]{1,2}(\\d[A-Z]?|\\d\\d)$"
|
|
16
16
|
zip_example: SE22 8DL
|
|
17
17
|
phone_number_prefix: 44
|
|
18
18
|
building_number_required: true
|
data/data/regions/LU.yml
CHANGED
data/lib/worldwide/version.rb
CHANGED