| 1 | # RDiscount Changelog |
| 2 | |
| 3 | ## Version 2.2.7.5 <small>(April 26, 2026)</small> |
| 4 | |
| 5 | * Fix build failure in newer compilers that use C23 mode by default, |
| 6 | such as Clang on macOS. |
| 7 | |
| 8 | ## Version 2.2.7.4 <small>(April 1, 2026)</small> |
| 9 | |
| 10 | * Fix crash if `to_html` called on a string longer than INT_MAX (2 GiB of text). |
| 11 | |
| 12 | ## Version 2.2.7.3 <small>(December 31, 2023)</small> |
| 13 | |
| 14 | * Add Ruby 3.2 and 3.3 to continuous integration |
| 15 | * Reinstate fix for compilation issue with Clang 16 |
| 16 | |
| 17 | ## Version 2.2.7.2 <small>(December 19, 2023)</small> |
| 18 | |
| 19 | * Discount upgraded from 2.2.7c -> 2.2.7d |
| 20 | * Fix compilation on openSUSE Tumbleweed |
| 21 | |
| 22 | ## Version 2.2.7.1 <small>(June 16, 2023)</small> |
| 23 | |
| 24 | * Fix to not filter out `<style>` tags by default in Markdown output, |
| 25 | unless `filter_styles` is enabled |
| 26 | * Fix compilation issue with Clang 16 |
| 27 | * Add TruffleRuby to continuous integration |
| 28 | |
| 29 | ## Version 2.2.7 <small>(October 23, 2022)</small> |
| 30 | |
| 31 | * Discount upgraded from 2.2.0 -> 2.2.7c |
| 32 | * Implement support for :latex |
| 33 | * Implement support for :explicitlist |
| 34 | * Move CI to GitHub action and fix CI builds (Ruby 2.7 - 3.1) |
| 35 | * Drop support for all EOL Ruby versions (eg > 2.7) |
| 36 | * Fixing conformance tests to run version 1.0 and 1.0.3 |
| 37 | |
| 38 | ## Version 2.2.0.2 <small>(August 9, 2020)</small> |
| 39 | |
| 40 | * Fix compilation error on macOS Big Sur Preview (11.0). |
| 41 | * Enable continuous integration with Ruby 2.4-2.6. |
| 42 | * Builds with Ruby 2.7.0 locally but not on Travis CI. |
| 43 | |
| 44 | ## Version 2.2.0.1 <small>(May 7, 2016)</small> |
| 45 | |
| 46 | * Discount upgraded from 2.1.8 -> 2.2.0 |
| 47 | * Fix compilation error on MSVC (Windows). |
| 48 | * Enable continuous integration with Ruby 2.3.0. |
| 49 | |
| 50 | ## Version 2.1.8 <small>(February 1, 2015)</small> |
| 51 | |
| 52 | * Compatible with Ruby 2.2. |
| 53 | * Discount upgraded from 2.1.7 -> 2.1.8 |
| 54 | * GitHub-style language attributes on fenced code blocks. |
| 55 | * Long numeric list items. |
| 56 | * Fix footnote numbering inside of nested elements. |
| 57 | * Fix a bug where autolink + github flavored markdown absorbs the ^C eoln character into a link at the end of a line. |
| 58 | |
| 59 | ## Version 2.1.7.1 <small>(April 12, 2014)</small> |
| 60 | |
| 61 | * Compatible with Xcode 5.1's clang on OS X. |
| 62 | |
| 63 | ## Version 2.1.7 <small>(October 13, 2013)</small> |
| 64 | |
| 65 | * Discount upgraded from 2.1.6 -> 2.1.7 |
| 66 | * GFM fenced code blocks support a language identifier. |
| 67 | * Definition lists: |
| 68 | * [Discount-style definition lists](http://www.pell.portland.or.us/~orc/Code/discount/#dl) |
| 69 | * [PHP Markdown Extra definition lists](http://michelf.ca/projects/php-markdown/extra/#def-list) |
| 70 | |
| 71 | ## Version 2.1.6 <small>(May 28, 2013)</small> |
| 72 | |
| 73 | * Discount upgraded from 2.0.7 -> 2.1.6 |
| 74 | * Fenced code blocks |
| 75 | * backtick-delimited – from GitHub Flavored Markdown |
| 76 | * tilde-delimited – from PHP Markdown Extra |
| 77 | * New extensions: |
| 78 | * `:no_superscript` - Disables superscript processing. |
| 79 | * `:no_strikethrough` - Disables strikethrough processing. |
| 80 | * License changed from 4-clause BSD to the more-permissive 3-clause BSD. |
| 81 | * Fix `--` and `---` to be converted to `–` and `—` correctly. |
| 82 | * Fix handling of tables that have leading and trailing pipe characters. |
| 83 | * Fix generated table of contents to be valid HTML. |
| 84 | Handling of special characters in headings is also improved. |
| 85 | * Fix recognition of HTML tags that contain - or _. |
| 86 | |
| 87 | ## Version 2.0.7.3 <small>(May 7, 2013)</small> |
| 88 | |
| 89 | * Fix usage of deallocated memory when manipulating locale information. |
| 90 | * Special thanks to Dirkjan Bussink (@dbussink) for identifying this bug and providing the initial fix. |
| 91 | * Fix outdated links. Notably the API reference. |
| 92 | * Setup continuous integration. |
| 93 | |
| 94 | ## Version 2.0.7.2 <small>(Apr 6, 2013)</small> |
| 95 | |
| 96 | * Fix compile error on Windows. |
| 97 | * Disallow install on Ruby 1.9.2, due to known bugs in Ruby. |
| 98 | * Please upgrade to Ruby 1.9.3 or later. |
| 99 | |
| 100 | ## Version 2.0.7.1 <small>(Feb 26, 2013)</small> |
| 101 | |
| 102 | * Discount upgraded from 2.0.7 (non-final) -> 2.0.7 |
| 103 | * Fix encoding of Unicode characters in URLs. |
| 104 | |
| 105 | ## Version 2.0.7 <small>(Jan 29, 2013)</small> |
| 106 | |
| 107 | ### New Features |
| 108 | |
| 109 | * Discount upgraded from 1.6.8 -> 2.0.7 (non-final) |
| 110 | * Footnotes - from *PHP Markdown Extra* |
| 111 | * Superscript tweaks |
| 112 | * Be more picky about what comes before a ^ if we’re superscripting. |
| 113 | * Modify superscript grabbing so that it grabs parenthetical and alphanumeric blocks. |
| 114 | * Other bug fixes |
| 115 | * Table-of-contents generation will no longer crash for header items containing links. |
| 116 | * Adjacent new-style [link]s are no longer incorrectly combined. |
| 117 | |
| 118 | ### Known Issues |
| 119 | |
| 120 | * Fails to build with MinGW or MinGW-64. |
| 121 | * Regression: Tags containing dashes and underscores are not escaped correctly. |
| 122 | * This will be fixed in RDiscount 2.1.5 |
| 123 | |
| 124 | ## Version 1.6.8 <small>(Jan 25, 2011)</small> |
| 125 | |
| 126 | * Discount upgraded from 1.6.5 -> 1.6.8 |
| 127 | * Fix escaping of tags containing dashes and underscores. |
| 128 | |
| 129 | ## Earlier Releases |
| 130 | |
| 131 | * Inspect the Git history. |