company_dns 3.1 Release Announcement
We're excited to announce the release of company_dns 3.1, introducing significant improvements to reliability, cross-platform hosting, and international industry code support.
Major Enhancements
Enhanced Deployment Support
- Flexible Host Configuration: New JavaScript-based host management allows seamless operation across development, production, and custom environments
- Environment Variable Integration: Easily configure the primary DNS host through container environment variables
- Azure Container App Support: Optimized configuration for Azure Container Apps with proper CORS settings
Cross-Origin & Protocol Handling
- Fixed Mixed Content Issues: Properly handle HTTP/HTTPS protocol transitions for all API requests
- Enhanced CORS Configuration: Comprehensive CORS support at both application and container levels
- Protocol-Aware API Requests: Automatically detect and use the correct protocol based on deployment environment
Unified Industry Code Search
- Global Code Explorer: Search across multiple international industry classification systems with a single query
- Improved UI Filtering: Filter results by classification system and explore detailed hierarchical information
Frontend Improvements
- Better Error Handling: More graceful error handling for network connectivity issues
- State Persistence: Forms now remember their state between page refreshes
- Responsive Design Fixes: Improved mobile compatibility and layout
Technical Improvements
Container Enhancements
- Optimized Dockerfile: Better caching and reduced image size
- Improved Entrypoint Script: More robust environment configuration at startup
- Automatic Host Configuration: Container automatically configures itself based on deployment environment
Application Structure
- Starlette Framework Optimizations: Better middleware configuration and error handling
- Consistent API Patterns: Standardized endpoint structure across all industry classification systems
- Enhanced JSON Response Format: Consistent response structure across all endpoints
Getting Started
To try the new version:
# Pull the latest image
docker pull ghcr.io/miha42-github/company_dns:latest
# Run locally
docker run -p 8000:8000 ghcr.io/miha42-github/company_dns:latest
# Or with custom host configuration
docker run -p 8000:8000 -e COMPANY_DNS_HOST=your-custom-host.example.com ghcr.io/miha42-github/company_dns:latest
## What's Changed
* V2.1.0 by @miha42-github in https://github.com/miha42-github/company_dns/pull/24
* Minor change to readme by @miha42-github in https://github.com/miha42-github/company_dns/pull/27
* Add SIC endpoints updated sic data in edgar by @miha42-github in https://github.com/miha42-github/company_dns/pull/28
* added desc metadata for sic returns by @miha42-github in https://github.com/miha42-github/company_dns/pull/29
* V2.2.1 by @miha42-github in https://github.com/miha42-github/company_dns/pull/30
* V2.2.1 by @miha42-github in https://github.com/miha42-github/company_dns/pull/34
* V2.3.0 by @miha42-github in https://github.com/miha42-github/company_dns/pull/35
* V3.0.0 dev by @miha42-github in https://github.com/miha42-github/company_dns/pull/36
* V3.0.0 by @miha42-github in https://github.com/miha42-github/company_dns/pull/37
* Setup for manual runs by @miha42-github in https://github.com/miha42-github/company_dns/pull/38
* Try workflow_dispatch again by @miha42-github in https://github.com/miha42-github/company_dns/pull/39
* Update README.md by @miha42-github in https://github.com/miha42-github/company_dns/pull/40
* Fixed return code problems and code cleanups by @miha42-github in https://github.com/miha42-github/company_dns/pull/41
* README cleanup, fixes for bad returns from SIC and Wikipedia. by @miha42-github in https://github.com/miha42-github/company_dns/pull/42
* Adopt alpine image, enable edgar only returns, fix bugs by @miha42-github in https://github.com/miha42-github/company_dns/pull/43
* Update logging by @miha42-github in https://github.com/miha42-github/company_dns/pull/44
* V3.1 - Add new SIC Data by @miha42-github in https://github.com/miha42-github/company_dns/pull/59
* Boosted performance for wikipedia queries and code cleanups by @miha42-github in https://github.com/miha42-github/company_dns/pull/63
* V3.1 61 actions docker build fails by @miha42-github in https://github.com/miha42-github/company_dns/pull/64
* Updates to builds including automatic push to azure by @miha42-github in https://github.com/miha42-github/company_dns/pull/66
* Update to include environment variable for the used host by @miha42-github in https://github.com/miha42-github/company_dns/pull/68
* Fix CORS and incorrectly referenced http call by @miha42-github in https://github.com/miha42-github/company_dns/pull/70
* Change from hosts.json to hosts.js for easier ops by @miha42-github in https://github.com/miha42-github/company_dns/pull/72
* minor fixes for favicon and ux bugs by @miha42-github in https://github.com/miha42-github/company_dns/pull/74
* Fix for incorrect execution by @miha42-github in https://github.com/miha42-github/company_dns/pull/76
**Full Changelog**: https://github.com/miha42-github/company_dns/compare/V2...V3.1.0