Skip to content

Commit 458281b

Browse files
authored
Merge pull request #2626 from ViewComponent/release-4-9-0
release 4.9.0
2 parents 9a4bac9 + 5eea779 commit 458281b

9 files changed

Lines changed: 17 additions & 9 deletions

File tree

Gemfile.lock

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
view_component (4.8.0)
4+
view_component (4.9.0)
55
actionview (>= 7.1.0)
66
activesupport (>= 7.1.0)
77
concurrent-ruby (~> 1)
@@ -184,6 +184,7 @@ GEM
184184
matrix (0.4.3)
185185
method_source (1.1.0)
186186
mini_mime (1.1.5)
187+
mini_portile2 (2.8.9)
187188
minitest (6.0.6)
188189
drb (~> 2.0)
189190
prism (~> 1.5)
@@ -198,6 +199,9 @@ GEM
198199
net-smtp (0.5.1)
199200
net-protocol
200201
nio4r (2.7.5)
202+
nokogiri (1.19.3)
203+
mini_portile2 (~> 2.8.2)
204+
racc (~> 1.4)
201205
nokogiri (1.19.3-aarch64-linux-gnu)
202206
racc (~> 1.4)
203207
nokogiri (1.19.3-aarch64-linux-musl)
@@ -529,13 +533,15 @@ CHECKSUMS
529533
matrix (0.4.3) sha256=a0d5ab7ddcc1973ff690ab361b67f359acbb16958d1dc072b8b956a286564c5b
530534
method_source (1.1.0) sha256=181301c9c45b731b4769bc81e8860e72f9161ad7d66dd99103c9ab84f560f5c5
531535
mini_mime (1.1.5) sha256=8681b7e2e4215f2a159f9400b5816d85e9d8c6c6b491e96a12797e798f8bccef
536+
mini_portile2 (2.8.9) sha256=0cd7c7f824e010c072e33f68bc02d85a00aeb6fce05bb4819c03dfd3c140c289
532537
minitest (6.0.6) sha256=153ea36d1d987a62942382b61075745042a2b3123b1cd48f4c3675af9cc7d6f1
533538
minitest-mock (5.27.0) sha256=7040ed7185417a966920987eaa6eaf1be4ea1fc5b25bb03ff4703f98564a55b0
534539
net-imap (0.6.4) sha256=9a5598c67a3022c284d98430ef1d4948e7dbdb62596f61081ea8ca933270a02b
535540
net-pop (0.1.2) sha256=848b4e982013c15b2f0382792268763b748cce91c9e91e36b0f27ed26420dff3
536541
net-protocol (0.2.2) sha256=aa73e0cba6a125369de9837b8d8ef82a61849360eba0521900e2c3713aa162a8
537542
net-smtp (0.5.1) sha256=ed96a0af63c524fceb4b29b0d352195c30d82dd916a42f03c62a3a70e5b70736
538543
nio4r (2.7.5) sha256=6c90168e48fb5f8e768419c93abb94ba2b892a1d0602cb06eef16d8b7df1dca1
544+
nokogiri (1.19.3) sha256=78312cbac32a40c812780d9678221b79d51288eec00054c1a8d15f7ce05960e8
539545
nokogiri (1.19.3-aarch64-linux-gnu) sha256=46b89e5d7b9e844c2ee360794240c6ea2a4e6fa0c5892a4ed487db621224b639
540546
nokogiri (1.19.3-aarch64-linux-musl) sha256=8392dfdcd21be7a94dbbe9ccc138dea01b97b24cb2dc02a114ca98bfb1d9a0b7
541547
nokogiri (1.19.3-arm-linux-gnu) sha256=3919d5ffc334ad778a4a9eb88fda7dcb8b1fb58c8a52ac640c6dcd2f038e774f
@@ -616,7 +622,7 @@ CHECKSUMS
616622
unicode-emoji (4.2.0) sha256=519e69150f75652e40bf736106cfbc8f0f73aa3fb6a65afe62fefa7f80b0f80f
617623
uri (1.1.1) sha256=379fa58d27ffb1387eaada68c749d1426738bd0f654d812fcc07e7568f5c57c6
618624
useragent (0.16.11) sha256=700e6413ad4bb954bb63547fa098dddf7b0ebe75b40cc6f93b8d54255b173844
619-
view_component (4.8.0)
625+
view_component (4.9.0)
620626
warning (1.5.0) sha256=0f12c49fea0c06757778eefdcc7771e4fd99308901e3d55c504d87afdd718c53
621627
webrick (1.9.2) sha256=beb4a15fc474defed24a3bda4ffd88a490d517c9e4e6118c3edce59e45864131
622628
websocket (1.2.11) sha256=b7e7a74e2410b5e85c25858b26b3322f29161e300935f70a0e0d3c35e0462737

docs/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ nav_order: 6
1010

1111
## main
1212

13+
## 4.9.0
14+
1315
* Fix path traversal vulnerability in `ViewComponentsSystemTestController` where sibling directories sharing a string prefix with the allowed temp directory could bypass the path containment check. The `start_with?` check has been replaced with a separator-aware prefix check, and nefarious path errors now return a 404 instead of an unhandled exception.
1416

1517
*Joel Hawksley*

docs/_data/library.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
version: 4.8.0
1+
version: 4.9.0

gemfiles/rails_7.1.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
view_component (4.8.0)
4+
view_component (4.9.0)
55
actionview (>= 7.1.0)
66
activesupport (>= 7.1.0)
77
concurrent-ruby (~> 1)

gemfiles/rails_7.2.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
view_component (4.8.0)
4+
view_component (4.9.0)
55
actionview (>= 7.1.0)
66
activesupport (>= 7.1.0)
77
concurrent-ruby (~> 1)

gemfiles/rails_8.0.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
view_component (4.8.0)
4+
view_component (4.9.0)
55
actionview (>= 7.1.0)
66
activesupport (>= 7.1.0)
77
concurrent-ruby (~> 1)

gemfiles/rails_8.1.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: ..
33
specs:
4-
view_component (4.8.0)
4+
view_component (4.9.0)
55
actionview (>= 7.1.0)
66
activesupport (>= 7.1.0)
77
concurrent-ruby (~> 1)

gemfiles/rails_main.gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ GIT
110110
PATH
111111
remote: ..
112112
specs:
113-
view_component (4.8.0)
113+
view_component (4.9.0)
114114
actionview (>= 7.1.0)
115115
activesupport (>= 7.1.0)
116116
concurrent-ruby (~> 1)

lib/view_component/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module ViewComponent
44
module VERSION
55
MAJOR = 4
6-
MINOR = 8
6+
MINOR = 9
77
PATCH = 0
88
PRE = nil
99

0 commit comments

Comments
 (0)