-
Notifications
You must be signed in to change notification settings - Fork 3
Implement standard traits for pointers and bump version to 0.2.0 #3
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
Merged
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
f583c4a
Implement standard traits for pointers
powergee 4b700c7
Bump version to 0.2.0
powergee 9c7bdea
Add comments on `ptr_eq` explaining why they ignore high epoch bits
powergee 8cb82ad
Simplify `match` clauses in `PartialEq`
powergee 6253e65
Remove an implementation of `PartialEq` in `RawShared`
powergee 67fa184
Simplify `PartialEq` implementations
powergee a0d8cf3
Add a `CHANGELOG.md`
powergee 5f1ab7c
Add `Unreleased` section in `CHANGELOG.md`
powergee File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on Keep a Changelog and this project adheres to Semantic Versioning. | ||
|
||
For all future releases, please manage versions as follows: | ||
|
||
1. Briefly summarize notable changes in this file (`CHANGELOG.md`). If the release includes *breaking changes*, provide clear migration instructions. | ||
2. Publish the new version on crates.io and create a new release on [GitHub Releases](https://github.com/kaist-cp/circ/releases). | ||
|
||
--- | ||
|
||
## Unreleased | ||
<!-- TODO --> | ||
|
||
## Version 0.2.0 - 2024-10-03 | ||
|
||
### Features | ||
|
||
* Added implementation of standard traits for pointers. ([#3](https://github.com/kaist-cp/circ/pull/3)) | ||
powergee marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
### Bug Fixes | ||
|
||
* `PartialEq` for `Rc` and `Snapshot` now compares the objects they point to, rather than the pointers themselves. ([#3](https://github.com/kaist-cp/circ/pull/3)) (See compatibility note below.) | ||
|
||
### Compatibility Notes | ||
|
||
* `Rc::eq` and `Snapshot::eq` now compare the objects they point to instead of their pointer values. This change aligns with the behavior of `PartialEq` for other smart pointer types (e.g., `std::rc::Rc`), where equality is based on the objects being pointed to. The original pointer-based comparison is still available via the `ptr_eq` method. | ||
* **Migration**: To compare pointer values, use the `ptr_eq` method. | ||
|
||
## Version 0.1.0 - 2024-06-12 | ||
|
||
* Initial release. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.