Skip to content

Commit

Permalink
Update changelog for 2.0.0 release (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
emkguts authored Feb 20, 2025
1 parent f8c1615 commit d2385fc
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 1 deletion.
28 changes: 28 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,34 @@
Quokka follows [Semantic Versioning](https://semver.org) and
[Common Changelog: Guiding Principles](https://common-changelog.org/#12-guiding-principles)

## [2.0.0] - 2025-02-20

### Improvements

#### Configuration filtering with :only and :exclude

Quokka now supports filtering which rewrites to apply using the `:only` and `:exclude` configuration options. This allows teams to gradually adopt Quokka's rewrites by explicitly including or excluding specific ones.

Example configuration in `.formatter.exs`:

```elixir
[
# Only apply these specific rewrites
only: [:pipes, :aliases, :line_length],

# Or exclude specific rewrites
exclude: [:sort_directives]
]
```

See the documentation for a complete list of available rewrite options.

### Breaking Changes

- Removed `newline_fixes_only` configuration option in favor of using `only: [:line_length]`
- Removed `reorder_configs` configuration option in favor of using `only: [:configs]`
- Removed `rewrite_deprecations` configuration option in favor of using `only: [:deprecations]`

## [1.1.0] - 2025-02-14

### Improvements
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ in `.formatter.exs` to fine tune your setup:
included: ["lib/", ...],
excluded: ["lib/example.ex", ...]
},
newline_fixes_only: true | false
only: [
# Changes to blocks of code
:blocks
Expand Down

0 comments on commit d2385fc

Please sign in to comment.