Skip to content

v1.0.0

Choose a tag to compare

@lucianotonet lucianotonet released this 23 Mar 18:14
· 47 commits to main since this release

GroqPHP v1.0.0

We are thrilled to announce the release of GroqPHP v1.0.0! 馃帀

This marks a significant milestone as we celebrate our first anniversary. The initial commit was made on March 22, 2024, and after a year of development and iteration, we are proud to have reached 16,000+ downloads. This achievement is a testament to the growing adoption of our library in the PHP community.

What's New in v1.0.0

The 1.0.0 release represents a stable, feature-rich offering that builds upon previous versions with several significant improvements:

Files and Batch Processing

One of the most significant additions in this release is comprehensive support for the Groq Files and Batch Processing APIs:

  • File Management: Seamlessly upload, list, retrieve, download, and delete JSONL files for batch processing

    • Support for large file uploads (up to 100MB)
    • Automatic validation of file formats and content
    • Comprehensive error handling for all file operations
  • Batch Processing: Process large volumes of requests asynchronously

    • Create and manage batch jobs with detailed status tracking
    • Support for batch job creation, retrieval, listing, and cancellation
    • Detailed error reporting for batch operations

Other Enhancements

  • Improved Error Handling: Enhanced exception handling with more descriptive error messages
  • Updated Models Support: Added support for the latest Groq models, including Llama 3.1
  • Environment Variables: Improved handling of environment variables with better fallbacks
  • Comprehensive Testing: Added extensive test suite for all components
  • API Stability: Finalized API design with stable interfaces

Under the Hood

  • Fixed various warnings and potential type errors
  • Added GitHub Actions workflow for automated testing
  • Updated deprecated model references
  • Enhanced documentation with more examples

Breaking Changes

While we have made efforts to maintain backward compatibility, there are a few breaking changes to be aware of:

  • The minimum PHP version requirement remains at ^8.1.0
  • Some parameter names have been standardized for consistency

Contributors

We extend our heartfelt thanks to all contributors who have made this release possible:

  • Luciano Tonet (@lucianotonet) - Project creator and main developer
  • Thomas Georgel (@tgeorgel) - Improvements to audio functionality to prevent forced language setting
  • lguichard (@lguichard) - API parameter fixes and improvements
  • Joseph G (@JosephGabito) - Documentation improvements

And to all users who have provided valuable feedback and suggestions through issues, including @zachary, @EliasPereirah, @flemzord, and @mmddev87.

Looking Forward

As we move beyond v1.0.0, we remain committed to improving GroqPHP with new features, optimizations, and expanded model support. We encourage you to report issues and contribute to the project on GitHub.