Releases: ultralytics/thop
v2.0.13 - Update publish.yml (#76)
🌟 Summary
Release v2.0.13
introduces significant improvements to the CI/CD workflow for the Ultralytics thop
repository, enhancing maintainability, automation, and efficiency for package building and publishing. 🚀
📊 Key Changes
- 🔄 The GitHub Actions workflow was modularized into clear, logical steps:
check
,build
,publish
, andnotify
. - ✅ Added precise checks to determine when to increment versioning and proceed with publishing, ensuring only necessary updates are released.
- 🛠 Refined artifact handling by separating the building process from publishing and enabling artifact uploading for better clarity.
- 🔧 Improved error handling (e.g.,
continue-on-error
) for greater workflow resilience, reducing disruptions from non-critical issues. - 🔔 Enhanced Slack notifications to better inform users about success or failure in specific workflow stages.
- 📦 Updated the project version from
2.0.12
to2.0.13
.
🎯 Purpose & Impact
- 🧹 Streamlined Processes: The modular structure makes the CI/CD pipeline easier to understand, debug, and maintain, benefiting developers and contributors alike.
- 🚀 Improved Automation: More robust checks and workflow refinements minimize redundant actions, reducing overall execution time and ensuring smoother deployments.
- 🛡 Enhanced Reliability: Introducing better error handling prevents minor issues from halting the entire workflow, leading to more reliable operations.
- 📢 Clearer Communication: Notification improvements help keep stakeholders up-to-date with the exact status of releases.
This update makes development workflows more efficient for contributors while ensuring smoother experiences for end-users through well-tested and efficiently published updates. 🎉
What's Changed
- Ultralytics Refactor https://ultralytics.com/actions by @pderrenger in #74
- Update publish.yml by @glenn-jocher in #75
- Update publish.yml by @glenn-jocher in #76
Full Changelog: v2.0.12...v2.0.13
v2.0.12 - Slack v2 API usage (#73)
🌟 Summary
The release v2.0.12 enhances Slack integration for notifications and updates the project's version.
📊 Key Changes
- Slack Integration Update: The Slack GitHub action is upgraded from version
v1.26.0
tov2.0.0
, changing the configuration syntax for more robust notifications. - Version Update: The project version is incremented from
2.0.11
to2.0.12
, reflecting these updates.
🎯 Purpose & Impact
- Improved Notification Stability: The update to Slack's latest version ensures more reliable notifications for workflow successes and failures, leveraging enhancements from the Slack action update.
- Version Bump for Maintenance: Upgrading the version helps users and developers track changes easily, underscoring minor improvements or bug fixes without major functional shifts.
What's Changed
- Update publish.yml to PyPI by @glenn-jocher in #71
- Fix PyPI downloads links by @pderrenger in #72
- Slack v2 API usage by @glenn-jocher in #73
Full Changelog: v2.0.11...v2.0.12
v2.0.11 - Add environment to publish.yml (#70)
🌟 Summary
The v2.0.11
release for the ultralytics/thop
project focuses on refining the deployment process through improved GitHub Actions workflows and enhanced notification clarity.
📊 Key Changes
- GitHub Actions Enhancement: Updated the
publish.yml
with an environment section detailing deployment specifications, including environment name and URL for better tracking via GitHub's Deployments tab. - Version Number Update: Incremented the version number from
2.0.10
to2.0.11
to reflect these updates. - Notification Improvements: Enhanced Slack notifications in GitHub Actions to display the current release tag being published, improving the context of updates.
🎯 Purpose & Impact
- Streamlined Deployment: The addition of environment details in the workflow increases transparency and organization in the deployment process, aiding developers in effectively managing and tracking releases. 🌐
- Clear Versioning: The version bump to
2.0.11
signals minor improvements, assisting users in pinpointing updates and maintaining software consistency. 🆙 - Improved Communication: Updating Slack notifications with more precise information helps team members quickly recognize and respond to the latest package releases, enhancing the team's operational efficiency. 📢🚀
What's Changed
- Update publish.yml by @glenn-jocher in #69
- Add environment to publish.yml by @glenn-jocher in #70
Full Changelog: v2.0.10...v2.0.11
v2.0.10 - Python 3.13 update (#68)
🌟 Summary
The release of version 2.0.10 introduces support for Python 3.13 and improvements in release automation processes.
📊 Key Changes
- Python 3.13 Support: The project now officially supports Python 3.13, as indicated in the metadata.
- Version Upgrade: The internal version is updated from 2.0.9 to 2.0.10 to reflect these changes.
- Updated Publish Workflow: The GitHub Actions publish workflow has been optimized:
- Replaced
requests
library withultralytics-actions
to simplify dependencies. - Transitioned to using a utility function
check_pypi_version()
for version management. - Implemented
ultralytics-actions-summarize-release
for release note automation.
- Replaced
🎯 Purpose & Impact
- Enhanced Compatibility: By supporting Python 3.13, the project ensures users can leverage the latest features and improvements of the Python language in their work, promoting greater flexibility and longevity in software development. 🐍
- Streamlined Workflow: The workflow enhancements provide a more efficient and secure process for managing and publishing new versions, reducing potential errors and dependency on manual operations. 🚀
- Improved Maintainability: Utilization of standard utilities and functions helps maintain clean, organized, and reusable code, ultimately leading to a more robust and reliable codebase. 📦
What's Changed
- Update publish.yml by @glenn-jocher in #66
- Update publish.yml by @glenn-jocher in #67
- Python 3.13 update by @glenn-jocher in #68
Full Changelog: v2.0.9...v2.0.10
v2.0.9 - Update publish.yml to trusted publisher (#64)
🌟 Summary
The release v2.0.9 primarily enhances the publishing workflow for the Ultralytics THOP repository, focusing on improving security and streamlining processes.
📊 Key Changes
- Updated the GitHub Actions workflow to incorporate trusted publisher permissions for PyPI.
- Separated the build and publish steps to optimize the workflow process.
- Adopted a more straightforward method using GitHub Actions for publishing packages to PyPI.
- Incremented the software version from 2.0.8 to 2.0.9.
🎯 Purpose & Impact
- Enhanced Security: By employing token permissions, the release ensures a secure method of publishing to PyPI, safeguarding against unauthorized access and enhancing trustworthiness. 🛡️
- Streamlined Publishing: The transition to using a dedicated action for PyPI publication simplifies the process, reducing the chances of errors and making it more efficient and reliable. 🚀
- Version Consistency: Updating the version number ensures that changes are clearly communicated and that users are working with the latest improvements. 🔄
What's Changed
- Ultralytics Code Refactor https://ultralytics.com/actions by @UltralyticsAssistant in #63
- Update publish.yml to trusted publisher by @glenn-jocher in #64
Full Changelog: v2.0.8...v2.0.9
v2.0.8 - `ultralytics-thop 2.0.8` (#59)
🌟 Summary
New version release for thop
: updated from v2.0.7 to v2.0.8 🎉
📊 Key Changes
- Incremented the version number in the
__init__.py
, marking the new release. - Updated project maintainer details in
pyproject.toml
.
🎯 Purpose & Impact
- Version Update: This update indicates either minor tweaks, bug fixes, or small feature improvements, promoting enhanced performance or resolving any identified issues.
- Improved Correspondence: Updating the maintainer to "Ultralytics" with a new email contact standardizes communication lines and enhances organizational clarity.
- User Impact: All users should upgrade to ensure compatibility and potentially experience improved functionality.
What's Changed
- Update pyproject.toml by @glenn-jocher in #58
ultralytics-thop 2.0.8
by @glenn-jocher in #59
Full Changelog: v2.0.7...v2.0.8
v2.0.7 - Update pyproject.toml URLs (#57)
🌟 Summary
v2.0.7 enhances the project by improving metadata accessibility and ensuring clarity through focused code updates.
📊 Key Changes
- Updated
pyproject.toml
to include new links for Homepage, Source, Documentation, and Changelog. - Bumped the project version from 2.0.6 to 2.0.7.
- Refined code with updated string formatting to use modern f-strings.
- Improved error message logging for clarity in
thop/profile.py
. - Fixed tensor size logic in
count_convNd_ver2
function.
🎯 Purpose & Impact
- Enhanced User Navigation: 🖱️ The addition of direct links to the project's homepage, source, and documentation provides users with easy access to essential resources.
- Transparency and Tracking: 📜 A new Changelog URL helps users keep track of changes and updates conveniently.
- Readability and Maintenance: 🧹 Transition to f-strings improves code readability, making it easier for developers to work with and maintain.
- Error Identification: 🚨 Improved logging messages help developers quickly identify and resolve issues.
- Robust Performance: 🏋️ Bug fixes in tensor handling ensure accurate performance measurements in convolutional operations, maintaining integrity in computational processes.
What's Changed
- PyUpgrade 3.8 updates by @glenn-jocher in #55
- Update pyproject.toml URLs by @glenn-jocher in #57
Full Changelog: v2.0.6...v2.0.7
v2.0.6 - Update __init__.py (#54)
🌟 Summary
This release (v2.0.6) focuses on enhancing performance, improving workflow efficiency, and ensuring clearer and more consistent version handling. Additionally, a Reddit badge has been added to increase community engagement visibility.
📊 Key Changes
- 🚀 Code refactoring to improve performance and readability.
- 🏷️ Updated version tagging for enhanced clarity in workflows.
- 🌐 Added a Reddit badge in the README to connect with community updates.
- 📜 Streamlined GitHub publish workflow by removing OpenAI dependency and using a pre-fetched summarization script.
- 🗃️ Changed the
thop
library version from2.0.5
to2.0.6
for minor updates.
🎯 Purpose & Impact
- Performance Boost: By optimizing functions and simplifying complex code, the software now runs faster and is easier to maintain, benefitting both developers and users alike.
- Workflow Efficiency: Removal of the OpenAI dependency reduces potential errors and speeds up the release process by fetching a tested script, making the software deployment more reliable.
- Clarity and Consistency: Updated version tagging makes it easier for developers to track changes and understand which versions are being referenced, reducing confusion and improving communication in deployment notifications.
- Community Engagement: The addition of a Reddit badge encourages more community interaction and provides an easy way for users to follow discussions and updates.
- Software Maintenance: Keeping the library version updated ensures users benefit from the latest bug fixes and optimizations, leading to a smoother experience.
What's Changed
- Add https://www.reddit.com/r/Ultralytics/ badge by @glenn-jocher in #51
- Update publish.yml by @glenn-jocher in #52
- Update publish.yml by @glenn-jocher in #53
- Update init.py by @glenn-jocher in #54
Full Changelog: v2.0.5...v2.0.6
v2.0.5 - Use PAT for PR details (#50)
🌟 Summary
Version 2.0.5 includes improvements to the GitHub workflow for processing pull requests and a version bump in the THOP library.
📊 Key Changes
- 🛠️ Enhanced the GitHub Actions workflow to better handle pull request events and extract details more efficiently.
- 🔢 Updated the version of the THOP library from 2.0.3 to 2.0.5.
🎯 Purpose & Impact
- 🚀 Improved Workflow Efficiency: By refining the method of extracting pull request details, the process is now more robust and can handle different event types like
pull_request
andpull_request_target
. This ensures that the right information is captured, which simplifies release procedures and enhances automation reliability. - 🔄 Library Update: Incrementing the version number signifies minor updates or improvements to THOP, typically signaling to users that bug fixes or minor enhancements may have been introduced, contributing to a smoother integration or performance.
What's Changed
- Use PAT for PR details by @glenn-jocher in #50
Full Changelog: v2.0.4...v2.0.5
v2.0.4 - Update publish.yml (#49)
🌟 Summary
The v2.0.4 update introduces enhancements in the automation of GitHub workflows and a version bump for the package.
📊 Key Changes
- Improved GitHub Actions workflow to handle pull request events more comprehensively.
- Updated version number in the
thop
library from2.0.3
to2.0.4
.
🎯 Purpose & Impact
- Enhanced Workflow Automation: The update ensures that pull request targets (
pull_request_target
) are correctly processed along with standard pull requests, leading to more robust and versatile workflow automation. This change can improve the efficiency of release processes and ensure accurate extraction of pull request details, minimizing manual intervention. ⚙️ - Version Update: This change indicates either bug fixes or minor improvements to the
thop
library, signaling reliability and improved functionality to its users. 📦
Overall, these changes streamline developer operations and ensure consistency in processing updates and version control. 🌐
What's Changed
- Update publish.yml by @glenn-jocher in #49
Full Changelog: v2.0.3...v2.0.4