Skip to content

Commit

Permalink
Ready for 4.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Dec 2, 2023
1 parent 4b8842e commit 710e7fd
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
# Changelog

## 4.1.0
- Add a port of Python's difflib.
- `CharMatcher` now works on all unicode code-points, correctly and efficiently matching unicode characters beyond UTF-16 bytes:
- Add support for all [Unicode General Categories](https://www.unicode.org/reports/tr44/#General_Category_Values) and [Unicode Properties](https://www.unicode.org/reports/tr44/#Properties).
- Add support for _Character Class Subtraction_ to `CharMatcher.pattern`.
- For consistency `CharMatcher.whitespace()` is only matching ASCII whitespaces, to get the Unicode variant use `UnicodeCharMatcher.whiteSpace()`.
- Add `CharMatcher.punctuation()` for ASCII punctuation characters.
- Various improvements to graph library:
- Add support for unmodifiable graphs.
- Add support to compute the max-flow.
- Rename `GraphBuilder` with `GraphFactory`.
- Replace `Graph.getEdges` with `Graph.getEdge`, add `Graph.putEdge`.
- Make object printer syntax to look like tuples, no need to have these weird curly braces anymore.
- Add `double.nextUp`, `double.nextDown`, `double.nextTowards(double)`, and `double.ulp`.
- Add growable flag to `SortedList` constructors.
- Add Farey sequence to `Fraction`.
- Improve documentation across many parts of the library.

## 4.0.0
* Dart 3.0 requirement.
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,13 @@ More Dart — Literally
A collection of extensively tested extensions that make Dart a better place:

| Library | Description |
|:-------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------|
|--------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------|
| [async](https://pub.dev/documentation/more/latest/async/async-library.html) | Extensions to `Stream`. |
| [cache](https://pub.dev/documentation/more/latest/cache/cache-library.html) | Caching strategies and their expiry policy. |
| [char_matcher](https://pub.dev/documentation/more/latest/char_matcher/char_matcher-library.html) | Character classes, their composition, and operations on strings. |
| [char_matcher](https://pub.dev/documentation/more/latest/char_matcher/char_matcher-library.html) | Character classes, their composition, and operations on strings. |
| [collection](https://pub.dev/documentation/more/latest/collection/collection-library.html) | Extensions to `Iterable` and new collection types. |
| [comparator](https://pub.dev/documentation/more/latest/comparator/comparator-library.html) | Common comparators, and extensions to perform advanced operations. |
| [diff](https://pub.dev/documentation/more/latest/comparator/diff-library.html) | Tools for comparing lists. |
| [feature](https://pub.dev/documentation/more/latest/feature/feature-library.html) | Information about the runtime environment. |
| [functional](https://pub.dev/documentation/more/latest/functional/functional-library.html) | Types and features known from functional programming. |
| [graph](https://pub.dev/documentation/more/latest/graph/graph-library.html) | Graph-theory objects and algorithms. |
Expand Down Expand Up @@ -56,6 +57,7 @@ import 'package:more/cache.dart';
import 'package:more/char_matcher.dart';
import 'package:more/collection.dart';
import 'package:more/comparator.dart';
import 'package:more/diff.dart';
import 'package:more/feature.dart';
import 'package:more/functional.dart';
import 'package:more/graph.dart';
Expand Down

0 comments on commit 710e7fd

Please sign in to comment.