PyneCore v6.10.8 released — stricter library and request.security validation,…

Fixes

  • Library exports can no longer capture non-constant main() state. Imported libraries’ main() no longer creates drawings or fires alert()
  • request.security: missing bool results get a proper bool na default, replicas reuse the main script’s resolved inputs, and drawing constructors in request expressions are rejected
  • plot, plotshape, fill, bgcolor and other declarations outside the unconditional main() body now raise a source-located SyntaxError at transform time
  • timeframe.change() without an argument now uses the chart timeframe
  • Module constants are now folded inside functions with exact values and Pine types preserved
  • Live trading: a market-closed reject (session pause, maintenance) is no longer fatal; the order is re-evaluated when trading resumes
  • Live trading: rotated restart entries are adopted, reversal close settle timing is honored, and spot inventory quarantine waits for in-flight fills
  • CCXT: transient candle download errors are retried with backoff

Performance

  • Optional native color.new in the platform wheels
  • Cached timestamp components and strategy.close() call sites
  • Plot metadata cache shared across visualization readers, with the new collect_meta_changes(cursor) API

Full release notes: https://github.com/PyneSys/pynecore/releases/tag/v6.10.8