Skip to content

Latest commit

 

History

History
496 lines (337 loc) · 38.6 KB

CHANGELOG.md

File metadata and controls

496 lines (337 loc) · 38.6 KB

Changelog

0.13.4 (2024-11-09)

Features

  • cli: --<LANG>-query-file option for reading queries from files (#168) (4967356)
  • cli: Dry run mode ( --dry-run flag) (#156) (c2a6d2a)

Bug Fixes

  • alloc: Right(ish)-sized buffer allocations (3f64519)
  • cli: Ignore (do not abort on) non-utf8 files when walking recursively (b3b9d6e), closes #166

0.13.3 (2024-10-19)

Bug Fixes

  • files: Writing new files works across devices (1b27825), closes #145

0.13.2 (2024-09-27)

Features

  • c: introduce C parser (da2580a)
  • cli: Language shorthands (--py for --python etc.) (f93093a)
  • rust: Scope unsafe code (c67ff9e)
  • Scope Python identifiers (d5932b8)

0.13.1 (2024-08-18)

Bug Fixes

  • build: Vendor tree-sitter-hcl properly (#107) (95d346d)

0.13.0 (2024-08-18)

⚠ BREAKING CHANGES

  • grep-like, recursive search mode
  • Update tree-sitter & bindings
  • Adjust IGNORE pattern
  • Variables for replacement action
  • Ranges

Features

  • grep-like, recursive search mode (d55b28f)
  • Ranges (bd8b0bc)
  • c#: Scope class definitions (f65137d)
  • c#: Scope enum definitions (31dc2cb)
  • c#: Scope interface definitions (338b5f4)
  • c#: Scope struct definitions (5b53286)
  • c#: Scope attribute names (c3fe051)
  • c#: Scope constructor definitions (d8b5e7a)
  • c#: Scope destructor definitions (6f9677b)
  • c#: Scope field definitions (3f2d919)
  • c#: Scope identifier names (0267196)
  • c#: Scope method definitions (5b530a1)
  • c#: Scope property definitions (769ffef)
  • c#: Scope variable declarations (09879ea)
  • cli: -j aka --join-language-scopes flag (2c1b9e8)
  • go: Ignore file paths containing vendor (0be56d0)
  • go: Scope (any) type definitions (bf2e90c)
  • go: Scope const assignments/specifications (61232b9)
  • go: Scope defer blocks (76a91b8)
  • go: Scope func init() definitions (106c4a6)
  • go: Scope func definitions (all, free, methods) (707e95a)
  • go: Scope go blocks (c38c5c3)
  • go: Scope goto statements (4133575)
  • go: Scope select blocks (ddbf9d9)
  • go: Scope struct and interface type definitions (392330f)
  • go: Scope switch blocks (61f5e08)
  • go: Scope type aliases (a1d707a)
  • go: Scope var assignments/specifications (367191d)
  • go: Scope labeled statements (308e28f)
  • go: Scope type aka generic parameters (891aa11)
  • HCL (HashiCorp Configuration Language) (814a592)
  • hcl: Scope data blocks (dc38287)
  • hcl: Scope locals blocks (c22c475)
  • hcl: Scope module blocks (84965ed)
  • hcl: Scope output blocks (9627961)
  • hcl: Scope provider blocks (a77e603)
  • hcl: Scope resource blocks (963d9a4)
  • hcl: Scope terraform blocks (a60a754)
  • hcl: Scope variable blocks (6b8dcdc)
  • language-scoping: Specify multiple language scopes (ce0db6f), closes #104
  • python: Scope lambdas (94894c0)
  • python: Scope try blocks (107d87f)
  • python: Scope with blocks (b0f9825)
  • python: Scope async function definitions (async def) (4debfff)
  • python: Scope classmethods ([@classmethod](https://github.com/classmethod) def inside class) (4779d69)
  • python: Scope function definitions (def) (10ef4d5)
  • python: Scope global aka module-level variable (assignments) (fc5c027)
  • python: Scope methods (def inside class) (e151d9a)
  • python: Scope staticmethods ([@staticmethod](https://github.com/staticmethod) def inside class) (8f53aa5)
  • python: Scope type hints (5dc106f)
  • python: Scope variable names (from their assignment) (0fb549c)
  • rust: Scope "private" (non-pub) function, struct, enum definitions (fab1bc3)
  • rust: Scope "test" functions (functions with any attribute containing test) (1c264fb)
  • rust: Scope {,pub({crate,self,super})} enum definitions (019bacb)
  • rust: Scope {,pub({crate,self,super})} struct definitions (8c922bf)
  • rust: Scope impl blocks (f96d0dd)
  • rust: Scope impl blocks for types and traits specifically (d51290c)
  • rust: Scope pub({crate,self,super}) function definitions (0e90ed5)
  • rust: Scope pub function definitions (2ebcd15)
  • rust: Scope trait definitions (7a1ad3d)
  • rust: Scope attributes (b9c03a3)
  • rust: Scope closure definitions (83473c3)
  • rust: Scope contents of mod tests blocks (fc0a9db)
  • rust: Scope contents of mod blocks (08278bc)
  • rust: Scope function definitions (c2dd0c3)
  • rust: Scope function definitions marked async (156f34c)
  • rust: Scope function definitions marked const (0cd4ac4)
  • rust: Scope function definitions marked extern (fd08b7d)
  • rust: Scope function definitions marked unsafe (c54fe4d)
  • rust: Scope functions inside impl blocks (e9c3c16)
  • rust: Scope identifiers (007f0be)
  • rust: Scope individual variants of enums (07f4eb9)
  • rust: Scope type definitions (struct, enum, union) (33fc03b)
  • rust: Scope type identifiers (4caefdb)
  • typescript: Scope class definitions (f5c3b6f)
  • typescript: Scope constructor method definitions (afafbbf)
  • typescript: Scope enum definitions (91afb9f)
  • typescript: Scope export blocks (bb73080)
  • typescript: Scope function definitions (async, sync, or both) (3edc8f0)
  • typescript: Scope interface definitions (05f3257)
  • typescript: Scope let, const, var variable declarations (9bd04d8)
  • typescript: Scope namespace blocks (aeb5d41)
  • typescript: Scope try/catch/finally blocks (4c19dd9)
  • typescript: Scope type alias declarations (ba3c726)
  • typescript: Scope method definitions (f5ddc52)
  • typescript: Scope type parameters (449d12e)
  • typescript: Scope variable declarations (5be5abc)
  • Variables for replacement action (7f6cfcb)

Bug Fixes

  • fail-any, fail-none and fail-empty-glob flags (9673678)
  • cli: Exit gracefully on broken pipe in search mode (d47b901)
  • go: String scoping no longer scopes parts of imports/field decl. (f4796c0)
  • hcl: Check blocks for exact identifier equality (1f26d56)
  • hcl: Exclude count metavariable from {resource,data}-names (6ff7a05)
  • hcl: Scopes exclude quotes (df30f9e)
  • language-scoping: Construct TSQuery only once (084df95), closes #76
  • logging: Logs display timestamps again (70ffd1c)
  • python: Scoping docstrings and strings no longer includes quotes (2a743c8)
  • rust: uses scope only scopes things actually behind a use (ea1a734)
  • rust: uses scopes to its entire argument (0ca45a1)
  • rust: doc comments match //!-style (a910e82)
  • rust: Scoping strings no longer includes quotes (8fb5da8)
  • typescript: Scoping strings no longer includes quotes (f1626d7)

Miscellaneous Chores

  • Adjust IGNORE pattern (96d4d4c)
  • Update tree-sitter & bindings (5debd0e)

0.12.0 (2024-03-25)

Features

  • IGNORE parts of matches (21b8dde)

Bug Fixes

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)

0.10.2 (2024-01-27)

Bug Fixes

  • build: binstall adjusted to release-please v4 (6c81971)

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)

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)

0.9.0 (2023-12-03)

Features

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

Bug Fixes

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)

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)

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)

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)

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)

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)

