@@ -173,32 +173,30 @@ New Features or Behavior Changes
173
173
174
174
If you're documenting a brand new feature or a change that's been made in
175
175
Symfony, you should precede your description of the change with a
176
- ``.. versionadded:: 2.X `` directive and a short description:
176
+ ``.. versionadded:: 3.x `` directive and a short description:
177
177
178
178
.. code-block :: rst
179
179
180
- .. versionadded:: 2.7
180
+ .. versionadded:: 3.4
181
181
182
- The ``askHiddenResponse()`` method was introduced in Symfony 2.7.
183
-
184
- You can also ask a question and hide the response. This is particularly [...]
182
+ The special ``!`` template prefix was introduced in Symfony 3.4.
185
183
186
184
If you're documenting a behavior change, it may be helpful to *briefly * describe
187
185
how the behavior has changed:
188
186
189
187
.. code-block :: rst
190
188
191
- .. versionadded:: 2.7
189
+ .. versionadded:: 3.4
192
190
193
- The ``include()`` function is a new Twig feature that's available in
194
- Symfony 2.7 . Prior, the ``{% include %}`` tag was used .
191
+ Support for annotation routing without an external bundle was added in
192
+ Symfony 3.4 . Prior, you needed to install the SensioFrameworkExtraBundle .
195
193
196
- Whenever a new minor version of Symfony is released (e.g. 2.4, 2.5 , etc),
194
+ Whenever a new major version of Symfony is released (e.g. 3.0, 4.0 , etc),
197
195
a new branch of the documentation is created from the ``master `` branch.
198
196
At this point, all the ``versionadded `` tags for Symfony versions that have
199
- reached end-of-maintenance will be removed. For example, if Symfony 2.5 were
200
- released today, and 2.2 had recently reached its end-of-maintenance, the 2.2
201
- ``versionadded `` tags would be removed from the new `` 2.5 `` branch.
197
+ a lower major version will be removed. For example, if Symfony 4.0 were
198
+ released today, 3.0 to 3.4 `` versionadded `` tags would be removed from the new
199
+ ``4.0 `` branch.
202
200
203
201
.. _reStructuredText : http://docutils.sourceforge.net/rst.html
204
202
.. _Sphinx : http://sphinx-doc.org/
0 commit comments