aboutsummaryrefslogtreecommitdiffstats
path: root/railties/CHANGELOG.md
blob: d05c3cccc2e2069a3a40deb62cacdf58abf1586d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
## Rails 5.2.0.beta1 (November 27, 2017) ##

*   Deprecate `after_bundle` callback in Rails plugin templates.

    *Yuji Yaginuma*

*   `rails new` and `rails plugin new` get `Active Storage` by default.
     Add ability to skip `Active Storage` with `--skip-active-storage`
     and do so automatically when `--skip-active-record` is used.

    *bogdanvlviv*

*   Gemfile for new apps: upgrade redis-rb from ~> 3.0 to 4.0.

    *Jeremy Daer*

*   Add `mini_magick` to default `Gemfile` as comment.

    *Yoshiyuki Hirano*

*   Derive `secret_key_base` from the app name in development and test environments.

    Spares away needless secret configs.

    *DHH*, *Kasper Timm Hansen*

*   Support multiple versions arguments for `gem` method of Generators.

    *Yoshiyuki Hirano*

*   Add `--skip-yarn` option to the plugin generator.

    *bogdanvlviv*

*   Optimize routes indentation.

    *Yoshiyuki Hirano*

*   Optimize indentation for generator actions.

    *Yoshiyuki Hirano*

*   Skip unused components when running `bin/rails` in Rails plugin.

    *Yoshiyuki Hirano*

*   Add `git_source` to `Gemfile` for plugin generator.

    *Yoshiyuki Hirano*

*   Add `--skip-action-cable` option to the plugin generator.

    *bogdanvlviv*

*   Deprecate support of use `Rails::Application` subclass to start Rails server.

    *Yuji Yaginuma*

*   Add `ruby x.x.x` version to `Gemfile` and create `.ruby-version`
    root file containing the current Ruby version when new Rails applications are
    created.

    *Alberto Almagro*

*   Support `-` as a platform-agnostic way to run a script from stdin with
    `rails runner`

    *Cody Cutrer*

*   Add `bootsnap` to default `Gemfile`.

    *Burke Libbey*

*   Properly expand shortcuts for environment's name running the `console`
    and `dbconsole` commands.

    *Robin Dupret*

*   Passing the environment's name as a regular argument to the
    `rails dbconsole` and `rails console` commands is deprecated.
    The `-e` option should be used instead.

    Previously:

        $ bin/rails dbconsole production

    Now:

        $ bin/rails dbconsole -e production

    *Robin Dupret*, *Kasper Timm Hansen*

*   Allow passing a custom connection name to the `rails dbconsole`
    command when using a 3-level database configuration.

        $ bin/rails dbconsole -c replica

    *Robin Dupret*, *Jeremy Daer*

*   Skip unused components when running `bin/rails app:update`.

    If the initial app generation skipped Action Cable, Active Record etc.,
    the update task honors those skips too.

    *Yuji Yaginuma*

*   Make Rails' test runner work better with minitest plugins.

    By demoting the Rails test runner to just another minitest plugin —
    and thereby not eager loading it — we can co-exist much better with
    other minitest plugins such as pride and minitest-focus.

    *Kasper Timm Hansen*

*   Load environment file in `dbconsole` command.

    Fixes #29717.

    *Yuji Yaginuma*

*   Add `rails secrets:show` command.

    *Yuji Yaginuma*

*   Allow mounting the same engine several times in different locations.

    Fixes #20204.

    *David Rodríguez*

*   Clear screenshot files in `tmp:clear` task.

    *Yuji Yaginuma*

*   Add `railtie.rb` to the plugin generator

    *Tsukuru Tanimichi*

*   Deprecate `capify!` method in generators and templates.

    *Yuji Yaginuma*

*   Allow irb options to be passed from `rails console` command.

    Fixes #28988.

    *Yuji Yaginuma*

*   Added a shared section to `config/database.yml` that will be loaded for all environments.

    *Pierre Schambacher*

*   Namespace error pages' CSS selectors to stop the styles from bleeding into other pages
    when using Turbolinks.

    *Jan Krutisch*


Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/railties/CHANGELOG.md) for previous changes.