Skip to content

Update comby/comby Docker tag to v1 - autoclosed#110

Closed
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/comby-comby-1.x
Closed

Update comby/comby Docker tag to v1 - autoclosed#110
renovate[bot] wants to merge 1 commit intomasterfrom
renovate/comby-comby-1.x

Conversation

@renovate
Copy link

@renovate renovate bot commented Mar 23, 2023

Mend Renovate

This PR contains the following updates:

Package Type Update New value References Sourcegraph
comby/comby stage major 1.7.1 source code search for "comby/comby"
comby/comby final major 1.7.1 source code search for "comby/comby"

⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the Dependency Dashboard for more information.

Test plan: CI should pass with updated dependencies. No review required: this is an automated dependency update PR.


Release Notes

comby-tools/comby

v1.7.1

Compare Source

Fixes JSON output of -json-lines which previously emitted double-escaped values like \\n instead of \n

v1.7.0

Compare Source

  • update language definitions (MATLAB, R)

  • recognize Terraform file extension .tf for -lang flag (previously .hcl).

  • additional property accesses .file aliased to file.path

  • fixes behavior so that -newline-separated works with rewrite {...} rules

  • custom metasyntax is now recognized for all terms inside rules

  • custom metasyntax aliases are now applied to rules

v1.6.0

Compare Source

Utility properties for holes. The following are introduced and recognized in rules and rewrite templates, and are substituted:

  • Length. Substitute the length of a hole in rules and rewrite templates
:[hole].length
  • String conversions. The following are recognized pattern that will substitute the value of :[hole] with the respective string processing in rewrite templates and rules
:[hole].lowercase
:[hole].UPPERCASE
:[hole].Capitalize
:[hole].uncapitalize
:[hole].UpperCamelCase
:[hole].lowerCamelCase
:[hole].UPPER_SNAKE_CASE
:[hole].lower_snake_case
  • Filepaths. Substitute the file name, file path, or directory
:[hole].file.path
:[hole].file.name
:[hole].file.directory

  • Simpler rule syntax modifications. Less strict parsing and more convenient/readable possibilities for rule syntax.
Expand for full list of changes
  • trailing commas for rule expressions are OK:
where :[x] == :[y],
where match :[x] {
|  :[y] -> :[z],
},
  • optional first | for pattern matching:
where match :[x] { :[y] -> :[z] }
  • convenience interpretations for _:
where match :[x] { _ -> :[z] }

implies

where match :[x] { :[_] -> :[z] }
  • convenience interpretation for regex ~:
where match :[x] { ~match-regex -> :[z] }

implies

where match :[x] { :[~match-regex] -> :[z] }
  • Single, double escapable quotes in match and rewrite cases (interprets \t, \n, \r, \\ escape sequences):
where match :[x] { '"yep"\n' -> :[z] }
  • Raw string quotes (no interpreting escape sequences)
where match :[x] { `"yep"\n` -> :[z] }
  • Heuristic parsing for patterns in match cases that require neither quotes nor recognized variable:
where match :[x] { foo(:[x]) -> :[x] }
where rewrite :[x] { foo(:[x]) -> :[x] }

Behavior looks for the first ->, so -> must be escaped if this should be matched literally. Trailing and leading spaces in pattern matches are ignored--use quotes for significant leading and trailing spaces


  • Added .hcl language definition

  • The experimental optional hole syntax is removed. Use regular expressions holes with optional modifiers ? instead.

v1.5.1

Compare Source

  • Changed -rg option to not emit an error when no matches/files are found to process.

v1.1.0

Compare Source

  • adds -bound-count flag

Stop running when at least num matches are
found (possibly more are returned for parallel
jobs).

  • avoids writing to file system if a file is unchanged

  • bug fix: don't parse for comments inside strings

  • bug fix: don't assume single quotes in Haskell are balanced

  • adds additional delimiters to interpret code blocks in Julia

  • adds support for Coq, Zig, Solidity, and Move languages by adding basic definitions

  • bug fix where strings should have been escaped in -match-only JSON output

  • bug fix where carriage returns\r were not escaped in match output

  • fresh variable generation via :[id()] in -sequential mode increment sequentially

  • add experimental nested matching via where nested

v1.0.0

Compare Source

