Skip to content
Tutorial emka
Menu
  • Home
  • Debian Linux
  • Ubuntu Linux
  • Red Hat Linux
Menu

Laravel 10.39 Dirilis, Ada fitur Roun-robin/Load-balancing Mailer, Max Tries Queue Job dll

Posted on January 7, 2024

Minggu ini, tim Laravel merilis v10.39 dengan round-robin mailer, maksimum percobaan dinamis pada pekerjaan antrian, dan lainnya. Berikut sedikit informasi tentang fitur-fitur baru yang diperkenalkan di Laravel v10.39 minggu ini:

Round-robin Mailer

Ahmed Shamim berkontribusi pada driver transport round-robin mailer yang mendistribusikan beban kerja pengiriman melalui beberapa transport:

Pada dasarnya, driver transport failover diperluas dari kelas driver transport roundrobin dengan hanya mengganti logika pemilihan transport berikutnya. Tetapi penggunaan kasus berbeda untuk kedua driver ini. Driver failover membantu mencapai ketersediaan tinggi dan roundrobin membantu mencapai load balancing.

Berikut adalah contoh pembaruan konfigurasi aplikasi pada file confi/mail.php di aplikasi Laravel Anda:

'roundrobin' => [
    'transport' => 'roundrobin',
    'mailers' => [
        'ses',
        'postmark',
    ],
],

Fitur ini didokumentasikan dalam dokumen resmi Mail mengenai konfigurasi round-robin. Terakhir, Anda dapat mempelajari lebih lanjut dalam dokumentasi load balancing Symfony’s Mailer dan Pull Request #49435.

Maksimum Percobaan Dinamis pada Pekerjaan Antrian

@Di berkontribusi pada kemampuan untuk menentukan maxTries secara dinamis untuk pekerjaan antrian, mirip dengan backoff(). Sebelumnya, Anda dapat menentukan nilai dinamis melalui properti $tries (yang masih memiliki prioritas), tetapi sekarang Anda dapat menentukan metode pada pekerjaan Anda:

class TestJob implements ShouldQueue
{
    use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
 
    // If the property is still defined, it precedes over the tries() method,
    // providing the same behavior as the backoff definition
    public $tries = 3;
 
    public function tries(): int
    {
        return config('test_job.retries'); // Example: Get the number of tries from config
    }
}

Catatan Rilis

Anda dapat melihat daftar lengkap fitur dan pembaruan baru di bawah ini dan perbedaan antara 10.38.0 dan 10.39.0 di GitHub. Catatan rilis berikut ini berasal langsung dari changelog:

v10.39.0

  • [9.x] Dukungan untuk phpredis 6.0.0 oleh @MichalHubatka di https://github.com/laravel/framework/pull/48380
  • [10.x] Maksimum percobaan dinamis untuk pekerjaan antrian oleh @mechelon di https://github.com/laravel/framework/pull/49473
  • [10.x] Hindari TypeError saat menggunakan aturan validasi json saat PHP < 8.3 oleh @Xint0 di https://github.com/laravel/framework/pull/49474
  • [10.x] Perbaiki kompilasi pernyataan use dalam templat Blade oleh @MrPunyapal di https://github.com/laravel/framework/pull/49479
  • [10.x] Izinkan pengujian validasi prompt oleh @cerbero90 di https://github.com/laravel/framework/pull/49447
  • [10.x] Tambahkan driver transport ‘Roundrobin’ Symfony mailer oleh @me-shaon di https://github.com/laravel/framework/pull/49435

Recent Posts

  • How to Build Real-Time Personalization Systems Using AWS Agentic AI to Make Every User Feel Special
  • How to Transform Your Windows 11 Interface into a Sleek and Modern Aesthetic Masterpiece
  • How to Understand Google’s New TPU 8 Series for Massive AI Training and Inference
  • How to Level Up Your PC Gaming Experience with the New Valve Steam Controller and Its Advanced Features
  • Is it Time to Replace Nano? Discover Fresh, the Terminal Text Editor You Actually Want to Use
  • How to Design a Services Like Google Ads
  • How to Fix 0x800ccc0b Outlook Error: Step-by-Step Guide for Beginners
  • How to Fix NVIDIA App Error on Windows 11: Simple Guide
  • How to Fix Excel Formula Errors: Quick Fixes for #NAME
  • How to Clear Copilot Memory in Windows 11 Step by Step
  • How to Show Battery Percentage on Windows 11
  • How to Fix VMSp Service Failed to Start on Windows 10/11
  • How to Fix Taskbar Icon Order in Windows 11/10
  • How to Disable Personalized Ads in Copilot on Windows 11
  • What is the Microsoft Teams Error “We Couldn’t Connect the Call” Error?
  • Why Does the VirtualBox System Service Terminate Unexpectedly? Here is the Full Definition
  • Why is Your Laptop Touchpad Overheating? Here are the Causes and Fixes
  • How to Disable All AI Features in Chrome Using Windows 11 Registry
  • How to Avoid Problematic Windows Updates: A Guide to System Stability
  • What is Microsoft Visual C++ Redistributable and How to Fix Common Errors?
  • What is the 99% Deletion Bug? Understanding and Fixing Windows 11 File Errors
  • How to Add a Password to WhatsApp for Extra Security
  • How to Recover Lost Windows Passwords with a Decryptor Tool
  • How to Fix Python Not Working in VS Code Terminal: A Troubleshooting Guide
  • Game File Verification Stuck at 0% or 99%: What is it and How to Fix the Progress Bar?
  • Inilah Jadwal Pengumuman Hasil TKA SD dan SMP 2026 dan Cara Cek Skor Kalian Secara Online
  • Inilah HP Gaming Vivo Terbaik 2026 yang Paling Gahar, Main Game Berat Nggak Pake Ngelag!
  • Inilah Potensi Pajak Selat Malaka yang Bikin Rame, Ternyata Gini Cara Mainnya Biar Nggak Melanggar Hukum Internasional
  • Inilah Alasan Kenapa Sinkhole Sering Muncul di Indonesia dan Cara Mengenali Tanda-Tandanya Supaya Kalian Tetap Aman
  • Inilah Program PJJ 2026 untuk Anak Tidak Sekolah, Cara Mudah Masuk SMA Tanpa Harus ke Kelas Tiap Hari!
  • How to set up your own OpenClaw autonomous AI agent to manage your work and digital life efficiently
  • Xiaomi MiMo-V2.5-Pro Full Test: How to Build Incredible AI-Powered Projects with A Trillion-Parameter Guide for Young Developers!
  • NVIDIA Nemotron 3 Omni is Released!
  • How to use Google Veo 3 for free and generate high-quality AI videos without any expensive subscriptions or complex software
  • How to build professional AI projects that turn your GitHub portfolio into a job magnet
  • Apa itu Spear-Phishing via npm? Ini Pengertian dan Cara Kerjanya yang Makin Licin
  • Apa Itu Predator Spyware? Ini Pengertian dan Kontroversi Penghapusan Sanksinya
  • Mengenal Apa itu TONESHELL: Backdoor Berbahaya dari Kelompok Mustang Panda
  • Siapa itu Kelompok Hacker Silver Fox?
  • Apa itu CVE-2025-52691 SmarterMail? Celah Keamanan Paling Berbahaya Tahun 2025
©2026 Tutorial emka | Design: Newspaperly WordPress Theme