summaryrefslogtreecommitdiff
path: root/crates/tor-proto/semver.md
Commit message (Collapse)AuthorAgeFilesLines
* proto: Make Channel::reparameterize take &self.Nick Mathewson2022-10-181-1/+2
| | | | | | | | | | Even though channels are practically changeable, they use locks internally so that you don't need a `&mut Channel` to send or receive traffic. It makes sense for reparameterizing the channel to also use a &self reference. I'll need this so that I can store channels in an `ByRelayIds<>` set, and still invoke their reparameterize methods.
* proto: Implement HasRelayIds for Channel.Nick Mathewson2022-10-181-0/+1
|
* tor-proto: Preserve the ChannelMethod, not the SocketAddrNick Mathewson2022-10-061-0/+1
|
* Remove semver.md from arti-1.0.0Nick Mathewson2022-09-071-8/+0
|
* Add semver notesIan Jackson2022-08-171-0/+7
|
* Final (?) API revisions for tor-linkspecNick Mathewson2022-08-101-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With this change, each individual identity type becomes optional. The functions that expose them unconditionally are now in a "legacy" trait that only some downstream types are expected to implement. There are new convenience APIs in HasRelayIds: * to return Option<&keytype>, * to see if one identity-set contains another. This commit will break several downstream crates! For the reviewer's convenience, I will put the fixes for those crates into a series of squash! commits on this one. tor-netdir ---------- Revise tor-netdir to accept optional identities. This required some caveats and workarounds about the cases where we have to deal with a key type that the tor-netdir code does not currently recognize at all. If we start to add more identity types in the future, we may well want more internal indices in this code. tor-proto --------- In order to make tor-proto support optional identities, there were fewer changes than I thought. Some "check" functions needed to start looking at "all the ids we want" rather than at "the two known IDs"; they also needed to accommodate that case where we don't have an ID that we demand. This change will also help with bridges, since we want to be able to connect to a bridge without knowing all of its IDs up front. The protocol currently _requires_ the two current ID types in some places. To deal with that, I added a new `MissingId` error. I also removed a couple of unconditional identity accessors for chanmgr; code should use `target().identity(...)` instead. tor-chanmgr ----------- This is an incomplete conversion: it does not at all handle channel targets without Ed25519 identities yet. It still uses those identities to index its internal map from identity to channel; but it gives a new `MissingId` error type if it's given a channel target that doesn't have one. We'll want to revise the map type again down the road when we implement bridges, but I'd rather not step on the channel-padding work in progress right now. tor-guardmgr ------------ This change is mostly a matter of constructing owned identity types more sensibly, rather than unwrapping them directly. There are some places marked with TODOs where we still depend on particular identity types, because of how the directory protocol works. This will need revisiting when we add bridge support here. tor-circmgr ----------- These changes are just relatively simple API changes in the tests.
* Now that versions have bumped, remove semver.md files.Nick Mathewson2022-08-011-1/+0
|
* tor-proto: Stop using write_infallible in handshake code.Nick Mathewson2022-07-111-0/+1
| | | | | | | | This change was a bit annoying, since most of this code _can't_ fail, and so the only reasonable response is to wrap the input in an internal error... except for one case where we're actually encoding a caller-provided message, so we _do_ want to wrap the EncodeError from tor_bytes.
* Remove semver.md files now that 0.5.0 is outNick Mathewson2022-06-241-3/+0
|
* tor-proto: err: Provide ChannelClosed as a separate unit errorIan Jackson2022-06-211-0/+1
|
* update semver.mdtrinity-1686a2022-06-081-0/+1
|
* Document semver changesIan Jackson2022-06-081-0/+1