Added a Feature To Manage Old Telescope Data
A new file named PurgeTelescopeEntries.php has been added. This file contains a command that automatically deletes telescope entries that are older than a week, and also optimizes these tables for better performance.
Scheduled The New Purging Feature
The Kernel.php file has been updated to automate the deletion of old telescope entries. This action is scheduled to occur weekly on Tuesdays, ensuring that old, less-relevant data is regularly cleaned up from the system.
Improved Telescope Data Management
The TelescopeServiceProvider.php file has been modified. Non-required commenting has been removed, and a new mechanism has been introduced to filter incoming entries based on whether the app is in a debugging state or not. Additionally, it is now simplified to check the 'admin-status' of a user.
Updated Telescope Package Version
The composer.json file has been updated to use a newer version of the laravel/telescope package (^5.1.1). This offers the latest fixes and features from the telescope project into our application.
PR Summary
Added a Feature To Manage Old Telescope Data A new file named
PurgeTelescopeEntries.php
has been added. This file contains a command that automatically deletes telescope entries that are older than a week, and also optimizes these tables for better performance.Scheduled The New Purging Feature The
Kernel.php
file has been updated to automate the deletion of old telescope entries. This action is scheduled to occur weekly on Tuesdays, ensuring that old, less-relevant data is regularly cleaned up from the system.Improved Telescope Data Management The
TelescopeServiceProvider.php
file has been modified. Non-required commenting has been removed, and a new mechanism has been introduced to filter incoming entries based on whether the app is in a debugging state or not. Additionally, it is now simplified to check the 'admin-status' of a user.Updated Telescope Package Version The
composer.json
file has been updated to use a newer version of thelaravel/telescope
package (^5.1.1
). This offers the latest fixes and features from the telescope project into our application.