srgn

A code surgeon for precise text and code transplantation. A marriage of `tr`/`sed`, `rg` and `tree-sitter`.

MIT License

Downloads
32
Stars
397
Committers
6

Bot releases are visible (Hide)

srgn - srgn: v0.12.0 Latest Release

Published by alexpovel-ci-machine[bot] 7 months ago

0.12.0 (2024-03-25)

Features

  • IGNORE parts of matches (21b8dde)

Bug Fixes

srgn - srgn: v0.11.0

Published by alexpovel-ci-machine[bot] 7 months ago

0.11.0 (2024-03-08)

Features

  • Shell completion scripts (39bc6eb)

Bug Fixes

  • tmp directory for flaky test, instead of git restore (2458b34)
  • build: Preprocess German word list (0590bef)
  • tests: Remove tarpaulin-incompatible feature (119bb13)
  • tests: Tarpaulin config file (ef1de6b)
srgn - srgn: v0.10.2

Published by alexpovel-ci-machine[bot] 9 months ago

0.10.2 (2024-01-27)

Bug Fixes

  • build: binstall adjusted to release-please v4 (6c81971)
srgn - srgn: v0.10.1

Published by alexpovel-ci-machine[bot] 9 months ago

0.10.1 (2024-01-01)

Bug Fixes

  • ci: (Try) (again) to fix bootstrapping release-please after bump to v4 (d4ed8d3)
  • ci: (Try) to fix bootstrapping release-please (8f82b7c)
  • ci: Provide empty but mandatory manifest (167f0ac)
srgn - v0.10.0

Published by alexpovel-ci-machine[bot] 10 months ago

0.10.0 (2023-12-18)