0.4.3 (2023-10-22)

Bug Fixes

  • ci: Use cargo-binstall non-interactively (78dbba9)

0.4.2 (2023-10-22)

Bug Fixes

  • ci: Adjust GitHub token permissions for gh CLI (243878b)

0.4.1 (2023-10-22)

Bug Fixes

  • ci: Checkout before running gh CLI (490d822)

0.4.0 (2023-10-22)

Features

  • ci: Test installation via binstall (ecc35b4)

0.3.2 (2023-10-22)

Bug Fixes

  • ci: Force bash shell on all OSs (f34af16)

0.3.1 (2023-10-22)

Bug Fixes

  • ci: Provide credentials token to gh CLI (1c9c21f)

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)

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)

0.1.0 (2023-10-05)

Features

  • german_prefer_original option (a25479a), closes #25
  • is_compound_word -> decompose_compound_word (8cf6175)
  • squeeze stage, Scoped concept (4c18820)
  • symbols stage (daae90c)
  • Add memoization (58b5fdf), closes #1
  • Child options and flags imply their parent (20518c2)
  • CSharp support (comments) and UserService.cs sample (1cef201)
  • Deletion stage (4fd7e76)
  • Introduce FSTs (f3434d6)
  • Introduce proper error enum for word casing (e3a8c5a)
  • Inversion (b0c3b6b)
  • Lowercasing stage (e0b097a)
  • naive mode for German (cb3357c)
  • replacement stage (8886880)
  • Support upper/mixed case special characters (90111da), closes #5
  • TypeScript, with TODO app example (3d3ed21)
  • uppercase stage (c92ad21)
  • Use decompound (c640363)
  • Use once_cell to build fst::Set only once (3eae2b6)
  • Verbosity switch (8c05d69)
  • Word list performance increased (now a single &str) (32716fa)
  • Working tree-sitter for language scoping (bf17589)

