Skip to content

Releases: ultralytics/actions

v0.0.10 - Updated URL checks (#259)

23 Oct 10:00
bdeced5
Compare
Choose a tag to compare

🌟 Summary

Version 0.0.10 brings improved URL handling and recognition capabilities within the Ultralytics utilities, focusing on compatibility and functionality. 🌐

📊 Key Changes

  • Version Update: Transition from v0.0.9 to v0.0.10.
  • Enhanced URL Handling:
    • Improved recognition of Kaggle URLs to prevent automated headers.
    • Updated User-Agent string to a more universal browser identity.
  • GitHub URL Exception: Adjusted URL validation to skip over GitHub links, similar to how private repositories are handled.

🎯 Purpose & Impact

  • Enhanced Accuracy: By effectively recognizing and managing more types of URLs, the tools become more reliable, particularly with platforms like Kaggle.
  • Improved Compatibility: With the updated User-Agent string, server interaction is less likely to be rejected, facilitating smoother workflows. ✅
  • Streamlined Operations: Ignoring GitHub URLs reduces validation noise, thus enhancing efficiency for developers working with multiple repositories. 🚀

What's Changed

Full Changelog: v0.0.9...v0.0.10

v0.0.9 - Update to v0.0.9 (#257)

21 Oct 18:11
3c4971d
Compare
Choose a tag to compare

🌟 Summary

Release v0.0.9 introduces important improvements in handling GitHub Actions environment variables for increased consistency and clarity.

📊 Key Changes

  • Environment Variable Standardization: Replaced REPO_NAME with GITHUB_REPOSITORY across action scripts.
  • Conditional Installation of Packages: Adjusted package installs to conditionally include codespell and tomli based on user input.
  • Refactoring: Streamlined code to reduce redundancy, making it easier to manage.

🎯 Purpose & Impact

  • Enhanced Consistency & Clarity: By aligning with standard GitHub environment variables, the code becomes more intuitive and easier for future developers to understand.
  • Improved Maintainability: More streamlined code means it's easier and less error-prone to update and maintain.
  • Unchanged Functionality for Users: There are no direct changes to how the features function for end users. However, developers will notice more consistent and simplified code, which could lead to fewer bugs and faster development cycles in the future.

Overall, this release focuses on refining the internal structure of the code to adhere to standards and simplify future development and maintenance tasks, leading to a more robust and scalable project. 🌟🛠️

What's Changed

Full Changelog: v0.0.8...v0.0.9

v0.0.8 - New Actions Info function (#251)

20 Oct 17:59
aca62c8
Compare
Choose a tag to compare

🌟 Summary

The v0.0.8 release introduces a new function to enhance the transparency of GitHub Actions by providing detailed metadata about action runs.

📊 Key Changes

  • New Functionality: Added the print_github_action_info function to output relevant metadata on GitHub Actions runs.
  • Version Update: Bumped the version from 0.0.7 to 0.0.8.
  • Convenient Access: Integrated the ultralytics-actions-info script into pyproject.toml.

🎯 Purpose & Impact

  • Improved Workflow Understanding: Users can now easily access insights into the conditions and environment where GitHub Actions are executed, which can help in troubleshooting and understanding workflow complexities.
  • Convenient CI/CD Management: By using the new script, users can more effectively monitor and optimize their continuous integration and delivery processes, leading to enhanced operational efficiency.

What's Changed

Full Changelog: v0.0.7...v0.0.8

v0.0.7 - Add URL checks to responses (#250)

20 Oct 16:05
90ec73c
Compare
Choose a tag to compare

🌟 Summary

Version 0.0.7 introduces significant enhancements to URL handling and content generation in Ultralytics Actions, primarily focusing on robust URL validation and OpenAI integration improvements. 🚀

📊 Key Changes

  • URL Utility Enhancements:
    • New functions to clean and validate URLs, ensuring their structural correctness and accessibility.
    • Utilization of multithreading for more efficient URL checking.
  • OpenAI Integration Improvements:
    • The get_completion function now incorporates URL validation within content.
    • Improved retry logic, introducing random seeding for more consistent and varied responses.
    • Customization option for adding or removing specific strings in the responses.

🎯 Purpose & Impact

  • Robust URL Handling: Enhances reliability by identifying and eliminating invalid or non-functional URLs, which improves user experience through accurate resource linking. 🕵️‍♂️
  • Content Quality: By ensuring generated content is free of faulty URLs, users receive cleaner and more reliable output, thus enhancing overall content dependability.
  • Efficiency and Customization: The multithreading approach increases validation speed, while customization options provide flexibility, allowing for tailored content adjustments to better meet user needs.

What's Changed

Full Changelog: v0.0.6...v0.0.7

v0.0.6 - Update publish.yml

16 Oct 14:07
49084a5
Compare
Choose a tag to compare

🌟 Summary

Version 0.0.6 of the Ultralytics Actions adds a new check_pypi_version() function to enhance modularity and functionality in version management, along with crucial workflow improvements for maintaining efficient and secure software development practices.

📊 Key Changes

  • New Function: Introduction of check_pypi_version() to segregate PyPI version checking logic into a reusable utility.
  • Workflow Enhancements:
    • Shift from requests to ultralytics-actions package for streamlined workflow execution.
    • Commented out PyPI token usage in favor of trusted publisher configurations, enhancing security.
    • Removed obsolete utility scripts from the repository: first_interaction.py, summarize_pr.py, summarize_release.py, and update_markdown_code_blocks.py.
  • Documentation Improvements: Added improved docstrings for better code understanding and maintenance.

🎯 Purpose & Impact

  • Modular Codebase: The check_pypi_version() function offers enhanced modularity, facilitating code reuse and easing long-term maintenance.
  • Security & Compliance: Transition towards a secure publishing method by minimizing direct handling of sensitive information like PyPI tokens.
  • Simplified Processes: Adoption of ultralytics-actions package automates key workflow steps and reduces code complexity, making the release process more robust and less error-prone.
  • Codebase Cleanliness: Removing redundant scripts declutters the repository, lowering maintenance overhead and clarifying active code components for developers and collaborators. 🧹
  • Better Developer Onboarding: Improved documentation assists new developers and contributors in understanding the code more swiftly, leading to more efficient onboarding and collaboration. 💡

Overall, these changes are set to promote a more streamlined, secure, and efficient development workflow, ensuring the project's readiness for future enhancements and contributions.

What's Changed

Full Changelog: v0.0.5...v0.0.6

v0.0.5 - New `ultralytics-actions` Python package

16 Oct 00:05
5f84281
Compare
Choose a tag to compare

🌟 Summary

The v0.0.5 release introduces significant improvements to the Ultralytics GitHub Actions workflows and marks the first deployment of the ultralytics-actions Python package. This release is designed to streamline CI/CD processes, enhance automation, and improve the overall developer experience.

📊 Key Changes

  • New ultralytics-actions Python Package: The highlight of this release is the deployment of the ultralytics-actions package, built to simplify interaction with GitHub Actions workflows. This package provides utilities to automate common tasks, making workflows more efficient.
  • GitHub Actions Workflow Enhancements: Refinements were made to several workflows, including improved tag management, enhanced issue labeling, and a more structured release process.
  • Improved First Interaction Automation: Adjustments to the first_interaction.py script to enhance user engagement and automate issue responses in a more reliable manner.
  • Documentation Updates: Updated action.yml files and various scripts for better maintainability and clarity.

🎯 Purpose & Impact

  • 🛠️ Enhanced Automation: The ultralytics-actions package simplifies common workflow tasks, saving time and reducing complexity in CI/CD pipelines.
  • 🚀 Streamlined CI/CD: Refinements to workflows make the release and issue tracking processes more reliable and consistent, ensuring faster iterations.
  • 👥 Improved Contributor Engagement: Automation of the first interaction for new contributors helps maintain a smooth and welcoming onboarding experience.
  • 🔄 Better Workflow Management: With enhanced tagging and release management, developers can more easily keep track of changes, reducing the chance of manual errors.

What's Changed

Full Changelog: v0.0.4...v0.0.5

v0.0.4 - Fix tag.yml from /docs to /actions (#197)

03 Sep 14:56
3a8c5bf
Compare
Choose a tag to compare

🌟 Summary

The v0.0.4 release focuses on refining GitHub Actions workflows within the Ultralytics project, enhancing automation, ensuring consistency, and improving documentation clarity.

📊 Key Changes

  • GitHub Actions Workflow Improvements: Updated the workflow configuration to ensure consistent tag and release processes across the repository.
  • Enhanced Release Summaries: Introduced scripts and adjustments for more detailed, automated release notes, including new sections like "What's Changed" and "New Contributors."
  • Python Code Linting: Improved linting with added support for Python 3.8, extended select options, and adjusted ignores for better code consistency.
  • Documentation Updates: Adopted Google-style docstring conventions to improve readability and consistency across Python scripts.

🎯 Purpose & Impact

  • 🚀 Streamlined Automation: The changes facilitate smoother and more reliable release processes by refining workflows and automating complex tasks, reducing manual errors.
  • 📚 Improved Documentation: By implementing consistent style guidelines, the project documentation and code readability improve significantly, aiding both non-expert and expert users.
  • 🔒 Security Enhancements: More secure and authenticated API requests to GitHub ensure a reliable integration process without disruptions.
  • 🛠️ Development Efficiency: Enhanced workflows and better organized codebases result in more efficient development processes, making it easier for contributors to work collaboratively.
  • 👥 Community Engagement: Highlighting new contributors fosters a welcoming environment, encouraging greater community participation.

What's Changed

Full Changelog: v0.0.3...v0.0.4

v0.0.3 - Enhanced Issue Automation and Expanded Formatting Support

14 Aug 19:25
4c8b4e6
Compare
Choose a tag to compare

Ultralytics Actions: Enhanced Issue Automation and Expanded Formatting Support - Release v0.0.3

Overview

This release of Ultralytics Actions v0.0.3 brings a series of enhancements, bug fixes, and new features aimed at improving your CI/CD workflows. From the addition of new formatting options to improved issue labeling and automation, this update streamlines development processes and integrates further with tools like OpenAI and Discourse.

Key Highlights

Enhanced Issue Automation

  • Autolabeling Improvements: The autolabel_issue.py script has been updated multiple times to refine its ability to categorize issues, including a 30-second delay to ensure accurate labeling, and new label descriptions to clarify the categorization process.
  • Alert Management: Introduced new workflows to automatically close, lock, and manage issues flagged with the Alert label, with added logic to ignore alerts raised by organization members.

Formatting Enhancements

  • Support for JSON, CSS, and Swift: This release includes expanded formatting support for JSON, CSS, and Swift files, enabling consistent code style across various languages used in your projects.
  • YAML and Markdown Updates: Several updates to action.yml and markdown formatting scripts ensure better handling of code blocks and consistent spacing in YAML files.

Integration and Refactoring

  • OpenAI REST API Integration: We’ve integrated the OpenAI REST API, enhancing our ability to provide AI-driven insights directly within your workflows.
  • Discourse Community Integration: Added support for linking to the Ultralytics Discourse community, making it easier to engage with the community directly from your CI/CD pipelines.

Bug Fixes and Optimizations

  • Fixed Import and Spacing Issues: Addressed various bugs, including time import issues and YAML spacing problems, to ensure smoother operation.
  • Refined Action Workflows: The general action workflows have been refactored for better performance and reliability, including updates to the run_pr_summary.py script.

General Updates

  • Prettier and Code Cleanup: Applied prettier formatting and general code cleanup to maintain high code quality and readability.
  • Markdown and Documentation Enhancements: Updates to README.md and markdown formatting scripts improve the clarity and presentation of documentation.

What's Changed

Full Changelog: v0.0.2...v0.0.3

v0.0.2

18 Jun 17:15
3cc102c
Compare
Choose a tag to compare

Ultralytics Actions: Auto-Formatting for Python and Markdown - Release v0.0.2

We are thrilled to announce the release of Ultralytics Actions - v0.0.2. This update builds on our initial release, introducing new features and improvements to enhance code quality and maintainability across Ultralytics Python projects.

Features in this Release:

1. Enhanced Automated Formatting

  • Prettier Integration: Added Prettier to handle formatting for JavaScript and JSON files, expanding our coverage beyond Python and Markdown.
  • Advanced Configuration Options: Users can now customize formatting rules for Ruff, mdformat, and Prettier directly within their repository.

2. Improved Link Checking

  • Advanced Lychee Options: Enhanced Lychee configuration to allow for custom exclusion lists and retry mechanisms, improving the accuracy of broken link reports.

3. Comprehensive Code Quality Checks

  • Flake8 Integration: Added Flake8 for advanced linting capabilities, providing more detailed code quality checks.
  • Black Formatting: Integrated Black, a powerful code formatter for Python, ensuring consistent code style across all projects.

4. Better Seamless Integration

  • Pull Request Enhancements: Improved pull request integration to include detailed summaries of formatting changes and code quality issues, making it easier for reviewers to understand and address them.
  • Branch-Specific Triggers: Actions can now be configured to trigger on specific branches, allowing for more flexible workflows.

5. User Experience Improvements

  • Detailed Documentation: Updated the setup instructions and usage guides to be more comprehensive and user-friendly, helping teams get started quickly.
  • Verbose Logging: Added verbose logging options to provide more insight into the actions' operations and facilitate easier debugging.

Future Scope:

We are committed to continuously improving Ultralytics Actions. Future updates may include:

  • Support for Additional Languages: Extending formatting and linting support to languages such as Go, Rust, and TypeScript.
  • Advanced Code Analysis: Integrating tools for static code analysis to detect potential bugs and vulnerabilities early.
  • User-Friendly Dashboards: Developing dashboards to visualize code quality metrics and track improvements over time.

Acknowledgments:

A heartfelt thank you to all the contributors and community members who have provided invaluable feedback and support. Your contributions drive the innovation and excellence of Ultralytics projects. We look forward to your continued engagement and collaboration.

Getting Started:

To get started with Ultralytics Actions v0.0.2, visit our repository and follow the setup instructions. Your feedback and contributions are highly appreciated!

What's Changed

New Contributors

Full Changelog: v0.0.1...v0.0.2

v0.0.1

08 Jan 16:10
dfedf86
Compare
Choose a tag to compare

Ultralytics Actions: Auto-Formatting for Python and Markdown - Release v0.0.1

We are excited to announce the initial release of Ultralytics Actions - v0.0.1, a GitHub Action focused on maintaining high-quality code standards across Ultralytics Python projects.

Features in this Release:

  • Automated Formatting: Integrates tools like Ruff, mdformat, docformatter, and codespell to automatically format Python code, Markdown files, and docstrings while also checking for spelling errors.
  • Broken Links Check: Uses Lychee to identify and report broken links in documentation and markdown files.
  • Seamless Integration: Triggers on push events to the main branch and during pull requests, ensuring code consistency before merging.
  • Easy Setup: Simple to incorporate into Ultralytics repositories with minimal configuration.

Future Scope:

  • We are continuously working to enhance this action with more features based on community feedback and internal requirements.
  • Upcoming updates may include additional languages support, more comprehensive code quality checks, and improved user experience.

Acknowledgments:

A big thank you to all contributors who have made this initial release possible. Your effort and collaboration drive the continuous improvement of Ultralytics projects. We look forward to more innovative contributions!

Getting Started:

To get started with Ultralytics Actions, visit our repository and follow the setup instructions. Your feedback and contributions are highly appreciated!

This is just the beginning! Stay tuned for more updates and enhancements.


Ultralytics Team 🚀

What's Changed

Full Changelog: v0.0.0...v0.0.1