Features

  • Scope using namespace names (C#) (200d482)
  • Scope import module names (TypeScript) (b211204)
  • Scope import names (Go) (9b76ce6)
  • Scope module names in imports (Python) (b3345c4)
  • Scope names in uses-declarations (Rust) (cda850d)
srgn - v0.9.0

Published by alexpovel-ci-machine[bot] 11 months ago

0.9.0 (2023-12-03)

Features

  • Rust language (comments, doc comments, strings) (f8910c8)

Bug Fixes

srgn - v0.8.0

Published by alexpovel-ci-machine[bot] 11 months ago

0.8.0 (2023-12-03)

Features

  • Go language (w/ comments, strings, struct tags) (fe91428)
  • Implement string interpolation handling (2f37b2e)
  • Python strings (f452b01)
  • query for C# strings (f38136c)
  • query for TypeScript strings (37de0d4)
srgn - v0.7.0

Published by alexpovel-ci-machine[bot] 12 months ago

0.7.0 (2023-11-06)

⚠ BREAKING CHANGES

  • Remove Debug implementation of dyn Scoper
  • Remove Replacement::new, force going through unescaping via TryFrom<String>
  • Make Replacement a newtype
  • Panic upon creation of inconsistent view

Miscellaneous Chores

  • Make Replacement a newtype (59d6daf)
  • Panic upon creation of inconsistent view (ad6a38a), closes #51
  • Remove Debug implementation of dyn Scoper (31ef135)
  • Remove Replacement::new, force going through unescaping via TryFrom&lt;String&gt; (2ec98c1)
srgn - v0.6.0

Published by alexpovel-ci-machine[bot] 12 months ago

0.6.0 (2023-10-28)

Features

  • Warn when file does not look legit (1593ec7)
  • Write names of processed files to stdout (b42db4e)

Bug Fixes

  • Leftover error messages from debugging (e03c110)
srgn - v0.5.0

Published by alexpovel-ci-machine[bot] 12 months ago

0.5.0 (2023-10-26)

⚠ BREAKING CHANGES

  • explode takes &mut self, add all remaining public docs
  • Simplify explode (no more explode_from_scoper), improve docs
  • View-related items into view module
  • scopes into new module
  • Simplify crate features, fix existing cfgs
  • Make R{O,W}Scope{,s} a newtype so it can take impls
  • Unify ScopedView::map through Action trait

Features

  • File globbing and processing (a8d330c)
  • Flag for failing on empty glob (9d2fd0a)
  • Make german-only dependencies optional (b407b67)
  • Provide ass. functions on view for all actions (ca52905)
  • Simplify explode (no more explode_from_scoper), improve docs (ab0b914)
  • Unify ScopedView::map through Action trait (f6ff38d)

Bug Fixes

  • ci: Code coverage using tarpaulin, by conditionally disabling insta (6ace4fa)
  • clippy: ignored_unit_patterns (4bc2827), closes #35
  • docs: Dead documentation symbol links (ce3f900)
  • docs: GitHub Markdown NOTE syntax error (896129b)
  • docs: Implement placeholder for custom query (0844a99)
  • docs: In/Out was swapped for DosFix (9d56346)
  • Feature-gated doc tests working properly (a46e60d)
  • License for crates.io (6c13a62)
  • Simplify crate features, fix existing cfgs (af1b39d)
  • Splitting of DOS-style line endings (496337c)

Miscellaneous Chores

  • explode takes &mut self, add all remaining public docs (33097c1), closes #6
  • Make R{O,W}Scope{,s} a newtype so it can take impls (98b04d5)
  • scopes into new module (e951347)
  • View-related items into view module (18ef801)
srgn - v0.4.5

Published by alexpovel-ci-machine[bot] 12 months ago

0.4.5 (2023-10-22)

Bug Fixes

  • ci: Only build binaries on release creation (6eaac7b)
  • ci: Skip entire job, not just its single step (9787306)
srgn - v0.4.4

Published by alexpovel-ci-machine[bot] 12 months ago

0.4.4 (2023-10-22)

Bug Fixes

  • ci: Switch from env var to native GitHub Actions variable (816cc54)
  • ci: Use bash for all platforms (9fcb348)
srgn - v0.4.3

Published by alexpovel-ci-machine[bot] 12 months ago

0.4.3 (2023-10-22)

Bug Fixes

  • ci: Use cargo-binstall non-interactively (78dbba9)
srgn - v0.4.2

Published by alexpovel-ci-machine[bot] 12 months ago

0.4.2 (2023-10-22)

Bug Fixes

  • ci: Adjust GitHub token permissions for gh CLI (243878b)
srgn - v0.4.1

Published by alexpovel-ci-machine[bot] 12 months ago

0.4.1 (2023-10-22)

Bug Fixes

  • ci: Checkout before running gh CLI (490d822)
srgn - v0.4.0

Published by alexpovel-ci-machine[bot] 12 months ago

0.4.0 (2023-10-22)

Features

  • ci: Test installation via binstall (ecc35b4)
srgn - v0.3.2

Published by alexpovel-ci-machine[bot] 12 months ago

0.3.2 (2023-10-22)

Bug Fixes

  • ci: Force bash shell on all OSs (f34af16)
srgn - v0.3.1

Published by alexpovel-ci-machine[bot] 12 months ago

0.3.1 (2023-10-22)

Bug Fixes

  • ci: Provide credentials token to gh CLI (1c9c21f)
srgn - v0.3.0

Published by alexpovel-ci-machine[bot] 12 months ago

0.3.0 (2023-10-22)

Features

  • ci: Provide binaries (x86/64bit for macOS, Linux, Windows) (f4c009f)

Bug Fixes

  • ci: Windows binary extension and version string (d93004b)
srgn - v0.2.0

Published by alexpovel-ci-machine[bot] about 1 year ago

0.2.0 (2023-10-14)

Features

  • fail-any and fail-none feature flags (1dd3dcb)

Bug Fixes

  • ci: Linking/cc fails for tarpaulin; try w/o cache (ab40957)
  • Do not pub use Action (1e2c663)
Package Rankings
Top 9.78% on Proxy.golang.org
Badges
Extracted from project README
srgn shell completion docs.rs codecov crates dependency status Lines of Code Hits-of-Code Code coverage icile graph