v6.0 preview/changelog #314
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.
Uh oh!
There was an error while loading. Please reload this page.
-
$transformof the methodQROutputAbstract::collectModules(Closure $transform)has been removed in favor of a methodQROutputAbstract::moduleTransform():mixed|nullwhich is called with the same parameters.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)QRMarkupXMLincluding an XSD schemaqrcode.schema.xsdQRStringJSONoverhaul, similar to XML output, including a JSON schemaqrcode.schema.jsonQRGdImageAVIFfor avif supportQRInterventionImage(intervention/image) outputQRFpdf::dump(): allow using externalFPDFinstanceCssColorModuleValueTraitandRGBArrayModuleValueTraitfor use in custom output classesPHPBenchto run benchmarks (the results can be found in thebenchmarkbranch)QROptions::$eccLevelnow also accepts the string valuesL, M, Q, H(case-insensitive) - these will be converted internally to the respective integers. (EccLevel::fromString() #160)QRCodeReaderOptionsTraitQRCodeconstructor now accepts aniterableas options, which is handed over to a newQROptionsinstance internallyQRMatrix::getBooleanMatrix()fromQRMatrix::getMatrix()to remove type ambiguity, the optional parameter$booleanhas been removedBeta Was this translation helpful? Give feedback.
All reactions