Skip to content

Release v0.1.0-dev — merge dev into main - #7

Merged
Sreehari425 merged 62 commits into
mainfrom
dev
Oct 19, 2025
Merged

Sreehari425 merged 62 commits into
mainfrom
dev

Conversation

@Sreehari425

Copy link
Copy Markdown
Owner

This pull request introduces the initial development release of PresenceForge (v0.1.0-dev), a cross-platform Rust library for Discord Rich Presence integration. The changes focus on updating documentation, improving API clarity, and preparing the project for broader usage and publication. Key updates include versioning and edition changes, documentation improvements, API consistency, and the addition of a changelog.

Project setup and release preparation

  • Updated Cargo.toml to set the version to 0.1.0-dev, changed the Rust edition to 2024, and added author and description metadata.
  • Added a comprehensive changelog for v0.1.0-dev, detailing core features, testing, and feature flags.

Documentation improvements

  • Updated README.md to reflect the new version, clarify development status, and add a crates.io badge. Improved feature listing and usage examples for both synchronous and async APIs. [1] [2] [3] [4] [5] [6] [7]
  • Revised all code examples and references in documentation (docs/ACTIVITY_BUILDER_REFERENCE.md, docs/API_REFERENCE.md, docs/ASYNC_RUNTIMES.md, docs/ERROR_HANDLING.md) to use the namespaced sync::DiscordIpcClient and clarify the party API. Improved error-handling and async runtime guides. [1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20] [21] [22] [23]

API consistency and clarity

  • Deprecated separate party_id and party_size methods in favor of a single party(id, current_size, max_size) method for setting party information. Updated all references and examples accordingly. [1] [2] [3]

CI configuration

  • Removed the pull_request trigger from the GitHub Actions workflow (.github/workflows/basic-ci.yml), leaving only push and workflow_dispatch triggers.

@Sreehari425
Sreehari425 requested a review from Copilot October 18, 2025 09:41

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

This PR introduces the initial development release of PresenceForge (v0.1.0-dev), focusing on API consistency, documentation improvements, and code organization. The changes prepare the project for broader usage and publication while maintaining functionality.

  • Updated versioning to v0.1.0-dev and Rust edition to 2024
  • Improved API consistency by consolidating party methods and updating import paths
  • Enhanced documentation and examples to reflect the new namespaced API structure

Reviewed Changes

Copilot reviewed 38 out of 39 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
Cargo.toml Updated version to 0.1.0-dev and Rust edition to 2024
src/lib.rs Reorganized module structure, removed client module, added nonce module
src/sync/client.rs Updated import paths and consolidated nonce validation logic
src/retry.rs Moved tests inline, improved runtime-specific async retry functions
src/nonce.rs Updated documentation path references
Multiple documentation files Updated all code examples to use namespaced imports
Multiple example files Updated imports to use new sync::DiscordIpcClient path

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/sync/client.rs
Comment thread src/nonce.rs Outdated
Comment thread src/ipc/connection.rs Outdated
Comment thread src/ipc/connection.rs Outdated
Comment thread src/ipc/connection.rs Outdated
@Sreehari425 Sreehari425 changed the title Dev merging dev to main Oct 18, 2025
@Sreehari425 Sreehari425 changed the title merging dev to main Release v0.1.0-dev — merge dev into main Oct 18, 2025
@Sreehari425
Sreehari425 requested a review from Copilot October 18, 2025 12:59

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 38 out of 39 changed files in this pull request and generated 5 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/sync/client.rs Outdated
Comment thread src/nonce.rs Outdated
Comment thread src/ipc/connection.rs
Comment thread src/async_io/tokio/mod.rs
Comment thread src/async_io/async_std/mod.rs
Sreehari425 and others added 3 commits October 18, 2025 18:31
gramer-fix

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Sreehari425
Sreehari425 requested a review from Copilot October 18, 2025 13:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 38 out of 39 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/sync/client.rs
Comment thread src/ipc/connection.rs
Sreehari425 and others added 3 commits October 18, 2025 18:45
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Sreehari425
Sreehari425 requested a review from Copilot October 18, 2025 13:16

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 38 out of 39 changed files in this pull request and generated 2 comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/retry.rs
Comment thread src/ipc/connection.rs Outdated
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Sreehari425
Sreehari425 requested a review from Copilot October 18, 2025 13:26

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 38 out of 39 changed files in this pull request and generated 3 comments.

Comments suppressed due to low confidence (1)

examples/update_activity_tokio.rs:1

  • Commented-out debug code should be removed before merging to production.
use clap::Parser;

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread src/ipc/connection.rs
Comment thread src/retry.rs
Comment thread src/sync/client.rs
@Sreehari425
Sreehari425 marked this pull request as ready for review October 18, 2025 13:37
@Sreehari425
Sreehari425 marked this pull request as draft October 18, 2025 13:56
@Sreehari425
Sreehari425 marked this pull request as ready for review October 18, 2025 13:56
@Sreehari425
Sreehari425 requested a review from Copilot October 19, 2025 16:04

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull Request Overview

Copilot reviewed 39 out of 40 changed files in this pull request and generated no new comments.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sreehari425 and others added 2 commits October 19, 2025 21:44
Co-authored-by: mrmayman <navneetkrishna22@gmail.com>
@Sreehari425

Copy link
Copy Markdown
Owner Author

@Mrmayman thank you for helping out in lowering the MSRV 👍

@Sreehari425
Sreehari425 merged commit 08878a7 into main Oct 19, 2025
8 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.

2 participants