Skip to content

Latest commit

 

History

History
127 lines (105 loc) · 4.13 KB

ChangeLog.md

File metadata and controls

127 lines (105 loc) · 4.13 KB

ChangeLog

1.1.1 (2023-08-03)

  • escape::html now removes invalid XHTML characters

1.1.0 (2023-07-29)

  • Fix LaTeX escaping (hce)
  • Update dependencies

1.0.0 (2020-02-11)

  • French formatter now also specifies narrow and en breaking spaces for LaTeX instead of trusting it to use the good one
  • french::format_tex and french::format_html now also escape characters for LaTeX/HTML.
  • Since that's a sligtly breaking change, and the first one in a few years, it seemed like a good reason to bump version to 1.0. This led to a few more breaking changes:
    • escape::nb_spaces, which was already deprecated, has been removed;
    • escape::nnbsp has been deprecated and renamed escape::nb_spaces_html.

0.2.8 (2019-11-11)

  • Update Regex dependency to newer version

0.2.7 (2018-01-14)

  • Escape square braces in LaTeX

0.2.6 (2017-01-17)

  • Add escape::nnbsp function that should be more reliable to allow "proper" displaying of narrow non breaking spaces on nonconforming devices than escape::nb_spaces.
  • Thus, escape::nb_spaces is deprecated.

0.2.5 (2017-01-06)

  • Upgrade Regex dependency to 0.2.

0.2.4 (2016-12-30)

  • Removed debug println (oops sorry should have checked before publishing previous release!)

0.2.3 (2016-12-30)

  • Fix the french formatting algorithm for short quotes.
  • Change default threshold_quote value to 20.

0.2.2 (2016-10-21)

  • Fix possible character boundary panic in clean::quotes.

0.2.1 (2016-10-21)

  • Added a binary, so it can be used interactively.
  • Added clean::dashes that replaces -- to and --- to .
  • Added clean::guillemets that replaces << to « and >> to ».

0.2.0 (2016-10-20)

Breaking changes as the API was modified:

  • The module french is no longer public, only FrenchFormatter is.
  • typographic_quotes has been renamed quotes and is no longer directly exported, use clean::quotes.
  • remove_whitespaces has been renamed whitespaces and is no longer directly exported, use clean::whitespaces.
  • ellipsis is no longer directly exported, use clean::ellipsis.
  • escape_html has been renamed html and is no longer directly exported, use escape::html.
  • escape_tex has been renamed tex and is no longer directly exported, use escape::tex.
  • escape_nb_spaces has been renamed nb_spaces and is no longer directly exported, use escape::nb_spaces.
  • escape_nb_spaces_tex has been renamed nb_spaces_tex and is no longer directly exported, use escape::nb_spaces_tex.
  • escape_quotes has been renamed quotes and is no longer directly exported, use escape::quotes.

0.1.6 (2016-10-19)

  • Enhanced typographic_quotes's heuristics, and added more tests.
  • Added ellpisis function, and use it for in FrenchFormatter.

0.1.5 (2016-10-18)

  • Enhanced typographic_quotes's heuristics.

0.1.4 (2016-10-17)

  • Added typographic_quotes function.
  • MadeFrenchFormatter use it by default (can be disabled by setting typographic_quotes to false).

0.1.3 (2016-10-13)

  • Now use Travis for continuous integration.
  • Found & documented rustc minimal version to build this lib (1.6.0)
  • FrenchFormatter now implements the Default and Debug traits.
  • Some functions or structs are now reexported so they can be accessed more easily:
    • FrenchFormatter,
    • escape_html,
    • escape_tex,
    • remove_whitespaces.

0.1.2 (2016-10-12)

  • Added format_tex to the FrenchFormatter.

0.1.1 (2016-10-06)

  • Added remove_whitespaces from Crowbook 0.9.1.
  • Added FrenchFormatter which is basically the French cleaner from Crowbook 0.9.1.
  • Added escape_nb_spaces_tex.

0.1.0 (2016-10-06)

  • Initial release, taking escape_html, escape_tex, escape_nb_spaces and escape_quotes from Crowbook 0.9.1.