Bug Fixes

  • Add aufwändig to German word list (69a138b)
  • ci: cargo-tarpaulin v0.27 broke 'Xml' (df585a2)
  • ci: Checkout and cache code coverage run (938b7a5)
  • ci: Run coverage test in parallel (f4167d5)
  • ci: Run release chores in parallel (afca5cf)
  • ci: Trigger release-please (505110a)
  • ci: Update all dependencies (928a6d5)
  • Drop custom Span, use std::ops::Range (fad059e)
  • Fix tests after project rename (f5d4f17)
  • Make initial/missing Transition an unrepresentable state (ba2948d)
  • Squeezing now has tr-like squeeze-repeats alias (4d67a45)
  • test: Symbols stage is not fully idempotent (5ff9277)

Performance Improvements

  • Add profiling tooling (as a Justfile, for automation) (9503761), closes #14

0.1.0 (2023-10-03)

Features

  • german_prefer_original option (a25479a), closes #25
  • is_compound_word -> decompose_compound_word (8cf6175)
  • squeeze stage, Scoped concept (4c18820)
  • symbols stage (daae90c)
  • Add memoization (58b5fdf), closes #1
  • Child options and flags imply their parent (20518c2)
  • CSharp support (comments) and UserService.cs sample (1cef201)
  • Deletion stage (4fd7e76)
  • Introduce FSTs (f3434d6)
  • Introduce proper error enum for word casing (e3a8c5a)
  • Inversion (b0c3b6b)
  • Lowercasing stage (e0b097a)
  • naive mode for German (cb3357c)
  • replacement stage (8886880)
  • Support upper/mixed case special characters (90111da), closes #5
  • TypeScript, with TODO app example (3d3ed21)
  • uppercase stage (c92ad21)
  • Use decompound (c640363)
  • Use once_cell to build fst::Set only once (3eae2b6)
  • Verbosity switch (8c05d69)
  • Word list performance increased (now a single &str) (32716fa)
  • Working tree-sitter for language scoping (bf17589)

Bug Fixes

  • Add aufwändig to German word list (69a138b)
  • ci: cargo-tarpaulin v0.27 broke 'Xml' (df585a2)
  • ci: Update all dependencies (928a6d5)
  • Drop custom Span, use std::ops::Range (fad059e)
  • Fix tests after project rename (f5d4f17)
  • Make initial/missing Transition an unrepresentable state (ba2948d)
  • Squeezing now has tr-like squeeze-repeats alias (4d67a45)
  • test: Symbols stage is not fully idempotent (5ff9277)

Performance Improvements

  • Add profiling tooling (as a Justfile, for automation) (9503761), closes #14