Skip to content

Releases: your-tools/ruplacer

v0.6.1

08 Jun 17:27
Compare
Choose a tag to compare
  • Handle trailing newlines consistently. Previously, ruplacer would always write file with a trailing new line. Patch by @LawnGnome.

v0.6.0

15 May 13:12
Compare
Choose a tag to compare

Bug fixes

  • Fix panic when using incorrect globs for file and type selections.

New features

  • Also replace Ada_Case (also known as Mixed_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

13 May 15:43
Compare
Choose a tag to compare
Bump to 0.6.0-beta1

v0.5.0

09 May 13:00
Compare
Choose a tag to compare

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

10 Aug 14:46
b6c6a31
Compare
Choose a tag to compare
  • Bump smallvec

v0.4.2

10 Aug 14:46
a66497e
Compare
Choose a tag to compare
  • Fix metadata in Cargo.toml

v0.4.1

29 Mar 10:31
Compare
Choose a tag to compare
  • Fix release scripts

v0.4.0

29 Mar 10:26
Compare
Choose a tag to compare
  • Add -w, --word-regex to match regex only inside words. Note that
    ruplacer -w old new is exactly the same as ruplacer '\bold\b' new.

v0.3.0

05 Dec 14:19
Compare
Choose a tag to compare
  • Implement #18: Add -t, --type, -T, --type-not and --type-list options. Suggested by @Dowwie.

v0.2.7

20 Nov 12:32
Compare
Choose a tag to compare
  • Fix deployment from travis