The development of Version 1.0.0 started
Bug Fixes & Security Improvements
Python Version Requirement:
- Updated minimum Python version from 3.8 to 3.9 (required for
ast.unparse())
Security Improvements:
- Added ZIP compression bomb detection:
- Maximum uncompressed size limit (500MB)
- Maximum compression ratio check (100x)
- Individual file size limit (5MB)
- Simplified error messages to avoid exposing internal implementation details
Code Quality:
- Added logging for exceptions in
node_builder.py - Added user feedback for keyboard interrupt in
run.py - Locked dependency versions in
requirements.txt(fastapi, pydantic, uvicorn, etc.) - Added Node.js/npm version requirements in
package.json(Node.js >= 18, npm >= 9)
UI Improvements:
- Refactored Social Card Generator to black/white minimalist design
- Simplified card visual effects with clean geometric AST visualization
- Improved consistency with project's overall monochrome theme
Verification:
- Confirmed all Map.get() calls in
ASTVisualizer3D.jshave proper null checks - Confirmed
ModuleInfodataclass has correct default values
Files Modified:
run.py- Python version check, keyboard interrupt handlingbackend/ast_parser/node_builder.py- Exception loggingbackend/project_analyzer/scanner.py- ZIP bomb detectionbackend/main.py- Simplified error messagesrequirements.txt- Version constraintsfrontend/package.json- Node.js version requirements, version bumpbackend/config.py- Version bumpfrontend/src/components/SocialCardGenerator.js- Refactored to black/white minimalist designfrontend/src/App.css- Updated social card styles to match project themeREADME.md- Version badge, Python requirement, changelog