Skip to content

Remove BinaryNode::set() and unset()#497

Merged
arcondello merged 1 commit intodwavesystems:mainfrom
fastbodin:remove_binarynode_methods
Apr 8, 2026
Merged

Remove BinaryNode::set() and unset()#497
arcondello merged 1 commit intodwavesystems:mainfrom
fastbodin:remove_binarynode_methods

Conversation

@fastbodin
Copy link
Copy Markdown
Contributor

This functionality is already supported by IntegerNode::set_value(). It would be convenient to have fewer mutate methods to check when adding new features.

@fastbodin
Copy link
Copy Markdown
Contributor Author

fastbodin commented Apr 8, 2026

Also bumped version number from 0.6.12 to 0.6.13.dev.

@fastbodin fastbodin force-pushed the remove_binarynode_methods branch from d4daf27 to baad270 Compare April 8, 2026 01:39
@arcondello
Copy link
Copy Markdown
Member

I'd rather break the version bump into a separate PR. Also, needs a release note because we removed something.

@arcondello arcondello added the enhancement New feature or request label Apr 8, 2026
@arcondello arcondello self-requested a review April 8, 2026 15:52
@fastbodin
Copy link
Copy Markdown
Contributor Author

fastbodin commented Apr 8, 2026

Given there is no API change, I had not realized it needed a release note 🫡 . Happy to add that and separate version bump.

This functionality is already supported by `IntegerNode::set_value()`.
It would be convenient to have fewer mutate methods to check when
adding new features.
@arcondello
Copy link
Copy Markdown
Member

These are public methods on a public class no? Albeit at the C++ level.

@fastbodin
Copy link
Copy Markdown
Contributor Author

It was the C++ level that made me decide initially to not include a release note.

@fastbodin fastbodin force-pushed the remove_binarynode_methods branch from baad270 to 3edc84c Compare April 8, 2026 17:27
@arcondello
Copy link
Copy Markdown
Member

Yeah, we have a tendency to forget to add C++ stuff to the release notes. But we should be doing it for public methods.

We also, confusingly, don't often count them towards the version number.

@arcondello arcondello merged commit a098332 into dwavesystems:main Apr 8, 2026
14 checks passed
@fastbodin fastbodin deleted the remove_binarynode_methods branch April 8, 2026 17:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants