{"ecosystem":"cargo","package":"syntect","from_version":null,"to_version":null,"changes":[{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"Lazy-load syntaxes to significantly improve startup time. This changes the binary format of syntax dump files.","migration_hint":null},{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"Remove `ContextId::new()` from public API to support lazy-loading of syntaxes","migration_hint":null},{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"Rename `HighlightLines::highlight()` to `HighlightLines::highlight_line()` to make it clear that the function takes one line at a time","migration_hint":null},{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"Make `plist` dependency (used for loading themes) optional via new `plist-load` feature","migration_hint":null},{"from_version":"v4.7.1","to_version":"v5.0.0","change_type":"breaking","description":"Remove obsolete `dump-load-rs` and `dump-create-rs` features that has been identical to `dump-load` and `dump-create` for two years","migration_hint":null},{"from_version":"v3.3.0","to_version":"v4.0.0","change_type":"breaking","description":"**Edit March 30:** If you generate custom pack files and want to use fancy-regex you need to regenerate them. The binary format is the same but at YAML loading time regex rewrites get applied that make fancy-regex work properly.","migration_hint":null},{"from_version":"v3.3.0","to_version":"v4.0.0","change_type":"breaking","description":"If you use `default-features = false` you may need to update your features to choose a regex engine","migration_hint":null},{"from_version":"v3.3.0","to_version":"v4.0.0","change_type":"breaking","description":"A bunch of technically public APIs that I don't know if anyone uses changed due to the regex engine refactor, common uses shouldn't break","migration_hint":null},{"from_version":"v2.1.0","to_version":"v3.0.0","change_type":"breaking","description":"The `SyntaxSet` API has been revamped to use a builder and an arena of contexts. See [example usage](https://github.com/trishume/syntect/blob/51208d35a6d98c07468fbe044d5c6f37eb129205/examples/gendata.rs#L25-L28).","migration_hint":null},{"from_version":"v2.1.0","to_version":"v3.0.0","change_type":"breaking","description":"Many functions now need to be passed the `SyntaxSet` that goes with the rest of their arguments because of this new arena.","migration_hint":null},{"from_version":"v2.1.0","to_version":"v3.0.0","change_type":"breaking","description":"Filename added to `LoadingError::ParseSyntax`","migration_hint":null},{"from_version":"v2.1.0","to_version":"v3.0.0","change_type":"breaking","description":"Many functions in the `html` module now take the `newlines` version of syntaxes.","migration_hint":null},{"from_version":"v2.1.0","to_version":"v3.0.0","change_type":"breaking","description":"These methods have also been renamed, partially so that code that needs updating doesn't break without a compile error.","migration_hint":null},{"from_version":"v1.8.2","to_version":"v2.0.0","change_type":"breaking","description":"The `static-onig` feature was removed, static linking is now the default","migration_hint":null},{"from_version":"v1.8.2","to_version":"v2.0.0","change_type":"breaking","description":"Font styles and color constants now use associated consts because of bitflags upgrade","migration_hint":null},{"from_version":"v1.8.2","to_version":"v2.0.0","change_type":"breaking","description":"SyntaxDefinition::load_from_str now has an extra parameter Other notable changes:","migration_hint":null},{"from_version":"v1.8.2","to_version":"v2.0.0","change_type":"breaking","description":"Support for new `embed` syntax #124","migration_hint":null},{"from_version":"v1.8.2","to_version":"v2.0.0","change_type":"breaking","description":"Updates to many dependencies","migration_hint":null}],"total":18,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}