Skip to content

Commit

Permalink
Ready for 4.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
renggli committed Dec 29, 2023
1 parent 418d4f2 commit c453f35
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# Changelog

## 4.2.0
- Improved `Iterable.index` to more common argument names, and support `step`.
- Add `also` scope operator, which significantly improves the possibility to write one-liners.
- Numerous improvements to the Graph library:
- Various performance critical fixes, better use of priority queues.
- Easy export to [GraphViz](https://graphviz.org/) with `Graph.toDot()`.
- Add support for filtered vertex views with `Graph.where({Predicate<V> vertexPrediate})`.
- Add support to copy graphs with `Graph.copy({bool empty})`.
- Improve `toString` of `Graph`, `Edge` and `Path` classes.
- Add the Stoer-Wagner min-cut algorithm.
- Numerous smaller improvements:
- Add support for patterns in `String.removeSuffix`; and add `String.partition` and `String.lastPartition`.
- Add support to compute `Iterable.minMax` in one pass, and `Iterable.gcd` and `Iterable.lcm`.
- Removed `Heap`: `PriorityQueue` from the Dart standard library provides the same functionality.
- Made the `SortedList` implement `PriorityQueue`.

## 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:
Expand Down
4 changes: 2 additions & 2 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: more
version: 4.1.0
version: 4.2.0

homepage: https://github.com/renggli/dart-more
description: More Dart — Literally. Collecting, iterating, caching, mathematics,
Expand All @@ -24,4 +24,4 @@ dev_dependencies:
build_web_compilers: ^4.0.0
fake_async: ^1.3.0
lints: ^3.0.0
test: ^1.24.0
test: ^1.25.0

0 comments on commit c453f35

Please sign in to comment.