Skip to content

Commit e275097

Browse files
committed
Add information on Semgrep version restriction
1 parent b704789 commit e275097

File tree

3 files changed

+16
-2
lines changed

3 files changed

+16
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [0.8.1] - 2025-03-14
11+
12+
### Fixed
13+
14+
- Restrict Semgrep versions to `<1.97.0` to support code snippets [#10762](https://github.com/semgrep/semgrep/issues/10762)
15+
1016
## [0.8.0] - 2024-06-26
1117

1218
### Added

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66

77
Find authentication (authn) and authorization (authz) security bugs in web application routes:
88

9+
> [!IMPORTANT]
10+
> The Semgrep functionality `route-detect` depends on to display code snippets has been moved behind their cloud app. For more information see [#10762](https://github.com/semgrep/semgrep/issues/10762). However, earlier versions of Semgrep still support this behavior. When using `route-detect`, make sure to install a version of Semgrep before `1.97.0`. This can be accomplished with the following command: `python -m pip install 'semgrep<1.97.0'`.
11+
912
![Routes demo](https://raw.githubusercontent.com/mschwager/route-detect/main/routes-demo.png)
1013

1114
<p align="center">

pyproject.toml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "route-detect"
3-
version = "0.8.0"
3+
version = "0.8.1"
44
description = "Find authentication (authn) and authorization (authz) security bugs in web application routes."
55
authors = []
66
license = "BSD-3-Clause"
@@ -11,7 +11,7 @@ packages = [{include = "routes"}]
1111

1212
[tool.poetry.dependencies]
1313
python = "^3.8"
14-
semgrep = "^1.36.0"
14+
semgrep = "<1.97.0"
1515

1616
[tool.poetry.group.dev.dependencies]
1717
pytest = "^7.2.1"
@@ -24,6 +24,11 @@ optional = true
2424
[tool.poetry.scripts]
2525
routes = "routes.main:main"
2626

27+
[[tool.poetry.source]]
28+
name = "foo"
29+
url = "https://foo.bar/simple/"
30+
priority = "secondary"
31+
2732
[tool.coverage.run]
2833
source = ["routes"]
2934

0 commit comments

Comments
 (0)