Skip to content

PyVizAST Release 0.7.2

Latest

Choose a tag to compare

@ChidcGithub ChidcGithub released this 15 Mar 08:37
· 4 commits to main since this release

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.js have proper null checks
  • Confirmed ModuleInfo dataclass has correct default values

Files Modified:

  • run.py - Python version check, keyboard interrupt handling
  • backend/ast_parser/node_builder.py - Exception logging
  • backend/project_analyzer/scanner.py - ZIP bomb detection
  • backend/main.py - Simplified error messages
  • requirements.txt - Version constraints
  • frontend/package.json - Node.js version requirements, version bump
  • backend/config.py - Version bump
  • frontend/src/components/SocialCardGenerator.js - Refactored to black/white minimalist design
  • frontend/src/App.css - Updated social card styles to match project theme
  • README.md - Version badge, Python requirement, changelog