Pygments.rb Versions Save

💎 Ruby wrapper for Pygments syntax highlighter

v2.4.1

6 months ago

Summary

Minor bugfix release that fixes handling of Python virtual environments on Windows (credits to @george-palmsens)

Distribution

Release meta

Released on: 2023-11-13 Released by: @slonopotamus

Full Changelog: https://github.com/pygments/pygments.rb/compare/v2.4.0...v2.4.1

v2.4.0

1 year ago

Summary

This release updates Pygments to 2.15.1

Distribution

Release meta

Released on: 2023-04-19 Released by: @slonopotamus

Full Changelog: https://github.com/pygments/pygments.rb/compare/v2.3.1...v2.4.0

v2.3.1

1 year ago

Summary

This release fixes "Broken pipe error in Mentos" caused by inability pygments.rb to find Python executable in certain environments

Distribution

Release meta

Released on: 2022-12-04 Released by: @slonopotamus

Logs: resolved issues | full diff

v2.3.0

2 years ago

Summary

In this release, bundled Pygments was updated to 2.10.0. Also, it is now possibly to query underlying Pygments version via Pygments.pygments_version function.

Distribution

Release meta

Released on: 2022-01-05 Released by: @slonopotamus

Logs: resolved issues | full diff

v2.2.0

3 years ago

Summary

This release adds support for custom lexers (#187) via Pygments plugins. Also, bundled Pygments was updated to 2.8.1.

Distribution

Release meta

Released on: 2021-03-18 Released by: @slonopotamus

Logs: resolved issues | full diff

v2.1.0

3 years ago

Summary

The only change in this release in update of bundled Pygments to 2.8.0.

Distribution

Release meta

Released on: 2021-02-14 Released by: @slonopotamus

Logs: resolved issues | full diff

v2.0.0

3 years ago

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 :tada:

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

v2.0.0.rc3

3 years ago

Summary

This is a small bugfix release on the way towards 2.0.0 release

Distribution

Changelog

  • 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

v2.0.0.rc2

3 years ago

Summary

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

This is a first pre-release of 2.x.x series which primary change is switch from Python 2 to Python 3. Another awesome news is that pygments.rb is now part of pygments GitHub organization :tada:

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

Release meta

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

Logs: resolved issues | full diff

v1.1.0

7 years ago