sd/CHANGELOG.md
2019-03-01 01:33:31 -05:00

1.5 KiB

Changelog

All notable changes to this project will be documented in this file.

This project adheres to Semantic Versioning.

[0.5.0] - 2019-02-22

Improvements

  • Windows support (thanks to @ErichDonGubler)

[0.4.2] - 2019-01-02

Improvements

  • Support for unicode and special characters (like \n) in replacement expressions
    • Only in regex mode
  • Fixed edge-cases when replacing content containing unescaped characters

[0.4.1] - 2019-01-01

Improvements

  • Significant performance improvements (see benchmarks in README)

[0.4.0] - 2018-12-30

Added

  • Option to set regex flags via -f or --flags:
    • m (multi-line)
    • c (case-sensitive)
    • i (case-insensitive)
  • Smart case-sensitivity is used by default with regular expressions

Improvements

  • You may now pass multiple files to sd
    • this is now valid: sd -i "\n" "," *.txt

[0.3.0] - 2018-12-29

Breaking Change: the -i/--input is revamped per #1. The file path now comes at the end, instead of -i.

Transforming the file in-place:

  • Before: sd -s 'str' '' -i file.txt'
  • Now: sd -i -s 'str' '' file.txt
  • Future: sd -i -s 'str' '' *.txt

To reflect this change, --input is also renamed to --in-place. This is the first and most likely the last breaking change in this project.

Improvements