Skip to content

1.6.0

Choose a tag to compare

@iliaal iliaal released this 09 Jul 18:44
1.6.0
5dc2aa8

Changed

  • Fixed-cap data setters now throw ValueError on oversized array input instead of silently truncating to the internal cap.
  • setFontPath() now throws when open_basedir denies the path, instead of silently returning $this.
  • renderJpeg() now takes ?int $quality = null (was int = 0) so the reflected default no longer throws; null uses the setJpegQuality value.

Fixed

  • config.w32: the pdfio probe now searches include\pdfio and accepts pdfio1.lib, matching Windows source-build layout (#12).
  • addOverlaySeries() now enforces count/value caps and expands Line/Area/Bar/BoxPlot ranges for finite overlay values.
  • setImageMap() rejects over-cap input without discarding the prior valid map; donut/scatter hotspots now match the drawn geometry.
  • Waterfall / ParetoChart now render vertical annotations and horizontal / vertical bands, matching the 1.5.0 API notes.
  • QrCode::setData() rejects payloads above the QR version-40 text ceiling at setter time.
  • Data setters now validate input caps before dropping prior data, so a caught over-cap ValueError no longer wipes a valid chart.
  • BarChart::getImageMap() no longer returns stale hot-spots after a render aborts on a validation error (e.g. log scale, negative data).
  • Plot bands and Area fills with libgd alpha 127 now render fully transparent instead of leaking a rgba(...,0.004) trace.
  • Symbol JPEG output honours the configured background colour when the background is transparent, instead of flattening to white.