<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mirrors/arti.git/crates/tor-chanmgr, branch arti-v1.2.0</title>
<subtitle>mirror of https://gitlab.torproject.org/tpo/core/arti
</subtitle>
<id>http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0</id>
<link rel='self' href='http://git.dilluti0n.com/mirrors/arti.git/atom?h=arti-v1.2.0'/>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/'/>
<updated>2024-03-04T14:51:56Z</updated>
<entry>
<title>Bump the minor version, for crates with breaking changes.</title>
<updated>2024-03-04T14:51:56Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-29T19:04:58Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=9ca957705291301d90680fce8d537a085cc1ce67'/>
<id>urn:sha1:9ca957705291301d90680fce8d537a085cc1ce67</id>
<content type='text'>
APIs were broken in these pre-1.0.0 crates:
```
tor-keymgr
tor-config
tor-checkable
tor-circmgr
tor-dirmgr
tor-hsclient
tor-hsservice
tor-hsrproxy
```

Done with:
```
cargo set-version --bump minor -p tor-keymgr
cargo set-version --bump minor -p tor-config
cargo set-version --bump minor -p tor-checkable
cargo set-version --bump minor -p tor-circmgr
cargo set-version --bump minor -p tor-dirmgr
cargo set-version --bump minor -p tor-hsclient
cargo set-version --bump minor -p tor-hsservice
cargo set-version --bump minor -p tor-hsrproxy
```
</content>
</entry>
<entry>
<title>Bump patchlevel of pre-1.0.0 crates with new APIs.</title>
<updated>2024-03-04T14:51:49Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-29T19:01:41Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=1beb705eefe18bccbc6f29ab522d33a611c78c7b'/>
<id>urn:sha1:1beb705eefe18bccbc6f29ab522d33a611c78c7b</id>
<content type='text'>
APIs were added:
```
tor-units
tor-cell
tor-proto
tor-netdir
arti-client
```

 Done with:
```
cargo set-version --bump patch -p tor-units
cargo set-version --bump patch -p tor-cell
cargo set-version --bump patch -p tor-proto
cargo set-version --bump patch -p tor-netdir
cargo set-version --bump patch -p arti-client
```
</content>
</entry>
<entry>
<title>Bump patchlevel (not dependents) on crates with trivial changes.</title>
<updated>2024-03-04T12:24:40Z</updated>
<author>
<name>Gabriela Moldovan</name>
<email>gabi@torproject.org</email>
</author>
<published>2024-02-29T18:44:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=6dc49da2126c5da00790de3892ff1ea49c542dc7'/>
<id>urn:sha1:6dc49da2126c5da00790de3892ff1ea49c542dc7</id>
<content type='text'>
This includes:
```
fs-mistrust
tor-linkspec
tor-chanmgr
```

Done with
```
./maint/bump_nodep fs-mistrust tor-linkspec tor-chanmgr
```
</content>
</entry>
<entry>
<title>educe: Use std's default for enums where default variant is unit</title>
<updated>2024-02-12T11:38:36Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-12T11:07:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=c35c60f848154e80f23ba95a989ff2f9d2594e6a'/>
<id>urn:sha1:c35c60f848154e80f23ba95a989ff2f9d2594e6a</id>
<content type='text'>
Since Rust 1.66, std's default works properly for enums, provided that
the default variant is a unit.

Review all uses of `#[educe(default)]` on enums and replace them with
std where possible, which is most of them.

In 1.66 and later, std's `#[derive(Default)]` doesn't infer any
generic bounds on the derived impl, where it's an enum - since the
unit variant can always be constructed.  So this change doesn't add
any generic bounds and is not API-visible.
</content>
</entry>
<entry>
<title>Bump minor versions</title>
<updated>2024-02-05T16:13:29Z</updated>
<author>
<name>Ian Jackson</name>
<email>ijackson@chiark.greenend.org.uk</email>
</author>
<published>2024-02-05T16:13:29Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=af615d87e20d0984f493dfb8dda7b0654d8d7304'/>
<id>urn:sha1:af615d87e20d0984f493dfb8dda7b0654d8d7304</id>
<content type='text'>
Bump the minor version of these crates, and update the in-tree
dependencies.

Recently published as fresh crates, let's just assume there are
breaking changes:

   fslock-guard
   test-temp-dir

Breaking API change affecting many many downstream crates:

   tor-rtcompat

