Slide 1

Slide 1 text

Symfony User Group Köln What's new in Symfony 6.1 Denis Brumann @dbrumann Christian Flothmann @xabbuh powered by

Slide 2

Slide 2 text

Christian Flothmann @xabbuh [email protected] Wer sind wir?

Slide 3

Slide 3 text

Denis Brumann @dbrumann [email protected] Wer sind wir?

Slide 4

Slide 4 text

Asset BrowserKit Cache Console Config DependencyInjection ErrorHandler ExpressionLanguage Finder Form FrameworkBundle HtmlSanitizer HttpClient HttpFoundation HttpKernel Ldap Lock Mailer Messenger Mime Notifier PhpUnitBridge PropertyInfo Routing Security Serializer Translation TwigBundle Validator Yaml

Slide 5

Slide 5 text

First Contribution @norbertschultheisz @mjpvandenberg @sbelyshkin @ecourtial @mytuny @remilemonnier @chapterjason @jannick-holm @dmitryuk @angelov @bitgandtter @mondrake and many more…

Slide 6

Slide 6 text

PHP 8.1 youtu.be/6JeDBRx8QIs Allgemein

Slide 7

Slide 7 text

Allgemein Requiring the "symfony/symfony" package is deprecated Replace it with standalone components instead. #45563 @nicolas-grekas

Slide 8

Slide 8 text

Cache #42997 @sbelyshkin Improve reliability & performance of TagAwareAdapter by making versions integral part of item value.

Slide 9

Slide 9 text

Cache Adds a new command: cache:pool:invalidate-tags #44692 @kbond

Slide 10

Slide 10 text

Console Deprecate properties $defaultName and $defaultDescription #45361 @derrabus

Slide 11

Slide 11 text

Console Add autocompletion for fish shell #43641 @guillaume-a bin/console completion fish :> ~/.config/fish/completions/sf_console.fish

Slide 12

Slide 12 text

DI Adds #[MapDecorated] and #[AsDecorator] attributes #46112 @chalasar #45834 @Jean-Beru

Slide 13

Slide 13 text

DI

Slide 14

Slide 14 text

DI Expressions as service factories #45512 @nicolas-grekas

Slide 15

Slide 15 text

DI #[Autowire] #45657 & #45783 @kbond

Slide 16

Slide 16 text

DI Add exclude to TaggedIterator and TaggedLocator #44774 @ruudk

Slide 17

Slide 17 text

Expression Language Add support for null-safe operator #45795 @mytuny

Slide 18

Slide 18 text

No content

Slide 19

Slide 19 text

Expression Language Add some more operators #45912 @fabpot

Slide 20

Slide 20 text

Form Add prototype_options to CollectionType #45605 @michaelKaefer

Slide 21

Slide 21 text

HtmlSanitizer New component #44681 @tgalopin

Slide 22

Slide 22 text

No content

Slide 23

Slide 23 text

HtmlSanitizer #44681 @tgalopin

Slide 24

Slide 24 text

HttpKernel Add Profiler::isEnabled() method #45265 @Bilge

Slide 25

Slide 25 text

Routing Make route params available to route conditions #46042 @HypeMC

Slide 26

Slide 26 text

Routing Allow using service in route condition #44405 @renanbr

Slide 27

Slide 27 text

Routing (backed) EnumRequirements for routes #45803 @fancyweb

Slide 28

Slide 28 text

Routing Requirement object with universal regex patterns #45528 @fancyweb

Slide 29

Slide 29 text

HttpKernel Add UID argument value resolver #44665 @fancyweb

Slide 30

Slide 30 text

HttpKernel Controller argument resolver for backed enums #44831 @ogizanagi

Slide 31

Slide 31 text

HttpKernel Add ArgumentMetadata getAttributes #45094 @seldaek

Slide 32

Slide 32 text

Mailer Improve extensibility of EsmtpTransport #44446 @ampaze

Slide 33

Slide 33 text

Mailer Implement EmailTags for AmazonMailer #45222 @driesvints

Slide 34

Slide 34 text

Mime Add DraftMail type: $content = (new DraftEmail() :>html($twig:>render(::.)) :>attach(::.) :>toString() ; $response = new Response($message:>toString()); $contentDisposition = $response:>headers:>makeDisposition( ResponseHeaderBag::DISPOSITION_ATTACHMENT, 'download.eml' ); #44311 @kbond

Slide 35

Slide 35 text

Messenger Add Redis Sentinel support #43163 @norbertschultheisz

Slide 36

Slide 36 text

Messenger Support setting connection_name for AMQP transport #45436 @dmitryuk

Slide 37

Slide 37 text

Messenger #45436 @dmitryuk

Slide 38

Slide 38 text

Messenger Add TransportMessageIdStamp to RedisSender #44522 @GaryPEGEOT

Slide 39

Slide 39 text

Messenger Add SerializedMessageStamp #44589 @nikophil

Slide 40

Slide 40 text

Notifier Sendberry Bridge KazInfoTeh Bridge 46elks Bridge OrangeSMS Bridge Engagespot Bridge #45195 @StaffNova #44360 @taranovegor #44874 @jongotlin #44884 @enigma972 #44303 @danut007ro

Slide 41

Slide 41 text

PHPUnitBridge Add option ignoreFile to configure a list of known deprecations to ignore: #45226 @mondrake /Test message .*/ /^\d* occurrences/

Slide 42

Slide 42 text

Security Allow to specify a RequestMatcher in access_contol #44670 @TristanPouliquen

Slide 43

Slide 43 text

Security #44670 @TristanPouliquen

Slide 44

Slide 44 text

Serializer Add context builders #43973 @mtarld

Slide 45

Slide 45 text

Serializer Deprecate context aware interface #43982 @mtarld

Slide 46

Slide 46 text

Translation Add support for dumping xliff translations as .xlf or .xliff file This is needed for example for the translation provider Lokalise and the GitLab integration for this provider. #45421 @DanielBadura

Slide 47

Slide 47 text

Translation New service: LocaleSwitcher #45793 @kbond

Slide 48

Slide 48 text

No content

Slide 49

Slide 49 text

Validation Support specifying which fields should be unique in Unique constraint #42403 @wkania

Slide 50

Slide 50 text

Validation #42403 @wkania

Slide 51

Slide 51 text

Validation Allow creating constraints with required arguments #45072 @norkunas

Slide 52

Slide 52 text

Validation Make constraint violation interfaces stringable #45484 @HypeMC

Slide 53

Slide 53 text

Profiler HttpClient: Add button for copy as curl to WebProfiler #43931 @Deuchnord

Slide 54

Slide 54 text

Profiler Add Xdebug info #44483 @chr-hertel

Slide 55

Slide 55 text

Profiler Serializer Profiler #45656 @mtarld

Slide 56

Slide 56 text

Symfony User Group Köln Vielen Dank Fragen? powered by