{"id":12994,"date":"2023-02-02T01:29:10","date_gmt":"2023-02-02T06:29:10","guid":{"rendered":"http:\/\/local.brightwhiz\/?p=12994"},"modified":"2024-02-20T17:16:27","modified_gmt":"2024-02-20T14:16:27","slug":"laravel-9-49-release","status":"publish","type":"post","link":"http:\/\/local.brightwhiz\/laravel-9-49-release\/","title":{"rendered":"Laravel 9.49 Release With Enum Arrays now Available"},"content":{"rendered":"\n
Laravel 9.49 release is now available for general availability. This new release comes with support for casting collection or array of enums as contributed by Ralph J. Smit.<\/p>\n\n\n\n
With CLI prompts, Laravel 9.49 brings the ability to automatically prompt the user for missing command arguments instead of returning an error. This feature was contributed by Jess Archer.<\/p>\n\n\n\n
Two new TestResponse JSON assertion methods for asserting that JSON is an array and asserting that JSON<\/a> is an object have been contributed by Seth Phat.<\/p>\n\n\n\n “missing<\/strong>” validation rules are now included in this version. This is a strict version of the prohibits validation rule. This is where the field under validation must not be present in the input data. Tim MacDonald contributed this feature.<\/p>\n\n\n\n There are now new HTTP client response error handling methods as contributed by Wendell Adriel. These include:<\/p>\n\n\n\n Other new features in Laravel 9.49 release include configurable timezone support for queue worker output by Matias M\u00e4ki as well as contributions from Erfan Hemmati introducing a Pascal Huberts contributed a Finally Array Laravel<\/a> is a free and open-source PHP<\/a> web framework based on Symfony and created by Taylor Otwell. It is used for the development of web applications following the model\u2013view\u2013controller architectural pattern.<\/p>\n\n\n\n Follow the reference links below to get detailed information and examples highlighting the above.<\/p>\n","protected":false},"excerpt":{"rendered":" Laravel 9.49 release is now available for general availability. This new release comes with support for casting collection or array of enums as contributed by Ralph J. Smit. With CLI…<\/p>\n","protected":false},"author":1,"featured_media":12995,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25,13,27,28,16,18],"tags":[164,252,334,344,424,433,449,452,544,545],"yoast_head":"\n$response->clientError();\n$response->serverError();\n$response->throwIfStatus(403);\n$response->throwUnlessStatus(200);<\/code><\/pre>\n\n\n\n
noActionOnDelete()<\/code> method to migrations for foreign keys.<\/p>\n\n\n\n
forceDeleteQuietly()<\/code> method that forces a hard delete on a soft-deleted model without raising any events:<\/p>\n\n\n\n
sortDesc()<\/code> method which sorts an array in descending order by its values was contributed by Timur Fralik.<\/p>\n\n\n\n