Thanks to visit codestin.com
Credit goes to github.com

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

+1
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

+2-2
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)