Skip to content

Releases: pygments/pygments.rb

v3.0.0

14 May 10:04
Compare
Choose a tag to compare

Summary

Major release that updates Pygments to 2.18.0.

Oldest supported Ruby is now 2.6.

Oldest supported Python is now 3.8.

Distribution

Release meta

Released on: 2024-05-14
Released by: @slonopotamus

Full Changelog: v2.4.1...v3.0.0

v2.4.1

13 Nov 13:50
Compare
Choose a tag to compare

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: v2.4.0...v2.4.1

v2.4.0

19 Apr 07:36
Compare
Choose a tag to compare

Summary

This release updates Pygments to 2.15.1

Distribution

Release meta

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

Full Changelog: v2.3.1...v2.4.0

v2.3.1

04 Dec 16:42
Compare
Choose a tag to compare

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

05 Jan 13:16
Compare
Choose a tag to compare

Summary

In this release, bundled Pygments was updated to 2.10.0. Also, it is now possible 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

18 Mar 12:58
Compare
Choose a tag to compare

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

14 Feb 20:21
Compare
Choose a tag to compare

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

07 Jan 23:57
Compare
Choose a tag to compare

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

v2.0.0.rc3

07 Jan 22:32
Compare
Choose a tag to compare
v2.0.0.rc3 Pre-release
Pre-release

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

07 Jan 21:05
Compare
Choose a tag to compare
v2.0.0.rc2 Pre-release
Pre-release

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 πŸŽ‰

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