alchemy_cms 7.3.3 → 7.3.5

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: 97fc89b86e7ab89f816ad550aaa8ef484c424b93f933ac96799e9da3996b8bd1
4
- data.tar.gz: 12c3e0235a32fb0eb95a5adadb6c364a139c719f981bed352e06ad2ff1b949ef
3
+ metadata.gz: 2ff8fbcb9df4ac1650e6cf5d5db531ed1ff53d0aecef0120e8ce4a7e56ce3317
4
+ data.tar.gz: dbf230b6dc6becd8c21a1243c7fb48f0fe572bbd44e25cf1d99c1b3503bc5073
5
5
  SHA512:
6
- metadata.gz: 7e9e0309e5c80d9ec7f97e67a70beb9079d03333b7b01a5ab6c29ecb538fef8d550616a73e6d474e36c6747d460f1320d6db8851aa4f6542420e07c84ee9fc11
7
- data.tar.gz: 791c757bbf06634a94a4497e61c3c65f64138b7bca3e9d0d3eb100cb25d53e4a5ac8e7d6c4bf66202ee11a53a063eccf2e0462f6d89de11a9a6103f7b8dbe135
6
+ metadata.gz: 2f779c0a2073ed6689a0c28769c547b0b344a8939dbf5571483149fdb55be8e0d21f443a0674cc7a2bde2a987d0c26e7be87be0028e400b57db7259a15f5ffcd
7
+ data.tar.gz: 4beda833c869e3ba9aaeec6e2e1753646021a065e4937819c7c1f2c892212573b6495b7126771cdfdce0cfa22e2272a5be86012a3d9197a905a6f4653f576563
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 7.3.5 (2025-01-24)
4
+
5
+ - [7.3-stable] Prevent redefining 'alchemy-menubar' custom element when using Turbo [#3166](https://github.com/AlchemyCMS/alchemy_cms/pull/3166) ([alchemycms-bot](https://github.com/alchemycms-bot))
6
+ - [7.3-stable] fix attribute sorting across Ruby versions [#3163](https://github.com/AlchemyCMS/alchemy_cms/pull/3163) ([alchemycms-bot](https://github.com/alchemycms-bot))
7
+ - [7.3-stable] fix missing logger issue in github actions [#3158](https://github.com/AlchemyCMS/alchemy_cms/pull/3158) ([alchemycms-bot](https://github.com/alchemycms-bot))
8
+ - [7.3-stable] CI: Set workflow permissions [#3140](https://github.com/AlchemyCMS/alchemy_cms/pull/3140) ([alchemycms-bot](https://github.com/alchemycms-bot))
9
+ - [7.3-stable] Use safe redirect paths in admin redirects [#3137](https://github.com/AlchemyCMS/alchemy_cms/pull/3137) ([tvdeyen](https://github.com/tvdeyen))
10
+ - [7.3-stable] CI: Run actions on ubuntu-22.04 [#3124](https://github.com/AlchemyCMS/alchemy_cms/pull/3124) ([tvdeyen](https://github.com/tvdeyen))
11
+ - [7.3-stable] Fix image_overlay hidden form style [#3111](https://github.com/AlchemyCMS/alchemy_cms/pull/3111) ([tvdeyen](https://github.com/tvdeyen))
12
+ - Fix tinymce fullscreen mode [#3100](https://github.com/AlchemyCMS/alchemy_cms/pull/3100) ([tvdeyen](https://github.com/tvdeyen))
13
+
14
+ ## 7.3.4 (2024-11-18)
15
+
16
+ - [7.3-stable] chore: Fix rubocop styling issues [#3080](https://github.com/AlchemyCMS/alchemy_cms/pull/3080) ([tvdeyen](https://github.com/tvdeyen))
17
+ - [7.3] Fix welcome screen stylesheet [#3078](https://github.com/AlchemyCMS/alchemy_cms/pull/3078) ([tvdeyen](https://github.com/tvdeyen))
18
+
3
19
  ## 7.3.3 (2024-10-15)
4
20
 
5
21
  - [7.3-stable] Fix loading custom properties into Tinymce skin [#3070](https://github.com/AlchemyCMS/alchemy_cms/pull/3070) ([tvdeyen](https://github.com/tvdeyen))
data/Gemfile CHANGED
@@ -31,6 +31,13 @@ group :development, :test do
31
31
  if rails_version == "7.1"
32
32
  gem "actioncable", "~> #{rails_version}.0"
33
33
  end
34
+
35
+ # concurrent-ruby v1.3.5 has removed the dependency on logger,
36
+ # effecting Rails 6.1 up to including 7.0.
37
+ # https://github.com/rails/rails/pull/54264
38
+ if ("6.1".to_f.."7.0".to_f).cover?(rails_version.to_f)
39
+ gem "concurrent-ruby", "< 1.3.5"
40
+ end
34
41
  else
35
42
  gem "launchy"
36
43
  gem "annotate"
@@ -60,3 +67,5 @@ gem "web-console", "~> 4.2", group: :development
60
67
  gem "rails_live_reload", "~> 0.3.5"
61
68
 
62
69
  gem "dartsass-rails", "~> 0.5.0"
70
+
71
+ gem "gem-release", "~> 2.2"
data/README.md CHANGED
@@ -339,24 +339,45 @@ $ bin/start
339
339
 
340
340
  ## 📦 Releasing
341
341
 
342
- ### Bump version
342
+ ### 🤖 Automated (recommended)
343
+
344
+ There is a Rake task that helps you to release a new version of Alchemy.
345
+
346
+ ```bash
347
+ $ bundle exec rake alchemy:release
348
+ ```
349
+
350
+ > [!NOTE]
351
+ > This will release a new patch level
352
+
353
+ If you want to release a new minor or major version you can do so by setting the `VERSION` environment variable accordingly.
354
+
355
+ ```bash
356
+ $ bundle exec rake alchemy:release VERSION=X.Y.Z
357
+ ```
358
+
359
+ ### 👷🏽‍♀️ Manual
360
+
361
+ If something goes wrong with the automated release task you can still release a new version manually.
362
+
363
+ #### 1. Bump version
343
364
 
344
365
  Bump the version number in `lib/alchemy/version.rb`.
345
366
 
346
- ### Update the changelog
367
+ #### 2. Update the changelog
347
368
 
348
369
  ```bash
349
370
  $ export GITHUB_ACCESS_TOKEN=...
350
371
  $ PREVIOUS_VERSION=4.1.0 bundle exec rake alchemy:changelog:update
351
372
  ```
352
373
 
353
- ### Commit version bump
374
+ #### 3. Commit version bump
354
375
 
355
376
  ```bash
356
377
  $ git commit -am "Bump version to vX.Y.Z"
357
378
  ```
358
379
 
359
- ### Release a new version
380
+ #### 4. Release a new version
360
381
 
361
382
  This task will publish the ruby gem.
362
383
  It also tags the latest commit.
data/Rakefile CHANGED
@@ -63,11 +63,16 @@ namespace :alchemy do
63
63
  changes = `git rev-list v#{ENV["PREVIOUS_VERSION"]}..HEAD | bundle exec github_fast_changelog AlchemyCMS/alchemy_cms`.split("\n")
64
64
  changelog = File.read(original_file)
65
65
  File.open(new_file, "w") do |file|
66
+ file.puts "# Changelog"
67
+ file.puts ""
68
+ file.puts "## Unreleased"
69
+ file.puts ""
66
70
  changes.each do |change|
67
71
  next if changelog.include?(change)
68
72
  file.puts change
69
73
  end
70
74
  File.foreach(original_file) do |line|
75
+ next if line.include?("# Changelog")
71
76
  file.puts line
72
77
  end
73
78
  file.puts ""
@@ -77,4 +82,21 @@ namespace :alchemy do
77
82
  File.delete(backup)
78
83
  end
79
84
  end
85
+
86
+ desc "Release a new version of Alchemy to rubygems.org"
87
+ task :release do
88
+ require_relative "lib/alchemy/version"
89
+ ENV["PREVIOUS_VERSION"] = Alchemy::VERSION
90
+ system("bundle exec gem bump --version #{ENV.fetch("VERSION", "patch")}")
91
+ load "./lib/alchemy/version.rb"
92
+ new_version = Alchemy::VERSION
93
+ Rake::Task["alchemy:changelog:update"].invoke
94
+ changelog = File.read("CHANGELOG.md").gsub(/(##) Unreleased/, "## #{new_version} (#{Time.now.strftime("%Y-%m-%d")})")
95
+ File.open("CHANGELOG.md", "w") { |file| file.puts changelog }
96
+ system("git add CHANGELOG.md")
97
+ system("git commit --amend --no-edit")
98
+ system("gem tag")
99
+ Rake::Task["release"].invoke
100
+ system("git push --follow-tags")
101
+ end
80
102
  end