diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-18 16:17:59 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2025-11-18 16:17:59 +0000 |
| commit | d2412565334f48bd31e57d29d7959c24258ccd98 (patch) | |
| tree | d287671f739251caac14015cfcd87f1f18a0ea87 | |
| parent | 18eae7e8827b0bd3bb85fb48197bb9c9536bc70c (diff) | |
chore: bump version to v2.1.0v2.1.0
now changes are in CHANGELOG.md
| -rw-r--r-- | CHANGELOG.md | 69 | ||||
| -rw-r--r-- | Cargo.lock | 2 | ||||
| -rw-r--r-- | Cargo.toml | 2 |
3 files changed, 70 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index e5a86a2..fcd2690 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md | |||
| @@ -7,6 +7,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 7 | 7 | ||
| 8 | ## [Unreleased] | 8 | ## [Unreleased] |
| 9 | 9 | ||
| 10 | ## [2.1.0] | ||
| 11 | |||
| 12 | ### Added | ||
| 13 | |||
| 14 | - **Adaptive relay timeouts**: Relay timeout is now 45 seconds initially, then 7 seconds based on successful connections for faster operations | ||
| 15 | - **Async git list refs operation**: Made git ref list async and include sync report inline for better visibility | ||
| 16 | - **Improved fetch reporting**: Fetch report now shows even when successful in git remote helper for better transparency | ||
| 17 | |||
| 18 | ### Fixed | ||
| 19 | |||
| 20 | - **CLI output improvements**: | ||
| 21 | - Fixed line deletion during fetch operations | ||
| 22 | - Fixed dim coloring in CLI output | ||
| 23 | - Fixed out of sync grasp server CLI output | ||
| 24 | - **Tag handling**: Don't attempt to fetch annotated tags that are already available locally | ||
| 25 | - **Fetch reporting**: Fixed cached profile events being incorrectly shown as new | ||
| 26 | |||
| 27 | ### Changed | ||
| 28 | |||
| 29 | - Updated to rust-nostr v0.44 | ||
| 30 | |||
| 10 | ## [2.0.1] - Fix Account Creation on NixOS | 31 | ## [2.0.1] - Fix Account Creation on NixOS |
| 11 | 32 | ||
| 12 | ### Fixed | 33 | ### Fixed |
| @@ -77,6 +98,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 77 | ## [1.7.4] - 2025-07-16 | 98 | ## [1.7.4] - 2025-07-16 |
| 78 | 99 | ||
| 79 | ### Fixed | 100 | ### Fixed |
| 101 | |||
| 80 | - Apply nip46 breaking changes as remote signers remove nip04 support | 102 | - Apply nip46 breaking changes as remote signers remove nip04 support |
| 81 | - Apply relay connection timeout once, instead of per request batch | 103 | - Apply relay connection timeout once, instead of per request batch |
| 82 | - Add git server timeouts | 104 | - Add git server timeouts |
| @@ -85,24 +107,29 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 85 | ## [1.7.3] - 2025-06-20 | 107 | ## [1.7.3] - 2025-06-20 |
| 86 | 108 | ||
| 87 | ### Changed | 109 | ### Changed |
| 110 | |||
| 88 | - Rename ngit-relay to grasp | 111 | - Rename ngit-relay to grasp |
| 89 | 112 | ||
| 90 | ### Fixed | 113 | ### Fixed |
| 114 | |||
| 91 | - Always include HEAD in state event | 115 | - Always include HEAD in state event |
| 92 | 116 | ||
| 93 | ## [1.7.2] - 2025-06-18 | 117 | ## [1.7.2] - 2025-06-18 |
| 94 | 118 | ||
| 95 | ### Fixed | 119 | ### Fixed |
| 120 | |||
| 96 | - Fix clone when HEAD isn't in nostr state event | 121 | - Fix clone when HEAD isn't in nostr state event |
| 97 | 122 | ||
| 98 | ## [1.7.1] - 2025-06-17 | 123 | ## [1.7.1] - 2025-06-17 |
| 99 | 124 | ||
| 100 | ### Fixed | 125 | ### Fixed |
| 126 | |||
| 101 | - Add support for `git://` clone urls | 127 | - Add support for `git://` clone urls |
| 102 | 128 | ||
| 103 | ## [1.7.0] - 2025-06-03 | 129 | ## [1.7.0] - 2025-06-03 |
| 104 | 130 | ||
| 105 | ### Added | 131 | ### Added |
| 132 | |||
| 106 | - Quality-of-life features for ngit-relay users | 133 | - Quality-of-life features for ngit-relay users |
| 107 | - Detect ngit-relays and only attempt using unauthenticated http protocols | 134 | - Detect ngit-relays and only attempt using unauthenticated http protocols |
| 108 | - Better sync and less errors as nostr is the only way to push | 135 | - Better sync and less errors as nostr is the only way to push |
| @@ -117,33 +144,40 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 117 | - Add show npub command | 144 | - Add show npub command |
| 118 | 145 | ||
| 119 | ### Fixed | 146 | ### Fixed |
| 147 | |||
| 120 | - Use newest state event found, rather than oldest | 148 | - Use newest state event found, rather than oldest |
| 121 | - More resilient builds for platforms and distros | 149 | - More resilient builds for platforms and distros |
| 122 | 150 | ||
| 123 | ## [1.6.3] - 2025-05-12 | 151 | ## [1.6.3] - 2025-05-12 |
| 124 | 152 | ||
| 125 | ### Fixed | 153 | ### Fixed |
| 154 | |||
| 126 | - Fallback to http protocol if ssh is unavailable | 155 | - Fallback to http protocol if ssh is unavailable |
| 127 | 156 | ||
| 128 | ## [1.6.2] - 2025-05-06 | 157 | ## [1.6.2] - 2025-05-06 |
| 129 | 158 | ||
| 130 | ### Added | 159 | ### Added |
| 160 | |||
| 131 | - Add event description for remote signing process | 161 | - Add event description for remote signing process |
| 132 | 162 | ||
| 133 | ### Fixed | 163 | ### Fixed |
| 164 | |||
| 134 | - Fix custom ports use for git servers | 165 | - Fix custom ports use for git servers |
| 135 | 166 | ||
| 136 | ### Changed | 167 | ### Changed |
| 168 | |||
| 137 | - Bump all dependencies to latest major versions | 169 | - Bump all dependencies to latest major versions |
| 138 | 170 | ||
| 139 | ## [1.6.1] - 2025-04-02 | 171 | ## [1.6.1] - 2025-04-02 |
| 140 | 172 | ||
| 141 | ### Changed | 173 | ### Changed |
| 174 | |||
| 142 | - Build binaries for more OSes | 175 | - Build binaries for more OSes |
| 143 | 176 | ||
| 144 | ## [1.6.0] - 2024-12-20 | 177 | ## [1.6.0] - 2024-12-20 |
| 145 | 178 | ||
| 146 | ### Added | 179 | ### Added |
| 180 | |||
| 147 | - Overhaul and simplify login experience | 181 | - Overhaul and simplify login experience |
| 148 | - Add `account` api with `login`, `logout` and `export-keys` commands | 182 | - Add `account` api with `login`, `logout` and `export-keys` commands |
| 149 | - Add sign up feature targeted at users new to nostr | 183 | - Add sign up feature targeted at users new to nostr |
| @@ -152,11 +186,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 152 | - Expand merge types that automatically update PR status when pushed | 186 | - Expand merge types that automatically update PR status when pushed |
| 153 | 187 | ||
| 154 | ### Changed | 188 | ### Changed |
| 189 | |||
| 155 | - Don't create `maintainers.yaml` for new repos but continue to support it for existing projects | 190 | - Don't create `maintainers.yaml` for new repos but continue to support it for existing projects |
| 156 | - Remove ngit `pull`, `push` and `fetch` api to nudge users to use native git commands with git plugin | 191 | - Remove ngit `pull`, `push` and `fetch` api to nudge users to use native git commands with git plugin |
| 157 | - Bump dependencies (e.g., rust-nostr to v0.37) | 192 | - Bump dependencies (e.g., rust-nostr to v0.37) |
| 158 | 193 | ||
| 159 | ### Fixed | 194 | ### Fixed |
| 195 | |||
| 160 | - Fix `ngit account login` from outside of a git repository | 196 | - Fix `ngit account login` from outside of a git repository |
| 161 | - Add QR code border | 197 | - Add QR code border |
| 162 | - Make `ngit list` prompts more intuitive | 198 | - Make `ngit list` prompts more intuitive |
| @@ -164,6 +200,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 164 | ## [1.5.3] - 2024-11-12 | 200 | ## [1.5.3] - 2024-11-12 |
| 165 | 201 | ||
| 166 | ### Fixed | 202 | ### Fixed |
| 203 | |||
| 167 | - Fix remote signing as nip46 update has breaking changes | 204 | - Fix remote signing as nip46 update has breaking changes |
| 168 | - Auth to relays on requests | 205 | - Auth to relays on requests |
| 169 | - Fix `pr/` branch name prefix issue | 206 | - Fix `pr/` branch name prefix issue |
| @@ -172,12 +209,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 172 | - When git-remote-nostr called directly show help instead of error | 209 | - When git-remote-nostr called directly show help instead of error |
| 173 | 210 | ||
| 174 | ### Changed | 211 | ### Changed |
| 212 | |||
| 175 | - Bump rust-nostr to v0.36 | 213 | - Bump rust-nostr to v0.36 |
| 176 | - Replace sqlite with lmdb due to rust-nostr deprecation | 214 | - Replace sqlite with lmdb due to rust-nostr deprecation |
| 177 | 215 | ||
| 178 | ## [1.5.2] - 2024-09-24 | 216 | ## [1.5.2] - 2024-09-24 |
| 179 | 217 | ||
| 180 | ### Added | 218 | ### Added |
| 219 | |||
| 181 | - Login via nip46 QR code | 220 | - Login via nip46 QR code |
| 182 | - Enable login directly in git plugin | 221 | - Enable login directly in git plugin |
| 183 | - Add resilience to git plugin so that a poorly formatted PR will gracefully fail | 222 | - Add resilience to git plugin so that a poorly formatted PR will gracefully fail |
| @@ -185,12 +224,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 185 | ## [1.5.1] - 2024-09-20 | 224 | ## [1.5.1] - 2024-09-20 |
| 186 | 225 | ||
| 187 | ### Changed | 226 | ### Changed |
| 227 | |||
| 188 | - Git plugin reports on event broadcasting | 228 | - Git plugin reports on event broadcasting |
| 189 | 229 | ||
| 190 | ## [1.5.0] - 2024-09-18 | 230 | ## [1.5.0] - 2024-09-18 |
| 191 | 231 | ||
| 192 | ### Added | 232 | ### Added |
| 193 | - New nostr url format that works better for MacOS users: `nostr://<*protocol>/<npub123>/<*relay-hint>/<identifier>` (*optional) | 233 | |
| 234 | - New nostr url format that works better for MacOS users: `nostr://<*protocol>/<npub123>/<*relay-hint>/<identifier>` (\*optional) | ||
| 194 | - Status updates during clone, push and fetch | 235 | - Status updates during clone, push and fetch |
| 195 | - Intelligent protocol selection and fallback | 236 | - Intelligent protocol selection and fallback |
| 196 | - Unless unusual protocol specified in clone url it will try in this order: | 237 | - Unless unusual protocol specified in clone url it will try in this order: |
| @@ -201,57 +242,68 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 201 | - Enable building binaries via nix | 242 | - Enable building binaries via nix |
| 202 | 243 | ||
| 203 | ### Changed | 244 | ### Changed |
| 245 | |||
| 204 | - Refactor into lib and bin structure | 246 | - Refactor into lib and bin structure |
| 205 | - Bump dependencies | 247 | - Bump dependencies |
| 206 | 248 | ||
| 207 | ## [1.4.6] - 2024-09-13 | 249 | ## [1.4.6] - 2024-09-13 |
| 208 | 250 | ||
| 209 | ### Fixed | 251 | ### Fixed |
| 252 | |||
| 210 | - Fix `ngit push` and `ngit pull` when on a pr branch not in the format `pr/<branch-name>(<8-chars-from-id>)` | 253 | - Fix `ngit push` and `ngit pull` when on a pr branch not in the format `pr/<branch-name>(<8-chars-from-id>)` |
| 211 | 254 | ||
| 212 | ## [1.4.5] - 2024-08-30 | 255 | ## [1.4.5] - 2024-08-30 |
| 213 | 256 | ||
| 214 | ### Added | 257 | ### Added |
| 258 | |||
| 215 | - When clone url is ssh use auth for `list` and `fetch` as they are required | 259 | - When clone url is ssh use auth for `list` and `fetch` as they are required |
| 216 | - When clone url is ssh, fallback to https so read events don't always require auth | 260 | - When clone url is ssh, fallback to https so read events don't always require auth |
| 217 | 261 | ||
| 218 | ### Fixed | 262 | ### Fixed |
| 263 | |||
| 219 | - Stop asking for git server credentials when pushing `pr/` branch | 264 | - Stop asking for git server credentials when pushing `pr/` branch |
| 220 | - Fix `no repo events at specified coordinates` error via rust-nostr v0.34.1 upgrade | 265 | - Fix `no repo events at specified coordinates` error via rust-nostr v0.34.1 upgrade |
| 221 | 266 | ||
| 222 | ## [1.4.4] - 2024-08-27 | 267 | ## [1.4.4] - 2024-08-27 |
| 223 | 268 | ||
| 224 | ### Added | 269 | ### Added |
| 270 | |||
| 225 | - Include git plugin in release zip | 271 | - Include git plugin in release zip |
| 226 | 272 | ||
| 227 | ## [1.4.3] - 2024-08-27 | 273 | ## [1.4.3] - 2024-08-27 |
| 228 | 274 | ||
| 229 | ### Fixed | 275 | ### Fixed |
| 276 | |||
| 230 | - Fix clone using nostr url | 277 | - Fix clone using nostr url |
| 231 | 278 | ||
| 232 | ## [1.4.2] - 2024-08-20 | 279 | ## [1.4.2] - 2024-08-20 |
| 233 | 280 | ||
| 234 | ### Fixed | 281 | ### Fixed |
| 282 | |||
| 235 | - Only maintainers can push normal branches / tags | 283 | - Only maintainers can push normal branches / tags |
| 236 | 284 | ||
| 237 | ## [1.4.1] - 2024-08-20 | 285 | ## [1.4.1] - 2024-08-20 |
| 238 | 286 | ||
| 239 | ### Fixed | 287 | ### Fixed |
| 288 | |||
| 240 | - Fix pushing tags in git-remote-nostr | 289 | - Fix pushing tags in git-remote-nostr |
| 241 | 290 | ||
| 242 | ## [1.4.0] - 2024-08-20 | 291 | ## [1.4.0] - 2024-08-20 |
| 243 | 292 | ||
| 244 | ### Added | 293 | ### Added |
| 294 | |||
| 245 | - Add git-remote-nostr binary | 295 | - Add git-remote-nostr binary |
| 246 | 296 | ||
| 247 | ## [1.3.1] - 2024-07-25 | 297 | ## [1.3.1] - 2024-07-25 |
| 248 | 298 | ||
| 249 | ### Fixed | 299 | ### Fixed |
| 300 | |||
| 250 | - Fix(init): update maintainers.yaml if identifier or relays have changed | 301 | - Fix(init): update maintainers.yaml if identifier or relays have changed |
| 251 | 302 | ||
| 252 | ## [1.3.0] - 2024-07-24 | 303 | ## [1.3.0] - 2024-07-24 |
| 253 | 304 | ||
| 254 | ### Added | 305 | ### Added |
| 306 | |||
| 255 | - NIP-46 remote signing (from Amber, etc) | 307 | - NIP-46 remote signing (from Amber, etc) |
| 256 | - `list` breaks down proposals by status | 308 | - `list` breaks down proposals by status |
| 257 | - Local cache in `.git` to enable viewing proposals offline and reuse by other git clients | 309 | - Local cache in `.git` to enable viewing proposals offline and reuse by other git clients |
| @@ -264,74 +316,89 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 | |||
| 264 | - Add euc marker per NIP-34 tweak | 316 | - Add euc marker per NIP-34 tweak |
| 265 | 317 | ||
| 266 | ### Fixed | 318 | ### Fixed |
| 319 | |||
| 267 | - Ensure repo events of all maintainers are tagged in proposals | 320 | - Ensure repo events of all maintainers are tagged in proposals |
| 268 | - Stop filtering out very large patches | 321 | - Stop filtering out very large patches |
| 269 | 322 | ||
| 270 | ## [1.3-beta1] - 2024-07-05 | 323 | ## [1.3-beta1] - 2024-07-05 |
| 271 | 324 | ||
| 272 | ### Added | 325 | ### Added |
| 326 | |||
| 273 | - Beta release for testing | 327 | - Beta release for testing |
| 274 | 328 | ||
| 275 | ## [1.2.1] - 2024-05-14 | 329 | ## [1.2.1] - 2024-05-14 |
| 276 | 330 | ||
| 277 | ### Fixed | 331 | ### Fixed |
| 332 | |||
| 278 | - Fix ngit init support for multiple maintainers | 333 | - Fix ngit init support for multiple maintainers |
| 279 | 334 | ||
| 280 | ## [1.2.0] - 2024-05-14 | 335 | ## [1.2.0] - 2024-05-14 |
| 281 | 336 | ||
| 282 | ### Added | 337 | ### Added |
| 338 | |||
| 283 | - `ngit send --in-reply-to` tag any nostr notes and npubs in proposals | 339 | - `ngit send --in-reply-to` tag any nostr notes and npubs in proposals |
| 284 | - `ngit send` link to proposal on gitworkshop | 340 | - `ngit send` link to proposal on gitworkshop |
| 285 | 341 | ||
| 286 | ### Changed | 342 | ### Changed |
| 343 | |||
| 287 | - Remove unreliable relay.f7z.io from default relay set | 344 | - Remove unreliable relay.f7z.io from default relay set |
| 288 | 345 | ||
| 289 | ## [1.1.2] - 2024-04-16 | 346 | ## [1.1.2] - 2024-04-16 |
| 290 | 347 | ||
| 291 | ### Added | 348 | ### Added |
| 349 | |||
| 292 | - Improve relay timeout behaviour | 350 | - Improve relay timeout behaviour |
| 293 | - Improve reliability via dependency upgrade | 351 | - Improve reliability via dependency upgrade |
| 294 | - Build via nix in ci | 352 | - Build via nix in ci |
| 295 | 353 | ||
| 296 | ### Fixed | 354 | ### Fixed |
| 355 | |||
| 297 | - Various reliability improvements | 356 | - Various reliability improvements |
| 298 | 357 | ||
| 299 | ## [1.1.1] - 2024-03-08 | 358 | ## [1.1.1] - 2024-03-08 |
| 300 | 359 | ||
| 301 | ### Fixed | 360 | ### Fixed |
| 361 | |||
| 302 | - Fix stack overflow bug when origin remote doesn't exist | 362 | - Fix stack overflow bug when origin remote doesn't exist |
| 303 | 363 | ||
| 304 | ## [1.1.0] - 2024-03-08 | 364 | ## [1.1.0] - 2024-03-08 |
| 305 | 365 | ||
| 306 | ### Added | 366 | ### Added |
| 367 | |||
| 307 | - ngit send - improve proposal commit | 368 | - ngit send - improve proposal commit |
| 308 | 369 | ||
| 309 | ## [1.0.0] - 2024-02-29 | 370 | ## [1.0.0] - 2024-02-29 |
| 310 | 371 | ||
| 311 | ### Changed | 372 | ### Changed |
| 373 | |||
| 312 | - Major version to indicate breaking changes, not stability | 374 | - Major version to indicate breaking changes, not stability |
| 313 | 375 | ||
| 314 | ## [0.1.2] - 2024-01-31 | 376 | ## [0.1.2] - 2024-01-31 |
| 315 | 377 | ||
| 316 | ### Added | 378 | ### Added |
| 379 | |||
| 317 | - Early release improvements | 380 | - Early release improvements |
| 318 | 381 | ||
| 319 | ## [0.1.1] - 2024-01-26 | 382 | ## [0.1.1] - 2024-01-26 |
| 320 | 383 | ||
| 321 | ### Added | 384 | ### Added |
| 385 | |||
| 322 | - Early release improvements | 386 | - Early release improvements |
| 323 | 387 | ||
| 324 | ## [0.1.0] - 2024-01-23 | 388 | ## [0.1.0] - 2024-01-23 |
| 325 | 389 | ||
| 326 | ### Added | 390 | ### Added |
| 391 | |||
| 327 | - Initial minor release | 392 | - Initial minor release |
| 328 | 393 | ||
| 329 | ## [0.0.2] - 2023-05-23 | 394 | ## [0.0.2] - 2023-05-23 |
| 330 | 395 | ||
| 331 | ### Added | 396 | ### Added |
| 397 | |||
| 332 | - Early development release | 398 | - Early development release |
| 333 | 399 | ||
| 334 | ## [0.0.1] - 2023-05-21 | 400 | ## [0.0.1] - 2023-05-21 |
| 335 | 401 | ||
| 336 | ### Added | 402 | ### Added |
| 403 | |||
| 337 | - Initial release | 404 | - Initial release |
| @@ -1460,7 +1460,7 @@ checksum = "f0efe882e02d206d8d279c20eb40e03baf7cb5136a1476dc084a324fbc3ec42d" | |||
| 1460 | 1460 | ||
| 1461 | [[package]] | 1461 | [[package]] |
| 1462 | name = "ngit" | 1462 | name = "ngit" |
| 1463 | version = "2.0.1" | 1463 | version = "2.1.0" |
| 1464 | dependencies = [ | 1464 | dependencies = [ |
| 1465 | "anyhow", | 1465 | "anyhow", |
| 1466 | "assert_cmd", | 1466 | "assert_cmd", |
| @@ -1,6 +1,6 @@ | |||
| 1 | [package] | 1 | [package] |
| 2 | name = "ngit" | 2 | name = "ngit" |
| 3 | version = "2.0.1" | 3 | version = "2.1.0" |
| 4 | edition = "2021" | 4 | edition = "2021" |
| 5 | description = "nostr plugin for git" | 5 | description = "nostr plugin for git" |
| 6 | authors = ["DanConwayDev <DanConwayDev@protonmail.com>"] | 6 | authors = ["DanConwayDev <DanConwayDev@protonmail.com>"] |