New: Adapt a Java NIO FileSystem (java.nio.file.FileSystem) as an Okio FileSystem using
fileSystem.asOkioFileSystem().
New: Adapt Android’s AssetManager as an Okio FileSystem using AssetFileSystem. This is in the
new okio-assetfilesystem module. Android applications should prefer this over
FileSystem.RESOURCES as it’s faster to load.
Fix: Don't crash decoding GZIP files when the optional extra data (XLEN) is 32 KiB or larger.
Fix: Resolve symlinks in FakeFileSystem.canonicalize().
Fix: Report the correct createdAtMillis in NodeJsFileSystem file metadata. We were
incorrectly using ctimeMs, where c means changed, not created.
Fix: UnsafeCursor is now Closeable.
Version 3.3.0
2023-01-07
Fix: Don't leak resources when use {} is used with a non-local return. We introduced this
performance and stability bug by not considering that non-local returns execute neither the
return nor catch control flows.
Fix: Use a sealed interface for BufferedSink and BufferedSource. These were never intended
for end-users to implement, and we're happy that Kotlin now allows us to express that in our API.
New: Change internal locks from synchronized to ReentrantLock and Condition. We expect this
to improve help when using Okio with Java virtual threads ([Project Loom][loom]).
Upgrade: [Kotlin 1.8.0][kotlin_1_8_0].
Version 3.2.0
2022-06-26
Fix: Configure the multiplatform artifact (com.squareup.okio:okio:3.x.x) to depend on the
JVM artifact (com.squareup.okio:okio-jvm:3.x.x) for Maven builds. This should work-around an
issue where Maven doesn't interpret Gradle metadata.
Fix: Change CipherSource and CipherSink to recover if the cipher doesn't support streaming.
This should work around a crash with AES/GCM ciphers on Android.
New: Enable compatibility with non-hierarchical projects.
Version 3.1.0
2022-04-19
Upgrade: [Kotlin 1.6.20][kotlin_1_6_20].
New: Support [Hierarchical project structure][hierarchical_projects]. If you're using Okio in a
multiplatform project please upgrade your project to Kotlin 1.6.20 (or newer) to take advantage
of this. With hierarchical projects it's easier to use properties like FileSystem.SYSTEM that
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 commands and options
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 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)
You can disable automated security fix PRs for this repo from the Security Alerts page.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.
## 📋 Pull Request Information
**Original PR:** https://github.com/2006-Scape/2006Scape/pull/636
**Author:** [@dependabot[bot]](https://github.com/apps/dependabot)
**Created:** 7/13/2023
**Status:** 🔄 Open
**Base:** `master` ← **Head:** `dependabot/maven/2006Scape-Server/com.squareup.okio-okio-3.4.0`
---
### 📝 Commits (1)
- [`8555a75`](https://github.com/2006-Scape/2006Scape/commit/8555a75f1333e73303abcd88856701d8de7cbba8) Bump okio from 2.4.3 to 3.4.0 in /2006Scape Server
### 📊 Changes
**1 file changed** (+1 additions, -1 deletions)
<details>
<summary>View changed files</summary>
📝 `2006Scape Server/pom.xml` (+1 -1)
</details>
### 📄 Description
Bumps [okio](https://github.com/square/okio) from 2.4.3 to 3.4.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/square/okio/blob/master/CHANGELOG.md">okio's changelog</a>.</em></p>
<blockquote>
<h2>Version 3.4.0</h2>
<p><em>2023-07-07</em></p>
<ul>
<li>New: Adapt a Java NIO FileSystem (<code>java.nio.file.FileSystem</code>) as an Okio FileSystem using
<code>fileSystem.asOkioFileSystem()</code>.</li>
<li>New: Adapt Android’s <code>AssetManager</code> as an Okio FileSystem using <code>AssetFileSystem</code>. This is in the
new <code>okio-assetfilesystem</code> module. Android applications should prefer this over
<code>FileSystem.RESOURCES</code> as it’s faster to load.</li>
<li>Fix: Don't crash decoding GZIP files when the optional extra data (<code>XLEN</code>) is 32 KiB or larger.</li>
<li>Fix: Resolve symlinks in <code>FakeFileSystem.canonicalize()</code>.</li>
<li>Fix: Report the correct <code>createdAtMillis</code> in <code>NodeJsFileSystem</code> file metadata. We were
incorrectly using <code>ctimeMs</code>, where <code>c</code> means <em>changed</em>, not <em>created</em>.</li>
<li>Fix: <code>UnsafeCursor</code> is now <code>Closeable</code>.</li>
</ul>
<h2>Version 3.3.0</h2>
<p><em>2023-01-07</em></p>
<ul>
<li>Fix: Don't leak resources when <code>use {}</code> is used with a non-local return. We introduced this
performance and stability bug by not considering that non-local returns execute neither the
<code>return</code> nor <code>catch</code> control flows.</li>
<li>Fix: Use a sealed interface for <code>BufferedSink</code> and <code>BufferedSource</code>. These were never intended
for end-users to implement, and we're happy that Kotlin now allows us to express that in our API.</li>
<li>New: Change internal locks from <code>synchronized</code> to <code>ReentrantLock</code> and <code>Condition</code>. We expect this
to improve help when using Okio with Java virtual threads ([Project Loom][loom]).</li>
<li>Upgrade: [Kotlin 1.8.0][kotlin_1_8_0].</li>
</ul>
<h2>Version 3.2.0</h2>
<p><em>2022-06-26</em></p>
<ul>
<li>Fix: Configure the multiplatform artifact (<code>com.squareup.okio:okio:3.x.x</code>) to depend on the
JVM artifact (<code>com.squareup.okio:okio-jvm:3.x.x</code>) for Maven builds. This should work-around an
issue where Maven doesn't interpret Gradle metadata.</li>
<li>Fix: Change <code>CipherSource</code> and <code>CipherSink</code> to recover if the cipher doesn't support streaming.
This should work around a crash with AES/GCM ciphers on Android.</li>
<li>New: Enable compatibility with non-hierarchical projects.</li>
</ul>
<h2>Version 3.1.0</h2>
<p><em>2022-04-19</em></p>
<ul>
<li>Upgrade: [Kotlin 1.6.20][kotlin_1_6_20].</li>
<li>New: Support [Hierarchical project structure][hierarchical_projects]. If you're using Okio in a
multiplatform project please upgrade your project to Kotlin 1.6.20 (or newer) to take advantage
of this. With hierarchical projects it's easier to use properties like <code>FileSystem.SYSTEM</code> that</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/square/okio/commit/a161b07fb1b459371458ae6d9508ec31df280428"><code>a161b07</code></a> Prepare for release 3.4.0.</li>
<li><a href="https://github.com/square/okio/commit/c5f462b0b51979f0b23b08bff123011bb01045ea"><code>c5f462b</code></a> Copyright to files in build-support (<a href="https://redirect.github.com/square/okio/issues/1285">#1285</a>)</li>
<li><a href="https://github.com/square/okio/commit/f21714d492f054ae689b455284816721498775eb"><code>f21714d</code></a> Upgrade Gradle and JMH (<a href="https://redirect.github.com/square/okio/issues/1283">#1283</a>)</li>
<li><a href="https://github.com/square/okio/commit/5f5db4a0d2b1a3a0147c6bc18aeaba5a4ffa4037"><code>5f5db4a</code></a> Merge pull request <a href="https://redirect.github.com/square/okio/issues/1284">#1284</a> from square/renovate/com.google.jimfs</li>
<li><a href="https://github.com/square/okio/commit/8af8d2a87b0c71ced5d16c44daef20ab0c5d48c8"><code>8af8d2a</code></a> Update dependency com.google.jimfs:jimfs to v1.3.0</li>
<li><a href="https://github.com/square/okio/commit/b64c198b790804eea26a05f5409bffb1a4a2d8eb"><code>b64c198</code></a> Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.3 (<a href="https://redirect.github.com/square/okio/issues/1282">#1282</a>)</li>
<li><a href="https://github.com/square/okio/commit/ea827139afef064ddd0078607719d32d7c154c0f"><code>ea82713</code></a> Merge pull request <a href="https://redirect.github.com/square/okio/issues/1281">#1281</a> from square/renovate/gradle-7.x</li>
<li><a href="https://github.com/square/okio/commit/3569daa8b8d039a8989440abcc970b7f35171d49"><code>3569daa</code></a> Update dependency gradle to v7.6.2</li>
<li><a href="https://github.com/square/okio/commit/e937a50ffc482f9777b639d3399ba331b167107a"><code>e937a50</code></a> Merge pull request <a href="https://redirect.github.com/square/okio/issues/1277">#1277</a> from sifmelcara/fix-int-sign-conversion</li>
<li><a href="https://github.com/square/okio/commit/81bce1a30af244550b0324597720e4799281da7b"><code>81bce1a</code></a> Fix a bug where xlen larger than 0x7fff was rejected (<a href="https://redirect.github.com/square/okio/issues/1280">#1280</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/square/okio/compare/parent-2.4.3...parent-3.4.0">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 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)
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/2006-Scape/2006Scape/network/alerts).
</details>
---
<sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 Pull Request Information
Original PR: https://github.com/2006-Scape/2006Scape/pull/636
Author: @dependabot[bot]
Created: 7/13/2023
Status: 🔄 Open
Base:
master← Head:dependabot/maven/2006Scape-Server/com.squareup.okio-okio-3.4.0📝 Commits (1)
8555a75Bump okio from 2.4.3 to 3.4.0 in /2006Scape Server📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
2006Scape Server/pom.xml(+1 -1)📄 Description
Bumps okio from 2.4.3 to 3.4.0.
Changelog
Sourced from okio's changelog.
... (truncated)
Commits
a161b07Prepare for release 3.4.0.c5f462bCopyright to files in build-support (#1285)f21714dUpgrade Gradle and JMH (#1283)5f5db4aMerge pull request #1284 from square/renovate/com.google.jimfs8af8d2aUpdate dependency com.google.jimfs:jimfs to v1.3.0b64c198Update dependency com.vanniktech:gradle-maven-publish-plugin to v0.25.3 (#1282)ea82713Merge pull request #1281 from square/renovate/gradle-7.x3569daaUpdate dependency gradle to v7.6.2e937a50Merge pull request #1277 from sifmelcara/fix-int-sign-conversion81bce1aFix a bug where xlen larger than 0x7fff was rejected (#1280)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 commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.