Translation not available
This content is not available in EN. Showing FR version instead.
Available in:
Laravel 10.46.0
TL;DR
Voyons un peu ce que l'équipe Laravel nous a concocté dans cette version 10.46.
Table of contents
- 2 nouvelles méthodes "only" et "except" dans les règles pour les Enum
- Permettre d'augmenter le rate limiter
- Ajout de méthodes typées à la façade config
Hello les LaraDevs,
voyons un peu ce que l'équipe Laravel nous a concocté dans cette version 10.46.
2 nouvelles méthodes "only" et "except" dans les règles pour les Enum

Il est désormais possible de définir précisément quels Enum peuvent être utilisés ou non dans une règle de validation via les deux nouvelles fonctions only et except.
Permettre d'augmenter le rate limiter

Taylor décrit la situation où il est nécessaire de pouvoir ajuster la priorité de certaines tâches en fonction de l'utilisateur. Cela est maiontenant possible avec la fonction increment.
Ajout de méthodes typées à la façade config

Le dernier point mis en avant par Taylor est l'ajout de méthodes typées sur la façade Config pour faciliter l'analyse statique.
Voici le contenu de la release note{target="_blank"} :
- [10.x] Ensure lazy-loading for trashed morphTo relations works by @nuernbergerA in #50176
- [10.x] Arr::select not working when $keys is a string by @Sicklou in #50169
- [10.x] Added passing loaded relationship to value callback by @dkulyk in #50167
- [10.x] Fix optional charset and collation when creating database by @GrahamCampbell in #50168
- [10.x] update doc block in PendingProcess.php by @saMahmoudzadeh in #50198
- [10.x] Fix Accepting nullable Parameters, updated doc block, and null pointer exception handling in batchable trait by @saMahmoudzadeh in #50209
- Make GuardsAttributes fillable property DocBlock more specific by @liamduckett in #50229
- [10.x] Add only and except methods to Enum validation rule by @Anton5360 in #50226
- [10.x] Fixes on nesting operations performed while applying scopes. by @Guilhem-DELAITRE in #50207
- [10.x] Custom RateLimiter increase by @khepin in #50197
- [10.x] Add Lateral Join to Query Builder by @Bakke in #50050
- [10.x] Update return type by @AmirRezaM75 in #50252
- [10.x] Fix dockblock by @michaelnabil230 in #50259
- [10.x] Add Conditionable in enum rule by @michaelnabil230 in #50257
- [10.x] Update Facade::$app to nullable by @villfa in #50260
- [10.x] Truncate sqlite table name with prefix by @kitloong in #50251
- Correction comment for Str::orderedUuid() - https://github.com/larave… by @wq9578 in #50268
Crédits images : Taylor Otwell
About the author
HappyToDev
Hello it's Fred, but you know me more by my nickname : HappyToDev.
My bio
Husband and twice dad 💪
Ex of the French Navy 🫡
I've been passionate about IT since I was 10, and code is in my blood. I'm always up for a laravel new 😉
Newsletter creator 🗞️ :
Framework Heroes creator 🦸🏽♀️🦸🏻♂️
I've been wanting to create this site for several months to create a job board specialising in devs using frameworks. I hope you like the concept and that you'll help me develop it by contributing new ideas.