railties 8.1.0 → 8.1.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad8da0555d797f82b2d0201539e2b87d71a4a034693160ce5f1a695bb2fba206
4
- data.tar.gz: 7141209b64c173556b4e68710077f2020a0e4d1f78849f189b618ae5aadf0323
3
+ metadata.gz: ad06383ebe43275c8480b20d685bb24fdc80aa69a356d1993ab326cc2e02af20
4
+ data.tar.gz: f99ebe1113417a9c4fb9e29799ded20ffb610aabccacb115d0736ebc0978dfa0
5
5
  SHA512:
6
- metadata.gz: eb16ac913da82747b4d06e8c7578ccc830219010f1ef5846305f2f6640a84f08df45f191f76899b6449d7dd85903a7e89f236b33cb8c83daef7f46863f86cf6f
7
- data.tar.gz: badbe8ab05d917deed317baf5d1b8adbb339c95ed6bd0ea01f13c6d61ff41d270e49b27624d0d27f94625bb26466f141506638b44c6e2936b5b99d281f748fb5
6
+ metadata.gz: 0473b71e3c66b2eb9674b8b94ff40b6a353665d9a9d2f1f7fe972b8dcc944061ce4410571456f89e9aed3f55b2b5dc5b8f9a79a90cf3966f714932b5a49f3440
7
+ data.tar.gz: 80338fca595869f2068f85dabea6b910f958b1f7083c4675ab9a31df04a958c4e73c12f7de91f8749d30f11a3fffc335c33f8ce9d9318aac86e6f3a9b9ff647f
data/CHANGELOG.md CHANGED
@@ -1,3 +1,11 @@
1
+ ## Rails 8.1.1 (October 28, 2025) ##
2
+
3
+ * Do not assume and force SSL in production by default when using Kamal, to allow for out of the box Kamal deployments.
4
+
5
+ It is still recommended to assume and force SSL in production as soon as you can.
6
+
7
+ *Jerome Dalbert*
8
+
1
9
  ## Rails 8.1.0 (October 22, 2025) ##
2
10
 
3
11
  * Suggest `bin/rails action_text:install` from Action Dispatch error page
@@ -9,7 +9,7 @@ module Rails
9
9
  module VERSION
10
10
  MAJOR = 8
11
11
  MINOR = 1
12
- TINY = 0
12
+ TINY = 1
13
13
  PRE = nil
14
14
 
15
15
  STRING = [MAJOR, MINOR, TINY, PRE].compact.join(".")
@@ -18,14 +18,16 @@ CI.run do
18
18
  <% unless options.skip_brakeman? -%>
19
19
  step "Security: Brakeman code analysis", "bin/brakeman --quiet --no-pager --exit-on-warn --exit-on-error"
20
20
  <% end -%>
21
+ <% unless options[:skip_test] -%>
21
22
  <% if options[:api] || options[:skip_system_test] -%>
22
23
  step "Tests: Rails", "bin/rails test"
23
24
  <% else %>
24
25
  step "Tests: Rails", "bin/rails test"
25
26
  step "Tests: System", "bin/rails test:system"
26
27
  <% end -%>
27
- <% unless options.skip_active_record? -%>
28
+ <% unless options.skip_active_record? -%>
28
29
  step "Tests: Seeds", "env RAILS_ENV=test bin/rails db:seed:replant"
30
+ <% end -%>
29
31
  <% end -%>
30
32
 
31
33
  # Optional: set a green GitHub commit status to unblock PR merge.
@@ -14,9 +14,12 @@ servers:
14
14
  # cmd: bin/jobs
15
15
 
16
16
  # Enable SSL auto certification via Let's Encrypt and allow for multiple apps on a single web server.
