aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/5_2_release_notes.md
blob: eb361e200a0a4a65369e1d1417cff843cdfd6105 (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
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
**DO NOT READ THIS FILE ON GITHUB, GUIDES ARE PUBLISHED ON http://guides.rubyonrails.org.**

Ruby on Rails 5.2 Release Notes
===============================

Highlights in Rails 5.2:

* Active Storage
* Redis Cache Store
* HTTP/2 Early hints support
* Credentials
* Default Content Security Policy

These release notes cover only the major changes. To learn about various bug
fixes and changes, please refer to the change logs or check out the [list of
commits](https://github.com/rails/rails/commits/5-2-stable) in the main Rails
repository on GitHub.

--------------------------------------------------------------------------------

Upgrading to Rails 5.2
----------------------

If you're upgrading an existing application, it's a great idea to have good test
coverage before going in. You should also first upgrade to Rails 5.1 in case you
haven't and make sure your application still runs as expected before attempting
an update to Rails 5.2.


Major Features
--------------

### Active Storage

[README](https://github.com/rails/rails/blob/d3893ec38ec61282c2598b01a298124356d6b35a/activestorage/README.md)

### Redis Cache Store

[Pull Request](https://github.com/rails/rails/pull/31134)


### HTTP/2 Early hints support

[Pull Request](https://github.com/rails/rails/pull/30744)


### Credentials

[Pull Request](https://github.com/rails/rails/pull/30067)


### Default Content Security Policy

[Pull Request](https://github.com/rails/rails/pull/31162)

Incompatibilities
-----------------

ToDo

Railties
--------

Please refer to the [Changelog][railties] for detailed changes.

### Removals

ToDo

### Notable changes

ToDo

Action Cable
-----------

Please refer to the [Changelog][action-cable] for detailed changes.

### Notable changes

ToDo

Action Pack
-----------

Please refer to the [Changelog][action-pack] for detailed changes.

### Removals

ToDo

### Deprecations

ToDo

### Notable changes

ToDo

Action View
-------------

Please refer to the [Changelog][action-view] for detailed changes.

### Removals

ToDo

### Deprecations

ToDo

### Notable changes

ToDo

Action Mailer
-------------

Please refer to the [Changelog][action-mailer] for detailed changes.

### Notable changes

ToDo

Active Record
-------------

Please refer to the [Changelog][active-record] for detailed changes.

ToDo

### Deprecations

ToDo

### Notable changes

ToDo

Active Model
------------

Please refer to the [Changelog][active-model] for detailed changes.

### Removals

ToDo

### Notable changes

ToDo

Active Storage
--------------

Please refer to the [Changelog][active-support] for detailed changes.

### Notable changes

ToDo

Active Support
--------------

Please refer to the [Changelog][active-support] for detailed changes.

### Removals

ToDo

### Deprecations

ToDo

### Notable changes

ToDo

Active Job
-----------

Please refer to the [Changelog][active-job] for detailed changes.

### Removals

ToDo

### Notable changes

ToDo

Credits
-------

See the
[full list of contributors to Rails](http://contributors.rubyonrails.org/) for
the many people who spent many hours making Rails, the stable and robust
framework it is. Kudos to all of them.

[railties]:       https://github.com/rails/rails/blob/5-2-stable/railties/CHANGELOG.md
[action-pack]:    https://github.com/rails/rails/blob/5-2-stable/actionpack/CHANGELOG.md
[action-view]:    https://github.com/rails/rails/blob/5-2-stable/actionview/CHANGELOG.md
[action-mailer]:  https://github.com/rails/rails/blob/5-2-stable/actionmailer/CHANGELOG.md
[action-cable]:   https://github.com/rails/rails/blob/5-2-stable/actioncable/CHANGELOG.md
[active-record]:  https://github.com/rails/rails/blob/5-2-stable/activerecord/CHANGELOG.md
[active-model]:   https://github.com/rails/rails/blob/5-2-stable/activemodel/CHANGELOG.md
[active-storage]: https://github.com/rails/rails/blob/5-2-stable/activestorage/CHANGELOG.md
[active-support]: https://github.com/rails/rails/blob/5-2-stable/activesupport/CHANGELOG.md
[active-job]:     https://github.com/rails/rails/blob/5-2-stable/activejob/CHANGELOG.md