Skip to content

Commit 4958c2d

Browse files
author
Christoph Krapp
committed
[FrameworkBundle] Allow UUID v7 in uid configuration
1 parent 1f83ce7 commit 4958c2d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/Symfony/Bundle/FrameworkBundle/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ CHANGELOG
44
6.2
55
---
66

7+
* Add support for UUID v7 as default uuid version
78
* Add `resolve-env` option to `debug:config` command to display actual values of environment variables in dumped configuration
89
* Add `NotificationAssertionsTrait`
910
* Add option `framework.handle_all_throwables` to allow `Symfony\Component\HttpKernel\HttpKernel` to handle all kinds of `Throwable`

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2132,7 +2132,7 @@ private function addUidSection(ArrayNodeDefinition $rootNode, callable $enableIf
21322132
->children()
21332133
->enumNode('default_uuid_version')
21342134
->defaultValue(6)
2135-
->values([6, 4, 1])
2135+
->values([7, 6, 4, 1])
21362136
->end()
21372137
->enumNode('name_based_uuid_version')
21382138
->defaultValue(5)
@@ -2143,7 +2143,7 @@ private function addUidSection(ArrayNodeDefinition $rootNode, callable $enableIf
21432143
->end()
21442144
->enumNode('time_based_uuid_version')
21452145
->defaultValue(6)
2146-
->values([6, 1])
2146+
->values([7, 6, 1])
21472147
->end()
21482148
->scalarNode('time_based_uuid_node')
21492149
->cannotBeEmpty()

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy