Skip to content

Commit

Permalink
CHANGELOG.md: Update to include PR trishume#432
Browse files Browse the repository at this point in the history
Update CHANGELOG.md to include the changes made in

  Replace direct panics with Errors trishume#432
  • Loading branch information
Enselic committed Apr 3, 2022
1 parent dcd439e commit e8535c1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions CHANGELOG.md
Expand Up @@ -11,6 +11,19 @@ Breaking changes
- Remove obsolete `dump-load-rs` and `dump-create-rs` features that has been identical to `dump-load` and `dump-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` and `html::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

Expand Down

0 comments on commit e8535c1

Please sign in to comment.