All notable changes to laravel-printing will be documented in this file.
- [Bug]: Cups Config Issues by @rawilk in #111
Note: If you have the package's config file published, you should update it to reflect the changes made to it in this release.
Full Changelog: https://github.com/rawilk/laravel-printing/compare/v4.0.1...v4.1.0
- PrintNodeApiRequestor incorrectly casts booleans to strings by @vrdist-john in #109
- @vrdist-john made their first contribution in #109
Full Changelog: https://github.com/rawilk/laravel-printing/compare/v4.0.0...v4.0.1
- Fix: allow macro calls on the ReceiptPrinter class by @AlexanderPoellmann in #106
- @AlexanderPoellmann made their first contribution in #106
Full Changelog: https://github.com/rawilk/laravel-printing/compare/v3.0.5...v3.0.6
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.
- 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
- @vatsake made their first contribution in #92
- 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
- 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: https://github.com/rawilk/laravel-printing/compare/v3.0.5...v4.0.0-beta.1
- Bump aglipanci/laravel-pint-action from 2.3.1 to 2.4 by @dependabot in #90
- Bump dependabot/fetch-metadata from 1.6.0 to 2.2.0 by @dependabot in #94
- Laravel 12.x Compatibility by @laravel-shift in #97
- Add PHP 8.4 Compatibility by @rawilk in #98
Full Changelog: https://github.com/rawilk/laravel-printing/compare/v3.0.4...v3.0.5
- Bump actions/stale from 5 to 8 by @dependabot in #58
- Bump dependabot/fetch-metadata from 1.3.6 to 1.4.0 by @dependabot in #59
- Bump dependabot/fetch-metadata from 1.4.0 to 1.5.1 by @dependabot in #60
- Bump dependabot/fetch-metadata from 1.5.1 to 1.6.0 by @dependabot in #68
- Update basic-usage.md by @vanrijs in #78
- Bump stefanzweifel/git-auto-commit-action from 4 to 5 by @dependabot in #75
- Bump aglipanci/laravel-pint-action from 2.2.0 to 2.3.1 by @dependabot in #80
- Laravel 11.x Compatibility by @laravel-shift in #84
- Add php 8.3 support by @rawilk in #85
- Chore: Update Pint Config by @rawilk in #86
Full Changelog: https://github.com/rawilk/laravel-printing/compare/v3.0.3...v3.0.4
- Bump creyD/prettier_action from 4.2 to 4.3 by @dependabot in #55
- Bump aglipanci/laravel-pint-action from 1.0.0 to 2.2.0 by @dependabot in #56
- Add Php 8.2 compatibility by @rawilk in #57
Full Changelog: https://github.com/rawilk/laravel-printing/compare/v3.0.2...v3.0.3
- Bump dependabot/fetch-metadata from 1.3.4 to 1.3.5 by @dependabot in #41
- Bump dependabot/fetch-metadata from 1.3.5 to 1.3.6 by @dependabot in #51
- Laravel 10.x compatiblity by @rawilk in #54
Full Changelog: https://github.com/rawilk/laravel-printing/compare/v3.0.1...v3.0.2
- PHPUnit to Pest Converter by @rawilk in #31
- Bump creyD/prettier_action from 3.0 to 4.2 by @dependabot in #38
- Bump actions/checkout from 2 to 3 by @dependabot in #39
- Composer: Update mike42/escpos-php requirement from ^3.0 to ^4.0 by @dependabot in #40
- Update formatting throughout src
- Use
spatie/laravel-package-toolsfor service provider - Drop official support of PHP 8.0, however it should still run on that version
Full Changelog: https://github.com/rawilk/laravel-printing/compare/v3.0.0...v3.0.1
- Add driver method for retrieving print jobs (Breaking Change to driver contract)
- Add driver method for retrieving a specific print job (Breaking Change to driver contract)
- Add driver method for retrieving a specific printer's print jobs (Breaking Change to driver contract)
- Add driver method for retrieving a specific print job on a specific printer (Breaking Change to driver contract)
- Add
printer()method on PrintNode driver printer to access underlying PrintNode printer instance - Add
job()method on PrintNode driver print job to access underlying PrintNode print job instance - Add a
printerproperty on the PrintNode driver PrintJob class to access the printer instance
- Breaking Change: Rename driver method
find()toprinter()for finding a specific printer - Breaking Change: Add required
$limit,$offset, and$dirpagination params to driverprinters()method - Breaking Change: Add
null|Carbonreturn type toPrintJobcontractdate()method signature - Write our own internal api wrapper for PrintNode driver instead of relying on package
printnode/printnode-php(available viaapp(\Rawilk\Printing\Api\PrintNode\PrintNode::class)) - Make
\Rawilk\Printing\Printingmacroable - Make
Rawilk\Printing\PrintTaskmacroable - Make
Rawilk\Printing\Drivers\PrintNode\PrintNodemacroable - Make
Rawilk\Printing\Drivers\Cups\Cupsmacroable - Make each concrete instance of
\Rawilk\Printing\Contracts\Printerand\Rawilk\Printing\Contracts\PrintJobmacroable - Make
\Rawilk\Printing\Receipts\ReceiptPrintermacroable
- Make
\Rawilk\Printing\Drivers\PrintNode\Entity\Printercompatible with implementedJsonSerializableinterface - Return a given PrintNode driver printer instance's jobs via the
jobs()method
- Add support for Printnode PDF_Base64 ContentType (#23)
- Add support for php 8
- Drop support for php 7
- Drop support for Laravel 6
- Drop support for Laravel 7
- Remove driver dependencies from always being required
- Require user to pull in the driver dependencies for their drivers now
- Add support for custom drivers
- Add support for changing print drivers on the fly
- Add support for Laravel 8
- Fix page range issue with CUPS driver (#3).
- Add support for CUPS driver.
- Remove
intparameter type hint onPrintNodePrintJobidsetter.
- Ensure
str_repeatgets repeated at least once to avoid fatal error ontwoColumnText.
- Return the job id of a new print job with PrintNode (#1).
- Add return type
stringtoid()method on PrintNode Printer. - Add more method doc blocks to
ReceiptPrinterfor type hinting to underlying printer class.
- Fix strict type comparison when finding a printer with PrintNode driver.
- Add method doc blocks to
Printingfacade fordefaultPrinterId()anddefaultPrinter().
- Add support to cast
Printerto an array or json.
- Initial release