Skip to content
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

Closed
wants to merge 2 commits into from
Closed

chore: release v0.4.0 #116

wants to merge 2 commits into from

Conversation

sd2k
Copy link
Collaborator

@sd2k sd2k commented Sep 22, 2024

πŸ€– New release

  • augurs: 0.3.1 -> 0.4.0
  • augurs-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.0
  • augurs-dtw: 0.3.1 -> 0.4.0
  • augurs-ets: 0.3.1 -> 0.4.0 (⚠️ API breaking changes)
  • 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 (⚠️ API breaking changes)
  • augurs-seasons: 0.3.1 -> 0.4.0 (βœ“ API compatible changes)

⚠️ augurs-ets breaking changes

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/module_missing.ron

Failed in:
  mod augurs_ets::data, previously in file /tmp/.tmpUwRTP0/augurs-ets/src/data.rs:1

--- failure pub_module_level_const_missing: pub module-level const is missing ---

Description:
A public const is missing, renamed, or changed from const to static.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/pub_module_level_const_missing.ron

Failed in:
  AUSTRES in file /tmp/.tmpUwRTP0/augurs-ets/src/data.rs:22
  AIR_PASSENGERS in file /tmp/.tmpUwRTP0/augurs-ets/src/data.rs:7

⚠️ augurs-outlier breaking changes

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct itself may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/struct_missing.ron

Failed in:
  struct augurs_outlier::DBSCANDetector, previously in file /tmp/.tmpUwRTP0/augurs-outlier/src/dbscan.rs:46

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It may have been renamed or removed entirely.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field indices of struct OutlierIntervals, previously in file /tmp/.tmpUwRTP0/augurs-outlier/src/lib.rs:129
Changelog

augurs

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)

augurs-changepoint

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)

