shopify-cli 2.33.0 → 2.34.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ac3c8680848c4b1caae004aba8327a321aded59a73e9454130534726a16a5a4d
4
- data.tar.gz: 46bc06119d1fce33ebef93562bcbe904c5938502d9394b8748000b0ff260671a
3
+ metadata.gz: dd29ef210f31fc605f44e4ecc7402157b79ab92091aa247a2025576a87e7159b
4
+ data.tar.gz: bf8c1081b70e4c97d5dabd6ed54818b5e6fada2787ebc51cb5406791af9e5982
5
5
  SHA512:
6
- metadata.gz: 51da54fda07bd8d66d0aa4e8aedd54df04c23fc50fff79e520179f5e956f4eb940c961e933794f59187b92171fb9998393666dd58986219887a003f848341e78
7
- data.tar.gz: 35a4a6bda609ff6775880f80e9b31171e9edbeef0bbc9745bd5b17b47c6e9d428e4b0a146f075642e229e0cc224e3202b9f5bfed170650b91b1fe7ebb5c30725
6
+ metadata.gz: e941e27b0d6a5faf0bf210f21cb0fd8d86bcc1bfc142e4e57ba44f6918fdc44664c6d82d32f605a3a1aa047119242014e1c4b324031212fdc849c7361c0e29fa
7
+ data.tar.gz: '09b978061cecd114d072d17df1667601f0275fb6a28f42219a3ba359b44cde4c7becb63d65a6ec6e686eeeedbdf54f29ca911cfb7eaf3b19d116d3a816740f78'
data/CHANGELOG.md CHANGED
@@ -2,6 +2,17 @@ From version 2.6.0, the sections in this file adhere to the [keep a changelog](h
2
2
 
3
3
  ## [Unreleased]
4
4
 
5
+ ## Version 2.34.0 - 2023-01-11
6
+
7
+ ### Added
8
+ * [#2715](https://github.com/Shopify/shopify-cli/pull/2715): Update theme-check to 1.14.0 (introduce section groups support)
9
+ * [#2714](https://github.com/Shopify/shopify-cli/pull/2714): Update theme-check to 1.13.0 (introduce section groups support)
10
+
11
+ ## Version 2.33.1 - 2023-01-09
12
+
13
+ ### Fixed
14
+ * [#2706](https://github.com/Shopify/shopify-cli/pull/2706): Delete checksum after file deletion
15
+
5
16
  ## Version 2.33.0 - 2022-12-19
6
17
 
7
18
  ### Added
data/Gemfile.lock CHANGED
@@ -1,10 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- shopify-cli (2.33.0)
4
+ shopify-cli (2.34.0)
5
5
  bugsnag (~> 6.22)
6
6
  listen (~> 3.7.0)
7
- theme-check (~> 1.12.1)
7
+ theme-check (~> 1.14.0)
8
8
 
9
9
  GEM
10
10
  remote: https://rubygems.org/
@@ -89,7 +89,7 @@ GEM
89
89
  mime-types (3.3.1)
90
90
  mime-types-data (~> 3.2015)
91
91
  mime-types-data (3.2021.0901)
92
- mini_portile2 (2.8.0)
92
+ mini_portile2 (2.8.1)
93
93
  minitest (5.14.4)
94
94
  minitest-fail-fast (0.1.0)
95
95
  minitest (~> 5)
@@ -108,7 +108,7 @@ GEM
108
108
  faraday (>= 0.9)
109
109
  sawyer (~> 0.8.0, >= 0.5.3)
110
110
  parallel (1.21.0)
111
- parser (3.1.3.0)
111
+ parser (3.2.0.0)
112
112
  ast (~> 2.4.1)
113
113
  pry (0.13.1)
114
114
  coderay (~> 1.1)
@@ -117,7 +117,7 @@ GEM
117
117
  byebug (~> 11.0)
118
118
  pry (~> 0.13.0)
119
119
  public_suffix (4.0.6)
120
- racc (1.6.1)
120
+ racc (1.6.2)
121
121
  rack (2.2.3.1)
122
122
  rainbow (3.1.1)
123
123
  rake (13.0.6)
@@ -150,7 +150,7 @@ GEM
150
150
  faraday (> 0.8, < 2.0)
151
151
  sys-uname (1.2.2)
152
152
  ffi (~> 1.1)
153
- theme-check (1.12.1)
153
+ theme-check (1.14.0)
154
154
  liquid (>= 5.4.0)
155
155
  nokogiri (>= 1.12)
156
156
  parser (~> 3)
data/RELEASING.md CHANGED
@@ -1,5 +1,24 @@
1
1
  ## Releasing Shopify CLI
2
2
 
3
+ This page contains instructions for CLI 2.0. If you are looking for instructions for CLI 3.0, please visit the [CLI 3.0 documentation](https://github.com/Shopify/cli/blob/main/docs/release.md).
4
+
5
+ ### Automated process
6
+
7
+ We release the CLI with a series of Rake tasks run locally, interspersed with PR-based checkpoints. The steps are:
8
+
9
+ 1. `export GITHUB_ACCESS_TOKEN=$(dev github print-auth | grep Password | awk '{print $NF}')`
10
+ 2. `rake "release:prepare[2.x.x]"` (where 2.x.x is the version being released)
11
+ 3. PR to shopify-cli will open in your browser. Sanity-check and merge.
12
+ 4. Trigger [Shipit](https://shipit.shopify.io/shopify/shopify-cli/rubygems) on your version commit to release on RubyGems
13
+ 5. `rake release:package`
14
+ 6. Homebrew PR will open in your browser. Sanity-check and merge.
15
+ 7. Release will also be opened in your browser, check that it includes debian and rpm files.
16
+ 8. Go through all the [PRs labeled with includes-post-release-steps](https://github.com/Shopify/shopify-cli/issues?q=label%3Aincludes-post-release-steps+is%3Aclosed) and follow the post-release steps described in those PRs. Delete the labels afterward.
17
+
18
+ In case the automation goes wrong, try with the manual instructions.
19
+
20
+ ### Manual process
21
+
3
22
  1. Check the Semantic Versioning page for info on how to version the new release: http://semver.org
4
23
  2. Make sure you're on the most recent `main`
5
24
  ```
@@ -50,4 +69,4 @@
50
69
  * upload the `.deb` and `.rpm` files from `packaging/builds/X.Y.Z/` (generated in step 9)
51
70
  * if it's a pre-release version, select the "This is a pre-release" checkbox
52
71
  * and click "Publish release".
53
- 15. Go through all the PR [labeled with `includes-post-release-steps`](https://github.com/Shopify/shopify-cli/labels/includes-post-release-steps) and follow the post-release steps described in those PRs. Delete the labels afterward.
72
+ 15. Go through all the PR [labeled with `includes-post-release-steps`](https://github.com/Shopify/shopify-cli/labels/includes-post-release-steps) and follow the post-release steps described in those PRs. Delete the labels afterward.
@@ -20,6 +20,12 @@ module ShopifyCLI
20
20
  file.checksum != checksum_by_key[file.relative_path]
21
21
  end
22
22
 
23
+ def delete(file)
24
+ checksums_mutex.synchronize do
25
+ checksum_by_key.delete(to_key(file))
26
+ end
27
+ end
28
+
23
29
  def keys
24
30
  checksum_by_key.keys
25
31
  end
@@ -348,6 +348,8 @@ module ShopifyCLI
348
348
  }),
349
349
  )
350
350
 
351
+ checksums.delete(file) if checksums.has?(file)
352
+
351
353
  response
352
354
  end
353
355
 
@@ -1,3 +1,3 @@
1
1
  module ShopifyCLI
2
- VERSION = "2.33.0"
2
+ VERSION = "2.34.0"
3
3
  end
data/shopify-cli.gemspec CHANGED
@@ -48,7 +48,7 @@ Gem::Specification.new do |spec|
48
48
  # Whereas if we were to have "~> 1.9", that version would still be satisfied and thus not upgraded.
49
49
  # Both shopify-cli and theme-check gems are owned and developed by Shopify.
50
50
  # These gems are currently being actively developed and it's easiest to update them together.
51
- spec.add_dependency("theme-check", "~> 1.12.1")
51
+ spec.add_dependency("theme-check", "~> 1.14.0")
52
52
 
53
53
  spec.extensions = ["ext/shopify-extensions/extconf.rb"]
54
54
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shopify-cli
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.33.0
4
+ version: 2.34.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shopify
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-19 00:00:00.000000000 Z
11
+ date: 2023-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -92,14 +92,14 @@ dependencies:
92
92
  requirements:
93
93
  - - "~>"
94
94
  - !ruby/object:Gem::Version
95
- version: 1.12.1
95
+ version: 1.14.0
96
96
  type: :runtime
97
97
  prerelease: false
98
98
  version_requirements: !ruby/object:Gem::Requirement
99
99
  requirements:
100
100
  - - "~>"
101
101
  - !ruby/object:Gem::Version
102
- version: 1.12.1
102
+ version: 1.14.0
103
103
  description: |
104
104
  Shopify CLI helps you build Shopify apps faster. It quickly scaffolds Node.js
105
105
  and Ruby on Rails embedded apps. It also automates many common tasks in the