Skip to content

v2.0.0

Compare
Choose a tag to compare
@slonopotamus slonopotamus released this 07 Jan 23:57
· 47 commits to master since this release

Summary

Hello from new maintainer of pygments.rb: @slonopotamus!

This is an initial 2.x.x release which primary change is a switch from Python 2 to Python 3.
Another awesome news is that pygments.rb is now part of pygments GitHub organization 🎉

Distribution

Changelog

  • Modify mentos.py to run on Python 3.x instead of Python 2.7
  • Add :timeout parameter to allow for configurable timeouts
  • Add several Python 3.x versions to test matrix
  • Drop dependency on MultiJson
  • Fix hanging on JRuby + Windows
  • Update Pygments to 2.7.3
  • Drop GitHub custom lexers
  • Rework timeout handling
  • Improve error message when Python is not found
  • Breaking change Pygments.rb no longer sets default timeout for its operations
  • Breaking change Now pygments.rb raises MentosError instead of returning nil on timeout
  • stop sending/receiving ids between Ruby and Python
  • use close_others Ruby mechanism to prevent file descriptor leaking to Python
  • fix watchdog race condition leading to ThreadError(<killed thread>) on JRuby

Release meta

Released on: 2021-01-08
Released by: @slonopotamus

Logs: resolved issues | full diff