-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: release v0.4.0 #116
Conversation
WalkthroughThe pull request updates the Changes
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? πͺ§ TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
ad91bc3
to
48f6494
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
Outside diff range and nitpick comments (3)
crates/augurs-clustering/CHANGELOG.md (1)
9-14
: Changelog entry looks good, but consider removing the redundant "Other" section.The changelog entry for version 0.4.0 effectively communicates the addition of the
augurs-clustering
crate with the DBSCAN algorithm implementation. The description in the "Added" section is clear and concise, and the pull request link provides a helpful reference for users interested in the implementation details.However, the "Other" section seems redundant as it repeats the information from the "Added" section. Consider removing it for better clarity.
Apply this diff to remove the redundant "Other" section:
-### Other -- Add `augurs-clustering` cratecrates/augurs-outlier/CHANGELOG.md (2)
13-13
: Provide more specificity in the changelog entry.Adding serde derives is a good enhancement for serialization capabilities. However, please update the changelog entry to specify the types that now have serde derives. This will help users better understand the potential impact of this breaking change.
14-14
: Provide more specificity in the changelog entry.Making
cluster_band
optional is a good way to handle cases when no cluster is found. However, please update the changelog entry to specify the function or data structure wherecluster_band
is used. This will help users better understand the potential impact of this breaking change and where they might need to update their code.
Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Files selected for processing (7)
- Cargo.toml (2 hunks)
- crates/augurs-clustering/CHANGELOG.md (1 hunks)
- crates/augurs-core/CHANGELOG.md (1 hunks)
- crates/augurs-dtw/CHANGELOG.md (1 hunks)
- crates/augurs-forecaster/CHANGELOG.md (1 hunks)
- crates/augurs-mstl/CHANGELOG.md (1 hunks)
- crates/augurs-outlier/CHANGELOG.md (1 hunks)
Additional comments not posted (17)
crates/augurs-dtw/CHANGELOG.md (3)
13-13
: LGTM!Deriving
Clone
for theDtw
type is a useful addition that enhances its usability in contexts where cloning is required. It allows creating independent copies of theDtw
type when needed.
14-14
: Parallel DTW calculations sound great! Can you provide more details?Adding support for parallel DTW calculations in
augurs-js
is a valuable enhancement that can significantly improve performance for time series analysis, especially with large datasets.However, without more context about the implementation in
augurs-js
, it's difficult to assess the details or potential issues. Could you please provide more information about how the parallel processing is implemented inaugurs-js
? This will help ensure a thorough review.
15-15
: Excellent addition!Introducing the
augurs-dtw
crate with a dynamic time warping implementation is a great architectural decision. It promotes modularity and allows the DTW functionality to be used independently of other Augurs components.The changelog entry is consistent with the note in the "Other" section, providing clear documentation of this significant addition.
crates/augurs-forecaster/CHANGELOG.md (1)
9-14
: LGTM!The addition of the 0.4.0 version entry to the changelog is well-structured and informative. The fix for the invalid lifetime warning on nightly builds is a valuable improvement, and the reference to the corresponding pull request enhances traceability.
The changelog accurately reflects the changes introduced in this release and follows the established format.
Cargo.toml (9)
14-14
: LGTM!The project version update is consistent with the PR objective of releasing version 0.4.0.
24-24
: LGTM!The dependency version update is consistent with the project version update.
25-25
: LGTM!The dependency version update is consistent with the project version update.
26-26
: Verify the API-compatible changes inaugurs-core
.The dependency version update is consistent with the project version update. However, please ensure that the API-compatible changes introduced in
augurs-core
are thoroughly tested and do not introduce any unexpected behavior.
27-27
: LGTM!The dependency version update is consistent with the project version update.
28-28
: LGTM!The dependency version update is consistent with the project version update.
30-30
: Verify the API-compatible changes inaugurs-mstl
.The dependency version update is consistent with the project version update. However, please ensure that the API-compatible changes introduced in
augurs-mstl
are thoroughly tested and do not introduce any unexpected behavior.
31-31
: Verify the breaking changes inaugurs-outlier
.The dependency version update is consistent with the project version update. However, please ensure that the breaking changes introduced in
augurs-outlier
, specifically the removal or renaming of a public field in a struct, are thoroughly reviewed and their impact on the codebase is assessed. Update any affected code and documentation accordingly.
32-32
: LGTM!The dependency version update is consistent with the project version update.
crates/augurs-core/CHANGELOG.md (3)
9-10
: LGTM!The changelog header for version 0.4.0 follows the expected format, includes a valid GitHub compare link, and has a release date set in the future as per the hypothetical scenario.
11-14
: LGTM!The new features are clearly documented under the "Added" section, with concise descriptions and references to the relevant pull requests. The additions match the list of alterations provided in the summary.
16-18
: LGTM!The breaking change is clearly documented under the "Fixed" section, with a "breaking" tag to highlight its impact. The description concisely explains the addition of
serde
derives for more types, and the pull request reference allows for further investigation if needed.crates/augurs-mstl/CHANGELOG.md (1)
9-13
: LGTM!The changelog entry for version 0.4.0 is well-structured and informative. It accurately captures the addition of the
augurs-dtw
crate and provides a clear description of the change along with a reference to the relevant pull request.
48f6494
to
9dde40e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 2
π§Ή Outside diff range and nitpick comments (6)
crates/augurs/CHANGELOG.md (1)
8-9
: LGTM: Unreleased section presentThe inclusion of an Unreleased section is a good practice, allowing for the documentation of changes that are not yet released.
Consider adding a brief explanation under the Unreleased section to guide contributors, such as:
## [Unreleased] <!-- Add new changes here -->This can help maintain consistency in future updates.
crates/augurs-clustering/CHANGELOG.md (1)
16-16
: Consider removing redundant entry.The entry "Add
augurs-clustering
crate" in the "Other" section is redundant, as this information is already covered in the "Added" section. Consider removing this line to avoid confusion and maintain a concise changelog.-### Other -- Add `augurs-clustering` crate𧰠Tools
LanguageTool
[misspelling] ~16-~16: It seems that the plural noun βothersβ fits better in this context.
Context: ...thub.com//pull/100)) ### Other - Addaugurs-clustering
crate(OTHER_OTHERS)
crates/augurs-changepoint/CHANGELOG.md (1)
9-13
: LGTM! Consider adding more details about the 'augurs' crate.The changelog entry for version 0.4.0 is well-formatted and follows the Keep a Changelog conventions. The addition of the 'augurs' convenience crate is clearly documented.
Consider expanding on the benefits of the new 'augurs' crate. For example:
### Added -- add 'augurs' convenience crate, re-exporting other crates ([#117](https://github.com/grafana/augurs/pull/117)) +- Added 'augurs' convenience crate, re-exporting other crates ([#117](https://github.com/grafana/augurs/pull/117)) + - This new crate simplifies imports by providing a single entry point for multiple Augurs components. + - Users can now import from 'augurs' instead of individual crates, potentially reducing boilerplate.This additional information would help users understand the purpose and benefits of the new crate more clearly.
crates/augurs-testing/CHANGELOG.md (1)
9-13
: LGTM! Consider adding more details about the 'augurs' crate.The new version entry is well-structured and consistent with the PR objectives. It correctly includes the version number, release date, and a link to compare changes. The addition of the 'augurs' convenience crate is clearly mentioned with a reference to the relevant pull request.
Consider expanding on the description of the 'augurs' crate to provide more context about its purpose and benefits. For example:
- add 'augurs' convenience crate, re-exporting other crates ([#117](https://github.com/grafana/augurs/pull/117)) + add 'augurs' convenience crate, re-exporting other crates for easier imports and usage ([#117](https://github.com/grafana/augurs/pull/117))crates/augurs-core/CHANGELOG.md (1)
17-19
: Enhance description of the breaking changeThe breaking change (adding serde derives for more types) is correctly marked as such. However, to better assist users in understanding the implications, consider expanding this entry with:
- A brief explanation of which types now have serde derives.
- Potential impacts on existing code that uses these types.
- Any migration steps users might need to take.
This additional information will help users prepare for the upgrade and understand any necessary adjustments to their code.
crates/augurs-mstl/CHANGELOG.md (1)
9-14
: LGTM! Consider addingaugurs-mstl
specific changes.The changelog entry for version 0.4.0 is well-formatted and correctly documents the new additions to the project. The version number and date are consistent with the PR objectives.
Consider adding a note about any changes specific to the
augurs-mstl
crate, if applicable. If there are no changes specific to this crate, you might want to add a line stating "No changes specific toaugurs-mstl
in this release." This would provide clarity for users of this particular crate.
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
π Files selected for processing (12)
- Cargo.toml (2 hunks)
- crates/augurs-changepoint/CHANGELOG.md (1 hunks)
- crates/augurs-clustering/CHANGELOG.md (1 hunks)
- crates/augurs-core/CHANGELOG.md (1 hunks)
- crates/augurs-dtw/CHANGELOG.md (1 hunks)
- crates/augurs-ets/CHANGELOG.md (1 hunks)
- crates/augurs-forecaster/CHANGELOG.md (1 hunks)
- crates/augurs-mstl/CHANGELOG.md (1 hunks)
- crates/augurs-outlier/CHANGELOG.md (1 hunks)
- crates/augurs-seasons/CHANGELOG.md (1 hunks)
- crates/augurs-testing/CHANGELOG.md (1 hunks)
- crates/augurs/CHANGELOG.md (1 hunks)
π§ Files skipped from review as they are similar to previous changes (4)
- Cargo.toml
- crates/augurs-dtw/CHANGELOG.md
- crates/augurs-forecaster/CHANGELOG.md
- crates/augurs-outlier/CHANGELOG.md
π Additional comments not posted (8)
crates/augurs/CHANGELOG.md (2)
1-7
: LGTM: Well-structured changelog headerThe changelog header is well-structured and follows best practices. It clearly states the purpose of the file and references the standard formats (Keep a Changelog and Semantic Versioning) being followed, which is helpful for users and contributors.
10-14
: LGTM with suggestions: Version 0.4.0 release detailsThe version 0.4.0 release details are well-documented, following the Keep a Changelog format. The release date and comparison link are correctly provided, and the main addition is clearly described with a link to the relevant pull request.
However, the PR objectives and AI summary indicate multiple updates across various packages, including breaking changes in some packages. Consider adding more details to the changelog to reflect these changes. You can verify the full extent of changes using the following script:
Based on the results, please update the changelog to include:
- Breaking changes in
augurs-ets
andaugurs-outlier
- API-compatible changes in
augurs-core
,augurs-mstl
, andaugurs-forecaster
- Any other significant additions or fixes mentioned in other package changelogs
This will provide a more comprehensive overview of the changes in this release.
crates/augurs-clustering/CHANGELOG.md (3)
9-10
: LGTM: Version and date are correctly formatted.The version number, date, and comparison link are properly documented, following good changelog practices.
Line range hint
1-16
: Overall, the changelog is well-structured and informative.The changelog effectively communicates the changes in version 0.4.0, following the Keep a Changelog format and Semantic Versioning principles. It clearly lists the new features with appropriate links to pull requests. With the suggested minor improvement, this changelog will provide a concise and clear summary of the release.
π§° Tools
LanguageTool
[misspelling] ~16-~16: It seems that the plural noun βothersβ fits better in this context.
Context: ...thub.com//pull/100)) ### Other - Addaugurs-clustering
crate(OTHER_OTHERS)
11-14
: LGTM: New features are well-documented.The additions of the 'augurs' convenience crate and the 'augurs-clustering' crate with DBSCAN algorithm are clearly described and properly linked to their respective pull requests.
To ensure the DBSCAN algorithm is correctly implemented, please run the following verification script:
crates/augurs-core/CHANGELOG.md (3)
9-10
: Verify the release dateThe release date (2024-09-25) is set in the future. Please ensure this is intentional or update it to the current date.
The version number (0.4.0) and the comparison link are correct and align with the PR objectives.
11-15
: LGTM: Added features are well-documentedThe "Added" section clearly lists the new features introduced in this version:
- The 'augurs' convenience crate
- The 'Forecast::chain' method
- The 'augurs-dtw' crate
These additions align with the PR objectives and provide valuable enhancements to the project. The inclusion of pull request links for each feature is excellent for traceability.
9-19
: Overall, excellent changelog entryThe changelog entry for version 0.4.0 is well-structured, informative, and follows the Keep a Changelog format. It effectively communicates the new features and breaking changes, aligning with the PR objectives. The inclusion of pull request links for each change is commendable, enhancing traceability.
Minor suggestions for improvement:
- Verify the release date (currently set in the future).
- Expand on the description of the breaking change to provide more context for users.
These small enhancements will further improve the already high-quality changelog entry.
## [0.4.0](https://github.com/grafana/augurs/compare/augurs-seasons-v0.3.1...augurs-seasons-v0.4.0) - 2024-09-25 | ||
|
||
### Added | ||
|
||
- add 'augurs' convenience crate, re-exporting other crates ([#117](https://github.com/grafana/augurs/pull/117)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Expand the changelog entry to include all relevant changes.
While the addition of the 'augurs' convenience crate is correctly documented, the changelog entry for version 0.4.0 doesn't reflect all the changes mentioned in the PR objectives. Consider expanding this entry to include:
- Updates to other packages (augurs-core, augurs-mstl, augurs-forecaster, etc.)
- Breaking changes in augurs-ets and augurs-outlier
- New features like the augurs-dtw crate for dynamic time warping and the augurs-clustering crate implementing the DBSCAN algorithm
- Any notable fixes mentioned in the PR objectives
This will provide a more comprehensive overview of the changes in this release.
Here's a suggested expansion of the changelog entry:
## [0.4.0](https://github.com/grafana/augurs/compare/augurs-seasons-v0.3.1...augurs-seasons-v0.4.0) - 2024-09-25
### Added
- add 'augurs' convenience crate, re-exporting other crates ([#117](https://github.com/grafana/augurs/pull/117))
- new augurs-dtw crate for dynamic time warping
- new augurs-clustering crate implementing the DBSCAN algorithm
### Changed
- API-compatible changes in augurs-core, augurs-mstl, and augurs-forecaster packages
### Breaking Changes
- augurs-ets: removed or renamed public modules and constants
- augurs-outlier: removed or renamed a public struct and its fields
### Fixed
- Various fixes to address warnings and improve functionality across packages
### Updated
- Upgraded the following packages from version 0.3.1 to 0.4.0:
- augurs
- augurs-changepoint
- augurs-core
- augurs-testing
- augurs-clustering
- augurs-dtw
- augurs-ets
- augurs-mstl
- augurs-forecaster
- augurs-outlier
- augurs-seasons
## [0.4.0](https://github.com/grafana/augurs/compare/augurs-ets-v0.3.1...augurs-ets-v0.4.0) - 2024-09-25 | ||
|
||
### Added | ||
|
||
- add 'augurs' convenience crate, re-exporting other crates ([#117](https://github.com/grafana/augurs/pull/117)) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Enhance the changelog entry with more specific details.
The new release entry for version 0.4.0 is a good start, but it could be improved to provide more comprehensive information about the changes in this package. Consider the following suggestions:
-
Add a "Breaking Changes" section to reflect the breaking changes mentioned in the PR objectives for the
augurs-ets
package. This should include details about removed or renamed public modules and constants. -
Include more specific information about changes to the
augurs-ets
package. The current entry only mentions a general addition of the 'augurs' convenience crate, which may not be directly related to this package. -
If there are no specific changes to
augurs-ets
other than the version bump, consider adding a note to that effect for clarity.
Here's a suggested structure for the improved entry:
## [0.4.0](https://github.com/grafana/augurs/compare/augurs-ets-v0.3.1...augurs-ets-v0.4.0) - 2024-09-25
### Breaking Changes
- [List removed or renamed public modules and constants]
### Added
- add 'augurs' convenience crate, re-exporting other crates ([#117](https://github.com/grafana/augurs/pull/117))
### Changed
- [List any non-breaking changes specific to augurs-ets]
[If no specific changes to augurs-ets]
No significant changes to augurs-ets in this release other than version bump.
This structure will provide users with a clearer understanding of the changes and potential impacts on their projects.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
π§Ή Outside diff range and nitpick comments (2)
crates/augurs-outlier/CHANGELOG.md (2)
16-19
: Approved with suggestion: Consider elaborating on breaking changesThe breaking changes are correctly marked and documented with PR references. However, to help users better understand the impact, consider adding more details about:
- Which types now have serde derives and how this might affect serialization/deserialization.
- The implications of
cluster_band
becoming optional and what "undefined if no cluster is found" means for users.This additional information would help users assess the impact on their existing code and prepare for the upgrade.
21-24
: Consider marking these as breaking changesThe changes documented here, particularly the renaming of
DBSCANDetector
toDbscanDetector
and the modification ofDbscanDetector::parallelize
, are likely to be breaking changes for existing users. Consider:
- Marking these changes with [breaking] at the beginning of each line, similar to the "Fixed" section.
- Moving these items to the "Fixed" section if they are indeed breaking changes, to maintain consistency with the changelog format.
These modifications will make it clearer to users that they need to update their code when upgrading to this version.
π Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
π Files selected for processing (2)
- crates/augurs-ets/CHANGELOG.md (1 hunks)
- crates/augurs-outlier/CHANGELOG.md (1 hunks)
π§ Files skipped from review as they are similar to previous changes (1)
- crates/augurs-ets/CHANGELOG.md
π Additional comments not posted (2)
crates/augurs-outlier/CHANGELOG.md (2)
9-10
: Verify the release dateThe release date (September 25, 2024) is set in the future. Please ensure this is intentional or update it to the actual release date.
The version number (0.4.0) and the comparison link are correctly formatted and align with the PR objectives.
11-14
: LGTM: Additions are well-documentedThe new features, including the 'augurs' convenience crate and the exported data types, are clearly documented with appropriate PR references. These additions align with the PR objectives and enhance the usability of the library.
π€ New release
augurs
: 0.3.1 -> 0.4.0augurs-changepoint
: 0.3.1 -> 0.4.0 (β API compatible changes)augurs-core
: 0.3.1 -> 0.4.0 (β API compatible changes)augurs-testing
: 0.3.1 -> 0.4.0 (β API compatible changes)augurs-clustering
: 0.3.1 -> 0.4.0augurs-dtw
: 0.3.1 -> 0.4.0augurs-ets
: 0.3.1 -> 0.4.0 (augurs-mstl
: 0.3.1 -> 0.4.0 (β API compatible changes)augurs-forecaster
: 0.3.1 -> 0.4.0 (β API compatible changes)augurs-outlier
: 0.3.1 -> 0.4.0 (augurs-seasons
: 0.3.1 -> 0.4.0 (β API compatible changes)augurs-ets
breaking changesaugurs-outlier
breaking changesChangelog
augurs
augurs-changepoint
augurs-core
augurs-testing
augurs-clustering
augurs-dtw
augurs-ets
augurs-mstl
augurs-forecaster
augurs-outlier
augurs-seasons
This PR was generated with release-plz.
Summary by CodeRabbit
New Features
Forecast::chain
method for chaining forecasts together.augurs-dtw
crate.Clone
trait for theDtw
type.data
module from theaugurs-ets
crate.cluster_band
parameter optional in the relevant functions.Bug Fixes
augurs-forecaster
crate.Documentation