sd/CHANGELOG.md

38 lines
1 KiB
Markdown
Raw Normal View History

2018-12-29 00:57:40 -05:00
# Changelog
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2018-12-30 00:54:08 -05:00
## [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`
2018-12-29 00:57:40 -05:00
## [0.3.0] - 2018-12-29
**Breaking Change**: the `-i`/`--input` is revamped per [#1](https://github.com/chmln/sd/issues/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`
2018-12-29 00:58:39 -05:00
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.
2018-12-29 00:57:40 -05:00
### Improvements
- Files are now written to [atomically](https://github.com/chmln/sd/issues/3)