17
- # Remove this section when using multiple web servers and ensure you terminate SSL at your load balancer.
17
+ # If used with Cloudflare, set encryption mode in SSL/TLS setting to "Full" to enable CF-to-app encryption.
18
+ #
19
+ # Using an SSL proxy like this requires turning on config.assume_ssl and config.force_ssl in production.rb!
20
+ #
21
+ # Don't use this when deploying to multiple web servers (then you have to terminate SSL at your load balancer).
18
22
  #
19
- # Note: If using Cloudflare, set encryption mode in SSL/TLS setting to "Full" to enable CF-to-app encryption.
20
23
  # proxy:
21
24
  # ssl: true
22
25
  # host: app.example.com
@@ -29,10 +29,18 @@ Rails.application.configure do
29
29
 
30
30
  <%- end -%>
31
31
  # Assume all access to the app is happening through a SSL-terminating reverse proxy.
32
+ <%- if skip_kamal? -%>
32
33
  config.assume_ssl = true
34
+ <%- else -%>
35
+ # config.assume_ssl = true
36
+ <%- end -%>
33
37
 
34
38
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
39
+ <%- if skip_kamal? -%>
35
40
  config.force_ssl = true
41
+ <%- else -%>
42
+ # config.force_ssl = true
43
+ <%- end -%>
36
44
 
37
45
  # Skip http-to-https redirect for the default health check endpoint.
38
46
  # config.ssl_options = { redirect: { exclude: ->(request) { request.path == "/up" } } }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: railties
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.1.0
4
+ version: 8.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
@@ -15,28 +15,28 @@ dependencies:
15
15
  requirements:
16
16
  - - '='
17
17
  - !ruby/object:Gem::Version
18
- version: 8.1.0
18
+ version: 8.1.1
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - '='
24
24
  - !ruby/object:Gem::Version
25
- version: 8.1.0
25
+ version: 8.1.1
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: actionpack
28
28
  requirement: !ruby/object:Gem::Requirement
29
29
  requirements:
30
30
  - - '='
31
31
  - !ruby/object:Gem::Version
32
- version: 8.1.0
32
+ version: 8.1.1
33
33
  type: :runtime
34
34
  prerelease: false
35
35
  version_requirements: !ruby/object:Gem::Requirement
36
36
  requirements:
37
37
  - - '='
38
38
  - !ruby/object:Gem::Version
39
- version: 8.1.0
39
+ version: 8.1.1
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: rackup
42
42
  requirement: !ruby/object:Gem::Requirement
@@ -133,14 +133,14 @@ dependencies:
133
133
  requirements:
134
134
  - - '='
135
135
  - !ruby/object:Gem::Version
136
- version: 8.1.0
136
+ version: 8.1.1
137
137
  type: :development
138
138
  prerelease: false
139
139
  version_requirements: !ruby/object:Gem::Requirement
140
140
  requirements:
141
141
  - - '='
142
142
  - !ruby/object:Gem::Version
143
- version: 8.1.0
143
+ version: 8.1.1
144
144
  description: 'Rails internals: application bootup, plugins, generators, and rake tasks.'
145
145
  email: david@loudthinking.com
146
146
  executables:
@@ -508,10 +508,10 @@ licenses:
508
508
  - MIT
509
509
  metadata:
510
510
  bug_tracker_uri: https://github.com/rails/rails/issues
511
- changelog_uri: https://github.com/rails/rails/blob/v8.1.0/railties/CHANGELOG.md
512
- documentation_uri: https://api.rubyonrails.org/v8.1.0/
511
+ changelog_uri: https://github.com/rails/rails/blob/v8.1.1/railties/CHANGELOG.md
512
+ documentation_uri: https://api.rubyonrails.org/v8.1.1/
513
513
  mailing_list_uri: https://discuss.rubyonrails.org/c/rubyonrails-talk
514
- source_code_uri: https://github.com/rails/rails/tree/v8.1.0/railties
514
+ source_code_uri: https://github.com/rails/rails/tree/v8.1.1/railties
515
515
  rubygems_mfa_required: 'true'
516
516
  rdoc_options:
517
517
  - "--exclude"