8000 --- · githubfromgui/symfony-docs@4014ede · GitHub
[go: up one dir, main page]

Skip to content

Commit 4014ede

Browse files
committed
---
yaml --- r: 73429 b: refs/heads/5.x c: 6166cfa h: refs/heads/5.x i: 73427: 77d3ca0
1 parent a42eb7b commit 4014ede

File tree

97 files changed

+1756
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+1756
-64
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,4 +92,4 @@ refs/heads/3.3: 93587037fef6a2f40e0cbdea41754e1e76255fe6
9292
refs/heads/weaverryan-patch-1: a52aee3dceba3357dd59558677811a2ff86d1357
9393
refs/heads/4.0: e887a8b5e5d102235545837506f1d4e883f051a5
9494
refs/heads/4.1: 67f3845bc17a81379c609af1944099706e5b429e
95-
refs/heads/5.x: f2623c53604cfe7773389a2626544ece7226ad3f
95+
refs/heads/5.x: 6166cfab85402876e9f50a0f7837868fbe027a86

trunk/bundles/configuration.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,10 @@ The ``Configuration`` class to handle the sample configuration looks like::
197197
}
198198
}
199199

200+
.. deprecated:: 4.2
201+
202+
Not passing the root node name to ``TreeBuilder`` was deprecated in Symfony 4.2.
203+
200204
.. seealso::
201205

202206
The ``Configuration`` class can be much more complicated than shown here,

trunk/cache.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ Basic uses of the cache looks like this::
3030
Symfony supports the Cache Contracts, PSR-6/16 and Doctrine Cache interfaces.
3131
You can read more about these at the :doc:`component documentation </components/cache>`.
3232

33+
.. versionadded:: 4.2
34+
35+
The cache contracts were introduced in Symfony 4.2.
36+
3337
.. _cache-configuration-with-frameworkbundle:
3438

3539
Configuring Cache with FrameworkBundle
@@ -625,6 +629,10 @@ To see all available cache pools:
625629
626630
$ php bin/console cache:pool:list
627631
632+
.. versionadded:: 4.3
633+
634+
The ``cache:pool:list`` command was introduced in Symfony 4.3.
635+
628636
Clear one pool:
629637

630638
.. code-block:: terminal

trunk/components/cache/adapters/memcached_adapter.rst

+4Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ helper method allows creating and configuring a `Memcached`_ class instance usin
7070
'memcached:?host[localhost]&host[localhost:12345]&host[/some/memcached.sock:]=3'
7171
);
7272

73+
.. versionadded:: 4.2
74+
75+
The option to define multiple servers in a single DSN was introduced in Symfony 4.2.
76+
7377
The `Data Source Name (DSN)`_ for this adapter must use the following format:
7478

7579
.. code-block:: text

trunk/components/cache/adapters/redis_adapter.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,14 @@ name of your service group::
102102
'redis:?host[redis1:26379]&host[redis2:26379]&host[redis3:26379]&redis_sentinel=mymaster'
103103
);
104104

105+
.. versionadded:: 4.2
106+
107+
The option to define multiple servers in a single DSN was introduced in Symfony 4.2.
108+
109+
.. versionadded:: 4.4
110+
111+
Redis Sentinel support was introduced in Symfony 4.4.
112+
105113
.. note::
106114

107115
See the :class:`Symfony\\Component\\Cache\\Traits\\RedisTrait` for more options

trunk/components/cache/psr6_psr16_adapters.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ this use-case::
4646
// now use this wherever you want
4747
$githubApiClient = new GitHubApiClient($psr6Cache);
4848

49+
.. versionadded:: 4.3
50+
51+
The ``Psr16Adapter`` class was introduced in Symfony 4.3.
52+
4953
Using a PSR-6 Cache Object as a PSR-16 Cache
5054
--------------------------------------------
5155

@@ -83,4 +87,8 @@ this use-case::
8387
// now use this wherever you want
8488
$githubApiClient = new GitHubApiClient($psr16Cache);
8589

90+
.. versionadded:: 4.3
91+
92+
The ``Psr16Cache`` class was introduced in Symfony 4.3.
93+
8694
.. _`PSR-16`: http://www.php-fig.org/psr/psr-16/

trunk/components/config/definition.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,10 @@ implements the :class:`Symfony\\Component\\Config\\Definition\\ConfigurationInte
6868
}
6969
}
7070

71+
.. deprecated:: 4.2
72+
73+
Not passing the root node name to ``TreeBuilder`` was deprecated in Symfony 4.2.
74+
7175
Adding Node Definitions to the Tree
7276
-----------------------------------
7377

trunk/components/console/helpers/progressbar.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ If ``$iterable = [1, 2]``, the previous code will output the following:
118118
1/2 [==============>-------------] 50%
119119
2/2 [============================] 100%
120120
121+
.. versionadded:: 4.3
122+
123+
The ``iterate()`` method was introduced in Symfony 4.3.
124+
121125
Customizing the Progress Bar
122126
----------------------------
123127

trunk/components/console/helpers/questionhelper.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,10 @@ provide a callback function to dynamically generate suggestions::
212212
$filePath = $helper->ask($input, $output, $question);
213213
}
214214

215+
.. versionadded:: 4.3
216+
217+
The ``setAutocompleterCallback()`` method was introduced in Symfony 4.3.
218+
215219
Hiding the User's Response
216220
~~~~~~~~~~~~~~~~~~~~~~~~~~
217221

trunk/components/dom_crawler.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,10 @@ tree.
7777
The DomCrawler component will use it automatically when the content has
7878
an HTML5 doctype.
7979

80+
.. versionadded:: 4.3
81+
82+
The automatic support of the html5-php library was introduced in Symfony 4.3.
83+
8084
Node Filtering
8185
~~~~~~~~~~~~~~
8286

@@ -212,6 +216,10 @@ Access the value of the first node of the current selection::
212216
// avoid the exception passing an argument that text() returns when node does not exist
213217
$message = $crawler->filterXPath('//body/p')->text('Default text content');
214218

219+
.. versionadded:: 4.3
220+
221+
The default argument of ``text()`` was introduced in Symfony 4.3.
222+
215223
Access the attribute value of the first node of the current selection::
216224

217225
$class = $crawler->filterXPath('//body/p')->attr('class');
@@ -228,6 +236,10 @@ Extract attribute and/or node values from the list of nodes::
228236
Special attribute ``_text`` represents a node value, while ``_name``
229237
represents the element name (the HTML tag name).
230238

239+
.. versionadded:: 4.3
240+
241+
The special attribute ``_name`` was introduced in Symfony 4.3.
242+
231243
Call an anonymous function on each node of the list::
232244

233245
use Symfony\Component\DomCrawler\Crawler;
@@ -321,6 +333,10 @@ and :phpclass:`DOMNode` objects::
321333
// avoid the exception passing an argument that html() returns when node does not exist
322334
$html = $crawler->html('Default <strong>HTML</strong> content');
323335

336+
.. versionadded:: 4.3
337+
338+
The default argument of ``html()`` was introduced in Symfony 4.3.
339+
324340
Expression Evaluation
325341
~~~~~~~~~~~~~~~~~~~~~
326342

0 commit comments

Comments
 (0)
0