augurs-core

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)
  • add 'Forecast::chain' method to chain two forecasts together (#115)
  • add augurs-dtw crate with dynamic time warping implementation (#98)

Fixed

  • [breaking] add serde derives for more types (#112)

augurs-testing

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)

augurs-clustering

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)
  • add augurs-clustering crate with DBSCAN algorithm (#100)

Other

  • Add augurs-clustering crate

augurs-dtw

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)
  • derive Clone for Dtw (#114)
  • parallel DTW calculations in augurs-js (#111)
  • add augurs-dtw crate with dynamic time warping implementation (#98)

Other

  • Add augurs-dtw crate

augurs-ets

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)

augurs-mstl

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)
  • add augurs-dtw crate with dynamic time warping implementation (#98)

augurs-forecaster

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)

Fixed

  • fix invalid lifetime warning on nightly (#113)

augurs-outlier

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)

Fixed

  • [breaking] add serde derives for more types (#112)
  • [breaking] make cluster_band optional, undefined if no cluster is found (#105)

augurs-seasons

0.4.0 - 2024-09-25

Added

  • add 'augurs' convenience crate, re-exporting other crates (#117)


This PR was generated with release-plz.

Summary by CodeRabbit

  • New Features

    • Introduced a new convenience crate named 'augurs' that re-exports other crates for easier access.
    • Added the Forecast::chain method for chaining forecasts together.
    • Implemented dynamic time warping in the new augurs-dtw crate.
    • Enhanced usability with the Clone trait for the Dtw type.
    • Removed the data module from the augurs-ets crate.
    • Made the cluster_band parameter optional in the relevant functions.
  • Bug Fixes

    • Addressed an invalid lifetime warning in the augurs-forecaster crate.
  • Documentation

    • Updated changelogs for all affected crates to reflect the new version and features.

Copy link
Contributor

coderabbitai bot commented Sep 22, 2024

Walkthrough

The pull request updates the Cargo.toml file to increment the project version from 0.3.1 to 0.4.0, along with updating the versions of several workspace dependencies to match. It introduces new features across various crates, including a convenience crate augurs that re-exports other crates, and enhancements like the Forecast::chain method in augurs-core. Additionally, several crates underwent breaking changes, particularly regarding serialization and parameter handling.

Changes

File Path Change Summary
Cargo.toml Updated project version to 0.4.0 and all relevant dependencies to 0.4.0.
crates/augurs-changepoint/CHANGELOG.md Added entry for version 0.4.0, introducing the augurs convenience crate.
crates/augurs-clustering/CHANGELOG.md Added entry for version 0.4.0, introducing the augurs crate and the augurs-clustering crate with DBSCAN algorithm.
crates/augurs-core/CHANGELOG.md Added entry for version 0.4.0, introducing Forecast::chain method and augurs-dtw crate.
crates/augurs-dtw/CHANGELOG.md Added entry for version 0.4.0, introducing Clone trait for Dtw and parallel DTW calculations.
crates/augurs-ets/CHANGELOG.md Added entry for version 0.4.0, introducing the augurs convenience crate.
crates/augurs-forecaster/CHANGELOG.md Added entry for version 0.4.0, fixing an invalid lifetime warning.
crates/augurs-mstl/CHANGELOG.md Added entry for version 0.4.0, noting the addition of augurs and augurs-dtw crates.
crates/augurs-outlier/CHANGELOG.md Added entry for version 0.4.0, introducing breaking changes related to serde derives and cluster_band.
crates/augurs-seasons/CHANGELOG.md Added entry for version 0.4.0, introducing the augurs convenience crate.
crates/augurs-testing/CHANGELOG.md Added entry for version 0.4.0, introducing the augurs convenience crate.
crates/augurs/CHANGELOG.md New changelog file created for the augurs crate, documenting its introduction in version 0.4.0.

Possibly related PRs

Suggested reviewers

  • gitdoluquita

πŸ‡ In a world of code, we hop and play,
With versions rising, we dance all day!
New features bloom, like flowers in spring,
Clustering and warping, oh what joy they bring!
So here’s to the changes, let’s cheer and rejoice,
For every small update gives our project a voice! πŸ‡βœ¨


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?

❀️ Share
πŸͺ§ Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

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)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions github-actions bot force-pushed the release-plz-2024-09-22T11-34-29Z branch 2 times, most recently from ad91bc3 to 48f6494 Compare September 22, 2024 11:35
Copy link
Contributor

@coderabbitai coderabbitai bot left a 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` crate
crates/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 where cluster_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

Commits

Files that changed from the base of the PR and between d46c954 and 48f6494.

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 the Dtw type is a useful addition that enhances its usability in contexts where cloning is required. It allows creating independent copies of the Dtw 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 in augurs-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 in augurs-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 in augurs-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 in augurs-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.

@github-actions github-actions bot force-pushed the release-plz-2024-09-22T11-34-29Z branch from 48f6494 to 9dde40e Compare September 25, 2024 14:40
Copy link
Contributor

@coderabbitai coderabbitai bot left a 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 present

The 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 - Add augurs-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 change

The 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:

  1. A brief explanation of which types now have serde derives.
  2. Potential impacts on existing code that uses these types.
  3. 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 adding augurs-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 to augurs-mstl in this release." This would provide clarity for users of this particular crate.

πŸ“œ Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

πŸ“₯ Commits

Files that changed from the base of the PR and between 48f6494 and 9dde40e.

πŸ“’ 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 header

The 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 details

The 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:

  1. Breaking changes in augurs-ets and augurs-outlier
  2. API-compatible changes in augurs-core, augurs-mstl, and augurs-forecaster
  3. 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 - Add augurs-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 date

The 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-documented

The "Added" section clearly lists the new features introduced in this version:

  1. The 'augurs' convenience crate
  2. The 'Forecast::chain' method
  3. 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 entry

The 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:

  1. Verify the release date (currently set in the future).
  2. 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.

Comment on lines +9 to +13
## [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))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

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:

  1. Updates to other packages (augurs-core, augurs-mstl, augurs-forecaster, etc.)
  2. Breaking changes in augurs-ets and augurs-outlier
  3. New features like the augurs-dtw crate for dynamic time warping and the augurs-clustering crate implementing the DBSCAN algorithm
  4. 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

Comment on lines +9 to +13
## [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))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

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:

  1. 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.

  2. 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.

  3. 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.

@sd2k sd2k closed this Sep 25, 2024
@sd2k sd2k reopened this Sep 25, 2024
Copy link
Contributor

@coderabbitai coderabbitai bot left a 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 changes

The breaking changes are correctly marked and documented with PR references. However, to help users better understand the impact, consider adding more details about:

  1. Which types now have serde derives and how this might affect serialization/deserialization.
  2. 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 changes

The changes documented here, particularly the renaming of DBSCANDetector to DbscanDetector and the modification of DbscanDetector::parallelize, are likely to be breaking changes for existing users. Consider:

  1. Marking these changes with [breaking] at the beginning of each line, similar to the "Fixed" section.
  2. 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

πŸ“₯ Commits

Files that changed from the base of the PR and between 9dde40e and 674b79e.

πŸ“’ 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 date

The 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-documented

The 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.

@sd2k sd2k closed this Sep 25, 2024
@sd2k sd2k reopened this Sep 25, 2024
@sd2k sd2k closed this Oct 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant