6.0.0 release feedback #326
codemasher
started this conversation in
Feedback
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I've kept you waiting for too long now, so I'm going to release it "as is". Originally I planned to add support for creating Structured Append QR Codes but I'm currently lacking the mental capacity to wrap my head around this concept (a method to calculate the parity already exists in the code, feel free to submit a PR!).
Once again, a big thank you to everyone who submitted issue reports and opened discussions and helped to improve this library!
IMPORTANT: v6 will be branched out and the
mainbranch will remain the active development branch towards v7. If you have used the composer versiondev-mainwithout a commit hash in the past, please make sure to update the requirement ASAP. You have been warned.For feedback and questions please head over to the linked discussion!
Changelog
QRCodeconstructor now accepts aniterableas options, which is handed over to a newQROptionsinstance internally.QRMatrix::getBooleanMatrix()fromQRMatrix::getMatrix()to remove type ambiguity, the optional parameter$booleanhas been removed.benchmarkbranch).QROptionsTrait)QROptions::$outputTypeand the related constants inQROutputInterfacehave been removed. The output type is now specified viaQROptions::$outputInterfacewith the default value ofQRMarkupSVG::class. (QRGdImage (custom): mime type is not properly set in base64 output #223).QRCodeReaderOptionsTrait.QROptions::$eccLevelnow also accepts the string valuesL, M, Q, H(case-insensitive) - these will be converted internally to the respective integers. (EccLevel::fromString() #160).QROptions::$scale(module scaling for several raster image output classes) is now clamped between 1 and 50.QROutputInterfaceand child classes)$transformof the methodQROutputAbstract::collectModules(Closure $transform)has been removed in favor of a methodQROutputAbstract::moduleTransform():mixed|nullwhich is called with the same parameters.QRInterventionImage(intervention/image) output.QRMarkupXMLincluding an XSD schemaqrcode.schema.xsd.QRStringJSONoverhaul, similar to XML output, including a JSON schemaqrcode.schema.json.QRGdImageAVIF.QRFpdf::dump(): allow using externalFPDFinstance.CssColorModuleValueTraitandRGBArrayModuleValueTraitfor use in custom output classes.This discussion was created from the release 6.0.0.
Beta Was this translation helpful? Give feedback.
All reactions