Releases: rawilk/laravel-printing
Releases · rawilk/laravel-printing
v4.0.0-beta.3
What's Changed
- Fix: allow macro calls on the ReceiptPrinter class by @AlexanderPoellmann in #106
New Contributors
- @AlexanderPoellmann made their first contribution in #106
Full Changelog: v4.0.0-beta.2...v4.0.0-beta.3
v3.0.6
What's Changed
- Fix: allow macro calls on the ReceiptPrinter class by @AlexanderPoellmann in #106
New Contributors
- @AlexanderPoellmann made their first contribution in #106
Full Changelog: v3.0.5...v3.0.6
v4.0.0-beta.2
v4.0.0-beta.1
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.factory
singleton renamed to\Rawilk\Printing\Factory::class
printing.driver
singleton renamed to\Rawilk\Printing\Contracts\Driver::class
- Remove
Cups
api singleton - Remove
PrintNode
api singleton - Rename
PrintNode
api class toPrintNodeClient
- PrintNode API
Entity
classes are now namespaced asResources
- PrintNode API collection classes like
Computers
andPrinters
are removed in favor of default Laravel collections - Convert
Rawilk\Printing\Drivers\PrintNode\ContentType
to enum and move toRawilk\Printing\Api\PrintNode\Enums
namespace - Change
ContentType
casing toPascalCase
- Change method signature to retrieve
jobs()
onRawilk\Printing\Drivers\PrintNode\Entity\Printer
- Force
Rawilk\Printing\Contracts\Printer
interface to useArrayable
andJsonSerializable
- Force
Rawilk\Printing\Contracts\PrintJob
interface to useArrayable
andJsonSerializable
Other Changes
- Use
Str::random()
instead ofuniqid
when generating print job names - Add new
PrintDriver
enum - Add logging (configurable through .env through
PRINTING_LOGGER
) - Add base
PrintingException
and have most of the package exceptions extend it - Add
ExceptionInterface
contract that all package exceptions implement - Add
PrintJobState
service and resource to the PrintNode API
Full Changelog: v3.0.5...v4.0.0-beta.1
v3.0.5
What's Changed
- 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: v3.0.4...v3.0.5
v3.0.4
What's Changed
- 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
New Contributors
- @vanrijs made their first contribution in #78
- @laravel-shift made their first contribution in #84
Full Changelog: v3.0.3...v3.0.4
v3.0.3
What's Changed
- 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: v3.0.2...v3.0.3
v3.0.2
What's Changed
- 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: v3.0.1...v3.0.2
v3.0.1
Changed
- 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-tools
for service provider - Drop official support of PHP 8.0, however it should still run on that version
Full Changelog: v3.0.0...v3.0.1
v3.0.0
Added
- 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
printer
property on the PrintNode driver PrintJob class to access the printer instance
Changed
- Breaking Change: Rename driver method
find()
toprinter()
for finding a specific printer - Breaking Change: Add required
$limit
,$offset
, and$dir
pagination params to driverprinters()
method - Breaking Change: Add
null|Carbon
return type toPrintJob
contractdate()
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\Printing
macroable - Make
Rawilk\Printing\PrintTask
macroable - Make
Rawilk\Printing\Drivers\PrintNode\PrintNode
macroable - Make
Rawilk\Printing\Drivers\Cups\Cups
macroable - Make each concrete instance of
\Rawilk\Printing\Contracts\Printer
and\Rawilk\Printing\Contracts\PrintJob
macroable - Make
\Rawilk\Printing\Receipts\ReceiptPrinter
macroable
Fixed
- Make
\Rawilk\Printing\Drivers\PrintNode\Entity\Printer
compatible with implementedJsonSerializable
interface - Return a given PrintNode driver printer instance's jobs via the
jobs()
method
New Contributors
- @LooxisDev made their first contribution in #23
Full Changelog: 2.0.0...v3.0.0