CARVIEW |
Select Language
HTTP/2 200
date: Sat, 19 Jul 2025 19:41:53 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"dbe9cdcdad6ceea6d795a1d3aac26003"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=G3ADhiXBnRNX4Ov5h%2BhM8W4bv2hQ4p%2FL1vFjdsNFfAiARbN2KeJmoboPDqNhG3EIro7hbdJxdTI9lVgAY60fV%2F8uCVW3zdVujcLJCi%2B8Tm0LTAhuW1RNA%2Boak3SvpMuOX00LsaXWOc50Vex9S6gmOkqPjzK2HBsWcT1BXOovlqRpxQIsj4qDzOTFEgvLtzq8tsfD4eDnjMlLPO1INgH%2F%2BPwVC4ZzCxm1V8UH9EKqewEosG6Q3h3Fn1%2FnHvRLWE1toKSZCdlSgDxjFGX7liFqvQ%3D%3D--R13MoqM%2BeC9VVGma--agfFPMgIkummqwGZ%2FuaADQ%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1221628055.1752954112; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 19:41:52 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Sun, 19 Jul 2026 19:41:52 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: D6D6:16AA4:72AF5F:8EE6F8:687BF500
Releases · trishume/syntect · GitHub
07 Feb 09:45
Loading
31 Jul 16:40
Loading
04 May 05:21
Loading
02 Jan 23:24
Loading
26 Dec 04:48
Loading
01 Aug 19:13
Loading
09 Dec 23:33
Loading
20 Aug 02:50
Loading
23 May 17:59
Loading
21 Apr 00:53
Loading
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 152
Releases: trishume/syntect
Releases · trishume/syntect
v5.2.0
1651081
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Compare
Improvements
- Eliminate syntect library's dependency on serde's "derive" feature. Increases build parallelism.
- Add parsing of gutterSettings.
Dependencies
- Update
regex-syntax
to 0.8.
Assets 2
2 people reacted
v5.1.0
b7531a8
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Compare
Improvements
- Fix how
syntect::util::split_at()
handles multi-byte characters - Allow case insensitive search for .tmtheme paths
- impl
PartialEq
forTheme
Dependencies
- Upgrade
fancy-regex
to 0.11 - Upgrade
regex-syntax
to 0.7 - Replace
lazy_static
withonce_cell
Other
- Change MSRV policy to "last three stable versions"
- Make
Debug
impl ofsyntect::highlighting::Color
less verbose
Assets 2
3 people reacted
Breaking changes for improved startup time and error handling!
Compare
Thanks to @Enselic for basically all the work to make this release happen!
Breaking changes
- Lazy-load syntaxes to significantly improve startup time. This changes the binary format of syntax dump files.
- Remove
ContextId::new()
from public API to support lazy-loading of syntaxes - Rename
HighlightLines::highlight()
toHighlightLines::highlight_line()
to make it clear that the function takes one line at a time - Make
plist
dependency (used for loading themes) optional via newplist-load
feature - Remove obsolete
dump-load-rs
anddump-create-rs
features that has been identical todump-load
anddump-create
for two years - Remove deprecated items
ThemeSettings::highlight_foreground
,ThemeSettings::selection_background
,ClassedHTMLGenerator::new
,ClassedHTMLGenerator::parse_html_for_line
,html::css_for_theme
,html::tokens_to_classed_html
andhtml::tokens_to_classed_spans
- Mark all error enums as
#[non_exhaustive]
- These functions have been changed to return a
Result
to allow propagation of errors:html::ClassedHTMLGenerator::parse_html_for_line_which_includes_newline
html::append_highlighted_html_for_styled_line
html::css_for_theme_with_class_style
html::highlighted_html_for_string
html::line_tokens_to_classed_spans
html::styled_line_to_highlighted_html
parsing::ParseState::parse_line
parsing::ScopeStack::apply
parsing::ScopeStack::apply_with_hook
parsing::syntax_definition::Context::match_at
parsing::syntax_definition::ContextReference::id
parsing::syntax_definition::ContextReference::resolve
Other changes
- Fall back to
Plain Text
if a referenced syntax is missing - Add support for
hidden_file_extensions
key in syntaxes. - Implement
Error
andDisplay
for all error enums by usingthiserror
- Replace
lazycell
withonce_cell
to fix crash on lazy initialization - Add
ScopeRangeIterator
- Add CI check for Minimum Supported Rust Version. This is currently Rust 1.53.
- Make looking up a syntax by extension use case-insensitive comparison
- Make
from_dump_file()
~15% faster - Blend alpha value on converting colors to ANSI color sequences
- Fix sample code in documentation to avoid double newlines
- Fix lots of build warnings and lints
- Add Criterion benchmarks for a whole syntect pipeline and for
from_dump_file()
Assets 2
5 people reacted
Patch of v4.7.0 without the semver violations that broke things
Compare
See the release notes for v4.7.0, this release removes a new Cargo feature which constituted a semver violation:
- Remove 'plist-load' feature again due to semver violation. #403
Assets 2
Much faster startup through lazy-loading, and much more!
Compare
Big release this time thanks to tons of fantastic contributions from @Enselic, this release was basically all him! The headline feature is much faster startup time due to lazy-loading at the syntax level.
- Lazy-load syntaxes to significantly improve startup time
- Remove
ContextId::new()
from public API to support lazy-loading of syntaxes. This is technically a breaking change but I have no idea why I made this API public and I'm pretty sure zero people have used it. - Add
ScopeRangeIterator
- Add CI check for Minimum Supported Rust Version. This is currently Rust 1.51.
- Make 'plist' dependency (used for loading themes) optional via new 'plist-load' feature
- Make looking up a syntax by extension use case-insensitive comparison
- Make from_dump_file() ~15% faster
- Blend alpha value on converting colors to ANSI color sequences
- Fix sample code in documentation to avoid double newlines
- Fix lots of build warnings and lints
- Add Criterion benchmarks for a whole syntect pipeline and for from_dump_file()
- Replace lazycell with once_cell to fix crash on lazy initialization
Assets 2
5 people reacted
Fixes and new APIs
Compare
- Add
html::line_tokens_to_classed_spans
to also take a mutable ScopeStack, deprecatetokens_to_classed_spans
, to avoid panics and incorrect highlighting. - Derive Hash for Color and Style
- Add
find_unlinked_contexts
toSyntaxSet
- Add
syntaxes
method toSyntaxSetBuilder
- Bump
fancy-regex
to v0.7 andyaml-rust
to v0.4.5
Assets 2
A more correct classed HTML function
Compare
- Added a new function for producing classed HTML which handles newlines correctly and deprecated old one. #307
Assets 2
Cross-thread errors (+ feature and html fixes)
Compare
Assets 2
New onig and plist versions
Compare
- Updates to new versions of
onig
andplist
. The newonig
version doesn't requirebindgen
thus making compilation easier. #293
Assets 2
Fix a bug that could panic with some syntaxes
Compare
- Properly handle backreferences in included contexts #288
Assets 2
Previous Next
You can’t perform that action at this time.