v4.0.0-beta.1
Pre-release
Pre-release
This release is a pre-release! It is considered mostly stable, however breaking changes may possibly be introduced before a stable 4.x release is published, however I will do my best to prevent breaking changes as bugs are discovered and patched in this major version.
What's Changed
- Cups by @vatsake in #92
- Bump aglipanci/laravel-pint-action from 2.4 to 2.5 by @dependabot in #101
- [Release] 4.x by @rawilk in #99
- Bump dependabot/fetch-metadata from 2.2.0 to 2.3.0 by @dependabot in #100
New Contributors
Breaking Changes
- Drop Laravel 8 & 9 support
- Drop PHP 8.0 support
- Drop PHP 8.1 support
printing.factorysingleton renamed to\Rawilk\Printing\Factory::classprinting.driversingleton renamed to\Rawilk\Printing\Contracts\Driver::class- Remove
Cupsapi singleton - Remove
PrintNodeapi singleton - Rename
PrintNodeapi class toPrintNodeClient - PrintNode API
Entityclasses are now namespaced asResources - PrintNode API collection classes like
ComputersandPrintersare removed in favor of default Laravel collections - Convert
Rawilk\Printing\Drivers\PrintNode\ContentTypeto enum and move toRawilk\Printing\Api\PrintNode\Enumsnamespace - Change
ContentTypecasing toPascalCase - Change method signature to retrieve
jobs()onRawilk\Printing\Drivers\PrintNode\Entity\Printer - Force
Rawilk\Printing\Contracts\Printerinterface to useArrayableandJsonSerializable - Force
Rawilk\Printing\Contracts\PrintJobinterface to useArrayableandJsonSerializable
Other Changes
- Use
Str::random()instead ofuniqidwhen generating print job names - Add new
PrintDriverenum - Add logging (configurable through .env through
PRINTING_LOGGER) - Add base
PrintingExceptionand have most of the package exceptions extend it - Add
ExceptionInterfacecontract that all package exceptions implement - Add
PrintJobStateservice and resource to the PrintNode API
Full Changelog: v3.0.5...v4.0.0-beta.1