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

Update semgrep requirement from <1.78,>=1.77 to >=1.78.0,<1.79 #673

Closed

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 28, 2024

Updates the requirements on semgrep to permit the latest version.

Release notes

Sourced from semgrep's releases.

Release v1.78.0

1.78.0 - 2024-06-27

Added

  • Matching of fully qualified type names in the metavariable-type operator has been improved. For example:

    from a.b import C
    

    x = C()

    The type of x will match both a.b.C and C.

      - pattern: $X = $Y()
      - metavariable-type:
          metavariable: $X
          types:
            - a.b.C  # or C
    ``` (code-7269)
    

Fixed

  • Symbolic propagation now works on decorator functions, for example:

    x = foo
    @x() # this is now matched by pattern `@foo()`
    def test():
      pass (code-6634)
    
  • Fixed an issue where Python functions with annotations ending in endpoint, route, get, patch, post, put, delete, before_request or after_request (i.e., ones we associate with Flask) were incorrectly analyzed with the Code product in addition to the Secrets product when present in a file being ignored for Code analysis but included for Secrets. (scrt-609)

Changelog

Sourced from semgrep's changelog.

1.78.0 - 2024-06-27

Added

  • Matching of fully qualified type names in the metavariable-type operator has been improved. For example:

    from a.b import C
    

    x = C()

    The type of x will match both a.b.C and C.

      - pattern: $X = $Y()
      - metavariable-type:
          metavariable: $X
          types:
            - a.b.C  # or C
    ``` (code-7269)
    

Fixed

  • Symbolic propagation now works on decorator functions, for example:

    x = foo
    @x() # this is now matched by pattern `@foo()`
    def test():
      pass (code-6634)
    
  • Fixed an issue where Python functions with annotations ending in endpoint, route, get, patch, post, put, delete, before_request or after_request (i.e., ones we associate with Flask) were incorrectly analyzed with the Code product in addition to the Secrets product when present in a file being ignored for Code analysis but included for Secrets. (scrt-609)

1.77.0 - 2024-06-24

Added

  • Semgrep will now report the id of the organization associated with logged in users when reporting metrics in the language server (cdx-508)
  • Pro: taint-mode: Improved index-sensitive taint tracking for tuple/list (un)packing.

... (truncated)

Commits
  • 3b7bfaa chore: Bump version to 1.78.0
  • 014a098 chore: allow other services to set the trace parent for semgrep traces (semgr...
  • da2b095semgrep/semgrep-proprietary#1735
  • 3b5aa21 Improved matching of fully qualified type names in metavariable-type rule (se...
  • ddcc553 sym-prop: Propagate svalues to decorator functions (semgrep/semgrep-proprieta...
  • f0fa940semgrep/semgrep-proprietary#1738
  • f344c4e fix(secrets): don't generate SAST targets for Secrets Flask endpoints (semgre...
  • ea36228 use $(EXE) suffix in Makefile to support windows (semgrep/semgrep-proprietary...
  • 81f88ea Remove some use of symlinks for osemgrep and few cleanups (semgrep/semgrep-pr...
  • 9f55c7b chore: Bump version to 1.77.0
  • See full diff in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [semgrep](https://github.com/returntocorp/semgrep) to permit the latest version.
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/v1.78.0/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.77.0...v1.78.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot requested a review from drdavella as a code owner June 28, 2024 05:19
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 28, 2024
Copy link

sonarcloud bot commented Jun 28, 2024

Copy link
Contributor Author

dependabot bot commented on behalf of github Jun 28, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/pip/semgrep-gte-1.78.0-and-lt-1.79 branch June 28, 2024 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant