Skip to content
This repository was archived by the owner on Oct 11, 2021. It is now read-only.

Commit fe1286a

Browse files
Updated changelog
1 parent 35122fa commit fe1286a

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,35 @@
11
# Changelog
22

33

4+
## 0.5.0 (2020-10-26)
5+
6+
I ❤️ Typescript + Prettier! <br>
7+
The whole project is now implemented in Typescript and uses Prettier for formatting.
8+
9+
### Added
10+
11+
- `no-obscure-range`: A new rule to report most likely unintended ranges in character classes due to unescaped `-`s.
12+
- `no-empty-alternative`: A new rule to detect empty alternatives in groups and patterns that are likely a mistake.
13+
- `prefer-predefined-assertion`: This will suggest predefined assertions (`\b\B^$`) if a lookaround behaves like one.
14+
- `disjoint-alternatives`: A new rule to report disjoint alternatives to prevent mistakes and exponential backtracking.
15+
- `no-trivially-nested-quantifier`: A new rule to fix trivially quantifiers.
16+
17+
### Changed
18+
19+
- `no-unnecessary-group`: New option to allow non-capturing groups that wrap the whole regex.
20+
- `prefer-character-class`: The rule is now also active inside lookarounds, will reorder alternatives, and more aggressively merge into existing character classes.
21+
- `no-unnecessary-lazy`: It can now analyse single-character quantifiers.
22+
- `prefer-predefined-character-set`: It will now leave `0-9` as is.
23+
- `optimal-concatenation-quantifier`: It can now merge characters and quantifiers.
24+
- New rules table in README.
25+
- Better error messages for a lot of rules.
26+
27+
### Fixed
28+
29+
- `no-empty-lookaround` didn't handle backreferences correctly.
30+
- Many, many typos and other mistakes in the docs.
31+
32+
433
## 0.4.0 (2020-05-05)
534

635
Clean regex now uses [refa](https://github.com/RunDevelopment/refa), a library for NFA and DFA operations and converting JS RegExp to NFA.

0 commit comments

Comments
 (0)