Changelog
See what's new in Perspectec - we're constantly improving our platform.
Enhanced Document Processing and Extraction
Significant improvements to the document processing and extraction capabilities, including new extractors and optimized parsing of financial reports.
Business Value:
Provides users with more accurate and reliable data extraction from financial documents, enhancing the equity research experience.
Standardized API Error Responses
Replaced generic error messages with structured api_error() responses in credit routes. Error responses now include error_code, message, details, and timestamp for better debugging and support.
Business Value:
Clearer error messages help users and support staff diagnose issues faster
Security Headers on Credit Endpoints
Applied @add_security_headers decorator to /api/credits/balance and /api/credits/transactions endpoints. These sensitive endpoints now include X-Content-Type-Options: nosniff and X-Frame-Options headers.
Business Value:
Protects sensitive credit data from MIME sniffing and clickjacking attacks
Improved Exception Handling in Date Parser
Fixed bare except: clause in app.py changelog date formatter. Now catches specific exceptions (ValueError, TypeError, AttributeError) with debug logging for unexpected date formats.
Business Value:
Prevents silent failures and improves debugging for date parsing issues
API Response Security Utility
New backend/utils/api_response.py providing: @add_security_headers decorator (X-Content-Type-Options, X-Frame-Options, Cache-Control), api_error() for standardized error responses with logging, and api_success() for consistent success responses.
Business Value:
Improves SOC 2 compliance with consistent security headers and better error audit trails
HTTP Cache Headers for Reference Data APIs
Added Cache-Control and ETag headers to /api/credits/packages and /api/subscription/plans endpoints. Reference data now cached for 1 hour with content-based ETags for efficient browser caching.
Business Value:
Reduces database queries by 60-80% for package/plan data, improving page load times
Enhancements to Document Processing and Extraction
Improved the document processing pipeline, including modifications to extractors for financial statements, company names, and currency data. This will enhance the accuracy and reliability of the equity research platform's data extraction capabilities.
Business Value:
Improved data quality and reliability for the equity research platform, leading to more accurate financial analysis and insights.
Enhancements to Document Processing and Extraction
Improved the document processing and extraction capabilities of the platform, including support for additional file formats and enhanced extraction algorithms.
Business Value:
Enables more comprehensive and accurate financial data extraction, improving the quality of the equity research insights provided to users.
Frontend Financials Page Update
Updated financials page with improved extraction status display, better error handling, and enhanced file upload experience.
Business Value:
Smoother user experience for document processing
Price Data Service
Real-time and historical price data service using Yahoo Finance. Supports technical indicator calculation and chart data generation.
Business Value:
Powers Technical Analyst charts with reliable market data