Breaking change:

  • :[hole] will only match across newlines If they are inside delimiters for a language. Otherwise, it will match at most to the end of line, rather than across multiple lines or to the end of file. To disable this behavior and force matching across newlines for any language, add the flag -match-newline-at-toplevel. There is one exception to this change: The following languages/file extensions are unaffected and will continue to match across newlines outside delimiters:
    • .tsx, .jsx, .html, .xml, .tex, .txt
      This is because tags like <p>...</p> are not yet considered proper delimiters, and other textual inputs do not typically contain delimiters.

Additions:

  • The ellipses ... alias can now be used instead of :[_] in rules. Example:
where match :[args] {                                                                                                                                                                                                                                                                                                                                                                                      
| "..., foo, ..." -> true                                                                                                                                                                                      
| "..." -> false                                                                                                                                                                                               
}

v0.18.4

Compare Source

  • Unbreaks a breaking change introduced in 0.18.0. It undos:
    • Simplify matching for :[hole]: If they are not inside nested delimiters, only match until it's suffix, or end of line (rather than end of file).
  • The above behavior can be set with the flag -cut-off-newline

v0.18.3

Compare Source

  • ... in templates alias to :[_]

v0.18.2

Compare Source

  • Make identifier optional in regex holes.

v0.18.1

Compare Source

  • Fixes a regression where paths would not be matched in zip files.

v0.18.0

Compare Source

  • Add support for regex holes
  • Fuzzy match whitespace inside strings
  • Simplify matching for :[hole]: If they are not inside nested delimiters, only match until it's suffix, or end of line (rather than end of file).
  • Fix: comments in template imply whitespace
  • Add definitions for GraphQL, Dhall, JSONC

v0.17.0

Compare Source

  • Fix: don't traverse directories if exact paths are specified on the command line
  • Feature: TOML file format for specifying templates
  • Feature: .comby file in TOML format, where using flags="-my-flags" will be appending to comby invocation in the current directory. This file can also be used to specify templates for the directory

v0.16.0

Compare Source

Added:

  • -exclude option to exclude files

Updated source files to compile with OCaml 4.10.

v0.15.0

Compare Source

  • exclude-dir option now accepts multiple comma-separated prefixes.

v0.14.1

Compare Source

Bug fix for a ZIP64 issue reading the central directory on large ZIP64 files.

v0.14.0

Compare Source

  • Use custom labels to refer to the same id when generating unique identifiers in rewrite templates. E.g.,
func foo_:[id(unique_label)]() {...} 
var my_function = foo_:[id(unique_label)]
  • Fixes a ZIP64 bug when reading a large value for the central directory.

v0.13.1

Compare Source

  • Putting :[id()] in the rewrite template will generate a unique (with high probability) 12 character hex string. The method uses 48 bits. This is an experimental feature.

v0.13.0

Compare Source

Change:

  • exempt underscore from inferred equality constraints (#​160)

v0.12.2

Compare Source

  • Adds ZIP64 read support.

v0.12.1

Compare Source

  • Suppress printing out long strings if they time out.

v0.12.0

Compare Source

v0.11.3

Compare Source

  • Preserve '\r' in string contents when generating diffs

v0.11.2

Compare Source

  • Creates diff compatible patches for all trailing newline cases

v0.11.1

Compare Source

  • Adds functionality to generate patch and git apply compatible patches for special cases where files do not contain trailing newlines.

v0.11.0

Compare Source

  • Adds substitute option for substituting variables
  • Defaults to Javascript/Typescript matchers for .jsx and .tsx extensions
  • Now converts and reports line/column numbers for offsets. Lines start at 1, columns start at 1.

v0.10.0

Compare Source

  • Adds -disable-substring-matching option to disable substring matching
  • Adds support for Reason and basic support for Nim

v0.9.1

Compare Source

  • Minor fix to editor offsets in review mode.

v0.9.0

Compare Source

  • Adds interactive mode with the -review option. Edit can be set with -editor, and default accept behavior can be toggled with -default-no (as in codemod).
  • -match-only returns matches on single lines, prefixed by the matched files, like grep. Newlines are converted to \n.
  • Allow rewrite templates to contain [hole\n], [ hole], :[hole.] syntax which substitute for variable hole.

v0.8.0

Compare Source


Configuration

📅 Schedule: Branch creation - "" in timezone America/Los_Angeles, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot added the bot label Mar 23, 2023
@renovate renovate bot changed the title Update comby/comby Docker tag to v1 Update comby/comby Docker tag to v1 - autoclosed Apr 3, 2023
@renovate renovate bot closed this Apr 3, 2023
@renovate renovate bot deleted the renovate/comby-comby-1.x branch April 3, 2023 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants

Comments