Skip to content

Commit

Permalink
chore: Bump version to 1.5.1 (#6899)
Browse files Browse the repository at this point in the history
Co-authored-by: emjin <emjin@users.noreply.github.com>
  • Loading branch information
semgrep-ci[bot] and emjin committed Jan 22, 2023
1 parent 8f7f341 commit be930f6
Show file tree
Hide file tree
Showing 14 changed files with 36 additions and 25 deletions.
32 changes: 32 additions & 0 deletions CHANGELOG.md
Expand Up @@ -8,6 +8,38 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html

<!-- insertion point -->

## [1.5.1](https://github.com/returntocorp/semgrep/releases/tag/v1.5.1) - 2023-01-20

### Added

- Python: Constant propagation will now recognize the idiom `cond and X or Y`,
as well as `True and X` and `False or X`. So e.g. `cond and "a" or "b"` will
be identified as a constant string. (gh-6079)
- Julia: Julia is now experimental (pa-2366)

### Changed

- DeepSemgrep is now Semgrep PRO! To install the Semgrep PRO engine run:
`semgrep install-semgrep-pro`. This engine is still invoked using the
`--deep` flag, but please expect changes to the CLI in the near future.
The new Semgrep PRO engine adds support for Apex! (pa-2389)

### Fixed

- New 'transform:' field in extract mode rules, with 'concat_json_string_array'
option useful to extract python code from jupyter notebooks.
Thanks to Jose Selvi for his contribution! (gh-4477)
- Java: Fixed regression introduced in 0.123.0 that could cause a private class
attribute to be incorrectly regarded as a constant. (gh-6793)
- Make `$F(x)` match `eval(x)`. Previously, `eval` was special-cased and metavariable function call patterns would not match it. (gh-6877)
- DeepSemgrep: Enabled `--dataflow-traces` by default when `--deep` is specified (pa-2274)
- In rare situations, mainly in DeepSemgrep and related to naming bugs, the use of
symbolic propagation could make Semgrep fall into an infinite loop during matching.
This has been fixed by bounding the number of times that Semgrep can follow
symbolically-propagated values. (pa-2324)
- CLI: Made an error message for when two autofix matches overlap have a more helpful message, as well as be displayed as a debug message. (pa-2393)
- CLI: Made the warning message when using Semgrep Pro more friendly when logged in (pa-2396)

## [1.3.0](https://github.com/returntocorp/semgrep/releases/tag/v1.3.0) - 2023-01-04

### Changed
Expand Down
3 changes: 0 additions & 3 deletions changelog.d/gh-4477.fixed

This file was deleted.

3 changes: 0 additions & 3 deletions changelog.d/gh-6079.added

This file was deleted.

2 changes: 0 additions & 2 deletions changelog.d/gh-6793.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/gh-6877.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/pa-2274.fixed

This file was deleted.

4 changes: 0 additions & 4 deletions changelog.d/pa-2324.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/pa-2366.added

This file was deleted.

4 changes: 0 additions & 4 deletions changelog.d/pa-2389.changed

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/pa-2393.fixed

This file was deleted.

1 change: 0 additions & 1 deletion changelog.d/pa-2396.fixed

This file was deleted.

2 changes: 1 addition & 1 deletion cli/setup.py
Expand Up @@ -140,7 +140,7 @@ def find_executable(env_name, exec_name):

setuptools.setup(
name="semgrep",
version="1.3.0",
version="1.5.1",
author="Return To Corporation",
author_email="support@r2c.dev",
description="Lightweight static analysis for many languages. Find bug variants with patterns that look like source code.",
Expand Down
2 changes: 1 addition & 1 deletion cli/src/semgrep/__init__.py
@@ -1 +1 @@
__VERSION__ = "1.3.0"
__VERSION__ = "1.5.1"
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -5,7 +5,7 @@

setup(
name="semgrep_pre_commit_package",
version="1.3.0",
install_requires=["semgrep==1.3.0"],
version="1.5.1",
install_requires=["semgrep==1.5.1"],
packages=[],
)

0 comments on commit be930f6

Please sign in to comment.