Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This release includes some breaking changes and bumps the major version, true to semver. * `lu.string.contains` was removed and is now a deprecated compatibility alias to Phobos' `std.algorithm.searching.canFind`. It performed the same function, but was worse at it. This is a breaking change in that the Phobos' equivalent is not `@nogc nothrow`. It may be removed in a future release. * `lu.string.beginsWith` was removed and is now a deprecated compatibility alias to Phobos' `std.algorithm.searching.startsWith`. As with `contains`, it was just worse at what it did. It may be removed in a future release. * `lu.strings.nom` was renamed to `.advancePast`, but the old name is still available as a non-deprecated compatibility alias. It may become deprecated and ultimately be removed in a future release. * `lu.strings.nom!(Flag!"inherit")` was also renamed to `advancePast`, and in addition to this the `inherit` flag is now a runtime parameter. The template-parameter overload remains, however it is deprecated and may be removed in a future release. * `lu.strings.beginsWithOneOf` is now deprecated, and reverse use of `std.algorithm.searching.canFind` or `std.string.indexOf` is suggested. It may be removed in a future release. Lastly, this library now successfully compiles with `-dip1000`.
- Loading branch information