Openai-structured

Latest version: v3.0.0

Safety actively analyzes 723144 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

1.1.0

Added

- Support for o3-mini model
- 200K context window
- 100K output tokens
- Minimum version: 2025-01-31
- Enhanced model validation
- Added test cases for o3-mini model
- Added version validation for o3-mini
- Added support for o3-mini alias

Changed

- Updated documentation with o3-mini model specifications
- Improved code organization
- Removed unused imports
- Enhanced test structure

1.0.0

Added

- First stable release with complete feature set
- Finalized API for structured output processing
- Comprehensive documentation and examples
- Full test coverage and type safety

Changed

- Moved CLI functionality to separate `ostruct-cli` package
- Stabilized public API interfaces
- Enhanced error handling and reporting
- Improved streaming performance and reliability

Removed

- Deprecated CLI functionality (now available in `ostruct-cli` package)

0.9.2

Added

- Added deprecation warning for CLI functionality, which will be moved to `ostruct-cli` package in version 1.0.0
- Added deprecation notices in CLI documentation (README.md, cli.rst, cli_quickstart.rst)

Changed

- Updated documentation to point users to the future `ostruct` repository for CLI features

0.9.1

Changed

- Improved file cache reliability
- Switched to nanosecond precision for file modification times
- Added file size validation for cache invalidation
- Enhanced logging for better debugging
- Increased retry logic in CI environments
- Enhanced test robustness in CI environments
- Added verbose output and debug logging to pytest
- Improved file system synchronization with `os.fsync()`
- Increased retry attempts for file stat changes

0.9.0

Added

- New Code Review Use Case Example
- Added complete code review automation example
- Includes security, style, and performance analysis
- CI/CD integration examples for GitHub Actions and GitLab
- Structured output schema for review results
- Enhanced Template Engine
- Added new `CommentExtension` for ignoring variables in comment blocks
- Introduced dedicated template environment configuration
- Added validation mode for template processing
- Enhanced template filters and utilities
- Security Improvements
- Added `--allowed-dir` option for explicit directory access control
- Support for loading allowed directories from file with `file` syntax
- Multiple allowed directories support
- Enhanced path traversal prevention
- New Dependencies
- Added `ijson` ^3.2.3 for efficient JSON streaming
- Added `chardet` ^5.0.0 for character encoding detection
- Added `typing-extensions` ^4.9.0 for enhanced type support
- Added example dependencies: `tenacity` and `asyncio-throttle`

Changed

- Template Processing Architecture
- Split template functionality into specialized modules:
- `template_env.py` for environment configuration
- `template_extensions.py` for custom extensions
- `template_validation.py` for validation logic
- Improved template error handling with dedicated exceptions
- Enhanced template validation with SafeUndefined support
- Code Organization
- Moved test models to dedicated support package
- Improved modularity of CLI components
- Enhanced test organization and coverage
- Documentation
- Updated CLI documentation with new security features
- Added comprehensive use case examples
- Improved integration guides

Fixed

- Template Validation
- Fixed handling of undefined variables in templates
- Improved error messages for validation failures
- Enhanced handling of edge cases in template rendering
- Security
- Fixed potential path traversal vulnerabilities
- Improved file access validation
- Enhanced security manager checks
- Type Safety
- Added missing type annotations
- Fixed type checking issues with pytest decorators
- Improved overall type safety across the codebase

0.8.0

Page 2 of 4

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.