# Changelog

## [0.6.0](https://github.com/leandrocp/lumis/compare/rust@v0.5.1...rust@v0.6.0) (2026-04-04)


### ⚠ BREAKING CHANGES

* improve formatter internals ([#570](https://github.com/leandrocp/lumis/issues/570))

### Code Refactoring

* improve formatter internals ([#570](https://github.com/leandrocp/lumis/issues/570)) ([c811832](https://github.com/leandrocp/lumis/commit/c811832c808c50f0ab6603c70d5403813e06476d))

## [0.5.1](https://github.com/leandrocp/lumis/compare/rust@v0.5.0...rust@v0.5.1) (2026-04-03)


### Features

* language bundles ([#556](https://github.com/leandrocp/lumis/issues/556)) ([6e98734](https://github.com/leandrocp/lumis/commit/6e98734c20d8a86384f3e8b8e2b694c40bbb0f12))


### Bug Fixes

* loosen lumis-core dep ([61a0e45](https://github.com/leandrocp/lumis/commit/61a0e45bc877f3a2f4652660e8c38a282b4d4552))
* query overrides and injections ([#551](https://github.com/leandrocp/lumis/issues/551)) ([2a356fb](https://github.com/leandrocp/lumis/commit/2a356fbd8f0841c7e0fdb5835330f98621c199ce))

## [0.5.0](https://github.com/leandrocp/lumis/compare/rust@v0.4.0...rust@v0.5.0) (2026-04-02)


### ⚠ BREAKING CHANGES

* bump tree-sitter 0.26 ([#521](https://github.com/leandrocp/lumis/issues/521))
* pass Language to highlight_iter callbacks ([#509](https://github.com/leandrocp/lumis/issues/509))

### Features

* add 135 themes ([#483](https://github.com/leandrocp/lumis/issues/483)) ([26b9d84](https://github.com/leandrocp/lumis/commit/26b9d84f096e5d9dd5064cf816f794fd578f5adf))
* add 42 new languages ([#467](https://github.com/leandrocp/lumis/issues/467)) ([9bacc46](https://github.com/leandrocp/lumis/commit/9bacc46552597f0b7ee5c3b8adde3bfc321a2097))
* add BBCode formatter ([@andrea](https://github.com/andrea)TP) ([#471](https://github.com/leandrocp/lumis/issues/471)) ([8fdce4d](https://github.com/leandrocp/lumis/commit/8fdce4dbff7fcd6cd943d049c9f46588a77e1aa5))
* add BBCode formatter ([@andrea](https://github.com/andrea)TP) ([#471](https://github.com/leandrocp/lumis/issues/471)) ([8fdce4d](https://github.com/leandrocp/lumis/commit/8fdce4dbff7fcd6cd943d049c9f46588a77e1aa5))
* add bbcode_scoped formatter to Elixir and Javascript ([#478](https://github.com/leandrocp/lumis/issues/478)) ([1a34357](https://github.com/leandrocp/lumis/commit/1a343574b0239b5100d6b170124b586b0aabecfe))
* add zsh and llvm languages ([#510](https://github.com/leandrocp/lumis/issues/510)) ([fe8bb2c](https://github.com/leandrocp/lumis/commit/fe8bb2ce76634b75ac5624166216112aba56915a))
* pass Language to highlight_iter callbacks ([#509](https://github.com/leandrocp/lumis/issues/509)) ([5cd345b](https://github.com/leandrocp/lumis/commit/5cd345baefe410a6966b8d855e87a440a1640c14))


### Bug Fixes

* add jinja_inline and remove disabled wasm parsers ([#508](https://github.com/leandrocp/lumis/issues/508)) ([4cb4527](https://github.com/leandrocp/lumis/commit/4cb45279783fd0eba25016c219a3a1feb8b09ac1))
* align parsers with nvim-treesitter query expectations ([#472](https://github.com/leandrocp/lumis/issues/472)) ([297cbfd](https://github.com/leandrocp/lumis/commit/297cbfda5b13694bfbc863093f98557481b91445))
* depend on lumis-core &gt;=0.0.1 ([61af49a](https://github.com/leandrocp/lumis/commit/61af49ae9a910c6abe248291eee3d9cee3e017e2))
* include unnamed children in range ([#430](https://github.com/leandrocp/lumis/issues/430)) ([782bfaa](https://github.com/leandrocp/lumis/commit/782bfaaf4ac86fd287541fcd1307157060846ffc))
* reduce package size ([#527](https://github.com/leandrocp/lumis/issues/527)) ([50844a5](https://github.com/leandrocp/lumis/commit/50844a5ab412a4f12c35c59af8eb3011e2496576))


### Miscellaneous Chores

* bump tree-sitter 0.26 ([#521](https://github.com/leandrocp/lumis/issues/521)) ([ad9a567](https://github.com/leandrocp/lumis/commit/ad9a5679e94032e153eb7d997f2c1577479ec812))

## [0.4.0](https://github.com/leandrocp/lumis/compare/rust@v0.3.1...rust@v0.4.0) (2026-04-02)


### ⚠ BREAKING CHANGES

* bump tree-sitter 0.26 ([#521](https://github.com/leandrocp/lumis/issues/521))

### Bug Fixes

* reduce package size ([#527](https://github.com/leandrocp/lumis/issues/527)) ([50844a5](https://github.com/leandrocp/lumis/commit/50844a5ab412a4f12c35c59af8eb3011e2496576))


### Miscellaneous Chores

* bump tree-sitter 0.26 ([#521](https://github.com/leandrocp/lumis/issues/521)) ([ad9a567](https://github.com/leandrocp/lumis/commit/ad9a5679e94032e153eb7d997f2c1577479ec812))

## [0.3.1](https://github.com/leandrocp/lumis/compare/rust@v0.3.0...rust@v0.3.1) (2026-03-31)


### Bug Fixes

* depend on lumis-core &gt;=0.0.1 ([61af49a](https://github.com/leandrocp/lumis/commit/61af49ae9a910c6abe248291eee3d9cee3e017e2))

## [0.3.0](https://github.com/leandrocp/lumis/compare/rust@v0.2.2...rust@v0.3.0) (2026-03-30)


### ⚠ BREAKING CHANGES

* pass Language to highlight_iter callbacks ([#509](https://github.com/leandrocp/lumis/issues/509))

### Features

* add 135 themes ([#483](https://github.com/leandrocp/lumis/issues/483)) ([26b9d84](https://github.com/leandrocp/lumis/commit/26b9d84f096e5d9dd5064cf816f794fd578f5adf))
* add zsh and llvm languages ([#510](https://github.com/leandrocp/lumis/issues/510)) ([fe8bb2c](https://github.com/leandrocp/lumis/commit/fe8bb2ce76634b75ac5624166216112aba56915a))
* pass Language to highlight_iter callbacks ([#509](https://github.com/leandrocp/lumis/issues/509)) ([5cd345b](https://github.com/leandrocp/lumis/commit/5cd345baefe410a6966b8d855e87a440a1640c14))


### Bug Fixes

* add jinja_inline and remove disabled wasm parsers ([#508](https://github.com/leandrocp/lumis/issues/508)) ([4cb4527](https://github.com/leandrocp/lumis/commit/4cb45279783fd0eba25016c219a3a1feb8b09ac1))

## [0.2.2](https://github.com/leandrocp/lumis/compare/rust@v0.2.1...rust@v0.2.2) (2026-03-27)


### Features

* add 42 new languages ([#467](https://github.com/leandrocp/lumis/issues/467)) ([9bacc46](https://github.com/leandrocp/lumis/commit/9bacc46552597f0b7ee5c3b8adde3bfc321a2097))
* add BBCode formatter to Rust and CLI ([@andreaTP](https://github.com/andreaTP)) ([#471](https://github.com/leandrocp/lumis/issues/471)) ([8fdce4d](https://github.com/leandrocp/lumis/commit/8fdce4dbff7fcd6cd943d049c9f46588a77e1aa5))
* add BBCode formatter to Elixir and Javascript ([#478](https://github.com/leandrocp/lumis/issues/478)) ([1a34357](https://github.com/leandrocp/lumis/commit/1a343574b0239b5100d6b170124b586b0aabecfe))


### Bug Fixes

* align parsers with nvim-treesitter query expectations ([#472](https://github.com/leandrocp/lumis/issues/472)) ([297cbfd](https://github.com/leandrocp/lumis/commit/297cbfda5b13694bfbc863093f98557481b91445))

## [0.2.1](https://github.com/leandrocp/lumis/compare/rust@v0.2.0...rust@v0.2.1) (2026-03-24)


### Bug Fixes

* include unnamed children in range ([#430](https://github.com/leandrocp/lumis/issues/430)) ([782bfaa](https://github.com/leandrocp/lumis/commit/782bfaaf4ac86fd287541fcd1307157060846ffc))

## 0.2.0 - 2026-03-23

### Breaking Changes

- **`highlight_iter` callback signature changed**: the callback now receives `(text, language, range, scope, style)` instead of `(text, range, scope, style)`. The new `language` parameter reports the active language (useful for language injections, e.g. JavaScript inside HTML `<script>` tags).
- **`span_inline` / `span_inline_attrs` parameter order changed**: `language` now comes before `scope` — `span_inline(text, language, scope, ...)` instead of `span_inline(text, scope, language, ...)`.

### Migration

Update `highlight_iter` callbacks:

```rust
// Before
highlight_iter(source, language, theme, |text, range, scope, style| { ... })

// After
highlight_iter(source, language, theme, |text, _language, range, scope, style| { ... })
```

Update `span_inline` calls:

```rust
// Before
span_inline(text, scope, Some(language), theme, false, false)

// After
span_inline(text, Some(language), scope, theme, false, false)
```

## 0.1.3 - 2026-02-20

### Changed
- Add language wat (@andreaTP)

## 0.1.2 - 2026-02-18

### Changed
- Add language nushell (started by @c4lliope)
- Rename CSS class from `athl` to `lumis` for consistency with the project name
- Rename CSS class from `athl-themes` to `lumis-themes` for multi-theme formatter
- Change default CSS variable prefix from `--athl` to `--lumis`

## 0.1.1 - 2026-01-27

### Removed
- Remove `elixir-nif` feature. The Elixir/Rustler bridge code is now maintained in the Elixir package itself.

## 0.1.0 - 2026-01-23

First release of `lumis`, a renamed and restructured version of `autumnus`.

### Migration from autumnus

Update your `Cargo.toml`:

```toml
# Before
[dependencies]
autumnus = "0.8"

# After
[dependencies]
lumis = "0.1"
```

Update your imports:

```rust
// Before
use autumnus::*;

// After
use lumis::*;
```

The API remains the same as `autumnus` v0.8.0 - only the crate and binary names have changed.

A deprecated `autumnus` v0.9.0 crate re-exports all types from `lumis` with deprecation warnings to facilitate migration.
