361 Commits

Author SHA1 Message Date
grossmj
8b3d136a84
Update packages in requirements.txt 2026-05-09 18:41:02 +08:00
Cristi
d64eca0418 feat(compute): add SSH console type support 2026-04-30 15:52:47 +03:00
grossmj
f0f09e0e2c
Upgrade alembic version 2026-04-21 13:25:42 +08:00
grossmj
7d84c33598
Upgrade code dependencies 2026-04-21 13:21:45 +08:00
Guobin Yue
df28036a68
fix(deps): resolve 3 security vulnerabilities (CVE-2025-71176, CVE-2026-40347, CVE-2018-25031) (#2671)
* fix(deps): upgrade pytest to 9.0.3 to fix CVE-2025-71176

CVE-2025-71176: pytest 9.0.2 and earlier versions have a local
security vulnerability due to predictable temporary directory naming.

- pytest: 8.4.2 → 9.0.3
- Python 3.10+ is now required

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(deps): upgrade python-multipart to 0.0.26 to fix CVE-2026-40347

CVE-2026-40347: python-multipart < 0.0.26 has a denial of
service vulnerability when parsing multipart data.

- python-multipart: 0.0.22 → 0.0.26

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(deps): upgrade swagger-ui to 4.1.3 to fix CVE-2018-25031

CVE-2018-25031: swagger-ui < 4.1.3 has a spoofing vulnerability
where remote attackers can display remote OpenAPI definitions
via crafted URLs.

- swagger-ui: 3.30.0 → 4.1.3
- Updated swagger-ui-bundle.js and swagger-ui.css

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(api): change FastAPI version from "v3" to "3.0.0" for Swagger UI 4.1.3 compatibility

Swagger UI 4.x enforces stricter version format validation.
The version "v3" is not accepted by the new validator.

Changed from:
- version="v3"

To:
- version="3.0.0"

This affects both controller and compute API definitions.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

* fix(deps): upgrade swagger-ui to 5.32.4

Fixes "Unable to render this definition" error when loading OpenAPI 3.0
docs. Swagger UI 3.x had incomplete OpenAPI 3.0 support.

- swagger-ui: 3.19.1 → 5.32.4 (latest)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-21 00:35:15 +08:00
grossmj
9a06830f88
telnetlib3 is a shared dependency with AI Copilot 2026-03-31 17:22:34 +08:00
Jeremy Grossmann
bebf070e4d
Merge branch '3.0' into telnetlib3 2026-03-31 14:33:35 +08:00
grossmj
b8764b29a5
Upgrade FastAPI to v0.135.2 2026-03-27 10:57:59 +08:00
Cristi
83558d4d9f Enhancement: Re-write current Telnet server implementation using telnetlib3 library 2026-03-24 13:23:45 +02:00
YueGuobin
cd1d28729a feat: make AI Copilot an optional dependency
This change makes AI Copilot features optional to reduce installation
size and support restricted environments.

Changes:
- Split AI dependencies into ai-requirements.txt
- Add ai-copilot optional dependency in pyproject.toml
- Add import protection in gns3server/agent/__init__.py
- Return 501 for AI endpoints when dependencies not installed
- Add gns3server-uninstall-ai-copilot command for cleanup
- Update README with installation and uninstallation instructions

Installation:
- Basic: pip install gns3-server
- With AI: pip install gns3-server[ai-copilot]
- Development: pip install gns3-server[ai-copilot,dev]

Uninstallation:
- gns3server-uninstall-ai-copilot
2026-03-18 15:21:23 +08:00
YueGuobin
5155e10214 feat(deps): update langchain ecosystem and add langsmith SDK
- Upgrade langchain packages to latest versions (langchain 1.2.10, langgraph 1.0.9, etc.)
- Add langsmith SDK for enhanced observability and tracing
- Update Pillow to 12.1.1 for image processing improvements
- Maintain compatibility with existing AI and automation framework
2026-03-11 22:18:31 +08:00
Jeremy Grossmann
f81ab0cfbe
Merge branch '3.0' into feature/ai-copilot-bridge 2026-03-07 13:00:39 +08:00
grossmj
679c690903
Drop support for Python 3.9 2026-03-06 19:03:53 +08:00
YueGuobin
f8aa653ef9 feat(context-manager): add tiktoken dependency and improve token counting accuracy
- Add tiktoken as a required dependency for accurate token counting
- Update documentation with installation instructions and token counting strategy
- Improve logging to include tool definition token estimates
- Enhance error handling to fail fast when tiktoken is not available
- Update context manager to use tiktoken's cl100k_base encoding for GPT-4 compatibility
2026-03-05 01:01:34 +08:00
YueGuobin
95b309c7af feat: add GNS3 Copilot AI agent dependencies to requirements
Add comprehensive dependencies for the new GNS3 Copilot AI agent feature. This includes:
- Core AI and automation frameworks (LangChain, LangGraph)
- Multiple model provider integrations (OpenAI, Anthropic, Google, AWS, Ollama, DeepSeek, xAI)
- Network automation tools (Netmiko, Nornir)
- Supporting libraries for telnet, HTTP requests, authentication, and image processing

The dependencies are organized into a dedicated section with clear comments for maintainability.
2026-03-04 00:49:46 +08:00
grossmj
47a7324eb5
Fix tests 2026-02-25 19:00:57 +08:00
grossmj
8f470fbe55
Update FastAPI dependency to support Python 3.9 2026-02-23 17:14:16 +08:00
grossmj
a6043f0fc6
Upgrade dependencies 2026-02-23 16:48:26 +08:00
grossmj
74bc3b5144
Upgrade dependencies 2026-02-11 18:11:16 +08:00
grossmj
aabfd08524
Merge remote-tracking branch 'origin/2.2' into 3.0
# Conflicts:
#	CHANGELOG
#	dev-requirements.txt
#	gns3server/crash_report.py
#	gns3server/version.py
#	requirements.txt
2026-02-11 17:52:14 +08:00
grossmj
dd87ccff4d
Upgrade pytest and jsonschema dependencies 2026-02-11 17:38:49 +08:00
grossmj
c1f8202d7c
Revert "Upgrade python-multipart to v0.0.22. Fixes #2610"
This reverts commit fdcdce7d0d17e9516448aa46e146f738ad746869.
2026-02-11 17:14:03 +08:00
grossmj
fdcdce7d0d
Upgrade python-multipart to v0.0.22. Fixes #2610 2026-02-11 17:07:28 +08:00
grossmj
44d4a426b5
Upgrade sentry-sdk and psutil dependencies 2026-02-11 16:46:21 +08:00
grossmj
abaeab6242
Upgrade greenlet and sqlalchemy dependencies 2026-01-26 19:50:42 +08:00
grossmj
1d45df6613
Upgrade dependencies 2026-01-24 21:38:58 +08:00
grossmj
69a695c9e6
Merge branch '2.2' into 3.0
# Conflicts:
#	dev-requirements.txt
#	gns3server/appliances/infix.gns3a
#	gns3server/crash_report.py
#	gns3server/run.py
#	gns3server/utils/asyncio/__init__.py
#	gns3server/version.py
#	requirements.txt
#	setup.py
2026-01-24 19:27:39 +08:00
grossmj
193f470eaf
Upgrade dependencies 2026-01-24 19:12:58 +08:00
grossmj
60c10e7ecc
Merge remote-tracking branch 'origin/2.2' into 3.0
# Conflicts:
#	.github/workflows/testing.yml
#	CHANGELOG
#	README.md
#	gns3server/appliances/infix.gns3a
#	gns3server/compute/docker/__init__.py
#	gns3server/compute/docker/docker_vm.py
#	gns3server/crash_report.py
#	gns3server/version.py
#	gns3server/web/web_server.py
#	setup.py
#	tests/controller/test_project.py
2025-11-29 11:42:02 +10:00
grossmj
672b3c052b
Downgrade aiofiles version 2025-11-16 19:25:12 +10:00
grossmj
bfe7b7a735
Upgrade dependencies 2025-11-16 19:16:38 +10:00
grossmj
10322135e3
Upgrade sentry-sdk package 2025-08-30 21:51:20 +02:00
grossmj
845cad35f0
Upgrade pydantic, fastapi & sqlalchemy dependencies 2025-08-29 13:55:00 +02:00
grossmj
5c036dfd90
Upgrade uvicorn and pydantic 2025-05-14 18:54:55 +02:00
grossmj
ffb5bc7ffd
Upgrade aiohttp to v3.11.16 2025-04-16 17:09:09 +07:00
grossmj
f00f21c4bd
Upgrade dependencies 2025-04-16 17:08:08 +07:00
grossmj
2ac3e0b39f
Upgrade dependencies 2025-04-16 14:39:36 +07:00
grossmj
8e6f5d2b57
Merge branch '2.2' into 3.0
# Conflicts:
#	requirements.txt
2025-03-18 21:34:43 +07:00
grossmj
2e9127449c
Upgrade Jinja2 to v3.1.6. Fixes #2515 2025-03-18 21:33:31 +07:00
grossmj
c9231d7b83
Upgrade dependencies 2025-03-16 20:26:26 +07:00
grossmj
59c2eeb536
Upgrade aiohttp to v3.11.13 2025-02-25 19:01:00 +10:00
grossmj
2659ab2c35
Upgrade dependencies 2025-02-22 21:10:33 +10:00
grossmj
cfc4bb371a
Upgrade FastAPI to v0.115.7 2025-01-23 13:32:11 +10:00
grossmj
82779d816f
Use watchdog instead of watchfiles to monitor for new images on the file system 2024-12-31 17:19:32 +07:00
Jeremy Grossmann
0be45c7da2
Merge branch '3.0' into joserfc-migration 2024-12-30 15:52:54 +07:00
grossmj
5f75fc7573
Add greenlet dependency 2024-12-30 15:45:17 +07:00
grossmj
9d6cea665a
Replace python-jose library by joserfc 2024-12-30 15:25:24 +07:00
grossmj
13b0caef4f
Upgrade dependencies 2024-12-30 10:49:35 +07:00
grossmj
8b57fbaa0a
Downgrade uvicorn to v0.33.0 2024-12-28 18:23:46 +07:00
grossmj
d4a9a21af9
Upgrade dependencies 2024-12-28 18:21:18 +07:00