Unified · Split
| @@ -5,6 +5,50 @@ All notable changes to this project will be documented in this file. · 4 unmodified lines | |||
| 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | 5 | The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), |
| 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | 6 | and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). |
| 7 | 7 | ||
| 8 | ## Unreleased | ||
| 9 | |||
| 10 | Fixes a potential deadlock in in an interrupt handler attempting to cleanup tempfiles. | ||
| 11 | |||
| 12 | ### Chore | ||
| 13 | |||
| 14 | - <csr-id-25209454d3f7e27e12e8ddca92e43b1ff01d58aa/> upgrade dashmap to 5.1.0 (with security fix) | ||
| 15 | |||
| 16 | ### Bug Fixes | ||
| 17 | |||
| 18 | - <csr-id-81ed5f5e7a3634f0fab681ca59e40099f0118f75/> Assure interrupt based tempfile cleanup can't deadlock. | ||
| 19 | |||
| 20 | We do this by using the `try_entry()` API provided by the most recent | ||
| 21 | dashmap, at the cost of potentially trying to access a lot of indices | ||
| 22 | that don't exist in the map anymore. The cost of this are expected | ||
| 23 | to be low though especially since interrupts are the uncommmon case. | ||
| 24 | |||
| 25 | A side-effect of this is that tempfiles that are currently being | ||
| 26 | removed for writing to them, for example, won't be cleaned up. | ||
| 27 | |||
| 28 | It will be up to the code running after the interrupt, if the case | ||
| 29 | at all, to deal with the tempfile, which is what it does anyway. | ||
| 30 | |||
| 31 | ### Commit Statistics | ||
| 32 | |||
| 33 | <csr-read-only-do-not-edit/> | ||
| 34 | |||
| 35 | - 2 commits contributed to the release. | ||
| 36 | - 5 days passed between releases. | ||
| 37 | - 2 commits where understood as [conventional](https://www.conventionalcommits.org). | ||
| 38 | - 1 unique issue was worked on: [#328](https://github.com/Byron/gitoxide/issues/328) | ||
| 39 | |||
| 40 | ### Commit Details | ||
| 41 | |||
| 42 | <csr-read-only-do-not-edit/> | ||
| 43 | |||
| 44 | <details><summary>view details</summary> | ||
| 45 | |||
| 46 | * **[#328](https://github.com/Byron/gitoxide/issues/328)** | ||
| 47 | - Assure interrupt based tempfile cleanup can't deadlock ([`81ed5f5`](https://github.com/Byron/gitoxide/commit/81ed5f5e7a3634f0fab681ca59e40099f0118f75)) | ||
| 48 | * **Uncategorized** | ||
| 49 | - upgrade dashmap to 5.1.0 (with security fix) ([`2520945`](https://github.com/Byron/gitoxide/commit/25209454d3f7e27e12e8ddca92e43b1ff01d58aa)) | ||
| 50 | </details> | ||
| 51 | |||
| 8 | ## 1.0.5 (2022-02-01) | 52 | ## 1.0.5 (2022-02-01) |
| 9 | 53 | ||
| 10 | ### Bug Fixes | 54 | ### Bug Fixes |
| @@ -17,7 +61,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 · 6 unmodified lines | |||
| 17 | 61 | ||
| 18 | <csr-read-only-do-not-edit/> | 62 | <csr-read-only-do-not-edit/> |
| 19 | 63 | ||
| 20 | - 2 commits contributed to the release over the course of 7 calendar days. | 64 | - 3 commits contributed to the release over the course of 7 calendar days. |
| 21 | - 8 days passed between releases. | 65 | - 8 days passed between releases. |
| 22 | - 1 commit where understood as [conventional](https://www.conventionalcommits.org). | 66 | - 1 commit where understood as [conventional](https://www.conventionalcommits.org). |
| 23 | - 0 issues like '(#ID)' where seen in commit messages | 67 | - 0 issues like '(#ID)' where seen in commit messages |
| @@ -29,6 +73,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 · 5 unmodified lines | |||
| 29 | <details><summary>view details</summary> | 73 | <details><summary>view details</summary> |
| 30 | 74 | ||
| 31 | * **Uncategorized** | 75 | * **Uncategorized** |
| 76 | - Release git-tempfile v1.0.5 ([`d811154`](https://github.com/Byron/gitoxide/commit/d81115473cf04f5c3ae25b657b88c3f049451227)) | ||
| 32 | - downgrade dashmap to 4.0 to avoid unsoundness. ([`d9451e8`](https://github.com/Byron/gitoxide/commit/d9451e8d7fc39c252042f9d2447061262c16ae7a)) | 77 | - downgrade dashmap to 4.0 to avoid unsoundness. ([`d9451e8`](https://github.com/Byron/gitoxide/commit/d9451e8d7fc39c252042f9d2447061262c16ae7a)) |
| 33 | - Merge branch 'index-information' ([`025f157`](https://github.com/Byron/gitoxide/commit/025f157de10a509a4b36a9aed41de80487e8c15c)) | 78 | - Merge branch 'index-information' ([`025f157`](https://github.com/Byron/gitoxide/commit/025f157de10a509a4b36a9aed41de80487e8c15c)) |
| 34 | </details> | 79 | </details> |