Skip to content

Releases: trishume/syntect

More Robust Parsing

28 Apr 15:11
Compare
Choose a tag to compare
  • Parsing now abandons a regex after reaching a recursion depth limit instead of taking forever
  • Loop detection better matches Sublime Text
  • Parsing is faster!
  • Dependency upgrades
  • Other minor tweaks

Thanks to @robinst for the headline features of this release!

Breaking Changes and New Stuff

02 Jan 16:36
53a251d
Compare
Choose a tag to compare

Breaking changes:

  • The static-onig feature was removed, static linking is now the default
  • Font styles and color constants now use associated consts because of bitflags upgrade
  • SyntaxDefinition::load_from_str now has an extra parameter

Other notable changes:

  • Support for new embed syntax #124
  • Updates to many dependencies
  • Updated dumps
  • More compact HTML output

New InspiredGithub and libonig

11 Nov 15:16
Compare
Choose a tag to compare
v1.8.2

Bump version to 1.8.2

Update bitflags & packages

13 Oct 23:12
Compare
Choose a tag to compare

This release changes how the constants for FontStyle and Color, relying on the new associated consts feature in Rust 1.20. The old constants are still available but are deprecated and will be removed in v2.0.

Packages were also updated to newer versions.

Enable comparison of parse states

14 Sep 22:19
Compare
Choose a tag to compare

Fixes comparisons of parse states so they are fast and don't recurse infinitely. Thanks @raphlinus

Bug fixes and package updates

05 Sep 19:57
Compare
Choose a tag to compare
  • Fixes #101, which caused some syntaxes like PHP to behave incorrectly.
  • Updates Packages with new syntax versions
  • Adds new handy flags to the syncat example

Pure Rust dump loading/creation features

30 Jun 17:24
Compare
Choose a tag to compare

Helper methods and more theme attributes

21 Jun 03:02
Compare
Choose a tag to compare

Highlighting stacks

31 May 01:49
Compare
Choose a tag to compare

Small release, adds a convenience method for highlighting an entire stack, and derives some more things on Scope.

Serde and optional parsing

25 May 14:35
Compare
Choose a tag to compare

This release switches the dump format from rustc-serialize to Serde, anyone using custom dumps will have to update them.

It also makes the parsing part of the library optional behind a feature flag, anyone not using the default feature flags probably will want to add the parsing flag.