Releases: your-tools/ruplacer
Releases · your-tools/ruplacer
v0.6.1
- Handle trailing newlines consistently. Previously,
ruplacer
would always write file with a trailing new line. Patch by @LawnGnome.
v0.6.0
Bug fixes
- Fix panic when using incorrect globs for file and type selections.
New features
- Also replace
Ada_Case
(also known asMixed_Case
) variants when using--subvert
New output
The output has changed, going from:
# Using version < 0.6
Patching foo/bar.js
--- old is old
+++ new is new
to:
# Using version >= 0.6
foo/bar.js:3 - old is old
foo/bar.js:3 + new is new
- ruplacer now displays the path and line number of each line that changed
- the coloring of patches is more precise. See #15 for details.
- ruplacer reports the total number of replacements, rather than the
number of lines that changed
Internal changes
- Drop dependency on the
difference
crate - Improve public API
- Default branch is now called
main
v0.6.0-beta1
Bump to 0.6.0-beta1
v0.5.0
New features
-
Implement
--hidden
and--ignored
flags, to force patching of
hidden and ignored files, respectively. -
If the last argument is
-
, read from stdin and write to stdout.
Internals
- Switch to 2018 edition
- Switch to GitHub Actions for CI
- Switch to
anyhow
for error handling - Move out of TankerHQ GitHub organization
v0.4.3
- Bump
smallvec
v0.4.2
- Fix metadata in Cargo.toml
v0.4.1
- Fix release scripts
v0.4.0
- Add
-w, --word-regex
to match regex only inside words. Note that
ruplacer -w old new
is exactly the same asruplacer '\bold\b' new
.
v0.3.0
v0.2.7
- Fix deployment from travis