Skip to content

Enum version

Compare
Choose a tag to compare
@spenserblack spenserblack released this 22 Feb 17:16
· 86 commits to main since this release
749b5a0

Language has been changed from a struct to an enum -- the language's attributes are now assigned to each variant. To accomplish this, we had to move to defining language data at compile-time instead of runtime. This means that this release drops the ability to define your own language definitions -- the default languages.yaml is now the only language definition.

Types for performing analysis, like Analyzers, have also been dropped to accomplish this. Now, Language has methods that return Self that can be used to match file information to a language.

Usage of the binary should be the same.

What's Changed

💥 Breaking changes

Other Changes

Full Changelog: v0.10.1...v0.11.0