Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't add CHANGELOG offenses to "no changes" line
- Loading branch information
1 parent
e5386cb
commit 087dfd9
Showing
3 changed files
with
58 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
## Rails 7.1.0.rc1 (September 13, 2023) ## | ||
|
||
* No changes. | ||
|
||
|
||
## Rails 7.1.0.beta1 (September 13, 2023) ## | ||
|
||
* Fix `simple_format` with blank `wrapper_tag` option returns plain html tag | ||
|
||
By default `simple_format` method returns the text wrapped with `<p>`. But if we explicitly specify | ||
the `wrapper_tag: nil` in the options, it returns the text wrapped with `<></>` tag. | ||
|
||
Before: | ||
|
||
```ruby | ||
simple_format("Hello World", {}, { wrapper_tag: nil }) | ||
# <>Hello World</> | ||
``` | ||
|
||
After: | ||
|
||
```ruby | ||
simple_format("Hello World", {}, { wrapper_tag: nil }) | ||
# <p>Hello World</p> | ||
``` | ||
|
||
*Akhil G Krishnan*, *Junichi Ito* | ||
|
||
* Don't double-encode nested `field_id` and `field_name` index values | ||
|
||
Pass `index: @options` as a default keyword argument to `field_id` and | ||
`field_name` view helper methods. | ||
|
||
*Sean Doyle* | ||
|
||
* Allow opting in/out of `Link preload` headers when calling `stylesheet_link_tag` or `javascript_include_tag` | ||
|
||
```ruby | ||
# will exclude header, even if setting is enabled: | ||
javascript_include_tag("http://example.com/all.js", preload_links_header: false) | ||
|
||
# will include header, even if setting is disabled: | ||
stylesheet_link_tag("http://example.com/all.js", preload_links_header: true) | ||
``` | ||
|
||
*Alex Ghiculescu* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters