9cf07e9d80
Update actix-* to latest ( #161 )
2025-11-17 21:38:55 -05:00
c3470f4756
Add all new issues to the project ( #159 )
2025-11-13 19:31:39 -05:00
789106b517
Refactor Docker build commands in README ( #157 )
...
Updated Docker build commands for SQLite and Postgres to include Dockerfile specifications.
Fixes #156 .
2025-11-01 15:30:52 -04:00
72aeebdda7
Bump rusqlite from 0.32.1 to 0.37.0 ( #158 )
...
Bumps [rusqlite](https://github.com/rusqlite/rusqlite ) from 0.32.1 to 0.37.0.
- [Release notes](https://github.com/rusqlite/rusqlite/releases )
- [Changelog](https://github.com/rusqlite/rusqlite/blob/master/Changelog.md )
- [Commits](https://github.com/rusqlite/rusqlite/compare/v0.32.1...v0.37.0 )
---
updated-dependencies:
- dependency-name: rusqlite
dependency-version: 0.37.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-16 19:33:51 -04:00
eed6421a4e
Bump tokio from 1.47.0 to 1.48.0 ( #155 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.47.0 to 1.48.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.47.0...tokio-1.48.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.48.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-14 20:33:46 -04:00
5d013073cb
Bump to -pre version
2025-10-11 19:02:31 +00:00
67524a0a91
Simplify cargo publish steps in RELEASING.md
...
Updated release instructions to simplify publishing process.
2025-10-11 14:58:26 -04:00
d206729d5e
v0.7.1
v0.7.1
2025-10-11 18:57:23 +00:00
bf19b76577
Bump actix-rt from 2.10.0 to 2.11.0 ( #151 )
...
Bumps [actix-rt](https://github.com/actix/actix-net ) from 2.10.0 to 2.11.0.
- [Release notes](https://github.com/actix/actix-net/releases )
- [Commits](https://github.com/actix/actix-net/compare/rt-v2.10.0...rt-v2.11.0 )
---
updated-dependencies:
- dependency-name: actix-rt
dependency-version: 2.11.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-10 21:21:10 -04:00
505dd3f442
Bump tempfile from 3.22.0 to 3.23.0 ( #153 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.22.0 to 3.23.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.22.0...v3.23.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-version: 3.23.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-23 22:09:46 -04:00
e10f3e6cfb
Bump tempfile from 3.21.0 to 3.22.0 ( #152 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.21.0 to 3.22.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.21.0...v3.22.0 )
---
updated-dependencies:
- dependency-name: tempfile
dependency-version: 3.22.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-10 19:04:12 -04:00
213be852b8
Fix add_version calls when no history exists on the server ( #149 )
...
This fixes a bug in 25911b44a6 where the
check in the storage implementation was too strict (not allowing
`clients.latest_version_id == Uuid::nil()`), causing spurious failures.
Well, two bugs, one in each storage implementation.
2025-08-20 15:21:04 -04:00
b57dd24d9e
Bump tempfile from 3.20.0 to 3.21.0 ( #150 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.20.0 to 3.21.0.
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Stebalien/tempfile/commits )
---
updated-dependencies:
- dependency-name: tempfile
dependency-version: 3.21.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-20 08:45:41 -04:00
a9cf67c8e2
Document Cargo features in the binaries page ( #148 )
2025-08-18 08:29:32 -04:00
daf6855f14
Bump slab from 0.4.10 to 0.4.11 ( #147 )
...
Bumps [slab](https://github.com/tokio-rs/slab ) from 0.4.10 to 0.4.11.
- [Release notes](https://github.com/tokio-rs/slab/releases )
- [Changelog](https://github.com/tokio-rs/slab/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/slab/compare/v0.4.10...v0.4.11 )
---
updated-dependencies:
- dependency-name: slab
dependency-version: 0.4.11
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 22:09:38 -04:00
dbc9a6909b
Bump actions/checkout from 4 to 5 ( #145 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases )
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md )
- [Commits](https://github.com/actions/checkout/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-version: '5'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 19:55:19 -04:00
1ad9e344c7
Bump uuid from 1.17.0 to 1.18.0 ( #146 )
...
Bumps [uuid](https://github.com/uuid-rs/uuid ) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/uuid-rs/uuid/releases )
- [Commits](https://github.com/uuid-rs/uuid/compare/v1.17.0...v1.18.0 )
---
updated-dependencies:
- dependency-name: uuid
dependency-version: 1.18.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-12 19:55:00 -04:00
3820a8deea
Document the different sslmodes recognized by the postgres crate ( #144 )
...
LibPQ will happily accept invalid certificates or hostnames, while the
Rust client will not. This can cause some confusion, so draw attention
to it here.
2025-08-04 07:24:59 -04:00
2de70ac336
Capture and log errors from bb8 ( #143 )
2025-08-03 11:13:58 -04:00
c2b4c94fb5
Merge remote-tracking branch 'origin/main'
2025-08-02 21:01:41 -04:00
0a317cd86d
Only publish docs on tags ( #136 )
2025-08-01 17:48:34 -04:00
1b80398365
Merge post-0.7.0-release updates into main
2025-07-30 22:41:25 -04:00
5a2bd4cde7
Use git context for building docker images
v0.7.0
2025-07-30 21:50:30 -04:00
e5b35210af
include dockerfiles in context
2025-07-30 21:38:58 -04:00
3bbfcb9f88
Fix Dockerfile reference
2025-07-30 21:35:21 -04:00
8752531e2c
Use correct option to docker/build-push-action for Dockerfiles
2025-07-30 21:33:46 -04:00
a94be2649e
Use correct option to docker/build-push-action for Dockerfiles
2025-07-30 21:32:27 -04:00
624efa8b0d
stop excluding the postgres crate
2025-07-30 21:23:53 -04:00
ae9adf1572
Bump to -pre version
2025-07-30 21:23:03 -04:00
547621950f
v0.7.0
2025-07-30 21:20:25 -04:00
ab6df362bf
Finish building Postgres support ( #133 )
...
This includes:
- Building a Docker image for Postgres as well as SQLite
- Fuller instructions for usage of the package, including the Postgres builds.
A few related things changed here:
- `.env` is not used anymore -- the defaults in the Dockerfiles are
sufficient
- The Rust version in the Dockerfiles is increased to match the MSRV,
and with it the Alpine version bumped to one built with that Rust
version.
- Cargo dependencies on native-tls and openssl updated to include only
the `vendored` feature, so as not to require a system openssl
installation.
- Two GitHub jobs are set up, to build the two different Docker images
- The documentation incorrectly suggested using `DELETE .. CASCADE` to
delete clients. This syntax does not exist, as the cascading delete
is configured in the schema.
2025-07-29 21:52:33 -04:00
820aaf363c
Merge pull request #134 from GothenburgBitFactory/dependabot/cargo/tokio-1.47.0
...
Bump tokio from 1.46.1 to 1.47.0
2025-07-29 20:50:47 -04:00
535db07153
Bump tokio from 1.46.1 to 1.47.0
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.46.1 to 1.47.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.46.1...tokio-1.47.0 )
---
updated-dependencies:
- dependency-name: tokio
dependency-version: 1.47.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-07-30 00:06:38 +00:00
4bc4856ff1
Merge pull request #132 from djmitche/postgres-bin
...
Add a binary that uses a Postgres backend
2025-07-28 22:20:57 -04:00
c445ac475a
Add a binary that uses a Postgres backend
...
Building of this binary is controlled with features, allowing downstream
users to build just the SQLite version and not be concerned with the
tokio-postgres dependency tree (which includes links to OpenSSL and
other details). The Postgres version is disabled by default.
This does not change the binary name for the SQLite build, just to avoid
confusion for people upgrading to the new version.
2025-07-25 22:01:14 -04:00
6e8c72b543
Merge pull request #129 from djmitche/postgres
...
Add `taskchampion-sync-server-storage-postgres`
2025-07-17 12:35:19 -04:00
609660b01f
remove irrelevant assertions from test
2025-07-17 12:01:52 -04:00
8b1f7e2b30
Apply suggestions from code review
...
Co-authored-by: ryneeverett <ryneeverett@gmail.com >
2025-07-17 12:00:22 -04:00
309abce339
Add taskchampion-sync-server-storage-postgres
...
This is built to be more robust than the SQLite storage, and to
integrate with other applications. The idea is that for example a web
application might interact with the same DB to create and delete clients
as customers come and go.
2025-07-14 12:37:50 -04:00
816c9a3c80
Merge pull request #130 from djmitche/add_version_checks_latest
...
More explicit requirements regarding `add_version`
2025-07-14 12:34:16 -04:00
b858febbca
Apply fixes from @ryneeverett
...
Co-authored-by: ryneeverett <ryneeverett@gmail.com >
2025-07-14 12:30:01 -04:00
48b3aebee2
Merge pull request #131 from djmitche/issue124
...
Add mdbook documentation for the sync server
2025-07-13 17:40:30 -04:00
60436a5524
Add mdbook documentation for the sync server
2025-07-13 17:39:19 -04:00
25911b44a6
More explicit requirements regarding add_version
...
The core crate calls `get_client` and verifies the `latest_version_id`
before it invokes `add_version`. With the SQLite backend, transactions
lock the entire database, so these two queries cannot be interleaved
with any changes to the `latest_version_id` and there's no possibility
of incorrect updates. With Postgres (#129 ) the effect is similar: the
read performed by `get_client` locks that row and prevents other
transactions from writing to it.
However, the storage trait should not rely on this behavior --
`add_version` should verify that it is adding a new version on top of
the correct parent version.
2025-07-13 13:04:38 -04:00
c539e604d9
Merge pull request #126 from djmitche/async
...
Make Storage methods async
2025-07-13 09:25:43 -04:00
57bbac8fea
assert as suggested, remove outcommented code
2025-07-12 22:58:59 -04:00
093446e5fb
bump major version
2025-07-12 15:24:13 -04:00
87d1d026b3
Merge pull request #125 from djmitche/issue121
...
Allow disabling automatic creation of clients
2025-07-12 09:48:44 -04:00
67576fe382
suggestion from @ryneeverett
2025-07-12 09:48:15 -04:00
7559364017
Make Storage methods async
...
This will better support concurrent requests.
2025-07-11 17:37:14 -04:00