mirror of
https://github.com/tiann/KernelSU.git
synced 2025-02-20 11:43:32 +08:00
334 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
|
a89a334cca
|
build(deps): bump android_logger from 0.13.3 to 0.14.1 in /userspace/ksud (#1830)
Bumps [android_logger](https://github.com/rust-mobile/android_logger-rs) from 0.13.3 to 0.14.1. <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/rust-mobile/android_logger-rs/commits/0.14.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
5e4c9a60d1
|
build(deps): bump log from 0.4.21 to 0.4.22 in /userspace/ksud (#1843)
Bumps [log](https://github.com/rust-lang/log) from 0.4.21 to 0.4.22. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/log/blob/master/CHANGELOG.md">log's changelog</a>.</em></p> <blockquote> <h2>[0.4.22] - 2024-06-27</h2> <h2>What's Changed</h2> <ul> <li>Add some clarifications to the library docs by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/620">rust-lang/log#620</a></li> <li>Add links to <code>colog</code> crate by <a href="https://github.com/chrivers"><code>@chrivers</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/621">rust-lang/log#621</a></li> <li>adding line_number test + updating some testing infrastructure by <a href="https://github.com/DIvkov575"><code>@DIvkov575</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/619">rust-lang/log#619</a></li> <li>Clarify the actual set of functions that can race in _racy variants by <a href="https://github.com/KodrAus"><code>@KodrAus</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/623">rust-lang/log#623</a></li> <li>Replace deprecated std::sync::atomic::spin_loop_hint() by <a href="https://github.com/Catamantaloedis"><code>@Catamantaloedis</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/625">rust-lang/log#625</a></li> <li>Check usage of max_level features by <a href="https://github.com/Thomasdezeeuw"><code>@Thomasdezeeuw</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/627">rust-lang/log#627</a></li> <li>Remove unneeded import by <a href="https://github.com/Thomasdezeeuw"><code>@Thomasdezeeuw</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/628">rust-lang/log#628</a></li> <li>Loosen orderings for logger initialization in <a href="https://redirect.github.com/rust-lang/log/pull/632">rust-lang/log#632</a>. Originally by <a href="https://github.com/pwoolcoc"><code>@pwoolcoc</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/599">rust-lang/log#599</a></li> <li>Use Location::caller() for file and line info in <a href="https://redirect.github.com/rust-lang/log/pull/633">rust-lang/log#633</a>. Originally by <a href="https://github.com/Cassy343"><code>@Cassy343</code></a> in <a href="https://redirect.github.com/rust-lang/log/pull/520">rust-lang/log#520</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/chrivers"><code>@chrivers</code></a> made their first contribution in <a href="https://redirect.github.com/rust-lang/log/pull/621">rust-lang/log#621</a></li> <li><a href="https://github.com/DIvkov575"><code>@DIvkov575</code></a> made their first contribution in <a href="https://redirect.github.com/rust-lang/log/pull/619">rust-lang/log#619</a></li> <li><a href="https://github.com/Catamantaloedis"><code>@Catamantaloedis</code></a> made their first contribution in <a href="https://redirect.github.com/rust-lang/log/pull/625">rust-lang/log#625</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/rust-lang/log/compare/0.4.21...0.4.22">https://github.com/rust-lang/log/compare/0.4.21...0.4.22</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
ce776bc5e4
|
Update resetprop (#1842)
Sync with A15 branch to add property override support. |
||
|
e7a04d0e7c
|
build(deps): bump zip from 2.1.2 to 2.1.3 in /userspace/ksud (#1810)
Bumps [zip](https://github.com/zip-rs/zip2) from 2.1.2 to 2.1.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases">zip's releases</a>.</em></p> <blockquote> <h2>v2.1.3</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Some date/time filters were previously unreliable (i.e. later-pass filters had no earliest-pass or latest-fail, and vice-versa)</li> <li>Decode Zip-Info UTF8 name and comment fields (<a href="https://redirect.github.com/zip-rs/zip2/pull/159">#159</a>)</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Return extended timestamp fields copied rather than borrowed (<a href="https://redirect.github.com/zip-rs/zip2/pull/183">#183</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Fix a new Clippy warning</li> <li>Fix a bug and inline <code>deserialize</code> for safety</li> <li>Add check for wrong-length blocks, and incorporate fixed-size requirement into the trait name</li> <li>Fix a fuzz failure by using checked_sub</li> <li>Add feature gate for new unit test</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/zip-rs/zip2/compare/v2.1.2...v2.1.3">2.1.3</a> - 2024-06-04</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Some date/time filters were previously unreliable (i.e. later-pass filters had no earliest-pass or latest-fail, and vice-versa)</li> <li>Decode Zip-Info UTF8 name and comment fields (<a href="https://redirect.github.com/zip-rs/zip2/pull/159">#159</a>)</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Return extended timestamp fields copied rather than borrowed (<a href="https://redirect.github.com/zip-rs/zip2/pull/183">#183</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Fix a new Clippy warning</li> <li>Fix a bug and inline <code>deserialize</code> for safety</li> <li>Add check for wrong-length blocks, and incorporate fixed-size requirement into the trait name</li> <li>Fix a fuzz failure by using checked_sub</li> <li>Add feature gate for new unit test</li> </ul> <h2><a href="https://github.com/zip-rs/zip2/compare/v2.1.0...v2.1.1">2.1.1</a> - 2024-05-28</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Derive <code>Debug</code> for <code>ZipWriter</code></li> <li>lower default version to 4.5 and use the version-needed-to-extract where feasible.</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>use a MIN_VERSION constant</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Bug fixes for debug implementation</li> <li>Bug fixes for debug implementation</li> <li>Update unit tests</li> <li>Remove unused import</li> </ul> <h2><a href="https://github.com/zip-rs/zip2/compare/v2.0.0...v2.1.0">2.1.0</a> - 2024-05-25</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Support mutual conversion between <code>DateTime</code> and MS-DOS pair</li> </ul> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that (<a href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li> <li>version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that (<a href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Another tweak to ensure <code>version_needed</code> is applied</li> <li>Tweaks to make <code>version_needed</code> and <code>version_made_by</code> work with recently-merged changes</li> </ul> <h2><a href="https://github.com/zip-rs/zip2/compare/v1.3.1...v2.0.0">2.0.0</a> - 2024-05-24</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Add <code>fmt::Display</code> for <code>DateTime</code></li> <li>Implement more traits for <code>DateTime</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
e75f65409f
|
build(deps): bump regex from 1.10.4 to 1.10.5 in /userspace/ksud (#1815)
Bumps [regex](https://github.com/rust-lang/regex) from 1.10.4 to 1.10.5. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/rust-lang/regex/blob/master/CHANGELOG.md">regex's changelog</a>.</em></p> <blockquote> <h1>1.10.5 (2024-06-09)</h1> <p>This is a new patch release with some minor fixes.</p> <p>Bug fixes:</p> <ul> <li>[BUG <a href="https://redirect.github.com/rust-lang/regex/issues/1203">#1203</a>](<a href="https://redirect.github.com/rust-lang/regex/pull/1203">rust-lang/regex#1203</a>): Escape invalid UTF-8 when in the <code>Debug</code> impl of <code>regex::bytes::Match</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
2ce8c2df07
|
build(deps): bump clap from 4.5.4 to 4.5.7 in /userspace/ksud (#1817)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.4 to 4.5.7. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v4.5.7</h2> <h2>[4.5.7] - 2024-06-10</h2> <h3>Fixes</h3> <ul> <li>Clean up error message when too few arguments for <code>num_args</code></li> </ul> <h2>v4.5.6</h2> <h2>[4.5.6] - 2024-06-06</h2> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.5.7] - 2024-06-10</h2> <h3>Fixes</h3> <ul> <li>Clean up error message when too few arguments for <code>num_args</code></li> </ul> <h2>[4.5.6] - 2024-06-06</h2> <h2>[4.5.5] - 2024-06-06</h2> <h3>Fixes</h3> <ul> <li>Allow <code>exclusive</code> to override <code>required_unless_present</code>, <code>required_unless_present_any</code>, <code>required_unless_present_all</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
9fdbaaa89f
|
build(deps): bump zip-extensions from 0.6.2 to 0.7.0 in /userspace/ksud (#1798)
[//]: # (dependabot-start)
⚠️ **Dependabot is rebasing this PR** ⚠️
Rebasing might not happen immediately, so don't worry if this takes some
time.
Note: if you make any changes to this PR yourself, they will take
precedence over the rebase.
---
[//]: # (dependabot-end)
Bumps
[zip-extensions](https://github.com/matzefriedrich/zip-extensions-rs)
from 0.6.2 to 0.7.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/matzefriedrich/zip-extensions-rs/releases">zip-extensions's
releases</a>.</em></p>
<blockquote>
<h2>v0.7.0</h2>
<h2>Changes</h2>
<ul>
<li>The <code>create_from_directory_with_options</code> method now
supports per-item file options. This introduces a breaking change:
instead of passing <code>FileOptions</code> directly, an <code>Fn</code>
must be specified that will be called for each file and must return a
<code>FileOptions</code> value.</li>
<li>Upgraded the zip dependency to version 0.6.6.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/matzefriedrich/zip-extensions-rs/blob/master/CHANGELOG.md">zip-extensions's
changelog</a>.</em></p>
<blockquote>
<h2>[0.7.0] - 2024-06-01</h2>
<h3>Changed</h3>
<ul>
<li>[PR <a
href="https://redirect.github.com/matzefriedrich/zip-extensions-rs/issues/13">#13</a>]
Adds support for per-item file options by the
<code>create_from_directory_with_options</code> method. This introduces
a breaking change; instead of passing a <code>FileOptions</code>
directly an <code>Fn</code> must be specified that is called for each
file, and must return a <code>FileOptions</code> value.</li>
<li>Upgraded the zip dependency to version 0.6.6.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="
|
||
|
2a576470f5
|
build(deps): bump zip from 2.1.0 to 2.1.2 in /userspace/ksud (#1799)
Bumps [zip](https://github.com/zip-rs/zip2) from 2.1.0 to 2.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases">zip's releases</a>.</em></p> <blockquote> <h2>v2.1.2</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Derive <code>Debug</code> for <code>ZipWriter</code></li> <li>lower default version to 4.5 and use the version-needed-to-extract where feasible.</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>use a MIN_VERSION constant</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Bug fixes for debug implementation</li> <li>Bug fixes for debug implementation</li> <li>Update unit tests</li> <li>Remove unused import</li> </ul> <h2>v2.1.1</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Derive <code>Debug</code> for <code>ZipWriter</code></li> <li>lower default version to 4.5 and use the version-needed-to-extract where feasible.</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>use a MIN_VERSION constant</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Bug fixes for debug implementation</li> <li>Bug fixes for debug implementation</li> <li>Update unit tests</li> <li>Remove unused import</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> <h2><a href="https://github.com/zip-rs/zip2/compare/v2.1.0...v2.1.1">2.1.1</a> - 2024-05-28</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Derive <code>Debug</code> for <code>ZipWriter</code></li> <li>lower default version to 4.5 and use the version-needed-to-extract where feasible.</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>use a MIN_VERSION constant</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Bug fixes for debug implementation</li> <li>Bug fixes for debug implementation</li> <li>Update unit tests</li> <li>Remove unused import</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
f381e32434
|
ksud: remove modules dir when uninstall. close #1736 | ||
|
9343376bb3
|
build(deps): bump zip from 2.0.0 to 2.1.0 in /userspace/ksud (#1775)
Bumps [zip](https://github.com/zip-rs/zip2) from 2.0.0 to 2.1.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases">zip's releases</a>.</em></p> <blockquote> <h2>v2.1.0</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Support mutual conversion between <code>DateTime</code> and MS-DOS pair</li> </ul> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that (<a href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li> <li>version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that (<a href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Another tweak to ensure <code>version_needed</code> is applied</li> <li>Tweaks to make <code>version_needed</code> and <code>version_made_by</code> work with recently-merged changes</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/zip-rs/zip2/compare/v2.0.0...v2.1.0">2.1.0</a> - 2024-05-25</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Support mutual conversion between <code>DateTime</code> and MS-DOS pair</li> </ul> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that (<a href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li> <li>version-needed-to-extract was incorrect in central header, and version-made-by could be lower than that (<a href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Another tweak to ensure <code>version_needed</code> is applied</li> <li>Tweaks to make <code>version_needed</code> and <code>version_made_by</code> work with recently-merged changes</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
0674841b94
|
ksud: Skip patch init_boot.img on kmi android12-xxx devices (#1744)
有一些设备(如ace2v),带了initboot,但ramdisk却在boot里,导致无法使用ota安装与直接安装,所以添加了个开关 因为本人开发环境有点简陋(mt管理器),而且对项目代码不太熟,合并前最好review一下( |
||
|
dc233700aa
|
Update Dependencies and Migrate to Kotlin 2 (#1765)
Corrections/edits and reviews always welcomed. Migrate to Kotlin 2 Updated dependencies Refreshed lock files |
||
|
9c2e48bb3e
|
ksud: turn off auto-detect bootdevice when OS is not android (#1746) | ||
|
4871e11a55
|
Update resetprop (#1742)
With topjohnwu/Magisk@941a363 included. |
||
|
fa7f5959b2
|
build(deps): bump zip from 1.2.3 to 1.3.0 in /userspace/ksud (#1738)
Bumps [zip](https://github.com/zip-rs/zip2) from 1.2.3 to 1.3.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases">zip's releases</a>.</em></p> <blockquote> <h2>v1.3.0</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Add <code>is_symlink</code> method</li> </ul> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Extract symlinks into symlinks on Unix and Windows, and fix a bug that affected making directories writable on MacOS</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Eliminate deprecation warning when <code>--all-features</code> implicitly enables the deprecated feature</li> <li>Check if archive contains a symlink's target, without borrowing both at the same time</li> <li>Eliminate a clone that's no longer necessary</li> <li>is_dir only needs to look at the filename</li> <li>Remove unnecessary #[cfg] attributes</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Fix borrow-of-moved-value</li> <li>Box<!-- raw HTML omitted --> doesn't directly convert to PathBuf, so convert back to String first</li> <li>partial revert - only &str has chars(), but Box<!-- raw HTML omitted --> should auto-deref</li> <li>contains_key needs a <code>Box<str></code>, so generify <code>is_dir</code> to accept one</li> <li>Add missing <code>ZipFileData::is_dir()</code> method</li> <li>Fix another Windows-specific error</li> <li>More bug fixes for Windows-specific symlink code</li> <li>More bug fixes for Windows-specific symlink code</li> <li>Bug fix: variable name change</li> <li>Bug fix: need both internal and output path to determine whether to symlink_dir</li> <li>Another bug fix</li> <li>Fix another error-type conversion error</li> <li>Fix error-type conversion on Windows</li> <li>Fix conditionally-unused import</li> <li>Fix continued issues, and factor out the Vec<!-- raw HTML omitted -->-to-OsString conversion (cc: <a href="https://redirect.github.com/zip-rs/zip2/pull/125">#125</a>)</li> <li>Fix CI failure involving conversion to OsString for symlinks (see my comments on <a href="https://redirect.github.com/zip-rs/zip2/pull/125">#125</a>)</li> <li>Move path join into platform-independent code</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/zip-rs/zip2/compare/v1.2.3...v1.3.0">1.3.0</a> - 2024-05-17</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Add <code>is_symlink</code> method</li> </ul> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Extract symlinks into symlinks on Unix and Windows, and fix a bug that affected making directories writable on MacOS</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Eliminate deprecation warning when <code>--all-features</code> implicitly enables the deprecated feature</li> <li>Check if archive contains a symlink's target, without borrowing both at the same time</li> <li>Eliminate a clone that's no longer necessary</li> <li>is_dir only needs to look at the filename</li> <li>Remove unnecessary #[cfg] attributes</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Fix borrow-of-moved-value</li> <li>Box<!-- raw HTML omitted --> doesn't directly convert to PathBuf, so convert back to String first</li> <li>partial revert - only &str has chars(), but Box<!-- raw HTML omitted --> should auto-deref</li> <li>contains_key needs a <code>Box<str></code>, so generify <code>is_dir</code> to accept one</li> <li>Add missing <code>ZipFileData::is_dir()</code> method</li> <li>Fix another Windows-specific error</li> <li>More bug fixes for Windows-specific symlink code</li> <li>More bug fixes for Windows-specific symlink code</li> <li>Bug fix: variable name change</li> <li>Bug fix: need both internal and output path to determine whether to symlink_dir</li> <li>Another bug fix</li> <li>Fix another error-type conversion error</li> <li>Fix error-type conversion on Windows</li> <li>Fix conditionally-unused import</li> <li>Fix continued issues, and factor out the Vec<!-- raw HTML omitted -->-to-OsString conversion (cc: <a href="https://redirect.github.com/zip-rs/zip2/pull/125">#125</a>)</li> <li>Fix CI failure involving conversion to OsString for symlinks (see my comments on <a href="https://redirect.github.com/zip-rs/zip2/pull/125">#125</a>)</li> <li>Move path join into platform-independent code</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
64ddf47783
|
build(deps): bump zip from 1.2.1 to 1.2.3 in /userspace/ksud (#1728)
Bumps [zip](https://github.com/zip-rs/zip2) from 1.2.1 to 1.2.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases">zip's releases</a>.</em></p> <blockquote> <h2>v1.2.3</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Remove a window when an extracted directory might be unexpectedly listable and/or <code>cd</code>able by non-owners</li> <li>Extract directory contents on Unix even if the directory doesn't have write permission (<a href="https://redirect.github.com/zip-rs/zip-old/issues/423">zip-rs/zip-old#423</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>More conditionally-unused imports</li> </ul> <h2>v1.2.2</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Failed to clear "writing_raw" before finishing a symlink, leading to dropped extra fields</li> </ul> <h3><!-- raw HTML omitted -->⚡ Performance</h3> <ul> <li>Use boxed slice for archive comment, since it can't be concatenated</li> <li>Optimize for the fact that false signatures can't overlap with real ones</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/zip-rs/zip2/compare/v1.2.2...v1.2.3">1.2.3</a> - 2024-05-10</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Remove a window when an extracted directory might be unexpectedly listable and/or <code>cd</code>able by non-owners</li> <li>Extract directory contents on Unix even if the directory doesn't have write permission (<a href="https://redirect.github.com/zip-rs/zip-old/issues/423">zip-rs/zip-old#423</a>)</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>More conditionally-unused imports</li> </ul> <h2><a href="https://github.com/zip-rs/zip2/compare/v1.2.1...v1.2.2">1.2.2</a> - 2024-05-09</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Failed to clear "writing_raw" before finishing a symlink, leading to dropped extra fields</li> </ul> <h3><!-- raw HTML omitted -->⚡ Performance</h3> <ul> <li>Use boxed slice for archive comment, since it can't be concatenated</li> <li>Optimize for the fact that false signatures can't overlap with real ones</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
d3a5054f68
|
build(deps): bump rust-embed from 8.3.0 to 8.4.0 in /userspace/ksud (#1729)
Bumps [rust-embed](https://github.com/pyros2097/rust-embed) from 8.3.0 to 8.4.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pyrossh/rust-embed/blob/master/changelog.md">rust-embed's changelog</a>.</em></p> <blockquote> <h2>[8.4.0] - 2024-05-11</h2> <ul> <li>Re-export RustEmbed as Embed <a href="https://redirect.github.com/pyrossh/rust-embed/pull/245/files">#245</a>. Thanks to <a href="https://github.com/pyrossh">pyrossh</a></li> <li>Do not build glob matchers repeatedly when include-exclude feature is enabled <a href="https://redirect.github.com/pyrossh/rust-embed/pull/244/files">#244</a>. Thanks to <a href="https://github.com/osiewicz">osiewicz</a></li> <li>Add <code>metadata_only</code> attribute <a href="https://redirect.github.com/pyrossh/rust-embed/pull/241/files">#241</a>. Thanks to <a href="https://github.com/ddfisher">ddfisher</a></li> <li>Replace <code>expect</code> with a safer alternative that returns <code>None</code> instead <a href="https://redirect.github.com/pyrossh/rust-embed/pull/240/files">#240</a>. Thanks to <a href="https://github.com/costinsin">costinsin</a></li> <li>Eliminate unnecessary <code>to_path</code> call <a href="https://redirect.github.com/pyrossh/rust-embed/pull/239/files">#239</a>. Thanks to <a href="https://github.com/smoelius">smoelius</a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/pyros2097/rust-embed/commits">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
|
71cb86c2e9
|
ksud: refine get_tmp_path (#1713)
Fixes #1710 What do you think? * It first uses `TEMP_DIR` (`/debug_ramdisk`) if it exists + is is empty. * Otherwise it tries to create a random directory in `/dev`. * If that fails, it goes through a list of directories (including `TEMP_DIR_LEGACY`), and chooses the first one that is empty. * If no empty directory it chooses the first one that exists --------- Co-authored-by: user <user@localhost> |
||
|
a3df721b84 |
Revert "su: allocate new pty (#1693)"
This reverts commit 935dc18faace4dfdda79d3f00bf1ed2632a94628. |
||
|
21573bbd5b
|
build(deps): bump zip from 1.1.4 to 1.2.1 in /userspace/ksud (#1708)
Bumps [zip](https://github.com/zip-rs/zip2) from 1.1.4 to 1.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases">zip's releases</a>.</em></p> <blockquote> <h2>v1.2.1</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Prevent panic when trying to read a file with an unsupported compression method</li> <li>Prevent panic after reading an invalid LZMA file</li> <li>Make <code>Stored</code> the default compression method if <code>Deflated</code> isn't available, so that zip files are readable by as much software as possible</li> <li>version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 (<a href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li> <li>file paths shouldn't start with slashes (<a href="https://redirect.github.com/zip-rs/zip2/pull/102">#102</a>)</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Overhaul <code>impl Arbitrary for FileOptions</code></li> <li>Remove unused <code>atomic</code> module</li> </ul> <h2>v1.2.0</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Add method <code>decompressed_size()</code> so non-recursive ZIP bombs can be detected</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Make <code>ZipWriter::finish()</code> consume the <code>ZipWriter</code></li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Use panic! rather than abort to ensure the fuzz harness can process the failure</li> <li>Update fuzz_write to use replace_with</li> <li>Remove a drop that can no longer be explicit</li> <li>Add <code>#![allow(unexpected_cfgs)]</code> in nightly</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/zip-rs/zip2/compare/v1.2.0...v1.2.1">1.2.1</a> - 2024-05-06</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Prevent panic when trying to read a file with an unsupported compression method</li> <li>Prevent panic after reading an invalid LZMA file</li> <li>Make <code>Stored</code> the default compression method if <code>Deflated</code> isn't available, so that zip files are readable by as much software as possible</li> <li>version_needed was wrong when e.g. cfg(bzip2) but current file wasn't bzip2 (<a href="https://redirect.github.com/zip-rs/zip2/pull/100">#100</a>)</li> <li>file paths shouldn't start with slashes (<a href="https://redirect.github.com/zip-rs/zip2/pull/102">#102</a>)</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Overhaul <code>impl Arbitrary for FileOptions</code></li> <li>Remove unused <code>atomic</code> module</li> </ul> <h2><a href="https://github.com/zip-rs/zip2/compare/v1.1.4...v1.2.0">1.2.0</a> - 2024-05-06</h2> <h3><!-- raw HTML omitted -->🚀 Features</h3> <ul> <li>Add method <code>decompressed_size()</code> so non-recursive ZIP bombs can be detected</li> </ul> <h3><!-- raw HTML omitted -->🚜 Refactor</h3> <ul> <li>Make <code>ZipWriter::finish()</code> consume the <code>ZipWriter</code></li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Use panic! rather than abort to ensure the fuzz harness can process the failure</li> <li>Update fuzz_write to use replace_with</li> <li>Remove a drop that can no longer be explicit</li> <li>Add <code>#![allow(unexpected_cfgs)]</code> in nightly</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
fe526cb029
|
ksud: Fix compiler error | ||
|
239989719d
|
build(deps): bump zip from 1.1.3 to 1.1.4 in /userspace/ksud (#1701)
Bumps [zip](https://github.com/zip-rs/zip2) from 1.1.3 to 1.1.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/releases">zip's releases</a>.</em></p> <blockquote> <h2>v1.1.4</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Rare bug where find_and_parse would give up prematurely on detecting a false end-of-CDR header</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/zip-rs/zip2/blob/master/CHANGELOG.md">zip's changelog</a>.</em></p> <blockquote> <h2><a href="https://github.com/zip-rs/zip2/compare/v1.1.3...v1.1.4">1.1.4</a> - 2024-05-04</h2> <h3><!-- raw HTML omitted -->🐛 Bug Fixes</h3> <ul> <li>Build was failing with bzip2 enabled</li> <li>use is_dir in more places where Windows paths might be handled incorrectly</li> </ul> <h3><!-- raw HTML omitted -->⚡ Performance</h3> <ul> <li>Quick filter for paths that contain "/../" or "/./" or start with "./" or "../"</li> <li>Fast handling for separator-free paths</li> <li>Speed up logic if main separator isn't '/'</li> <li>Drop <code>normalized_components</code> slightly sooner when not using it</li> <li>Speed up <code>path_to_string</code> in cases where the path is already in the proper format</li> </ul> <h3><!-- raw HTML omitted -->⚙️ Miscellaneous Tasks</h3> <ul> <li>Refactor: can short-circuit handling of paths that start with MAIN_SEPARATOR, no matter what MAIN_SEPARATOR is</li> <li>Bug fix: non-canonical path detection when MAIN_SEPARATOR is not slash or occurs twice in a row</li> <li>Bug fix: must recreate if . or .. is a path element</li> <li>Bug fix</li> </ul> <h3><!-- raw HTML omitted -->◀️ Revert</h3> <ul> <li><a href="https://redirect.github.com/zip-rs/zip2/pull/58">#58</a> (partial): <code>bzip2-rs</code> can't replace <code>bzip2</code> because it's decompress-only</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
935dc18faa
|
su: allocate new pty (#1693) | ||
|
d623b9fe09
|
ksud: bump zip dependency to 1.x | ||
|
839fc0534e
|
Add magiskboot to kernelsu working directory (#1684)
Add the magiskboot binary to the /data/adb/ksu/bin directory so that scripts/programs can call magiskboot to patch the boot/init_boot image. --------- Co-authored-by: weishu <twsxtd@gmail.com> |
||
|
045bc7f6fb
|
Update resetprop (#1671)
With https://github.com/topjohnwu/system_properties/pull/3 included. |
||
|
c8dd0b070c
|
ksud: Fix compiler error | ||
|
063d5c8025
|
ksud: use sha1 library to calc hash | ||
|
472a94b6f2
|
ksud: Fix name typo | ||
|
8ba008fb9f
|
ksud: Fix backup not working | ||
|
825b14635f
|
ksud: move backup directory to /data/adb/ksu
|
||
|
3aac979caa
|
ksud: skip removing module if no modules exist, also add uninstall mangaer, reboot | ||
|
0697db618e
|
ksud: Add uninstall | ||
|
311fad7462
|
build(deps): bump serde_json from 1.0.115 to 1.0.116 in /userspace/ksud (#1637)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.115 to 1.0.116. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.116</h2> <ul> <li>Make module structure comprehensible to static analysis (<a href="https://redirect.github.com/serde-rs/json/issues/1124">#1124</a>, thanks <a href="https://github.com/mleonhard"><code>@mleonhard</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
54383dfc94
|
build(deps): bump serde from 1.0.197 to 1.0.198 in /userspace/ksud (#1640)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.197 to 1.0.198. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/serde/releases">serde's releases</a>.</em></p> <blockquote> <h2>v1.0.198</h2> <ul> <li>Support serializing and deserializing <code>Saturating<T></code> (<a href="https://redirect.github.com/serde-rs/serde/issues/2709">#2709</a>, thanks <a href="https://github.com/jbethune"><code>@jbethune</code></a>)</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
7aa36dc326
|
build(deps): bump chrono from 0.4.37 to 0.4.38 in /userspace/ksud (#1632)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.37 to 0.4.38. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/chronotope/chrono/releases">chrono's releases</a>.</em></p> <blockquote> <h2>v0.4.38</h2> <p>This release bring a ca. 20% improvement to the performance of the formatting code, and a convenient <code>days_since</code> method for the <code>Weekday</code> type.</p> <p>Chrono 0.4.38 also removes the long deprecated <code>rustc-serialize</code> feature. Support for <code>rustc-serialize</code> will be <a href="https://redirect.github.com/rust-lang/rust/pull/116016">soft-destabilized in the next Rust edition</a>. Removing the feature will not break existing users of the feature; Cargo will just not update dependents that rely on it to newer versions of chrono.</p> <p>In chrono 0.4.36 we made an accidental breaking change by switching to <code>derive(Copy)</code> for <code>DateTime</code> instead of a manual implementation. It is reverted in this release.</p> <h1>Removals</h1> <ul> <li>Remove <code>rustc-serialize</code> feature (<a href="https://redirect.github.com/chronotope/chrono/issues/1548">#1548</a>, thanks <a href="https://github.com/workingjubilee"><code>@workingjubilee</code></a>)</li> </ul> <h1>Additions</h1> <ul> <li>Add <code>Weekday::days_since</code> (<a href="https://redirect.github.com/chronotope/chrono/issues/1249">#1249</a>, based on <a href="https://redirect.github.com/chronotope/chrono/issues/216">#216</a> by <a href="https://github.com/clarfonthey"><code>@clarfonthey</code></a>)</li> <li>Add <code>TimeDelta::checked_mul</code> and <code>TimeDelta::checked_div</code> (<a href="https://redirect.github.com/chronotope/chrono/issues/1565">#1565</a>, thanks <a href="https://github.com/Zomtir"><code>@Zomtir</code></a>)</li> </ul> <h1>Fixes</h1> <ul> <li>Return error when rounding with a zero duration (<a href="https://redirect.github.com/chronotope/chrono/issues/1474">#1474</a>, thanks <a href="https://github.com/Dav1dde"><code>@Dav1dde</code></a>)</li> <li>Manually implement <code>Copy</code> for <code>DateTime</code> if offset is <code>Copy</code> (<a href="https://redirect.github.com/chronotope/chrono/issues/1573">#1573</a>)</li> </ul> <h1>Internal</h1> <ul> <li>Inline <code>test_encodable_json</code> and <code>test_decodable_json</code> functions (<a href="https://redirect.github.com/chronotope/chrono/issues/1550">#1550</a>)</li> <li>CI: Reduce combinations in <code>cargo hack check</code> (<a href="https://redirect.github.com/chronotope/chrono/issues/1553">#1553</a>)</li> <li>Refactor formatting code (<a href="https://redirect.github.com/chronotope/chrono/issues/1335">#1335</a>)</li> <li>Optimize number formatting (<a href="https://redirect.github.com/chronotope/chrono/issues/1558">#1558</a>)</li> <li>Only package files needed for building and testing (<a href="https://redirect.github.com/chronotope/chrono/issues/1554">#1554</a>)</li> </ul> <p>Thanks to all contributors on behalf of the chrono team, <a href="https://github.com/djc"><code>@djc</code></a> and <a href="https://github.com/pitdicker"><code>@pitdicker</code></a>!</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
50387a9d3d
|
ksud: do not abort if backup failed (#1627) | ||
|
488564fe76
|
ksud: only backup stock boot if flashing (#1626) | ||
|
ee05aed5e5
|
fix boot restore | ||
|
60dd52afd1
|
ksud: backup stock image and use it when restore (#1619) | ||
|
1e029eddee
|
Update (#1618) | ||
|
6ea2438425
|
ksud: Fix clippy | ||
|
705a9b7238
|
build(deps): bump encoding_rs from 0.8.33 to 0.8.34 in /userspace/ksud (#1612)
Bumps [encoding_rs](https://github.com/hsivonen/encoding_rs) from 0.8.33 to 0.8.34. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
3010ed89c0
|
ksud: Add boot restore | ||
|
2d86c8bbfc
|
build(deps): bump anyhow from 1.0.81 to 1.0.82 in /userspace/ksud (#1613)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.81 to 1.0.82. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p> <blockquote> <h2>1.0.82</h2> <ul> <li>Documentation improvements</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
7fe07329fc
|
build(deps): bump chrono from 0.4.35 to 0.4.37 in /userspace/ksud (#1552)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.35 to 0.4.37. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/chronotope/chrono/releases">chrono's releases</a>.</em></p> <blockquote> <h2>v0.4.37</h2> <p>Version 0.4.36 introduced an unexpected breaking change and was yanked. In it <code>LocalResult</code> was renamed to <code>MappedLocalTime</code> to avoid the impression that it is a <code>Result</code> type were some of the results are errors. For backwards compatibility a type alias with the old name was added.</p> <p>As it turns out there is one case where a type alias behaves differently from the regular enum: you can't import enum variants from a type alias with <code>use chrono::LocalResult::*</code>. With 0.4.37 we make the new name <code>MappedLocalTime</code> the alias, but keep using it in function signatures and the documentation as much as possible.</p> <p>See also the release notes of <a href="https://github.com/chronotope/chrono/releases/tag/v0.4.36">chrono 0.4.36</a> from yesterday for the yanked release.</p> <h2>v0.4.36</h2> <p>This release un-deprecates the methods on <code>TimeDelta</code> that were deprecated with the 0.4.35 release because of the churn they are causing for the ecosystem.</p> <p>New is the <code>DateTime::with_time()</code> method. As an example of when it is useful:</p> <pre lang="rust"><code>use chrono::{Local, NaiveTime}; // Today at 12:00:00 let today_noon = Local::now().with_time(NaiveTime::from_hms_opt(12, 0, 0).unwrap()); </code></pre> <h1>Additions</h1> <ul> <li>Add <code>DateTime::with_time()</code> (<a href="https://redirect.github.com/chronotope/chrono/issues/1510">#1510</a>)</li> </ul> <h1>Deprecations</h1> <ul> <li>Revert <code>TimeDelta</code> deprecations (<a href="https://redirect.github.com/chronotope/chrono/issues/1543">#1543</a>)</li> <li>Deprecate <code>TimeStamp::timestamp_subsec_nanos</code>, which was missed in the 0.4.35 release (<a href="https://redirect.github.com/chronotope/chrono/issues/1486">#1486</a>)</li> </ul> <h1>Documentation</h1> <ul> <li>Correct version number of deprecation notices (<a href="https://redirect.github.com/chronotope/chrono/issues/1486">#1486</a>)</li> <li>Fix some typos (<a href="https://redirect.github.com/chronotope/chrono/issues/1505">#1505</a>)</li> <li>Slightly improve serde documentation (<a href="https://redirect.github.com/chronotope/chrono/issues/1519">#1519</a>)</li> <li>Main documentation: simplify links and reflow text (<a href="https://redirect.github.com/chronotope/chrono/issues/1535">#1535</a>)</li> </ul> <h1>Internal</h1> <ul> <li>CI: Lint benchmarks (<a href="https://redirect.github.com/chronotope/chrono/issues/1489">#1489</a>)</li> <li>Remove unnessary <code>Copy</code> and <code>Send</code> impls (<a href="https://redirect.github.com/chronotope/chrono/issues/1492">#1492</a>, thanks <a href="https://github.com/erickt"><code>@erickt</code></a>)</li> <li>Backport streamlined <code>NaiveDate</code> unit tests (<a href="https://redirect.github.com/chronotope/chrono/issues/1500">#1500</a>, thanks <a href="https://github.com/Zomtir"><code>@Zomtir</code></a>)</li> <li>Rename <code>LocalResult</code> to <code>TzResolution</code>, add alias (<a href="https://redirect.github.com/chronotope/chrono/issues/1501">#1501</a>)</li> <li>Update windows-bindgen to 0.55 (<a href="https://redirect.github.com/chronotope/chrono/issues/1504">#1504</a>)</li> <li>Avoid duplicate imports, which generate warnings on nightly (<a href="https://redirect.github.com/chronotope/chrono/issues/1507">#1507</a>)</li> <li>Add extra debug assertions to <code>NaiveDate::from_yof</code> (<a href="https://redirect.github.com/chronotope/chrono/issues/1518">#1518</a>)</li> <li>Some small simplifications to <code>DateTime::date_naive</code> and <code>NaiveDate::diff_months</code> (<a href="https://redirect.github.com/chronotope/chrono/issues/1530">#1530</a>)</li> <li>Remove <code>unwrap</code> in Unix <code>Local</code> type (<a href="https://redirect.github.com/chronotope/chrono/issues/1533">#1533</a>)</li> <li>Use different method to ignore feature-dependent doctests (<a href="https://redirect.github.com/chronotope/chrono/issues/1534">#1534</a>)</li> </ul> <p>Thanks to all contributors on behalf of the chrono team, <a href="https://github.com/djc"><code>@djc</code></a> and <a href="https://github.com/pitdicker"><code>@pitdicker</code></a>!</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
eb5b36f138
|
ksud: Fix debug set manager | ||
|
ac56a017ab
|
build(deps): bump serde_json from 1.0.114 to 1.0.115 in /userspace/ksud (#1536)
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.114 to 1.0.115. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/serde-rs/json/releases">serde_json's releases</a>.</em></p> <blockquote> <h2>v1.0.115</h2> <ul> <li>Documentation improvements</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
801de95d1a
|
build(deps): bump clap from 4.5.3 to 4.5.4 in /userspace/ksud (#1537)
Bumps [clap](https://github.com/clap-rs/clap) from 4.5.3 to 4.5.4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/releases">clap's releases</a>.</em></p> <blockquote> <h2>v4.5.4</h2> <h2>[4.5.4] - 2024-03-25</h2> <h3>Fixes</h3> <ul> <li><em>(derive)</em> Allow non-literal <code>#[arg(id)]</code> attributes again</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's changelog</a>.</em></p> <blockquote> <h2>[4.5.4] - 2024-03-25</h2> <h3>Fixes</h3> <ul> <li><em>(derive)</em> Allow non-literal <code>#[arg(id)]</code> attributes again</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
|
5068e2fcc4
|
build(deps): bump which from 6.0.0 to 6.0.1 in /userspace/ksud (#1525)
Bumps [which](https://github.com/harryfei/which-rs) from 6.0.0 to 6.0.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/harryfei/which-rs/releases">which's releases</a>.</em></p> <blockquote> <h2>6.0.1</h2> <ul> <li>Remove dependency on <code>once_cell</code> for Windows users, replace with <code>std::sync::OnceLock</code>.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/harryfei/which-rs/blob/master/CHANGELOG.md">which's changelog</a>.</em></p> <blockquote> <h2>6.0.1</h2> <ul> <li>Remove dependency on <code>once_cell</code> for Windows users, replace with <code>std::sync::OnceLock</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |