Commit ee78073
authored
Version 3.0
# iRulescan v3.0.0 Release Notes
## 🎉 Major Features
### New MCP Server Integration
- Added MCP (Model Context Protocol) server support with `mcpserver` command
- Seamless integration with VS Code Copilot for AI-assisted iRule scanning
- HTTP stream transport for real-time code analysis
### Enhanced API Server
- Upgraded from Swagger to OpenAPI v3 specification
- Improved web interface for interactive iRule scanning
- Better support for single file and multi-file scanning
## 🔧 Enhanced Output Format
### Structured Finding Reports
Replaced simple string messages with detailed structured output providing better context and precise error location tracking.
**Before:**
```json
"warning": ["Unquoted expr at `1` in `expr 1 + $one`"]
```
**After:**
```json
"warning": [{
"message": "unsafe expression, use braces `{ .. }`",
"issue_location": "$one",
"context": "expr 1 + $one",
"line": 2
}]
```
New fields include:
- `message`: Clear description of the issue
- `issue_location`: Exact problematic code segment
- `context`: Full expression context
- `line`: Line number where issue occurs
## ⚙️ Configuration & Environment Variables
### New Environment Variables
- **`IRULESCAN_FILE_EXTENSIONS`**: Customize file extensions to scan (default: `.tcl,.irul,.irule`)
- **`IRULESCAN_LISTEN`**: Configure server listen address (default: `0.0.0.0:8000`)
- **`IRULESCAN_LOG`**: Set logging level (`trace`, `debug`, `info`, `warn`, `error`)
## 🚀 Improved CLI Experience
### Enhanced Command Structure
- Added `mcpserver` and `apiserver` commands
- Support for stdin input with `-` parameter
- Better help documentation and usage examples
### Container Improvements
- New specialized container tags: `:apiserver` and `:mcpserver`
- Flexible file extension scanning via environment variables
- Enhanced CI/CD pipeline integration capabilities
## 📝 Breaking Changes
1 parent afa969b commit ee78073
File tree
64 files changed
+10389
-2769
lines changed- .github/workflows
- files
- irulescan
- src
- signkeys
- src
- apiserver
- mcpserver
- tests
- basic
- bigip
- syntax
- issues
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
64 files changed
+10389
-2769
lines changedLines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | 46 | | |
50 | | - | |
| 47 | + | |
51 | 48 | | |
52 | 49 | | |
53 | 50 | | |
| |||
59 | 56 | | |
60 | 57 | | |
61 | 58 | | |
62 | | - | |
| 59 | + | |
63 | 60 | | |
64 | 61 | | |
65 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
| 2 | + | |
4 | 3 | | |
5 | | - | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
6 | 9 | | |
7 | 10 | | |
8 | 11 | | |
9 | 12 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
| 13 | + | |
| 14 | + | |
0 commit comments