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

[release] 0.8.0 #141

Merged
merged 13 commits into from
Dec 18, 2024
Merged

[release] 0.8.0 #141

merged 13 commits into from
Dec 18, 2024

Conversation

EATSTEAK
Copy link
Owner

@EATSTEAK EATSTEAK commented Dec 18, 2024

Summary by CodeRabbit

  • New Features

    • Added manual trigger capability for workflows.
    • Introduced new environment variables, TARGET_YEAR and TARGET_SEMESTER, for build jobs.
    • Added functions to dynamically retrieve the current year and semester from environment variables.
  • Bug Fixes

    • Updated method signatures to use u32 for year parameters in specific methods.
  • Dependency Updates

    • Updated package and dependency versions across multiple files, including thiserror, uniffi, reqwest, and others.
  • Tests

    • Enhanced test flexibility by replacing hardcoded values with dynamic retrieval of year and semester.

Copy link

coderabbitai bot commented Dec 18, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request introduces several significant updates across multiple files in the project. The changes primarily focus on enhancing the workflow configuration, updating dependency versions, and modifying the handling of year and semester parameters in various application methods. The modifications include adding manual workflow triggers, updating dependency versions, changing method signatures to use numeric year types, and introducing new utility functions for retrieving year and semester information dynamically.

Changes

File Change Summary
.github/workflows/build_test.yml Added workflow_dispatch trigger, introduced TARGET_YEAR and TARGET_SEMESTER environment variables
.github/workflows/dry-run.yml Added TARGET_YEAR and TARGET_SEMESTER environment variables
Cargo.toml Updated package version to 0.8.0, updated thiserror dependency to 2.0.8
languages/kotlin/lib/build.gradle.kts Updated project version to 0.8.0, added new generateBindings task
packages/rusaint-ffi/Cargo.toml Updated uniffi dependency from 0.28.1 to 0.28.3
packages/rusaint-ffi/src/application/course_grades.rs Changed year parameter type from &str to u32 in method signatures
packages/rusaint/Cargo.toml Updated multiple dependencies including uniffi, derive_builder, reqwest, url, and scraper
packages/rusaint/src/lib.rs Added get_year() and get_semester() functions
Multiple test files Replaced hardcoded year and semester values with dynamic retrieval functions

Possibly related PRs

Suggested labels

enhancement

Poem

🐰 Hop, hop, through code's domain,
Version bumps and changes reign!
Workflows dance, dependencies sway,
Rusaint's magic finds a new way!
Binding, testing, version's flight,
Rabbit's code takes joyous might! 🚀


📜 Recent review details

Configuration used: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between a8364af and 39b92e2.

📒 Files selected for processing (14)
  • .github/workflows/build_test.yml (2 hunks)
  • .github/workflows/dry-run.yml (2 hunks)
  • Cargo.toml (2 hunks)
  • languages/kotlin/lib/build.gradle.kts (1 hunks)
  • packages/rusaint-ffi/Cargo.toml (1 hunks)
  • packages/rusaint-ffi/src/application/course_grades.rs (2 hunks)
  • packages/rusaint/Cargo.toml (3 hunks)
  • packages/rusaint/src/application/course_grades/mod.rs (3 hunks)
  • packages/rusaint/src/lib.rs (2 hunks)
  • packages/rusaint/src/webdynpro/element/complex/sap_table/body.rs (2 hunks)
  • packages/rusaint/tests/application/chapel.rs (3 hunks)
  • packages/rusaint/tests/application/course_grades.rs (3 hunks)
  • packages/rusaint/tests/application/personal_course_schedule.rs (3 hunks)
  • packages/rusaint/tests/tests.rs (2 hunks)

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 generate docstrings to generate docstrings for this PR. (Beta)
  • @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.

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.

@EATSTEAK EATSTEAK merged commit 47b323e into main Dec 18, 2024
2 checks passed
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