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

Bump semgrep from 1.77.0 to 1.78.0 #41

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Jul 1, 2024

Bumps semgrep from 1.77.0 to 1.78.0.

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)

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 compatibility score

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)

Bumps [semgrep](https://github.com/returntocorp/semgrep) from 1.77.0 to 1.78.0.
- [Release notes](https://github.com/returntocorp/semgrep/releases)
- [Changelog](https://github.com/semgrep/semgrep/blob/develop/CHANGELOG.md)
- [Commits](semgrep/semgrep@v1.77.0...v1.78.0)

---
updated-dependencies:
- dependency-name: semgrep
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jul 1, 2024
@rjambrecic rjambrecic closed this Jul 11, 2024
Copy link
Author

dependabot bot commented on behalf of github Jul 11, 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-1.78.0 branch July 11, 2024 07:08
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