Downstream crates which we're (conservatively) assuming have
tor-rtcompat types in their APIs:

   tor-rtmock
   tor-log-ratelim
   tor-rpcbase
   tor-llcrypto
   tor-protover
   tor-bytes
   tor-hscrypto
   tor-hspow
   tor-socksproto
   tor-checkable
   tor-cert
   tor-linkspec
   tor-cell
   tor-proto
   tor-netdoc
   tor-consdiff
   tor-netdir
   tor-congestion
   tor-persist
   tor-chanmgr
   tor-ptmgr
   tor-guardmgr
   tor-circmgr
   tor-dirclient
   tor-dirmgr
   tor-keymgr
   tor-hsclient
   tor-hsservice
   tor-hsrproxy
   arti-client
   arti-rpcserver
   arti-config
   arti-hyper
   arti-bench
   arti-testing
</content>
</entry>
<entry>
<title>Followup minor version bumps.</title>
<updated>2024-01-09T13:17:45Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-09T13:17:45Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=8e883e2b00d717985746c2402bc6ee394cfd3fdf'/>
<id>urn:sha1:8e883e2b00d717985746c2402bc6ee394cfd3fdf</id>
<content type='text'>
These crates had no changes previously, but they depend on crates
that had breaking changes themselves.

   tor-linkspec
   tor-hspow
</content>
</entry>
<entry>
<title>Patchlevel version bumps in preparation for 1.1.12.</title>
<updated>2024-01-09T13:11:17Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-09T13:07:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=ef150707800e7aba78948f0b5dc5a2dcefaf62b6'/>
<id>urn:sha1:ef150707800e7aba78948f0b5dc5a2dcefaf62b6</id>
<content type='text'>
This crate doesn't have a meaningful public API, so it just gets a patchlevel bump:

    arti

These crates had nonbreaking changes, and get a patchlevel bump:

    tor-rtcompat
    fs-mistrust
    tor-llcrypto
    tor-cert
</content>
</entry>
<entry>
<title>Breaking version bumps in preparation for 1.1.12.</title>
<updated>2024-01-09T13:07:43Z</updated>
<author>
<name>Nick Mathewson</name>
<email>nickm@torproject.org</email>
</author>
<published>2024-01-09T13:07:43Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=565b44dc8e0a40d82b2eb32869b04b807b19cd9c'/>
<id>urn:sha1:565b44dc8e0a40d82b2eb32869b04b807b19cd9c</id>
<content type='text'>
These crates have breaking changes on their own:

  tor-error
  tor-netdoc
  tor-dirmgr
  tor-keymgr

Because of the breaking change in tor-error, and the fact that
basically every crate publicly depends on tor-error (by implementing
ErrorKind), we need to call this a breaking change on all of the
following:

    tor-config
    tor-geoip
    tor-rtmock
    tor-log-ratelim
    tor-rpcbase
    tor-bytes
    tor-hscrypto
    tor-socksproto
    tor-cell
    tor-proto
    tor-netdoc
    tor-netdir
    tor-persist
    tor-chanmgr
    tor-ptmgr
    tor-guardmgr
    tor-circmgr
    tor-dirclient
    tor-dirmgr
    tor-keymgr
    tor-hsclient
    tor-hsservice
    tor-hsrproxy
    arti-client
    arti-rpcserver
    arti-config
    arti-hyper
    arti-testing
</content>
</entry>
<entry>
<title>ChannelState::ready_to_expire: return true when rem time is zero</title>
<updated>2023-12-14T01:12:10Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-12-14T01:00:37Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=197c5c8b804ed81c6081472ffea84c95a7f621a7'/>
<id>urn:sha1:197c5c8b804ed81c6081472ffea84c95a7f621a7</id>
<content type='text'>
This fixes a race condition that would normally be fairly benign -
it would result in scheduling to check for expired channels again
immediately, and assuming non-zero time passes would then remove the
channel.

In Shadow's default time model though, zero time passes in this case,
so we just keep scheduling to check again immediately forever; i.e.
deadlock.
</content>
</entry>
<entry>
<title>ChannelState::ready_to_expire: refactor using let-else</title>
<updated>2023-12-14T01:12:10Z</updated>
<author>
<name>Jim Newsome</name>
<email>jnewsome@torproject.org</email>
</author>
<published>2023-12-14T00:56:42Z</published>
<link rel='alternate' type='text/html' href='http://git.dilluti0n.com/mirrors/arti.git/commit/?id=cc2cbad83958373a5ada310f3d3cab0a49de656d'/>
<id>urn:sha1:cc2cbad83958373a5ada310f3d3cab0a49de656d</id>
<content type='text'>
</content>
</entry>
</feed>
