Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(main): release srgn 0.14.0 #170

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexpovel-ci-machine[bot]
Copy link
Contributor

🤖 I have created a release beep boop

0.14.0 (2024-11-09)

⚠ BREAKING CHANGES

  • grep-like, recursive search mode
  • Update tree-sitter & bindings
  • Adjust IGNORE pattern
  • Variables for replacement action
  • Ranges
  • 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
  • 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

  • fail-any and fail-none feature flags (1dd3dcb)
  • grep-like, recursive search mode (d55b28f)
  • IGNORE parts of matches (21b8dde)
  • 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)
  • Child options and flags imply their parent (20518c2)
  • c: introduce C parser (da2580a)
  • ci: Provide binaries (x86/64bit for macOS, Linux, Windows) (f4c009f)
  • ci: Test installation via binstall (ecc35b4)
  • cli: --&lt;LANG&gt;-query-file option for reading queries from files (#168) (4967356)
  • cli: -j aka --join-language-scopes flag (2c1b9e8)
  • cli: Dry run mode ( --dry-run flag) (#156) (c2a6d2a)
  • cli: Language shorthands (--py for --python etc.) (f93093a)
  • CSharp support (comments) and UserService.cs sample (1cef201)
  • File globbing and processing (a8d330c)
  • Flag for failing on empty glob (9d2fd0a)
  • Go language (w/ comments, strings, struct tags) (fe91428)
  • 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)
  • Implement string interpolation handling (2f37b2e)
  • language-scoping: Specify multiple language scopes (ce0db6f), closes #104
  • Make german-only dependencies optional (b407b67)
  • Provide ass. functions on view for all actions (ca52905)
  • Python strings (f452b01)
  • 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)
  • query for C# strings (f38136c)
  • query for TypeScript strings (37de0d4)
  • Rust language (comments, doc comments, strings) (f8910c8)
  • 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 unsafe code (c67ff9e)
  • 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)
  • 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)
  • Scope Python identifiers (d5932b8)
  • Shell completion scripts (39bc6eb)
  • Simplify explode (no more explode_from_scoper), improve docs (ab0b914)
  • TypeScript, with TODO app example (3d3ed21)
  • 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)
  • Unify ScopedView::map through Action trait (f6ff38d)
  • Variables for replacement action (7f6cfcb)
  • Warn when file does not look legit (1593ec7)
  • Write names of processed files to stdout (b42db4e)

Bug Fixes

  • fail-any, fail-none and fail-empty-glob flags (9673678)
  • tmp directory for flaky test, instead of git restore (2458b34)
  • alloc: Right(ish)-sized buffer allocations (3f64519)
  • build: binstall adjusted to release-please v4 (6c81971)
  • build: Preprocess German word list (0590bef)
  • build: Vendor tree-sitter-hcl properly (#107) (95d346d)
  • ci: (Try) (again) to fix bootstrapping release-please after bump to v4 (d4ed8d3)
  • ci: (Try) to fix bootstrapping release-please (8f82b7c)
  • ci: Adjust GitHub token permissions for gh CLI (243878b)
  • ci: Checkout and cache code coverage run (938b7a5)
  • ci: Checkout before running gh CLI (490d822)
  • ci: Code coverage using tarpaulin, by conditionally disabling insta (6ace4fa)
  • ci: Force bash shell on all OSs (f34af16)
  • ci: Linking/cc fails for tarpaulin; try w/o cache (ab40957)
  • ci: Only build binaries on release creation (6eaac7b)
  • ci: Provide credentials token to gh CLI (1c9c21f)
  • ci: Provide empty but mandatory manifest (167f0ac)
  • ci: Run coverage test in parallel (f4167d5)
  • ci: Run release chores in parallel (afca5cf)
  • ci: Skip entire job, not just its single step (9787306)
  • ci: Switch from env var to native GitHub Actions variable (816cc54)
  • ci: Trigger release-please (505110a)
  • ci: Use bash for all platforms (9fcb348)
  • ci: Use cargo-binstall non-interactively (78dbba9)
  • ci: Windows binary extension and version string (d93004b)
  • cli: Exit gracefully on broken pipe in search mode (d47b901)
  • cli: Ignore (do not abort on) non-utf8 files when walking recursively (b3b9d6e), closes #166
  • clippy: ignored_unit_patterns (4bc2827), closes #35
  • Debug representation of escape_debug (dfc2e09)
  • Do not pub use Action (1e2c663)
  • docs: Dead documentation symbol links (ce3f900)
  • docs: Escape quotes (e248938)
  • 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)
  • files: Writing new files works across devices (1b27825), closes #145
  • 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
  • Leftover error messages from debugging (e03c110)
  • License for crates.io (6c13a62)
  • logging: Logs display timestamps again (70ffd1c)
  • MSRV (ac6d744)
  • Panic on capture groups (ea1aa08), closes #71
  • 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)
  • Simplify crate features, fix existing cfgs (af1b39d)
  • Splitting of DOS-style line endings (496337c)
  • Squeezing now has tr-like squeeze-repeats alias (4d67a45)
  • tests: Remove tarpaulin-incompatible feature (119bb13)
  • tests: Tarpaulin config file (ef1de6b)
  • Trace message about regex pattern (6b67dfe)
  • typescript: Scoping strings no longer includes quotes (f1626d7)

Miscellaneous Chores

  • explode takes &mut self, add all remaining public docs (33097c1), closes #6
  • Adjust IGNORE pattern (96d4d4c)
  • Make R{O,W}Scope{,s} a newtype so it can take impls (98b04d5)
  • 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)
  • scopes into new module (e951347)
  • Update tree-sitter & bindings (5debd0e)
  • View-related items into view module (18ef801)

This PR was generated with Release Please. See documentation.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.48%. Comparing base (2c29cfd) to head (dff902c).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #170   +/-   ##
=======================================
  Coverage   88.48%   88.48%           
=======================================
  Files          33       33           
  Lines        1920     1920           
=======================================
  Hits         1699     1699           
  Misses        221      221           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@alexpovel alexpovel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bugged out

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants