diff --git a/.gitattributes b/.gitattributes index 2dac81f3..2399b25d 100644 --- a/.gitattributes +++ b/.gitattributes @@ -13,5 +13,8 @@ .editorconfig export-ignore .styleci.yml export-ignore CHANGELOG.md export-ignore +package-lock.json export-ignore +phpstan.neon.dist export-ignore phpunit.xml.dist export-ignore +RELEASE.md export-ignore UPGRADE.md export-ignore diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.md b/.github/ISSUE_TEMPLATE/1_Bug_report.md deleted file mode 100644 index 52aedf06..00000000 --- a/.github/ISSUE_TEMPLATE/1_Bug_report.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: "Bug report" -about: "Report something that's broken. Please ensure your Laravel version is still supported: https://laravel.com/docs/releases#support-policy" ---- - - - - -- Horizon Version: #.#.# -- Laravel Version: #.#.# -- PHP Version: #.#.# -- Redis Driver & Version: predis/phpredis #.#.# -- Database Driver & Version: - -### Description: - - -### Steps To Reproduce: diff --git a/.github/ISSUE_TEMPLATE/1_Bug_report.yml b/.github/ISSUE_TEMPLATE/1_Bug_report.yml new file mode 100644 index 00000000..c24b09c6 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/1_Bug_report.yml @@ -0,0 +1,62 @@ +name: Bug Report +description: "Report something that's broken." +body: + - type: markdown + attributes: + value: "Please read [our full contribution guide](https://laravel.com/docs/contributions#bug-reports) before submitting bug reports. If you notice improper DocBlock, PHPStan, or IDE warnings while using Laravel, do not create a GitHub issue. Instead, please submit a pull request to fix the problem." + - type: input + attributes: + label: Horizon Version + description: Provide the Horizon version that you are using. + placeholder: 1.6.1 + validations: + required: true + - type: input + attributes: + label: Laravel Version + description: Provide the Laravel version that you are using. [Please ensure it is still supported.](https://laravel.com/docs/releases#support-policy) + placeholder: 10.4.1 + validations: + required: true + - type: input + attributes: + label: PHP Version + description: Provide the PHP version that you are using. + placeholder: 8.1.4 + validations: + required: true + - type: dropdown + attributes: + label: Redis Driver + options: + - PhpRedis + - Predis + validations: + required: true + - type: input + attributes: + label: Redis Version + description: Provide the PhpRedis/Predis version that you are using. + placeholder: 3.4.1 + validations: + required: true + - type: input + attributes: + label: Database Driver & Version + description: If applicable, provide the database driver and version you are using. + placeholder: "MySQL 8.0.31 for macOS 13.0 on arm64 (Homebrew)" + validations: + required: false + - type: textarea + attributes: + label: Description + description: Provide a detailed description of the issue you are facing. + validations: + required: true + - type: textarea + attributes: + label: Steps To Reproduce + description: Provide detailed steps to reproduce your issue. If necessary, please provide a GitHub repository to demonstrate your issue using `laravel new bug-report --github="--public"`. + validations: + required: true + diff --git a/.github/ISSUE_TEMPLATE/2_Feature_request.md b/.github/ISSUE_TEMPLATE/2_Feature_request.md deleted file mode 100644 index e530d769..00000000 --- a/.github/ISSUE_TEMPLATE/2_Feature_request.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -name: "Feature request" -about: 'For ideas or feature requests, please make a pull request, or open an issue' ---- diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 6253bb2d..ef299518 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,8 @@ blank_issues_enabled: false contact_links: + - name: Feature request + url: https://github.com/laravel/horizon/pulls + about: 'For ideas or feature requests, send in a pull request' - name: Support Questions & Other url: https://laravel.com/docs/contributions#support-questions about: 'This repository is only for reporting bugs. If you have a question or need help using the library, click:' diff --git a/.github/SECURITY.md b/.github/SECURITY.md index dd673d42..800b8aff 100644 --- a/.github/SECURITY.md +++ b/.github/SECURITY.md @@ -15,7 +15,7 @@ If you discover a security vulnerability within Laravel, please send an email to ``` -----BEGIN PGP PUBLIC KEY BLOCK----- Version: OpenPGP v2.0.8 -Comment: https://sela.io/pgp/ +Comment: Report Security Vulnerabilities to taylor@laravel.com xsFNBFugFSQBEACxEKhIY9IoJzcouVTIYKJfWFGvwFgbRjQWBiH3QdHId5vCrbWo s2l+4Rv03gMG+yHLJ3rWElnNdRaNdQv59+lShrZF7Bvu7Zvc0mMNmFOM/mQ/K2Lt diff --git a/.github/workflows/compile-assets.yml b/.github/workflows/compile-assets.yml new file mode 100644 index 00000000..ec3df2e3 --- /dev/null +++ b/.github/workflows/compile-assets.yml @@ -0,0 +1,11 @@ +name: compile assets + +on: [push] + +jobs: + compile: + uses: laravel/.github/.github/workflows/compile-assets.yml@main + with: + cmd: build + build_path: "dist/" + node: "21" diff --git a/.github/workflows/issues.yml b/.github/workflows/issues.yml new file mode 100644 index 00000000..9634a0ed --- /dev/null +++ b/.github/workflows/issues.yml @@ -0,0 +1,12 @@ +name: issues + +on: + issues: + types: [labeled] + +permissions: + issues: write + +jobs: + help-wanted: + uses: laravel/.github/.github/workflows/issues.yml@main diff --git a/.github/workflows/pull-requests.yml b/.github/workflows/pull-requests.yml new file mode 100644 index 00000000..18b32b32 --- /dev/null +++ b/.github/workflows/pull-requests.yml @@ -0,0 +1,12 @@ +name: pull requests + +on: + pull_request_target: + types: [opened] + +permissions: + pull-requests: write + +jobs: + uneditable: + uses: laravel/.github/.github/workflows/pull-requests.yml@main diff --git a/.github/workflows/static-analysis.yml b/.github/workflows/static-analysis.yml new file mode 100644 index 00000000..368c1858 --- /dev/null +++ b/.github/workflows/static-analysis.yml @@ -0,0 +1,15 @@ +name: static analysis + +on: + push: + branches: + - master + - '*.x' + pull_request: + +permissions: + contents: read + +jobs: + tests: + uses: laravel/.github/.github/workflows/static-analysis.yml@main diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 77e2cdd9..af274362 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -2,13 +2,16 @@ name: tests on: push: + branches: + - master + - '*.x' pull_request: schedule: - cron: '0 0 * * *' jobs: tests: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 services: redis: @@ -20,26 +23,39 @@ jobs: strategy: fail-fast: true matrix: - php: [7.3, 7.4, 8.0] - laravel: [^8.0] + php: [8.1, 8.2, 8.3, 8.4] + laravel: [10, 11] + include: + - php: '8.0' + laravel: 9 + - php: 8.1 + laravel: 9 + - php: 8.2 + laravel: 9 + exclude: + - php: 8.1 + laravel: 11 + - php: 8.4 + laravel: 10 name: PHP ${{ matrix.php }} - Laravel ${{ matrix.laravel }} steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup PHP uses: shivammathur/setup-php@v2 with: php-version: ${{ matrix.php }} extensions: dom, curl, libxml, mbstring, redis, zip + ini-values: error_reporting=E_ALL + tools: composer:v2 coverage: none - name: Install dependencies run: | - composer require "illuminate/contracts=${{ matrix.laravel }}" --no-update - composer update --prefer-dist --no-interaction --no-progress + composer update --prefer-dist --no-interaction --no-progress --with="illuminate/contracts:^${{ matrix.laravel }}" - name: Execute tests - run: vendor/bin/phpunit --verbose + run: vendor/bin/phpunit ${{ matrix.laravel >= 10 && '--display-deprecations --fail-on-deprecation' || '' }} diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml new file mode 100644 index 00000000..1625bda1 --- /dev/null +++ b/.github/workflows/update-changelog.yml @@ -0,0 +1,9 @@ +name: update changelog + +on: + release: + types: [released] + +jobs: + update: + uses: laravel/.github/.github/workflows/update-changelog.yml@main diff --git a/.gitignore b/.gitignore index 21cc468f..9845be0a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,6 @@ /vendor /laravel /node_modules -/public/app.js.LICENSE.txt /phpunit.xml composer.lock .phpunit.result.cache diff --git a/.styleci.yml b/.styleci.yml index 215fbcfe..954b1cc5 100644 --- a/.styleci.yml +++ b/.styleci.yml @@ -1,4 +1,34 @@ php: preset: laravel -js: true -css: true +js: + tab-width: 4 + use-tabs: false + print-width: 120 + double-quotes: false + trailing-commas: es5 + semicolons: true + arrow-parens: always + bracket-same-line: false + bracket-spacing: true + finder: + exclude: + - "dist" + - "node_modules" + - "vendor" + name: + - "*.js" + - "*.jsx" +css: + tab-width: 4 + use-tabs: false + print-width: 120 + double-quotes: false + finder: + exclude: + - "dist" + - "node_modules" + - "vendor" + name: + - "*.css" + - "*.scss" + - "*.less" diff --git a/CHANGELOG.md b/CHANGELOG.md index 0916d670..02a21c16 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,165 +1,615 @@ # Release Notes -## [Unreleased](https://github.com/laravel/horizon/compare/v5.7.7...5.x) +## [Unreleased](https://github.com/laravel/horizon/compare/v5.30.1...5.x) +## [v5.30.1](https://github.com/laravel/horizon/compare/v5.30.0...v5.30.1) - 2024-12-13 + +* fix predis `clear()` when using redis 7.4 by [@vintagesucks](https://github.com/vintagesucks) in https://github.com/laravel/horizon/pull/1522 + +## [v5.30.0](https://github.com/laravel/horizon/compare/v5.29.4...v5.30.0) - 2024-12-06 + +* Add support for notification class overrides by [@lukemorcom](https://github.com/lukemorcom) in https://github.com/laravel/horizon/pull/1518 +* Replace implicitly nullable parameters for PHP 8.4 by [@txdFabio](https://github.com/txdFabio) in https://github.com/laravel/horizon/pull/1520 + +## [v5.29.4](https://github.com/laravel/horizon/compare/v5.29.3...v5.29.4) - 2024-11-21 + +* Allow to specify connection in ClearCommand by [@antennaio](https://github.com/antennaio) in https://github.com/laravel/horizon/pull/1516 +* [5.x] Supports PHP 8.4 by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/horizon/pull/1507 + +## [v5.29.3](https://github.com/laravel/horizon/compare/v5.29.2...v5.29.3) - 2024-11-07 + +* Test Improvements by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/horizon/pull/1511 +* Remove the verbiage to publish assets in the upgrade guide by [@wsamoht](https://github.com/wsamoht) in https://github.com/laravel/horizon/pull/1515 + +## [v5.29.2](https://github.com/laravel/horizon/compare/v5.29.1...v5.29.2) - 2024-10-16 + +* [5.x] Use `#[\Override]` PHP Attribute to detect breaking changes by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/horizon/pull/1506 +* Improvement: Wont spawn extra queues by [@alexmontoanelli](https://github.com/alexmontoanelli) in https://github.com/laravel/horizon/pull/1508 + +## [v5.29.1](https://github.com/laravel/horizon/compare/v5.29.0...v5.29.1) - 2024-10-08 + +* Update logo to support dark/light theme by [@milewski](https://github.com/milewski) in https://github.com/laravel/horizon/pull/1500 +* Fix pop() method signature laravel/framework#53063 by [@it-can](https://github.com/it-can) in https://github.com/laravel/horizon/pull/1504 + +## [v5.29.0](https://github.com/laravel/horizon/compare/v5.28.1...v5.29.0) - 2024-09-24 + +* [5.x] Upgrade from Vue 2 to Vue 3 by [@osbre](https://github.com/osbre) in https://github.com/laravel/horizon/pull/1496 +* Refresh the logo by [@osbre](https://github.com/osbre) in https://github.com/laravel/horizon/pull/1497 +* Bump vite from 5.2.10 to 5.4.6 by [@dependabot](https://github.com/dependabot) in https://github.com/laravel/horizon/pull/1498 +* Bump rollup from 4.21.3 to 4.22.4 by [@dependabot](https://github.com/dependabot) in https://github.com/laravel/horizon/pull/1499 + +## [v5.28.1](https://github.com/laravel/horizon/compare/v5.28.0...v5.28.1) - 2024-09-04 + +* [5.x] Reanimate asset compilation by [@daniser](https://github.com/daniser) in https://github.com/laravel/horizon/pull/1495 + +## [v5.28.0](https://github.com/laravel/horizon/compare/v5.27.1...v5.28.0) - 2024-09-03 + +* Create status command for individual supervisors by [@mfrieswyk](https://github.com/mfrieswyk) in https://github.com/laravel/horizon/pull/1467 +* [5.x] Use `match` expression by [@xurshudyan](https://github.com/xurshudyan) in https://github.com/laravel/horizon/pull/1487 +* FIX #1488 : Focused line gets hightlighted [remove .vjs-tree-node:hover] by [@srennou](https://github.com/srennou) in https://github.com/laravel/horizon/pull/1492 + +## [v5.27.1](https://github.com/laravel/horizon/compare/v5.27.0...v5.27.1) - 2024-08-05 + +* Fix error when loading monitoried tags page(#1478) by [@therobfonz](https://github.com/therobfonz) in https://github.com/laravel/horizon/pull/1485 + +## [v5.27.0](https://github.com/laravel/horizon/compare/v5.26.0...v5.27.0) - 2024-07-26 + +* Extend Slack Notification to work with Slack Apps for Laravel 11 support by [@travisricks](https://github.com/travisricks) in https://github.com/laravel/horizon/pull/1481 + +## [v5.26.0](https://github.com/laravel/horizon/compare/v5.25.0...v5.26.0) - 2024-07-22 + +* [5.x] Adding scaling to balance = false by [@dbpolito](https://github.com/dbpolito) in https://github.com/laravel/horizon/pull/1473 + +## [v5.25.0](https://github.com/laravel/horizon/compare/v5.24.6...v5.25.0) - 2024-07-05 + +* Different exit codes for paused and inactive horizon status by [@CanvasCompanyHylke](https://github.com/CanvasCompanyHylke) in https://github.com/laravel/horizon/pull/1471 + +## [v5.24.6](https://github.com/laravel/horizon/compare/v5.24.5...v5.24.6) - 2024-06-25 + +* Remove leftover publishing command in install command after simplified assets. by [@joveice](https://github.com/joveice) in https://github.com/laravel/horizon/pull/1468 + +## [v5.24.5](https://github.com/laravel/horizon/compare/v5.24.4...v5.24.5) - 2024-05-31 + +* Fixes tests when using Process 7.1 by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/horizon/pull/1456 +* Update runningProcesses to also include terminating processes by [@nckrtl](https://github.com/nckrtl) in https://github.com/laravel/horizon/pull/1454 + +## [v5.24.4](https://github.com/laravel/horizon/compare/v5.24.3...v5.24.4) - 2024-05-03 + +* [5.x] Fix #1419 by [@tmayrand](https://github.com/tmayrand) in https://github.com/laravel/horizon/pull/1424 +* Prevent infinite loop when forgetting failed jobs by [@JackWH](https://github.com/JackWH) in https://github.com/laravel/horizon/pull/1429 +* [5.x] Fix setting custom ASSET_URLs and support cache busting without integrity check by [@mmachatschek](https://github.com/mmachatschek) in https://github.com/laravel/horizon/pull/1427 +* Simplify asset story by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/horizon/pull/1438 + +## [v5.24.3](https://github.com/laravel/horizon/compare/v5.24.2...v5.24.3) - 2024-04-22 + +* [5.x] Readd vite support by [@mmachatschek](https://github.com/mmachatschek) in https://github.com/laravel/horizon/pull/1421 + +## [v5.24.2](https://github.com/laravel/horizon/compare/v5.24.1...v5.24.2) - 2024-04-17 + +* Revert "[5.x] feature: this adds the vite integrity plugin to support assetsAreCurrent check" by [@driesvints](https://github.com/driesvints) in https://github.com/laravel/horizon/pull/1417 +* Revert "[5.x] Change Laravel Mix asset bundling to Vite setup" by [@driesvints](https://github.com/driesvints) in https://github.com/laravel/horizon/pull/1418 + +## [v5.24.1](https://github.com/laravel/horizon/compare/v5.24.0...v5.24.1) - 2024-04-15 + +* [5.x] Change Laravel Mix asset bundling to Vite setup by [@mmachatschek](https://github.com/mmachatschek) in https://github.com/laravel/horizon/pull/1413 +* [5.x] feature: this adds the vite integrity plugin to support assetsAreCurrent check by [@mmachatschek](https://github.com/mmachatschek) in https://github.com/laravel/horizon/pull/1415 + +## [v5.24.0](https://github.com/laravel/horizon/compare/v5.23.2...v5.24.0) - 2024-04-09 + +* Enhance forget command by [@jaroslavstefanec](https://github.com/jaroslavstefanec) in https://github.com/laravel/horizon/pull/1409 +* [5.x] Update to bootstrap 5.1 and drop jQuery by [@mmachatschek](https://github.com/mmachatschek) in https://github.com/laravel/horizon/pull/1405 +* Fix passing null by [@driesvints](https://github.com/driesvints) in https://github.com/laravel/horizon/pull/1412 + +## [v5.23.2](https://github.com/laravel/horizon/compare/v5.23.1...v5.23.2) - 2024-03-23 + +* [5.x] Make commands lazy by [@timacdonald](https://github.com/timacdonald) in https://github.com/laravel/horizon/pull/1399 + +## [v5.23.1](https://github.com/laravel/horizon/compare/v5.23.0...v5.23.1) - 2024-02-20 + +* Output console error when terminating due to memory usage by [@SanderMuller](https://github.com/SanderMuller) in https://github.com/laravel/horizon/pull/1391 + +## [v5.23.0](https://github.com/laravel/horizon/compare/v5.22.1...v5.23.0) - 2024-02-12 + +* [5.x] Improves console output and fixes Carbon v3 support by [@nunomaduro](https://github.com/nunomaduro) in https://github.com/laravel/horizon/pull/1387 + +## [v5.22.1](https://github.com/laravel/horizon/compare/v5.22.0...v5.22.1) - 2024-01-30 + +* Make the expiration time for temporarily failed jobs configurable by [@alirezadp10](https://github.com/alirezadp10) in https://github.com/laravel/horizon/pull/1375 +* Carbon v3 support by [@driesvints](https://github.com/driesvints) in https://github.com/laravel/horizon/pull/1380 + +## [v5.22.0](https://github.com/laravel/horizon/compare/v5.21.5...v5.22.0) - 2024-01-16 + +* Add cache check before registering routes by [@serpentblade](https://github.com/serpentblade) in https://github.com/laravel/horizon/pull/1367 +* Fix the pagination of recent jobs list by [@kirba](https://github.com/kirba) in https://github.com/laravel/horizon/pull/1366 +* [5.x] Laravel v11 support by [@nunomaduro](https://github.com/nunomaduro) in https://github.com/laravel/horizon/pull/1369 +* Add exit code to horizon:forget command by [@bytestream](https://github.com/bytestream) in https://github.com/laravel/horizon/pull/1370 + +## [v5.21.5](https://github.com/laravel/horizon/compare/v5.21.4...v5.21.5) - 2023-12-29 + +* [5.x] Pass event instance to event listeners tag() method by [@mateusjatenee](https://github.com/mateusjatenee) in https://github.com/laravel/horizon/pull/1361 + +## [v5.21.4](https://github.com/laravel/horizon/compare/v5.21.3...v5.21.4) - 2023-11-23 + +* Bump axios from 1.3.2 to 1.6.0 by [@dependabot](https://github.com/dependabot) in https://github.com/laravel/horizon/pull/1347 +* fix: undefined array key 'queue' by [@TomaszOnePilot](https://github.com/TomaszOnePilot) in https://github.com/laravel/horizon/pull/1351 + +## [v5.21.3](https://github.com/laravel/horizon/compare/v5.21.2...v5.21.3) - 2023-10-27 + +- Ensure out of memory events are raised before exiting the process by [@jameshulse](https://github.com/jameshulse) in https://github.com/laravel/horizon/pull/1341 + +## [v5.21.2](https://github.com/laravel/horizon/compare/v5.21.1...v5.21.2) - 2023-10-17 + +- Fix the job repository class based on service bindings by [@daison12006013](https://github.com/daison12006013) in https://github.com/laravel/horizon/pull/1335 + +## [v5.21.1](https://github.com/laravel/horizon/compare/v5.21.0...v5.21.1) - 2023-09-19 + +- Fixing Bug in Clear Metrics by [@joaopalopes24](https://github.com/joaopalopes24) in https://github.com/laravel/horizon/pull/1319 + +## [v5.21.0](https://github.com/laravel/horizon/compare/v5.20.1...v5.21.0) - 2023-09-18 + +- Add `horizon:reset-metrics` command by [@trevorgehman](https://github.com/trevorgehman) in https://github.com/laravel/horizon/pull/1318 + +## [v5.20.1](https://github.com/laravel/horizon/compare/v5.20.0...v5.20.1) - 2023-09-12 + +- Use available `batch.processedJobs` value from `Illuminate\Bus\Batch` by [@crynobone](https://github.com/crynobone) in https://github.com/laravel/horizon/pull/1315 + +## [v5.20.0](https://github.com/laravel/horizon/compare/v5.19.2...v5.20.0) - 2023-08-30 + +- Throws `Laravel\Horizon\Exceptions\ForbiddenException` on unauthorized access by [@joelbutcher](https://github.com/joelbutcher) in https://github.com/laravel/horizon/pull/1308 + +## [v5.19.2](https://github.com/laravel/horizon/compare/v5.19.1...v5.19.2) - 2023-08-29 + +- Set 0 as the default runtime of the job by [@AsemAlalami](https://github.com/AsemAlalami) in https://github.com/laravel/horizon/pull/1307 + +## [v5.19.1](https://github.com/laravel/horizon/compare/v5.19.0...v5.19.1) - 2023-08-09 + +- Handle non-array parameters for "queue" setting in supervisor config by [@PrinsFrank](https://github.com/PrinsFrank) in https://github.com/laravel/horizon/pull/1299 + +## [v5.19.0](https://github.com/laravel/horizon/compare/v5.18.0...v5.19.0) - 2023-07-14 + +- Make sure that missing supervisors are correctly displayed when using multiple environments by [@PrinsFrank](https://github.com/PrinsFrank) in https://github.com/laravel/horizon/pull/1294 + +## [v5.18.0](https://github.com/laravel/horizon/compare/v5.17.0...v5.18.0) - 2023-06-30 + +- Fix supervisor reprovisioning by [@PrinsFrank](https://github.com/PrinsFrank) in https://github.com/laravel/horizon/pull/1288 +- Display inactive supervisors in dashboard by [@PrinsFrank](https://github.com/PrinsFrank) in https://github.com/laravel/horizon/pull/1286 +- Fix autoscaler scaling down below zero when (nr. of queues * minProcesses) is higher than maxProcesses by [@PrinsFrank](https://github.com/PrinsFrank) in https://github.com/laravel/horizon/pull/1292 + +## [v5.17.0](https://github.com/laravel/horizon/compare/v5.16.1...v5.17.0) - 2023-06-13 + +- Add events for when supervisors are terminated by @PrinsFrank in https://github.com/laravel/horizon/pull/1282 +- Fixed occasional flashing when toggling scheme by @ramonrietdijk in https://github.com/laravel/horizon/pull/1283 + +## [v5.16.1](https://github.com/laravel/horizon/compare/v5.16.0...v5.16.1) - 2023-05-29 + +- Mark as deprecated using `night()` and `$useDarkTheme` by @lloricode in https://github.com/laravel/horizon/pull/1279 + +## [v5.16.0](https://github.com/laravel/horizon/compare/v5.15.1...v5.16.0) - 2023-05-18 + +- Refreshes tags periodically by @nunomaduro in https://github.com/laravel/horizon/pull/1274 +- Respect the prefers-color-scheme setting by @ramonrietdijk in https://github.com/laravel/horizon/pull/1275 + +## [v5.15.1](https://github.com/laravel/horizon/compare/v5.15.0...v5.15.1) - 2023-04-26 + +- Fix deprecation errors for PHP 8.2 by @AntonCooper in https://github.com/laravel/horizon/pull/1270 + +## [v5.15.0](https://github.com/laravel/horizon/compare/v515.0...v5.15.0) - 2023-03-07 + +- Add cancelled status to batch overview by @markvaneijk in https://github.com/laravel/horizon/pull/1255 +- Add autoScalingStrategy option by @cosmastech in https://github.com/laravel/horizon/pull/1254 + +## [v5.14.2](https://github.com/laravel/horizon/compare/v5.14.1...v5.14.2) - 2023-02-10 + +### Changed + +- Remove Lodash by @jessarcher in https://github.com/laravel/horizon/pull/1246 +- Bump axios to v1.x by @ankurk91 in https://github.com/laravel/horizon/pull/1247 + +## [v5.14.1](https://github.com/laravel/horizon/compare/v5.14.0...v5.14.1) - 2023-02-07 + +### Fixed + +- Fix missing variable use in anonymous function by @joshuaruesweg in https://github.com/laravel/horizon/pull/1244 + +## [v5.14.0](https://github.com/laravel/horizon/compare/v5.13.0...v5.14.0) - 2023-01-27 + +### Changed + +- Allow any queued class to be silenced by @lioneaglesolutions in https://github.com/laravel/horizon/pull/1241 +- A fresh coat of paint by @jessarcher in https://github.com/laravel/horizon/pull/1242 + +## [v5.13.0](https://github.com/laravel/horizon/compare/v5.12.0...v5.13.0) - 2023-01-17 + +### Added + +- Implement Silenced interface by @driesvints in https://github.com/laravel/horizon/pull/1236 + +### Fixed + +- Increase `perPage` variable for monitored tags by @joshuaruesweg in https://github.com/laravel/horizon/pull/1237 + +## [v5.12.0](https://github.com/laravel/horizon/compare/v5.11.0...v5.12.0) - 2023-01-09 + +### Added + +- Silenced jobs by @driesvints in https://github.com/laravel/horizon/pull/1232 +- Laravel v10 Support by @driesvints in https://github.com/laravel/horizon/pull/1234 + +## [v5.11.0](https://github.com/laravel/horizon/compare/v5.10.6...v5.11.0) - 2023-01-03 + +### Changed + +- Uses PHP Native Type Declarations 🐘 by @nunomaduro in https://github.com/laravel/horizon/pull/1206 + +### Fixed + +- Fix vue-json-pretty CSS for new classnames by @datpmwork in https://github.com/laravel/horizon/pull/1231 + +## [v5.10.6](https://github.com/laravel/horizon/compare/v5.10.5...v5.10.6) - 2022-12-14 + +### Changed + +- Add signal option to `horizon:purge` (e.g. `SIGKILL`) by @crishoj in https://github.com/laravel/horizon/pull/1226 + +## [v5.10.5](https://github.com/laravel/horizon/compare/v5.10.4...v5.10.5) - 2022-11-25 + +### Fixed + +- Ensure Autoscaler never reduces processes to less than 1 by @LasseRafn in https://github.com/laravel/horizon/pull/1221 + +## [v5.10.4](https://github.com/laravel/horizon/compare/v5.10.3...v5.10.4) - 2022-11-07 + +### Changed + +- Add missing anchor title for clarity by @stevebauman in https://github.com/laravel/horizon/pull/1212 + +### Fixed + +- Set default value for job `$payload['pushedAt']` when retrying by @stevebauman in https://github.com/laravel/horizon/pull/1211 + +## [v5.10.3](https://github.com/laravel/horizon/compare/v5.10.2...v5.10.3) - 2022-10-14 + +### Fixed + +- Allow deleting of Tags which contain forward slashes (Fixes #1093) by @sgotre in https://github.com/laravel/horizon/pull/1196 +- Unnecessary param to refreshStatsPeriodically by @peterlupu in https://github.com/laravel/horizon/pull/1198 + +## [v5.10.2](https://github.com/laravel/horizon/compare/v5.10.1...v5.10.2) - 2022-09-26 + +### Changed + +- Add exit codes to status command by @mbardelmeijer in https://github.com/laravel/horizon/pull/1191 + +## [v5.10.1](https://github.com/laravel/horizon/compare/v5.10.0...v5.10.1) - 2022-09-05 + +### Changed + +- Failed job list: Modify job retry tooltip label to include status of last job retry by @Jevz in https://github.com/laravel/horizon/pull/1182 + +## [v5.10.0](https://github.com/laravel/horizon/compare/v5.9.10...v5.10.0) - 2022-08-11 + +### Added + +- Ability to ignore long waits for queue by @jasonmccreary in https://github.com/laravel/horizon/pull/1172 + +## [v5.9.10](https://github.com/laravel/horizon/compare/v5.9.9...v5.9.10) - 2022-07-25 + +### Fixed + +- Fallback array for `retried_by` by @driesvints in https://github.com/laravel/horizon/pull/1166 + +## [v5.9.9](https://github.com/laravel/horizon/compare/v5.9.8...v5.9.9) - 2022-07-12 + +### Changed + +- When register, keep the original Redis options, only overwrite prefix by @nthsky in https://github.com/laravel/horizon/pull/1161 + +## [v5.9.8](https://github.com/laravel/horizon/compare/v5.9.7...v5.9.8) - 2022-06-08 + +### Changed + +- Predis v2 support by @driesvints in https://github.com/laravel/horizon/commit/71291b2dc8172f46a8a503aee97b80d9a4139cdf + +## [v5.9.7](https://github.com/laravel/horizon/compare/v5.9.6...v5.9.7) - 2022-04-21 + +### Fixed + +- Checking the "viewHorizon" gate first by @marcialpaulg in https://github.com/laravel/horizon/pull/1148 + +## [v5.9.6](https://github.com/laravel/horizon/compare/v5.9.5...v5.9.6) - 2022-04-07 + +### Fixed + +- Revert "Make horizon work with strict content-security-policy" by @driesvints in https://github.com/laravel/horizon/pull/1141 + +## [v5.9.5](https://github.com/laravel/horizon/compare/v5.9.4...v5.9.5) - 2022-03-31 + +### Changed + +- Make horizon work with strict content-security-policy by @Grldk in https://github.com/laravel/horizon/pull/1138 + +### Fixed + +- Fix for table headers in the Monitoring tab to match the data that is presented to the user by @dylan7778 in https://github.com/laravel/horizon/pull/1137 + +## [v5.9.4](https://github.com/laravel/horizon/compare/v5.9.3...v5.9.4) - 2022-03-29 + +### Changed + +- change chart.js intersect mode to false by @swist666 in https://github.com/laravel/horizon/pull/1133 + +## [v5.9.3](https://github.com/laravel/horizon/compare/v5.9.2...v5.9.3) - 2022-03-03 + +### Fixed + +- Forget job timer in case of exception or failed job by @Namoshek in https://github.com/laravel/horizon/pull/1127 + +## [v5.9.2](https://github.com/laravel/horizon/compare/v5.9.1...v5.9.2) - 2022-02-22 + +### Fixed + +- Clear stopwatch once job is deleted by @taylorotwell in https://github.com/laravel/horizon/commit/69486d5e4fad8b6ee02c97ed0bea39ef241df956 + +## [v5.9.1](https://github.com/laravel/horizon/compare/v5.9.0...v5.9.1) - 2022-02-15 + +### Changed + +- Add some more defaults to supervisor ([#1122](https://github.com/laravel/horizon/pull/1122)) +- added `display=swap` to google font ([#1121](https://github.com/laravel/horizon/pull/1121)) + +## [v5.9.0](https://github.com/laravel/horizon/compare/v5.8.0...v5.9.0) - 2022-02-08 + +### Added + +- Add exception context on failed jobs ([#1115](https://github.com/laravel/horizon/pull/1115)) + +## [v5.8.0 (2022-01-12)](https://github.com/laravel/horizon/compare/v5.7.18...v5.8.0) + +### Changed + +- Laravel 9 Support ([#1112](https://github.com/laravel/horizon/pull/1112)) + +## [v5.7.18 (2022-01-04)](https://github.com/laravel/horizon/compare/v5.7.17...v5.7.18) + +### Changed + +- Resolve issue with php strict type ([#1110](https://github.com/laravel/horizon/pull/1110)) + +## [v5.7.17 (2021-12-07)](https://github.com/laravel/horizon/compare/v5.7.16...v5.7.17) + +### Fixed + +- Add some PHP 8.1 fixes ([#1100](https://github.com/laravel/horizon/pull/1100)) + +## [v5.7.16 (2021-11-23)](https://github.com/laravel/horizon/compare/v5.7.15...v5.7.16) + +### Changed + +- Reduce bundle size ([#1091](https://github.com/laravel/horizon/pull/1091)) +- Hide Retry failed jobs button if no jobs failed ([#1097](https://github.com/laravel/horizon/pull/1097)) + +### Fixed + +- Prevent pool to receive more than available processes on scaling ([#1096](https://github.com/laravel/horizon/pull/1096)) + +## [v5.7.15 (2021-10-26)](https://github.com/laravel/horizon/compare/v5.7.14...v5.7.15) + +### Changed + +- Use callAfterResolving to register QueueManager ([#1089](https://github.com/laravel/horizon/pull/1089)) + +## [v5.7.14 (2021-10-12)](https://github.com/laravel/horizon/compare/v5.7.13...v5.7.14) + +### Changed + +- Alphabetically sort jobs/queues for metrics ([#1083](https://github.com/laravel/horizon/pull/1083)) +- Update page title when switching between Pending and Completed views ([#1084](https://github.com/laravel/horizon/pull/1084)) + +## [v5.7.13 (2021-09-14)](https://github.com/laravel/horizon/compare/v5.7.12...v5.7.13) + +### Changed + +- Added pushed at to failedJobs ([#0](https://github.com/laravel/horizon/pull/1069)) + +### Fixed + +- Check if `failedJob.reserved_at` is set before making time calculation ([#1067](https://github.com/laravel/horizon/pull/1067)) + +## [v5.7.12 (2021-08-31)](https://github.com/laravel/horizon/compare/v5.7.11...v5.7.12) + +### Changed + +- Improve completed jobs UI ([#1064](https://github.com/laravel/horizon/pull/1064)) + +## [v5.7.11 (2021-08-17)](https://github.com/laravel/horizon/compare/v5.7.10...v5.7.11) + +### Changed + +- Show paused supervisors on dashboard ([#1052](https://github.com/laravel/horizon/pull/1052)) + +## [v5.7.10 (2021-08-03)](https://github.com/laravel/horizon/compare/v5.7.9...v5.7.10) + +### Changed + +- Unified asset publishing ([#1045](https://github.com/laravel/horizon/pull/1045)) + +## [v5.7.9 (2021-06-08)](https://github.com/laravel/horizon/compare/v5.7.8...v5.7.9) + +### Changed + +- Use env. to set config domain and path ([#1030](https://github.com/laravel/horizon/pull/1030)) + +## [v5.7.8 (2021-05-27)](https://github.com/laravel/horizon/compare/v5.7.7...v5.7.8) + +### Fixed + +- Revert app layout PR ([#1026](https://github.com/laravel/horizon/pull/1026)) ## [v5.7.7 (2021-05-18)](https://github.com/laravel/horizon/compare/v5.7.6...v5.7.7) ### Changed -- Move contents of #horizon to separate component ([#1022](https://github.com/laravel/horizon/pull/1022)) +- Move contents of #horizon to separate component ([#1022](https://github.com/laravel/horizon/pull/1022)) ## [v5.7.6 (2021-04-27)](https://github.com/laravel/horizon/compare/v5.7.5...v5.7.6) ### Fixed -- Fix encoding ([ef0c45a](https://github.com/laravel/horizon/commit/ef0c45a6691744c3c8491cf6c096bbcefbaf129f), [9e3748e](https://github.com/laravel/horizon/commit/9e3748e4b9871a3ad5095b20873063a9647c959d)) +- Fix encoding ([ef0c45a](https://github.com/laravel/horizon/commit/ef0c45a6691744c3c8491cf6c096bbcefbaf129f), [9e3748e](https://github.com/laravel/horizon/commit/9e3748e4b9871a3ad5095b20873063a9647c959d)) ## [v5.7.5 (2021-04-06)](https://github.com/laravel/horizon/compare/v5.7.4...v5.7.5) ### Fixed + - Update syntax highlighting ([#1002](https://github.com/laravel/horizon/pull/1002)) - Fix status for large batches ([58b71c1](https://github.com/laravel/horizon/commit/58b71c188cdbc3dc07ff0ab22861641200334b25)) - ## [v5.7.4 (2021-03-30)](https://github.com/laravel/horizon/compare/v5.7.3...v5.7.4) ### Changed -- Add Supervisor Rest Option ([#992](https://github.com/laravel/horizon/pull/992)) +- Add Supervisor Rest Option ([#992](https://github.com/laravel/horizon/pull/992)) ## [v5.7.3 (2021-03-23)](https://github.com/laravel/horizon/compare/v5.7.2...v5.7.3) ### Changed + - Move booting of services ([#990](https://github.com/laravel/horizon/pull/990)) - Clarify button purpose ([#991](https://github.com/laravel/horizon/pull/991)) - ## [v5.7.2 (2021-03-16)](https://github.com/laravel/horizon/compare/v5.7.1...v5.7.2) ### Changed + - Throw exception when minProcesses is set to zero ([#988](https://github.com/laravel/horizon/pull/988), [831a5a8](https://github.com/laravel/horizon/commit/831a5a8690595688e2aa396b6215ef682e4280f6)) ### Fixed -- Fix checking parent id ([#989](https://github.com/laravel/horizon/pull/989)) +- Fix checking parent id ([#989](https://github.com/laravel/horizon/pull/989)) ## [v5.7.1 (2021-03-09)](https://github.com/laravel/horizon/compare/v5.7.0...v5.7.1) ### Fixed -- Add `--rest` flag to WorkCommand ([fcb9843](https://github.com/laravel/horizon/commit/fcb98431ff4ba0a59ab99f1c6bebe8b7115f328a)) +- Add `--rest` flag to WorkCommand ([fcb9843](https://github.com/laravel/horizon/commit/fcb98431ff4ba0a59ab99f1c6bebe8b7115f328a)) ## [v5.7.0 (2021-02-16)](https://github.com/laravel/horizon/compare/v5.6.6...v5.7.0) ### Added -- Show workload also per queue when balancing is disabled ([#966](https://github.com/laravel/horizon/pull/966), [b4e8c6a](https://github.com/laravel/horizon/commit/b4e8c6a460d34efe2843c0d943c0cdea20fb0bba)) +- Show workload also per queue when balancing is disabled ([#966](https://github.com/laravel/horizon/pull/966), [b4e8c6a](https://github.com/laravel/horizon/commit/b4e8c6a460d34efe2843c0d943c0cdea20fb0bba)) ## [v5.6.6 (2021-02-09)](https://github.com/laravel/horizon/compare/v5.6.5...v5.6.6) ### Fixed -- Add fallback font ([#964](https://github.com/laravel/horizon/pull/964)) +- Add fallback font ([#964](https://github.com/laravel/horizon/pull/964)) ## [v5.6.5 (2021-01-12)](https://github.com/laravel/horizon/compare/v5.6.4...v5.6.5) ### Fixed -- Bump minimum Laravel version ([#954](https://github.com/laravel/horizon/pull/954)) +- Bump minimum Laravel version ([#954](https://github.com/laravel/horizon/pull/954)) ## [v5.6.4 (2021-01-05)](https://github.com/laravel/horizon/compare/v5.6.3...v5.6.4) ### Fixed -- Set `lastPushed` when executing the delayed enqueue closure ([#951](https://github.com/laravel/horizon/pull/951)) +- Set `lastPushed` when executing the delayed enqueue closure ([#951](https://github.com/laravel/horizon/pull/951)) ## [v5.6.3 (2020-12-22)](https://github.com/laravel/horizon/compare/v5.6.2...v5.6.3) ### Changed -- Considering queue config parameter 'after_commit' ([#948](https://github.com/laravel/horizon/pull/948)) +- Considering queue config parameter 'after_commit' ([#948](https://github.com/laravel/horizon/pull/948)) ## [v5.6.2 (2020-12-15)](https://github.com/laravel/horizon/compare/v5.6.1...v5.6.2) ### Fixed -- Fix missing tag check in payload ([#945](https://github.com/laravel/horizon/pull/945)) +- Fix missing tag check in payload ([#945](https://github.com/laravel/horizon/pull/945)) ## [v5.6.1 (2020-12-08)](https://github.com/laravel/horizon/compare/v5.6.0...v5.6.1) ### Changed -- Use enqueueUsing when pushing delayed jobs ([#939](https://github.com/laravel/horizon/pull/939)) +- Use enqueueUsing when pushing delayed jobs ([#939](https://github.com/laravel/horizon/pull/939)) ## [v5.6.0 (2020-12-01)](https://github.com/laravel/horizon/compare/v5.5.0...v5.6.0) ### Added -- Metrics snapshot config proposal and fix for race condition ([#936](https://github.com/laravel/horizon/pull/936), [59221e9](https://github.com/laravel/horizon/commit/59221e9b60eeb1e04f8bedb4954e9f1a24188959)) +- Metrics snapshot config proposal and fix for race condition ([#936](https://github.com/laravel/horizon/pull/936), [59221e9](https://github.com/laravel/horizon/commit/59221e9b60eeb1e04f8bedb4954e9f1a24188959)) ## [v5.5.0 (2020-11-24)](https://github.com/laravel/horizon/compare/v5.4.0...v5.5.0) ### Added + - Ability to see which masters are paused and only show paused if everything is paused ([#929](https://github.com/laravel/horizon/pull/929), [f9b5aea](https://github.com/laravel/horizon/commit/f9b5aea1c25518c4def4ce3b33a937b1972cd2a4)) ### Changed -- Accept array format for exponential backoff ([#926](https://github.com/laravel/horizon/pull/926)) +- Accept array format for exponential backoff ([#926](https://github.com/laravel/horizon/pull/926)) ## [v5.4.0 (2020-11-03)](https://github.com/laravel/horizon/compare/v5.3.0...v5.4.0) ### Added + - Add commands to pause and continue supervisors ([#914](https://github.com/laravel/horizon/pull/914)) - Support PHP 8 ([#917](https://github.com/laravel/horizon/pull/917)) ### Changed + - Improve wording of error message ([#918](https://github.com/laravel/horizon/pull/918)) ### Fixed -- Fix balance false display on dashboard ([88c84ac](https://github.com/laravel/horizon/commit/88c84acd10198b661fa77600187b59cd6505272e)) +- Fix balance false display on dashboard ([88c84ac](https://github.com/laravel/horizon/commit/88c84acd10198b661fa77600187b59cd6505272e)) ## [v5.3.0 (2020-10-20)](https://github.com/laravel/horizon/compare/v5.2.1...v5.3.0) ### Added + - Add maintenance notice on dashboard ([#911](https://github.com/laravel/horizon/pull/911)) ### Fixed + - Fix delayed until on pending jobs screen ([#907](https://github.com/laravel/horizon/pull/907)) - Add missing force option to `horizon:clear` ([#909](https://github.com/laravel/horizon/pull/909)) - Fix misleading memory limit config ([#908](https://github.com/laravel/horizon/pull/908)) - Fix completed jobs count ([#910](https://github.com/laravel/horizon/pull/910)) - ## [v5.2.1 (2020-10-06)](https://github.com/laravel/horizon/compare/v5.2.0...v5.2.1) ### Changed -- Add secs to y-axis ticks' for clarity ([#903](https://github.com/laravel/horizon/pull/903)) +- Add secs to y-axis ticks' for clarity ([#903](https://github.com/laravel/horizon/pull/903)) ## [v5.2.0 (2020-09-29)](https://github.com/laravel/horizon/compare/v5.1.0...v5.2.0) ### Added + - Add `horizon:forget` command to delete a failed job ([#896](https://github.com/laravel/horizon/pull/896)) ### Fixed -- Fix check deleting failed job is actually failed ([#894](https://github.com/laravel/horizon/pull/894)) +- Fix check deleting failed job is actually failed ([#894](https://github.com/laravel/horizon/pull/894)) ## [v5.1.0 (2020-09-22)](https://github.com/laravel/horizon/compare/v5.0.0...v5.1.0) ### Added + - Add ability to see if a failed job is retried and/or a retry ([573e6a8](https://github.com/laravel/horizon/commit/573e6a88dcf0b2798db444b20cde8e9ac4357ee3)) - Add Horizon command to clear queue ([#892](https://github.com/laravel/horizon/pull/892), [05e3a1c](https://github.com/laravel/horizon/commit/05e3a1cc374010e8ffc98c94f9dcd32d93eaaee7)) ### Fixed -- Rename variable to match route ([4822955](https://github.com/laravel/horizon/commit/48229555075d3f46d782d77794705c60c9c7b379)) +- Rename variable to match route ([4822955](https://github.com/laravel/horizon/commit/48229555075d3f46d782d77794705c60c9c7b379)) ## [v5.0.0 (2020-09-08)](https://github.com/laravel/horizon/compare/v4.3.5...v5.0.0) ### Added + - Add support for setting workers name ([#840](https://github.com/laravel/horizon/pull/840)) - Support batches ([#844](https://github.com/laravel/horizon/pull/844)) - Support worker max-time and max-jobs ([#860](https://github.com/laravel/horizon/pull/860)) @@ -167,381 +617,397 @@ - Make autoscaling rate configurable ([#874](https://github.com/laravel/horizon/pull/874), [9af71de](https://github.com/laravel/horizon/commit/9af71dea8edc1b3045439c59437b522e7df63277)) ### Changed + - Switch from Chronos to Carbon ([#826](https://github.com/laravel/horizon/pull/826)) - Rename `timeoutAt` to `retryUntil` & `delay` to `backoff` ([6d00eb9](https://github.com/laravel/horizon/commit/6d00eb9b80a599d3ac403108b7a8d65629af2c59)) - Bump minimum PHP version to PHP 7.3 ([ca9ddda](https://github.com/laravel/horizon/commit/ca9dddacdf1b08ef5ba494d1a954c79a52c7ab9a)) - Merge tags from payload ([#843](https://github.com/laravel/horizon/pull/843)) ### Fixed -- Check if parent is still running ([#881](https://github.com/laravel/horizon/pull/881)) +- Check if parent is still running ([#881](https://github.com/laravel/horizon/pull/881)) ## [v4.3.5 (2020-09-08)](https://github.com/laravel/horizon/compare/v4.3.4...v4.3.5) ### Fixed -- Add try/catch for failed-jobs ([#880](https://github.com/laravel/horizon/pull/880)) +- Add try/catch for failed-jobs ([#880](https://github.com/laravel/horizon/pull/880)) ## [v4.3.4 (2020-09-01)](https://github.com/laravel/horizon/compare/v4.3.3...v4.3.4) ### Changed + - Unhide horizon command ([#878](https://github.com/laravel/horizon/pull/878)) ### Fixed -- Try catch serialization error ([57903ed](https://github.com/laravel/horizon/commit/57903edbf845e3d401a9d188199d89f2ed203ff1)) +- Try catch serialization error ([57903ed](https://github.com/laravel/horizon/commit/57903edbf845e3d401a9d188199d89f2ed203ff1)) ## [v4.3.3 (2020-05-26)](https://github.com/laravel/horizon/compare/v4.3.2...v4.3.3) ### Fixed -- Trigger MasterSupervisorDeployed event ([#839](https://github.com/laravel/horizon/pull/839)) +- Trigger MasterSupervisorDeployed event ([#839](https://github.com/laravel/horizon/pull/839)) ## [v4.3.2 (2020-04-28)](https://github.com/laravel/horizon/compare/v4.3.1...v4.3.2) ### Fixed -- Fix pending jobs count ([#832](https://github.com/laravel/horizon/pull/832)) +- Fix pending jobs count ([#832](https://github.com/laravel/horizon/pull/832)) ## [v4.3.1 (2020-04-21)](https://github.com/laravel/horizon/compare/v4.3.0...v4.3.1) ### Fixed -- Revert "Prevent `horizon:purge` from killing too many processes" ([#831](https://github.com/laravel/horizon/pull/831)) +- Revert "Prevent `horizon:purge` from killing too many processes" ([#831](https://github.com/laravel/horizon/pull/831)) ## [v4.3.0 (2020-04-14)](https://github.com/laravel/horizon/compare/v4.2.1...v4.3.0) ### Changed + - Chronos 2.0 ([#824](https://github.com/laravel/horizon/pull/824)) ### Fixed + - Fix Layout issues ([#821](https://github.com/laravel/horizon/pull/821)) - Prevent `horizon:purge` from killing too many processes ([#820](https://github.com/laravel/horizon/pull/820)) - ## [v4.2.1 (2020-04-02)](https://github.com/laravel/horizon/compare/v4.2.0...v4.2.1) ### Fixed -- Revert dark mode breaking change ([fdfbd5b](https://github.com/laravel/horizon/commit/fdfbd5b2f7bb1dfdf2e40518b263337c07b6b22c)) +- Revert dark mode breaking change ([fdfbd5b](https://github.com/laravel/horizon/commit/fdfbd5b2f7bb1dfdf2e40518b263337c07b6b22c)) ## [v4.2.0 (2020-03-31)](https://github.com/laravel/horizon/compare/v4.1.0...v4.2.0) ### Added + - Support ramsey/uuid v4 ([#807](https://github.com/laravel/horizon/pull/807)) ### Fixed -- Fix for job rows on monitoring tags screen ([#814](https://github.com/laravel/horizon/pull/814), [066ada5](https://github.com/laravel/horizon/commit/066ada5e52f18f1ebec7909f838d43aa2a6cf065)) +- Fix for job rows on monitoring tags screen ([#814](https://github.com/laravel/horizon/pull/814), [066ada5](https://github.com/laravel/horizon/commit/066ada5e52f18f1ebec7909f838d43aa2a6cf065)) ## [v4.1.0 (2020-03-24)](https://github.com/laravel/horizon/compare/v4.0.2...v4.1.0) ### Added + - Add metrics options and dark mode config ([#795](https://github.com/laravel/horizon/pull/795)) ### Fixed -- Align design with Pending/Completed jobs screen ([#802](https://github.com/laravel/horizon/pull/802)) +- Align design with Pending/Completed jobs screen ([#802](https://github.com/laravel/horizon/pull/802)) ## [v4.0.2 (2020-03-17)](https://github.com/laravel/horizon/compare/v4.0.1...v4.0.2) ### Changed -- Show warning when manifest is outdated ([#783](https://github.com/laravel/horizon/pull/783)) +- Show warning when manifest is outdated ([#783](https://github.com/laravel/horizon/pull/783)) ## [v4.0.1 (2020-03-05)](https://github.com/laravel/horizon/compare/v4.0.0...v4.0.1) ### Fixed -- Add margin to retries table and make exceptions stacktrace responsive ([ff625c5](https://github.com/laravel/horizon/commit/ff625c5255cf7bfa186634b660b5ee844d6fe4b7)) +- Add margin to retries table and make exceptions stacktrace responsive ([ff625c5](https://github.com/laravel/horizon/commit/ff625c5255cf7bfa186634b660b5ee844d6fe4b7)) ## [v4.0.0 (2020-03-03)](https://github.com/laravel/horizon/compare/v3.7.2...v4.0.0) ### Added + - Add 'view details' to tag-jobs screen ([#775](https://github.com/laravel/horizon/pull/775)) - Add separate screen for completed jobs ([#767](https://github.com/laravel/horizon/pull/767)) ### Changed + - Bumped minimum dependencies to Laravel 7.0 ([#710](https://github.com/laravel/horizon/pull/710)) - Changed default Redis prefix ([#643](https://github.com/laravel/horizon/pull/643)) - Suggest predis instead of requiring it ([#531](https://github.com/laravel/horizon/pull/531)) - ## [v3.7.2 (2020-02-25)](https://github.com/laravel/horizon/compare/v3.7.1...v3.7.2) ### Fixed -- Use provided timezone for delay due ([aa69357](https://github.com/laravel/horizon/commit/aa6935737c093c9abae26f7ebe16980b4b7803e9)) +- Use provided timezone for delay due ([aa69357](https://github.com/laravel/horizon/commit/aa6935737c093c9abae26f7ebe16980b4b7803e9)) ## [v3.7.1 (2020-02-18)](https://github.com/laravel/horizon/compare/v3.7.0...v3.7.1) ### Fixed -- Use 'default' connection as a default redis connection ([#765](https://github.com/laravel/horizon/pull/765)) +- Use 'default' connection as a default redis connection ([#765](https://github.com/laravel/horizon/pull/765)) ## [v3.7.0 (2020-02-14)](https://github.com/laravel/horizon/compare/v3.6.1...v3.7.0) ### Added + - Ability to see if a job is delayed ([#755](https://github.com/laravel/horizon/pull/755)) - Allow trimming of completed jobs ([#720](https://github.com/laravel/horizon/pull/720)) - ## [v3.6.1 (2020-02-12)](https://github.com/laravel/horizon/compare/v3.6.0...v3.6.1) ### Fixed -- Fix wrong value for failedJobs periods ([#757](https://github.com/laravel/horizon/pull/757)) +- Fix wrong value for failedJobs periods ([#757](https://github.com/laravel/horizon/pull/757)) ## [v3.6.0 (2020-02-04)](https://github.com/laravel/horizon/compare/v3.5.0...v3.6.0) ### Added + - Ability to view job details in recent jobs overview ([#751](https://github.com/laravel/horizon/pull/751)) - Another way for tags displaying & collapsible panels ([#754](https://github.com/laravel/horizon/pull/754)) - ## [v3.5.0 (2020-01-28)](https://github.com/laravel/horizon/compare/v3.4.7...v3.5.0) ### Added -- Allow Horizon to be used on a subdomain without a subfolder ([#749](https://github.com/laravel/horizon/pull/749)) +- Allow Horizon to be used on a subdomain without a subfolder ([#749](https://github.com/laravel/horizon/pull/749)) ## [v3.4.7 (2020-01-14)](https://github.com/laravel/horizon/compare/v3.4.6...v3.4.7) ### Fixed -- Revert filtering by tag ([#741](https://github.com/laravel/horizon/pull/741)) +- Revert filtering by tag ([#741](https://github.com/laravel/horizon/pull/741)) ## [v3.4.6 (2019-12-30)](https://github.com/laravel/horizon/compare/v3.4.5...v3.4.6) ### Changed -- Reset the retryUntil value ([#736](https://github.com/laravel/horizon/pull/736)) +- Reset the retryUntil value ([#736](https://github.com/laravel/horizon/pull/736)) ## [v3.4.5 (2019-12-23)](https://github.com/laravel/horizon/compare/v3.4.4...v3.4.5) ### Fixed + - Fix php 7.4 tagged model typed props ([#732](https://github.com/laravel/horizon/pull/732), [025f953](https://github.com/laravel/horizon/commit/025f953b4902a9b0b172e6d5fe19d0809701259e)) ### Removed -- Remove unused functions ([#722](https://github.com/laravel/horizon/pull/722)) +- Remove unused functions ([#722](https://github.com/laravel/horizon/pull/722)) ## [v3.4.4 (2019-12-10)](https://github.com/laravel/horizon/compare/v3.4.3...v3.4.4) ### Fixed + - Scale to the maxProcesses if timeToClearAll is zero ([#718](https://github.com/laravel/horizon/pull/718)) - Handle js `phpunserialize` not working with closures ([9c3a75a](https://github.com/laravel/horizon/commit/9c3a75a0f3cc1a2d1805f48c8aab49469cb4ab33)) - ## [v3.4.3 (2019-11-19)](https://github.com/laravel/horizon/compare/v3.4.2...v3.4.3) ### Changed -- Set default 'tries' to 1 ([#704](https://github.com/laravel/horizon/pull/704)) +- Set default 'tries' to 1 ([#704](https://github.com/laravel/horizon/pull/704)) ## [v3.4.2 (2019-10-21)](https://github.com/laravel/horizon/compare/v3.4.1...v3.4.2) ### Fixed + - Prevent 'memory exhausted' when deleting monitored tag ([#690](https://github.com/laravel/horizon/pull/690), [1532f9c](https://github.com/laravel/horizon/commit/1532f9c32d9739a1886357108fe5c4e1dc9b8e78)) - Set same ttl for tags as same as recent jobs ([#692](https://github.com/laravel/horizon/pull/692)) - ## [v3.4.1 (2019-10-08)](https://github.com/laravel/horizon/compare/v3.4.0...v3.4.1) ### Fixed -- Fix pagination for recent jobs ([#678](https://github.com/laravel/horizon/pull/678)) +- Fix pagination for recent jobs ([#678](https://github.com/laravel/horizon/pull/678)) ## [v3.4.0 (2019-10-01)](https://github.com/laravel/horizon/compare/v3.3.2...v3.4.0) ### Added -- Filter recent jobs by tag ([#665](https://github.com/laravel/horizon/pull/665)) +- Filter recent jobs by tag ([#665](https://github.com/laravel/horizon/pull/665)) ## [v3.3.2 (2019-08-27)](https://github.com/laravel/horizon/compare/v3.3.1...v3.3.2) ### Fixed -- Fix worker command binding ([3b53310](https://github.com/laravel/horizon/commit/3b533104caa299761ce6a1c41438bdab1e2e246f)) +- Fix worker command binding ([3b53310](https://github.com/laravel/horizon/commit/3b533104caa299761ce6a1c41438bdab1e2e246f)) ## [v3.3.1 (2019-08-20)](https://github.com/laravel/horizon/compare/v3.3.0...v3.3.1) ### Fixed -- Fix autobalancer ([#651](https://github.com/laravel/horizon/pull/651)) +- Fix autobalancer ([#651](https://github.com/laravel/horizon/pull/651)) ## [v3.3.0 (2019-08-13)](https://github.com/laravel/horizon/compare/v3.2.8...v3.3.0) ### Added -- Allow custom dashboard failed jobs metric period ([#644](https://github.com/laravel/horizon/pull/644)) +- Allow custom dashboard failed jobs metric period ([#644](https://github.com/laravel/horizon/pull/644)) ## [v3.2.8 (2019-08-06)](https://github.com/laravel/horizon/compare/v3.2.7...v3.2.8) ### Fixed -- Forcing Vue to use the X-Requested-With header, set to XMLHttpRequest ([#642](https://github.com/laravel/horizon/pull/642)) +- Forcing Vue to use the X-Requested-With header, set to XMLHttpRequest ([#642](https://github.com/laravel/horizon/pull/642)) ## [v3.2.7 (2019-07-30)](https://github.com/laravel/horizon/compare/v3.2.6...v3.2.7) ### Changed -- Updated version constraints for Laravel 6.0 ([b547cb2](https://github.com/laravel/horizon/commit/b547cb2a3668d3e83a3bc9ecac3aab67873c330c)) +- Updated version constraints for Laravel 6.0 ([b547cb2](https://github.com/laravel/horizon/commit/b547cb2a3668d3e83a3bc9ecac3aab67873c330c)) ## [v3.2.6 (2019-07-11)](https://github.com/laravel/horizon/compare/v3.2.5...v3.2.6) ### Fixed -- Correct dashboard "Failed Jobs Past 7 Days" metric ([#633](https://github.com/laravel/horizon/pull/633)) +- Correct dashboard "Failed Jobs Past 7 Days" metric ([#633](https://github.com/laravel/horizon/pull/633)) ## [v3.2.5 (2019-07-02)](https://github.com/laravel/horizon/compare/v3.2.4...v3.2.5) ### Fixed -- Adjust auto scaling to always use the max processes ([#627](https://github.com/laravel/horizon/pull/627)) +- Adjust auto scaling to always use the max processes ([#627](https://github.com/laravel/horizon/pull/627)) ## [v3.2.4 (2019-06-25)](https://github.com/laravel/horizon/compare/v3.2.3...v3.2.4) ### Fixed -- Custom MasterSupervisor name breaks dashboard ([#619](https://github.com/laravel/horizon/pull/619)) +- Custom MasterSupervisor name breaks dashboard ([#619](https://github.com/laravel/horizon/pull/619)) ## [v3.2.3 (2019-06-14)](https://github.com/laravel/horizon/compare/v3.2.2...v3.2.3) ### Fixed -- Reverted "Display worker CPU and memory utilization in supervisor list" ([#616](https://github.com/laravel/horizon/pull/616), [#614](https://github.com/laravel/horizon/pull/614)) +- Reverted "Display worker CPU and memory utilization in supervisor list" ([#616](https://github.com/laravel/horizon/pull/616), [#614](https://github.com/laravel/horizon/pull/614)) ## [v3.2.2 (2019-06-04)](https://github.com/laravel/horizon/compare/v3.2.1...v3.2.2) ### Changed + - Add app name to dashboard ([#605](https://github.com/laravel/horizon/pull/605)) ### Fixed -- Properly format numeric values ([#606](https://github.com/laravel/horizon/pull/606)) +- Properly format numeric values ([#606](https://github.com/laravel/horizon/pull/606)) ## [v3.2.1 (2019-05-21)](https://github.com/laravel/horizon/compare/v3.2.0...v3.2.1) ### Fixed -- Compiled assets ([1dcbb96](https://github.com/laravel/horizon/commit/1dcbb96a5aa1dd7c4e55017782ce981b2f296223)) +- Compiled assets ([1dcbb96](https://github.com/laravel/horizon/commit/1dcbb96a5aa1dd7c4e55017782ce981b2f296223)) ## [v3.2.0 (2019-05-21)](https://github.com/laravel/horizon/compare/v3.1.2...v3.2.0) ### Added + - Display worker CPU and memory utilization in supervisor list ([#589](https://github.com/laravel/horizon/pull/589)) ### Fixed + - Fix for missing first failed job when searching ([#593](https://github.com/laravel/horizon/pull/593)) - Switch to browser timezone ([8ee690a](https://github.com/laravel/horizon/commit/8ee690a763bd4473398a4ff7a303eb5a5a712fdd), [c7a4739](https://github.com/laravel/horizon/commit/c7a4739ba9f2bc89326eba1088e91e16916f8812)) - ## [v3.1.2 (2019-04-30)](https://github.com/laravel/horizon/compare/v3.1.1...v3.1.2) ### Fixed -- Fix false jobs causing front-end not to display them ([#582](https://github.com/laravel/horizon/pull/582)) +- Fix false jobs causing front-end not to display them ([#582](https://github.com/laravel/horizon/pull/582)) ## [v3.1.1 (2019-04-02)](https://github.com/laravel/horizon/compare/v3.1.0...v3.1.1) ### Fixed -- Fix failed jobs retrying ([7d28272](https://github.com/laravel/horizon/commit/7d282723792f3dd6d058b8d7b87a18350635c029)) +- Fix failed jobs retrying ([7d28272](https://github.com/laravel/horizon/commit/7d282723792f3dd6d058b8d7b87a18350635c029)) ## [v3.1.0 (2019-03-26)](https://github.com/laravel/horizon/compare/v3.0.6...v3.1.0) ### Added -- Add support for Supervisor "nice" option ([#551](https://github.com/laravel/horizon/pull/551), [8d0034b](https://github.com/laravel/horizon/commit/8d0034bd6d72450be8cdba8e874656d3e704306d), [#556](https://github.com/laravel/horizon/pull/556)) +- Add support for Supervisor "nice" option ([#551](https://github.com/laravel/horizon/pull/551), [8d0034b](https://github.com/laravel/horizon/commit/8d0034bd6d72450be8cdba8e874656d3e704306d), [#556](https://github.com/laravel/horizon/pull/556)) ## [v3.0.6 (2019-03-28)](https://github.com/laravel/horizon/compare/v3.0.5...v3.0.6) ### Fixed -- Add ability to configure route domain setting ([#550](https://github.com/laravel/horizon/pull/550)) +- Add ability to configure route domain setting ([#550](https://github.com/laravel/horizon/pull/550)) ## [v3.0.5 (2019-03-12)](https://github.com/laravel/horizon/compare/v3.0.4...v3.0.5) ### Fixed -- Fix URL for retrying jobs ([#547](https://github.com/laravel/horizon/pull/547)) +- Fix URL for retrying jobs ([#547](https://github.com/laravel/horizon/pull/547)) ## [v3.0.4 (2019-03-08)](https://github.com/laravel/horizon/compare/v3.0.3...v3.0.4) ### Added -- Adding `horizon:status` command ([#545](https://github.com/laravel/horizon/pull/545)) +- Adding `horizon:status` command ([#545](https://github.com/laravel/horizon/pull/545)) ## [v3.0.3 (2019-03-06)](https://github.com/laravel/horizon/compare/v3.0.2...v3.0.3) ### Fixed -- Fix recent jobs screen ([1ab5749](https://github.com/laravel/horizon/commit/1ab57492f66014849b51364315c875b7f76bb435)) +- Fix recent jobs screen ([1ab5749](https://github.com/laravel/horizon/commit/1ab57492f66014849b51364315c875b7f76bb435)) ## [v3.0.2 (2019-03-05)](https://github.com/laravel/horizon/compare/v3.0.1...v3.0.2) ### Fixed -- Compile assets ([57814a0](https://github.com/laravel/horizon/commit/57814a058b5baf53defaf1af813f7f0862331d00)) +- Compile assets ([57814a0](https://github.com/laravel/horizon/commit/57814a058b5baf53defaf1af813f7f0862331d00)) ## [v3.0.1 (2019-03-04)](https://github.com/laravel/horizon/compare/v3.0.0...v3.0.1) ### Fixed + - Fix no failing jobs problem ([#532](https://github.com/laravel/horizon/pull/532)) - Make Year of readableTimestamp more readable ([#535](https://github.com/laravel/horizon/pull/535)) - `Horizon::night()` move to `boot()`([#537](https://github.com/laravel/horizon/pull/537)) ### Removed -- Remove unnecessary register method ([7134324](https://github.com/laravel/horizon/commit/7134324d51b3bc917fd8fdb0e3e48f2b7f98475a)) +- Remove unnecessary register method ([7134324](https://github.com/laravel/horizon/commit/7134324d51b3bc917fd8fdb0e3e48f2b7f98475a)) ## [v3.0.0 (2019-02-27)](https://github.com/laravel/horizon/compare/v2.2.2...v3.0.0) ### Added + - New UI ([#522](https://github.com/laravel/horizon/pull/522)) - Set the Horizon environment via command option ([#523](https://github.com/laravel/horizon/pull/523)) ### Changed + - Require latest symfony/debug version ([72cc3a7](https://github.com/laravel/horizon/commit/72cc3a7e250f1f03c20b0f8e65989a3b0a7d5148)) - Require symfony/process ([f2a214c](https://github.com/laravel/horizon/commit/f2a214c65cf265a5144fb8e8472d991aa8f4e71a)) - Require ext-json ([5a54d27](https://github.com/laravel/horizon/commit/5a54d2710d4a33eb7399ddd8e31b3cbc4dcb1dc0)) ### Fixed + - Fix deprecated process calls ([#515](https://github.com/laravel/horizon/pull/515)) - Add missing createPayloadArray arg ([#516](https://github.com/laravel/horizon/pull/516)) ### Removed -- Removed support for Laravel 5.5 & 5.6 ([8a92e09](https://github.com/laravel/horizon/commit/8a92e099ecaad6d0a2823a89f860fd8f8fab51bf)) +- Removed support for Laravel 5.5 & 5.6 ([8a92e09](https://github.com/laravel/horizon/commit/8a92e099ecaad6d0a2823a89f860fd8f8fab51bf)) ## [v2.2.2 (2019-02-21)](https://github.com/laravel/horizon/compare/v2.2.1...v2.2.2) ### Fixed -- Fix breaking change with `createPayload` method on `RedisQueue` ([b79bb27](https://github.com/laravel/horizon/commit/b79bb2762ed3f234125892c811d3a73d13bf66cc)) +- Fix breaking change with `createPayload` method on `RedisQueue` ([b79bb27](https://github.com/laravel/horizon/commit/b79bb2762ed3f234125892c811d3a73d13bf66cc)) ## [v2.2.1 (2019-02-15)](https://github.com/laravel/horizon/compare/v2.2.0...v2.2.1) ### Changed -- Adjust configuration for 5.8 default configuration ([f1f830e](https://github.com/laravel/horizon/commit/f1f830e8de84c2827c9e155a6abd5cc4576b498e)) +- Adjust configuration for 5.8 default configuration ([f1f830e](https://github.com/laravel/horizon/commit/f1f830e8de84c2827c9e155a6abd5cc4576b498e)) ## [v2.2.0 (2019-02-12)](https://github.com/laravel/horizon/compare/v2.1.0...v2.2.0) ### Added + - Laravel 5.8 support ([292bbc1](https://github.com/laravel/horizon/commit/292bbc15ce814ae24e0b47d749631cf45a827bc1)) ### Fixed -- Fix Failed Jobs page showing no results when failed jobs do exist ([#511](https://github.com/laravel/horizon/pull/511)) +- Fix Failed Jobs page showing no results when failed jobs do exist ([#511](https://github.com/laravel/horizon/pull/511)) ## [v2.1.0 (2019-02-11)](https://github.com/laravel/horizon/compare/v2.0.3...v2.1.0) ### Added + - Let user choose custom env ([#483](https://github.com/laravel/horizon/pull/483)) ### Changed + - Expire monitored jobs ([#484](https://github.com/laravel/horizon/pull/484)) - Updated axios to v0.18 ([#491](https://github.com/laravel/horizon/pull/491)) - Updated laravel-mix to v4.0 ([#490](https://github.com/laravel/horizon/pull/490)) @@ -549,46 +1015,51 @@ - Optimized Horizon SVG logo ([#489](https://github.com/laravel/horizon/pull/489)) ### Fixed + - Fix findFailed method ([#478](https://github.com/laravel/horizon/pull/478)) - Fix storing floats in Redis ([#477](https://github.com/laravel/horizon/pull/477)) - Fix incorrect processes count ([#481](https://github.com/laravel/horizon/pull/481)) - Fix jobs per minute over estimation ([#502](https://github.com/laravel/horizon/pull/502)) - Prevent horizontal scrolling in Dashboard supervisors section ([#506](https://github.com/laravel/horizon/pull/506)) - ## [v2.0.3 (2019-01-22)](https://github.com/laravel/horizon/compare/v2.0.2...v2.0.3) ### Changed + - Updated overview stats labels on the dashboard ([#461](https://github.com/laravel/horizon/pull/461)) - Use router-link for recent failed jobs ([#466](https://github.com/laravel/horizon/pull/466)) ### Fixed -- Check for existence of `stats` before calling toLocaleString ([#469](https://github.com/laravel/horizon/pull/469)) +- Check for existence of `stats` before calling toLocaleString ([#469](https://github.com/laravel/horizon/pull/469)) ## [v2.0.2 (2019-01-10)](https://github.com/laravel/horizon/compare/v2.0.1...v2.0.2) ### Fixed -- Update outdated compiled assets ([2a420af](https://github.com/laravel/horizon/commit/2a420af4bb3d79785ef7ff7cd27f75a1c027ab19)) +- Update outdated compiled assets ([2a420af](https://github.com/laravel/horizon/commit/2a420af4bb3d79785ef7ff7cd27f75a1c027ab19)) ## [v2.0.1 (2019-01-10)](https://github.com/laravel/horizon/compare/v2.0.0...v2.0.1) ### Added + - Added memory usage to the config ([#463](https://github.com/laravel/horizon/pull/463)) ### Changed + - Format numbers on the stats dashboard for better readability ([#462](https://github.com/laravel/horizon/pull/462)) ### Fixed -- Fixed invalid `doctype` declaration ([#448](https://github.com/laravel/horizon/pull/448)) +- Fixed invalid `doctype` declaration ([#448](https://github.com/laravel/horizon/pull/448)) ## [v2.0.0 (2018-11-14)](https://github.com/laravel/horizon/compare/v1.4.3...v2.0.0) ### Added + - Added `horizon:install` command ([#422](https://github.com/laravel/horizon/pull/422)) - Added middleware to the config ([#432](https://github.com/laravel/horizon/pull/432)) ### Changed + - Added new application level `HorizonServiceProvider` and authorization method for consistency with Nova and Telescope ([#422](https://github.com/laravel/horizon/pull/422)) diff --git a/README.md b/README.md index 6d9ff289..1832011e 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -
+@@ -13,6 +13,10 @@ Horizon provides a beautiful dashboard and code-driven configuration for your La All of your worker configuration is stored in a single, simple configuration file, allowing your configuration to stay in source control where your entire team can collaborate. +
+ +
+ ## Official Documentation Documentation for Horizon can be found on the [Laravel website](https://laravel.com/docs/horizon). diff --git a/UPGRADE.md b/UPGRADE.md index 87f1badb..d999cfa4 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -1,9 +1,4 @@ -# Upgrade Guide - -With every upgrade, make sure to publish Horizon's assets: - - php artisan horizon:publish - +# Upgrade Guide ## Upgrading To 5.0 From 4.x diff --git a/art/logo.svg b/art/logo.svg new file mode 100644 index 00000000..b779bbd6 --- /dev/null +++ b/art/logo.svg @@ -0,0 +1,8 @@ + diff --git a/composer.json b/composer.json index e9a4b195..ee13ee12 100644 --- a/composer.json +++ b/composer.json @@ -10,27 +10,30 @@ } ], "require": { - "php": "^7.3|^8.0", + "php": "^8.0", "ext-json": "*", "ext-pcntl": "*", "ext-posix": "*", - "illuminate/contracts": "^8.17", - "illuminate/queue": "^8.17", - "illuminate/support": "^8.17", - "nesbot/carbon": "^2.17", + "illuminate/contracts": "^9.21|^10.0|^11.0", + "illuminate/queue": "^9.21|^10.0|^11.0", + "illuminate/support": "^9.21|^10.0|^11.0", + "nesbot/carbon": "^2.17|^3.0", "ramsey/uuid": "^4.0", - "symfony/process": "^5.0", - "symfony/error-handler": "^5.0" + "symfony/console": "^6.0|^7.0", + "symfony/error-handler": "^6.0|^7.0", + "symfony/polyfill-php83": "^1.28", + "symfony/process": "^6.0|^7.0" }, "require-dev": { "mockery/mockery": "^1.0", - "orchestra/testbench": "^6.0", - "phpunit/phpunit": "^9.0", - "predis/predis": "^1.1" + "orchestra/testbench": "^7.0|^8.0|^9.0", + "phpstan/phpstan": "^1.10", + "phpunit/phpunit": "^9.0|^10.4", + "predis/predis": "^1.1|^2.0" }, "suggest": { "ext-redis": "Required to use the Redis PHP driver.", - "predis/predis": "Required when not using the Redis PHP driver (^1.1)." + "predis/predis": "Required when not using the Redis PHP driver (^1.1|^2.0)." }, "autoload": { "psr-4": { @@ -39,7 +42,10 @@ }, "autoload-dev": { "psr-4": { - "Laravel\\Horizon\\Tests\\": "tests/" + "Laravel\\Horizon\\Tests\\": "tests/", + "Workbench\\App\\": "workbench/app/", + "Workbench\\Database\\Factories\\": "workbench/database/factories/", + "Workbench\\Database\\Seeders\\": "workbench/database/seeders/" } }, "extra": { @@ -59,5 +65,21 @@ "sort-packages": true }, "minimum-stability": "dev", - "prefer-stable": true + "prefer-stable": true, + "scripts": { + "post-autoload-dump": "@prepare", + "clear": "@php vendor/bin/testbench package:purge-skeleton --ansi", + "prepare": "@php vendor/bin/testbench package:discover --ansi", + "build": "@php vendor/bin/testbench workbench:build --ansi", + "serve": [ + "@build", + "@php vendor/bin/testbench serve" + ], + "lint": [ + "@php vendor/bin/phpstan analyse" + ], + "test": [ + "@php vendor/bin/phpunit" + ] + } } diff --git a/config/horizon.php b/config/horizon.php index 0e36957b..5101f6f0 100644 --- a/config/horizon.php +++ b/config/horizon.php @@ -15,7 +15,7 @@ | */ - 'domain' => null, + 'domain' => env('HORIZON_DOMAIN'), /* |-------------------------------------------------------------------------- @@ -28,7 +28,7 @@ | */ - 'path' => 'horizon', + 'path' => env('HORIZON_PATH', 'horizon'), /* |-------------------------------------------------------------------------- @@ -107,6 +107,21 @@ 'monitored' => 10080, ], + /* + |-------------------------------------------------------------------------- + | Silenced Jobs + |-------------------------------------------------------------------------- + | + | Silencing a job will instruct Horizon to not place the job in the list + | of completed jobs within the Horizon dashboard. This setting may be + | used to fully remove any noisy jobs from the completed jobs list. + | + */ + + 'silenced' => [ + // App\Jobs\ExampleJob::class, + ], + /* |-------------------------------------------------------------------------- | Metrics @@ -169,9 +184,13 @@ 'connection' => 'redis', 'queue' => ['default'], 'balance' => 'auto', + 'autoScalingStrategy' => 'time', 'maxProcesses' => 1, + 'maxTime' => 0, + 'maxJobs' => 0, 'memory' => 128, 'tries' => 1, + 'timeout' => 60, 'nice' => 0, ], ], diff --git a/dist/app.css b/dist/app.css new file mode 100644 index 00000000..93b7ebce --- /dev/null +++ b/dist/app.css @@ -0,0 +1 @@ +.vjs-tree-brackets{cursor:pointer}.vjs-tree-brackets:hover{color:#1890ff}.vjs-check-controller{position:absolute;left:0}.vjs-check-controller.is-checked .vjs-check-controller-inner{background-color:#1890ff;border-color:#0076e4}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-checkbox:after{transform:rotate(45deg) scaleY(1)}.vjs-check-controller.is-checked .vjs-check-controller-inner.is-radio:after{transform:translate(-50%,-50%) scale(1)}.vjs-check-controller .vjs-check-controller-inner{display:inline-block;position:relative;border:1px solid #bfcbd9;border-radius:2px;vertical-align:middle;box-sizing:border-box;width:16px;height:16px;background-color:#fff;z-index:1;cursor:pointer;transition:border-color .25s cubic-bezier(.71,-.46,.29,1.46),background-color .25s cubic-bezier(.71,-.46,.29,1.46)}.vjs-check-controller .vjs-check-controller-inner:after{box-sizing:content-box;content:"";border:2px solid #fff;border-left:0;border-top:0;height:8px;left:4px;position:absolute;top:1px;transform:rotate(45deg) scaleY(0);width:4px;transition:transform .15s cubic-bezier(.71,-.46,.88,.6) .05s;transform-origin:center}.vjs-check-controller .vjs-check-controller-inner.is-radio{border-radius:100%}.vjs-check-controller .vjs-check-controller-inner.is-radio:after{border-radius:100%;height:4px;background-color:#fff;left:50%;top:50%}.vjs-check-controller .vjs-check-controller-original{opacity:0;outline:none;position:absolute;z-index:-1;top:0;left:0;right:0;bottom:0;margin:0}.vjs-carets{position:absolute;right:0;cursor:pointer}.vjs-carets svg{transition:transform .3s}.vjs-carets:hover{color:#1890ff}.vjs-carets-close{transform:rotate(-90deg)}.vjs-tree-node{display:flex;position:relative;line-height:20px}.vjs-tree-node.has-carets{padding-left:15px}.vjs-tree-node.has-carets.has-selector,.vjs-tree-node.has-selector{padding-left:30px}.vjs-tree-node.is-highlight,.vjs-tree-node:hover{background-color:#e6f7ff}.vjs-tree-node .vjs-indent{display:flex;position:relative}.vjs-tree-node .vjs-indent-unit{width:1em}.vjs-tree-node .vjs-indent-unit.has-line{border-left:1px dashed #bfcbd9}.vjs-tree-node.dark.is-highlight,.vjs-tree-node.dark:hover{background-color:#2e4558}.vjs-node-index{position:absolute;right:100%;margin-right:4px;-webkit-user-select:none;user-select:none}.vjs-colon{white-space:pre}.vjs-comment{color:#bfcbd9}.vjs-value{word-break:break-word}.vjs-value-null,.vjs-value-undefined{color:#d55fde}.vjs-value-boolean,.vjs-value-number{color:#1d8ce0}.vjs-value-string{color:#13ce66}.vjs-tree{font-family:Monaco,Menlo,Consolas,Bitstream Vera Sans Mono,monospace;font-size:14px;text-align:left}.vjs-tree.is-virtual{overflow:auto}.vjs-tree.is-virtual .vjs-tree-node{white-space:nowrap}#alertModal{z-index:99999;background:#00000080}#alertModal svg{display:block;margin:0 auto;width:4rem;height:4rem} diff --git a/dist/app.js b/dist/app.js new file mode 100644 index 00000000..93ce3e63 --- /dev/null +++ b/dist/app.js @@ -0,0 +1,127 @@ +var Yh=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports);var OD=Yh((AD,mp)=>{function eA(e,t){return function(){return e.apply(t,arguments)}}const{toString:Kh}=Object.prototype,{getPrototypeOf:fi}=Object,zz=(e=>t=>{const o=Kh.call(t);return e[o]||(e[o]=o.slice(8,-1).toLowerCase())})(Object.create(null)),lt=e=>(e=e.toLowerCase(),t=>zz(t)===e),rz=e=>t=>typeof t===e,{isArray:xb}=Array,SM=rz("undefined");function Gh(e){return e!==null&&!SM(e)&&e.constructor!==null&&!SM(e.constructor)&&Se(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const tA=lt("ArrayBuffer");function Jh(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&tA(e.buffer),t}const Qh=rz("string"),Se=rz("function"),oA=rz("number"),cz=e=>e!==null&&typeof e=="object",Zh=e=>e===!0||e===!1,np=e=>{if(zz(e)!=="object")return!1;const t=fi(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},eW=lt("Date"),tW=lt("File"),oW=lt("Blob"),bW=lt("FileList"),MW=e=>cz(e)&&Se(e.pipe),nW=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||Se(e.append)&&((t=zz(e))==="formdata"||t==="object"&&Se(e.toString)&&e.toString()==="[object FormData]"))},pW=lt("URLSearchParams"),[zW,rW,cW,iW]=["ReadableStream","Request","Response","Headers"].map(lt),aW=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function on(e,t,{allOwnKeys:o=!1}={}){if(e===null||typeof e>"u")return;let M,n;if(typeof e!="object"&&(e=[e]),xb(e))for(M=0,n=e.length;My.length?y.length-P:F;G<0&&(G=0);var j=G+P;s.translateY=G*e.itemHeight,s.visibleData=y.filter(function(Q,o0){return o0>=G&&o0 a?(O=a/p.innerRadius,b.arc(l,u,p.innerRadius-a,c+O,z-O,!0)):b.arc(l,u,a,c+Math.PI/2,z-Math.PI/2),b.closePath(),b.clip()}function wq(b,p,z,c){var a=z.endAngle,O;for(c&&(z.endAngle=z.startAngle+ut,cs(b,z),z.endAngle=a,z.endAngle===z.startAngle&&z.fullCircles&&(z.endAngle+=ut,z.fullCircles--)),b.beginPath(),b.arc(z.x,z.y,z.innerRadius,z.startAngle+ut,z.startAngle,!0),O=0;Op.left-z&&b.x
p.length-1?null:this.getPixelForValue(p[b])}}),nh=Z5;ks._defaults=nh;var Nr=v.valueOrDefault,fe=v.math.log10;function ph(b,p){var z=[],c=Nr(b.min,Math.pow(10,Math.floor(fe(p.min)))),a=Math.floor(fe(p.max)),O=Math.ceil(p.max/Math.pow(10,a)),l,u;c===0?(l=Math.floor(fe(p.minNotZero)),u=Math.floor(p.minNotZero/Math.pow(10,l)),z.push(c),c=u*Math.pow(10,l)):(l=Math.floor(fe(c)),u=Math.floor(c/Math.pow(10,l)));var d=l<0?Math.pow(10,Math.abs(l)):1;do z.push(c),++u,u===10&&(u=1,++l,d=l>=0?1:d),c=Math.round(u*Math.pow(10,l)*d)/d;while(l=0?b:p}var Ps=ue.extend({determineDataLimits:function(){var b=this,p=b.options,z=b.chart,c=z.data.datasets,a=b.isHorizontal();function O(J){return a?J.xAxisID===b.id:J.yAxisID===b.id}var l,u,d,q,m,g;b.min=Number.POSITIVE_INFINITY,b.max=Number.NEGATIVE_INFINITY,b.minNotZero=Number.POSITIVE_INFINITY;var B=p.stacked;if(B===void 0){for(l=0;l
r&&(r=i),r},oe.numberOfLabelLines=function(e){var t=1;return oe.each(e,(function(e){oe.isArray(e)&&e.length>t&&(t=e.length)})),t},oe.color=q?function(e){return e instanceof CanvasGradient&&(e=Q.global.defaultColor),q(e)}:function(e){return e},oe.getHoverColor=function(e){return e instanceof CanvasPattern||e instanceof CanvasGradient?e:oe.color(e).saturate(.5).darken(.1).rgbString()}};function Vn(){throw new Error("This method is not implemented: either no adapter can be found or an incomplete integration was provided.")}function Jn(e){this.options=e||{}}oe.extend(Jn.prototype,{formats:Vn,parse:Vn,format:Vn,add:Vn,diff:Vn,startOf:Vn,endOf:Vn,_create:function(e){return e}}),Jn.override=function(e){oe.extend(Jn.prototype,e)};var Gn={_date:Jn},Kn={formatters:{values:function(e){return oe.isArray(e)?e:""+e},linear:function(e,t,n){var r=n.length>3?n[2]-n[1]:n[1]-n[0];Math.abs(r)>1&&e!==Math.floor(e)&&(r=e-Math.floor(e));var a=oe.log10(Math.abs(r)),i="";if(0!==e)if(Math.max(Math.abs(n[0]),Math.abs(n[n.length-1]))<1e-4){var o=oe.log10(Math.abs(e)),s=Math.floor(o)-Math.floor(a);s=Math.max(Math.min(s,20),0),i=e.toExponential(s)}else{var c=-1*Math.floor(a);c=Math.max(Math.min(c,20),0),i=e.toFixed(c)}else i="0";return i},logarithmic:function(e,t,n){var r=e/Math.pow(10,Math.floor(oe.log10(e)));return 0===e?"0":1===r||2===r||5===r||0===t||t===n.length-1?e.toExponential():""}}},Qn=oe.isArray,Zn=oe.isNullOrUndef,er=oe.valueOrDefault,tr=oe.valueAtIndexOrDefault;function nr(e,t){for(var n=[],r=e.length/t,a=0,i=e.length;ac+l)))return o}function ar(e,t){oe.each(e,(function(e){var n,r=e.gc,a=r.length/2;if(a>t){for(n=0;nl)return i;return Math.max(l,1)}function pr(e){var t,n,r=[];for(t=0,n=e.length;t=0&&(o=e),void 0!==i&&(e=n.indexOf(i))>=0&&(s=e),t.minIndex=o,t.maxIndex=s,t.min=n[o],t.max=n[s]},buildTicks:function(){var e=this,t=e._getLabels(),n=e.minIndex,r=e.maxIndex;e.ticks=0===n&&r===t.length-1?t:t.slice(n,r+1)},getLabelForIndex:function(e,t){var n=this,r=n.chart;return r.getDatasetMeta(t).controller._getValueScaleId()===n.id?n.getRightValue(r.data.datasets[t].data[e]):n._getLabels()[e]},_configure:function(){var e=this,t=e.options.offset,n=e.ticks;Mr.prototype._configure.call(e),e.isHorizontal()||(e._reversePixels=!e._reversePixels),n&&(e._startValue=e.minIndex-(t?.5:0),e._valueRange=Math.max(n.length-(t?0:1),1))},getPixelForValue:function(e,t,n){var r,a,i,o=this;return br(t)||br(n)||(e=o.chart.data.datasets[n].data[t]),br(e)||(r=o.isHorizontal()?e.x:e.y),(void 0!==r||void 0!==e&&isNaN(t))&&(a=o._getLabels(),e=oe.valueOrDefault(r,e),t=-1!==(i=a.indexOf(e))?i:t,isNaN(t)&&(t=e)),o.getPixelForDecimal((t-o._startValue)/o._valueRange)},getPixelForTick:function(e){var t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e],e+this.minIndex)},getValueForPixel:function(e){var t=this,n=Math.round(t._startValue+t.getDecimalForPixel(e)*t._valueRange);return Math.min(Math.max(n,0),t.ticks.length-1)},getBasePixel:function(){return this.bottom}}),yr=gr;vr._defaults=yr;var Lr=oe.noop,Ar=oe.isNullOrUndef;function zr(e,t){var n,r,a,i,o=[],s=1e-14,c=e.stepSize,l=c||1,u=e.maxTicks-1,d=e.min,f=e.max,p=e.precision,h=t.min,m=t.max,_=oe.niceNum((m-h)/u/l)*l;if(_u&&(_=oe.niceNum(i*_/u/l)*l),c||Ar(p)?n=Math.pow(10,oe._decimalPlaces(_)):(n=Math.pow(10,p),_=Math.ceil(_*n)/n),r=Math.floor(h/_)*_,a=Math.ceil(m/_)*_,c&&(!Ar(d)&&oe.almostWhole(d/_,_/1e3)&&(r=d),!Ar(f)&&oe.almostWhole(f/_,_/1e3)&&(a=f)),i=(a-r)/_,i=oe.almostEquals(i,Math.round(i),_/1e3)?Math.round(i):Math.ceil(i),r=Math.round(r*n)/n,a=Math.round(a*n)/n,o.push(Ar(d)?r:d);for(var M=1;M0&&r>0&&(e.min=0)}var a=void 0!==t.min||void 0!==t.suggestedMin,i=void 0!==t.max||void 0!==t.suggestedMax;void 0!==t.min?e.min=t.min:void 0!==t.suggestedMin&&(null===e.min?e.min=t.suggestedMin:e.min=Math.min(e.min,t.suggestedMin)),void 0!==t.max?e.max=t.max:void 0!==t.suggestedMax&&(null===e.max?e.max=t.suggestedMax:e.max=Math.max(e.max,t.suggestedMax)),a!==i&&e.min>=e.max&&(a?e.max=e.min+1:e.min=e.max-1),e.min===e.max&&(e.max++,t.beginAtZero||e.min--)},getTickLimit:function(){var e,t=this,n=t.options.ticks,r=n.stepSize,a=n.maxTicksLimit;return r?e=Math.ceil(t.max/r)-Math.floor(t.min/r)+1:(e=t._computeTickLimit(),a=a||11),a&&(e=Math.min(a,e)),e},_computeTickLimit:function(){return Number.POSITIVE_INFINITY},handleDirectionalChanges:Lr,buildTicks:function(){var e=this,t=e.options.ticks,n=e.getTickLimit(),r={maxTicks:n=Math.max(2,n),min:t.min,max:t.max,precision:t.precision,stepSize:oe.valueOrDefault(t.fixedStepSize,t.stepSize)},a=e.ticks=zr(r,e);e.handleDirectionalChanges(),e.max=oe.max(a),e.min=oe.min(a),t.reverse?(a.reverse(),e.start=e.max,e.end=e.min):(e.start=e.min,e.end=e.max)},convertTicksToLabels:function(){var e=this;e.ticksAsNumbers=e.ticks.slice(),e.zeroLineIndex=e.ticks.indexOf(0),Mr.prototype.convertTicksToLabels.call(e)},_configure:function(){var e,t=this,n=t.getTicks(),r=t.min,a=t.max;Mr.prototype._configure.call(t),t.options.offset&&n.length&&(r-=e=(a-r)/Math.max(n.length-1,1)/2,a+=e),t._startValue=r,t._endValue=a,t._valueRange=a-r}}),Tr={position:"left",ticks:{callback:Kn.formatters.linear}},kr=0,xr=1;function Or(e,t,n){var r=[n.type,void 0===t&&void 0===n.stack?n.index:"",n.stack].join(".");return void 0===e[r]&&(e[r]={pos:[],neg:[]}),e[r]}function Dr(e,t,n,r){var a,i,o=e.options,s=Or(t,o.stacked,n),c=s.pos,l=s.neg,u=r.length;for(a=0;at.length-1?null:this.getPixelForValue(t[e])}}),Yr=Tr;Nr._defaults=Yr;var Cr=oe.valueOrDefault,Wr=oe.math.log10;function qr(e,t){var n,r,a=[],i=Cr(e.min,Math.pow(10,Math.floor(Wr(t.min)))),o=Math.floor(Wr(t.max)),s=Math.ceil(t.max/Math.pow(10,o));0===i?(n=Math.floor(Wr(t.minNotZero)),r=Math.floor(t.minNotZero/Math.pow(10,n)),a.push(i),i=r*Math.pow(10,n)):(n=Math.floor(Wr(i)),r=Math.floor(i/Math.pow(10,n)));var c=n<0?Math.pow(10,Math.abs(n)):1;do{a.push(i),10==++r&&(r=1,c=++n>=0?1:c),i=Math.round(r*Math.pow(10,n)*c)/c}while(ni.r&&(i.r=u.end,o.r=c),d.start0&&r>0?n:0)},_drawGrid:function(){var e,t,n,r=this,a=r.ctx,i=r.options,o=i.gridLines,s=i.angleLines,c=Hr(s.lineWidth,o.lineWidth),l=Hr(s.color,o.color);if(i.pointLabels.display&&Qr(r),o.display&&oe.each(r.ticks,(function(e,n){0!==n&&(t=r.getDistanceFromCenterForValue(r.ticksAsNumbers[n]),Zr(r,o,t,n))})),s.display&&c&&l){for(a.save(),a.lineWidth=c,a.strokeStyle=l,a.setLineDash&&(a.setLineDash(Rr([s.borderDash,o.borderDash,[]])),a.lineDashOffset=Rr([s.borderDashOffset,o.borderDashOffset,0])),e=r.chart.data.labels.length-1;e>=0;e--)t=r.getDistanceFromCenterForValue(i.ticks.reverse?r.min:r.max),n=r.getPointPosition(e,t),a.beginPath(),a.moveTo(r.xCenter,r.yCenter),a.lineTo(n.x,n.y),a.stroke();a.restore()}},_drawLabels:function(){var e=this,t=e.ctx,n=e.options.ticks;if(n.display){var r,a,i=e.getIndexAngle(0),o=oe.options._parseFont(n),s=Hr(n.fontColor,Q.global.defaultFontColor);t.save(),t.font=o.string,t.translate(e.xCenter,e.yCenter),t.rotate(i),t.textAlign="center",t.textBaseline="middle",oe.each(e.ticks,(function(i,c){(0!==c||n.reverse)&&(r=e.getDistanceFromCenterForValue(e.ticksAsNumbers[c]),n.showLabelBackdrop&&(a=t.measureText(i).width,t.fillStyle=n.backdropColor,t.fillRect(-a/2-n.backdropPaddingX,-r-o.size/2-n.backdropPaddingY,a+2*n.backdropPaddingX,o.size+2*n.backdropPaddingY)),t.fillStyle=s,t.fillText(i,0,-r))})),t.restore()}},_drawTitle:oe.noop}),na=Ir;ta._defaults=na;var ra=oe._deprecated,aa=oe.options.resolve,ia=oe.valueOrDefault,oa=Number.MIN_SAFE_INTEGER||-9007199254740991,sa=Number.MAX_SAFE_INTEGER||9007199254740991,ca={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},la=Object.keys(ca);function ua(e,t){return e-t}function da(e){var t,n,r,a={},i=[];for(t=0,n=e.length;t1?da(h).sort(ua):h.sort(ua),f=Math.min(f,h[0]),p=Math.max(p,h[h.length-1])),f=ba(s,fa(u))||f,p=ba(s,pa(u))||p,f=f===sa?+l.startOf(Date.now(),d):f,p=p===oa?+l.endOf(Date.now(),d)+1:p,s.min=Math.min(f,p),s.max=Math.max(f+1,p),s._table=[],s._timestamps={data:h,datasets:m,labels:_}},buildTicks:function(){var e,t,n,r=this,a=r.min,i=r.max,o=r.options,s=o.ticks,c=o.time,l=r._timestamps,u=[],d=r.getLabelCapacity(a),f=s.source,p=o.distribution;for(l="data"===f||"auto"===f&&"series"===p?l.data:"labels"===f?l.labels:La(r,a,i,d),"ticks"===o.bounds&&l.length&&(a=l[0],i=l[l.length-1]),a=ba(r,fa(o))||a,i=ba(r,pa(o))||i,e=0,t=l.length;e=0;--n)(t=c[n].$filler)&&t.visible&&(a=(r=t.el)._view,i=r._children||[],o=t.mapper,s=a.backgroundColor||Q.global.defaultColor,o&&s&&i.length&&(oe.canvas.clipArea(l,e.chartArea),Pa(l,i,o,a,s,r._loop),oe.canvas.unclipArea(l)))}},Xa=oe.rtl.getRtlAdapter,Ra=oe.noop,Ia=oe.valueOrDefault;function Fa(e,t){return e.usePointStyle&&e.boxWidth>t?t:e.boxWidth}Q._set("global",{legend:{display:!0,position:"top",align:"center",fullWidth:!0,reverse:!1,weight:1e3,onClick:function(e,t){var n=t.datasetIndex,r=this.chart,a=r.getDatasetMeta(n);a.hidden=null===a.hidden?!r.data.datasets[n].hidden:null,r.update()},onHover:null,onLeave:null,labels:{boxWidth:40,padding:10,generateLabels:function(e){var t=e.data.datasets,n=e.options.legend||{},r=n.labels&&n.labels.usePointStyle;return e._getSortedDatasetMetas().map((function(n){var a=n.controller.getStyle(r?0:void 0);return{text:t[n.index].label,fillStyle:a.backgroundColor,hidden:!e.isDatasetVisible(n.index),lineCap:a.borderCapStyle,lineDash:a.borderDash,lineDashOffset:a.borderDashOffset,lineJoin:a.borderJoinStyle,lineWidth:a.borderWidth,strokeStyle:a.borderColor,pointStyle:a.pointStyle,rotation:a.rotation,datasetIndex:n.index}}),this)}}},legendCallback:function(e){var t,n,r,a=document.createElement("ul"),i=e.data.datasets;for(a.setAttribute("class",e.id+"-legend"),t=0,n=i.length;t","
"],col:[2,"
"],tr:[2,"","
"],td:[3,"
"],_default:[0,"",""]};function ve(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&D(e,t)?z.merge([e],n):n}function ye(e,t){for(var n=0,r=e.length;n","
- Laravel Horizon{{ appName }}
-
-
- php artisan horizon:publish
-