Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI Fix to Prevent Checks Dealing with Large Array Sizes #459

Merged
merged 6 commits into from
Jun 14, 2023

Conversation

aidancch
Copy link
Contributor

@aidancch aidancch commented Jun 14, 2023

What changes were proposed in this pull request?

Updating SnappyTest.java and ignoring checks with arrays of large sizes.

Why are the changes needed?

To prevent java.lang.OutOfMemory errors from being caught during GitHub checks.

How was this patch tested?

SnappyTest.java

@aidancch aidancch changed the title CIFix CI Fix to Prevent Checks Dealing with Large Array Sizes Jun 14, 2023
@aidancch aidancch marked this pull request as draft June 14, 2023 18:27
*/
@Test(expected = SnappyError.class)
public void isTooLargeDoubleArrayInputLength() throws Exception {
Assume.assumeTrue(System.getenv("CI").equals("true"));
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Extract this as a new function so that we don't need to repeat it

@aidancch aidancch marked this pull request as ready for review June 14, 2023 21:18


private void assumingCIIsFalse() {
Assume.assumeTrue(System.getenv("CI").equals("false"));
Copy link
Owner

@xerial xerial Jun 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This part fails when CI env is not set:

[error] Caused by: java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because the return value of "java.lang.System.getenv(String)" is null
[error]     at org.xerial.snappy.SnappyTest.isTooLargeFloatArrayInputLengthForBitShuffleShuffle(SnappyTest.java:490)
[error]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[error]     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
[error]     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[error]     at java.lang.reflect.Method.invoke(Method.java:568)

Need to add a null-value check for the getenv result

Copy link
Owner

@xerial xerial Jun 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aidanchiu1112 GitHub Actions will set CI=true (CI=false will never be set), so the condition should be fixed accordingly.

For example:

        Assume.assumeFalse("Skipped on CI", System.getenv("CI").equals("true"));

@xerial
Copy link
Owner

xerial commented Jun 14, 2023

Thanks for the fix. It looks good to me now. I'll merge it.

@xerial xerial merged commit 737f397 into xerial:master Jun 14, 2023
github-merge-queue bot referenced this pull request in elide-dev/elide Jul 23, 2023
….3 (#282)

[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
|
[org.xerial.snappy:snappy-java](https://togithub.com/xerial/snappy-java)
| `1.1.8.4` -> `1.1.10.3` |
[![age](https://developer.mend.io/api/mc/badges/age/maven/org.xerial.snappy:snappy-java/1.1.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![adoption](https://developer.mend.io/api/mc/badges/adoption/maven/org.xerial.snappy:snappy-java/1.1.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![passing](https://developer.mend.io/api/mc/badges/compatibility/maven/org.xerial.snappy:snappy-java/1.1.8.4/1.1.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|
[![confidence](https://developer.mend.io/api/mc/badges/confidence/maven/org.xerial.snappy:snappy-java/1.1.8.4/1.1.10.3?slim=true)](https://docs.renovatebot.com/merge-confidence/)
|

---

### ⚠ Dependency Lookup Warnings ⚠

Warnings were logged while processing this repo. Please check the
Dependency Dashboard for more information.

---

### Release Notes

<details>
<summary>xerial/snappy-java (org.xerial.snappy:snappy-java)</summary>

###
[`v1.1.10.3`](https://togithub.com/xerial/snappy-java/releases/tag/v1.1.10.3)

<!-- Release notes generated using configuration in .github/release.yml
at v1.1.10.3 -->

#### What's Changed

##### 🐛 Bug Fixes

- Fix the `GLIBC_2.32 not found` issue of `libsnappyjava.so` in certain
Linux distributions on s390x by
[@&#8203;kun-lu20](https://togithub.com/kun-lu20) in
[https://github.com/xerial/snappy-java/pull/481](https://togithub.com/xerial/snappy-java/pull/481)

##### 🔗 Dependency Updates

- Update scalafmt-core to 3.7.10 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/480](https://togithub.com/xerial/snappy-java/pull/480)
- Update native libraries by
[@&#8203;github-actions](https://togithub.com/github-actions) in
[https://github.com/xerial/snappy-java/pull/482](https://togithub.com/xerial/snappy-java/pull/482)

#### New Contributors

- [@&#8203;kun-lu20](https://togithub.com/kun-lu20) made their first
contribution in
[https://github.com/xerial/snappy-java/pull/481](https://togithub.com/xerial/snappy-java/pull/481)

**Full Changelog**:
xerial/snappy-java@v1.1.10.2...v1.1.10.3

###
[`v1.1.10.2`](https://togithub.com/xerial/snappy-java/releases/tag/v1.1.10.2)

[Compare
Source](https://togithub.com/xerial/snappy-java/compare/v1.1.10.1...v1.1.10.2)

<!-- Release notes generated using configuration in .github/release.yml
at v1.1.10.2 -->

#### What's Changed

##### 🐛 Bug Fixes

- Update libsnappy.so for s390x by
[@&#8203;namrata-ibm](https://togithub.com/namrata-ibm) in
[https://github.com/xerial/snappy-java/pull/474](https://togithub.com/xerial/snappy-java/pull/474)

##### 🔗 Dependency Updates

- Update sbt to 1.9.1 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/467](https://togithub.com/xerial/snappy-java/pull/467)
- Update scalafmt-core to 3.7.6 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/470](https://togithub.com/xerial/snappy-java/pull/470)
- Update scalafmt-core to 3.7.7 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/472](https://togithub.com/xerial/snappy-java/pull/472)
- Update native libraries by
[@&#8203;github-actions](https://togithub.com/github-actions) in
[https://github.com/xerial/snappy-java/pull/475](https://togithub.com/xerial/snappy-java/pull/475)
- Update scalafmt-core to 3.7.9 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/478](https://togithub.com/xerial/snappy-java/pull/478)
- Update sbt to 1.9.2 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/476](https://togithub.com/xerial/snappy-java/pull/476)

##### 🛠  Internal Updates

- Update airframe-log to 23.5.7 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/458](https://togithub.com/xerial/snappy-java/pull/458)
- Update airframe-log to 23.6.0 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/460](https://togithub.com/xerial/snappy-java/pull/460)
- Update sbt-dynver to 5.0.1 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/461](https://togithub.com/xerial/snappy-java/pull/461)
- Update airframe-log to 23.6.1 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/463](https://togithub.com/xerial/snappy-java/pull/463)
- Update airframe-log to 23.6.2 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/465](https://togithub.com/xerial/snappy-java/pull/465)
- Update airframe-log to 23.7.0 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/471](https://togithub.com/xerial/snappy-java/pull/471)
- Update airframe-log to 23.7.1 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/473](https://togithub.com/xerial/snappy-java/pull/473)
- Update airframe-log to 23.7.2 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/479](https://togithub.com/xerial/snappy-java/pull/479)

**Full Changelog**:
xerial/snappy-java@v1.1.10.1...v1.1.10.2

###
[`v1.1.10.1`](https://togithub.com/xerial/snappy-java/releases/tag/v1.1.10.1)

<!-- Release notes generated using configuration in .github/release.yml
at v1.1.10.1 -->

#### What's Changed

##### 🐛 Bug Fixes

- Fixed several vulnerabilities by
[@&#8203;aidanchiu1112](https://togithub.com/aidanchiu1112):
- CVE-2023-34453 [Integer overflow in
shuffle](https://togithub.com/xerial/snappy-java/security/advisories/GHSA-pqr6-cmr2-h8hf)
- CVE-2023-34454 [Integer overflow in
compress](https://togithub.com/xerial/snappy-java/security/advisories/GHSA-fjpj-2g6w-x25r)
- CVE-2023-34455 [Unchecked chunk
length](https://togithub.com/xerial/snappy-java/security/advisories/GHSA-qcwq-55hx-v3vh)
- internal: Fix commit message by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/447](https://togithub.com/xerial/snappy-java/pull/447)
- internal: Fix CI target branch by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/449](https://togithub.com/xerial/snappy-java/pull/449)
- Fix typo by
[@&#8203;aidanchiu1112](https://togithub.com/aidanchiu1112) in
[https://github.com/xerial/snappy-java/pull/457](https://togithub.com/xerial/snappy-java/pull/457)
- CI Fix to Prevent Checks Dealing with Large Array Sizes by
[@&#8203;aidanchiu1112](https://togithub.com/aidanchiu1112) in
[https://github.com/xerial/snappy-java/pull/459](https://togithub.com/xerial/snappy-java/pull/459)

##### 🔗 Dependency Updates

- Update native libraries by
[@&#8203;github-actions](https://togithub.com/github-actions) in
[https://github.com/xerial/snappy-java/pull/445](https://togithub.com/xerial/snappy-java/pull/445)
- Update native libraries by
[@&#8203;github-actions](https://togithub.com/github-actions) in
[https://github.com/xerial/snappy-java/pull/450](https://togithub.com/xerial/snappy-java/pull/450)
- Update scalafmt-core to 3.7.4 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/454](https://togithub.com/xerial/snappy-java/pull/454)
- Update sbt to 1.9.0 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/455](https://togithub.com/xerial/snappy-java/pull/455)

##### 🛠  Internal Updates

- Trigger native lib build on PR by
[@&#8203;imsudiproy](https://togithub.com/imsudiproy) in
[https://github.com/xerial/snappy-java/pull/444](https://togithub.com/xerial/snappy-java/pull/444)
- internal: Run CI tests on native file change by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/446](https://togithub.com/xerial/snappy-java/pull/446)
- internal: Run CI tests for update-native-libs branch by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/448](https://togithub.com/xerial/snappy-java/pull/448)
- intertnal: Fix CI watch target files by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/451](https://togithub.com/xerial/snappy-java/pull/451)
- Update airframe-log to 23.5.6 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/453](https://togithub.com/xerial/snappy-java/pull/453)

#### New Contributors

- [@&#8203;imsudiproy](https://togithub.com/imsudiproy) made their first
contribution in
[https://github.com/xerial/snappy-java/pull/444](https://togithub.com/xerial/snappy-java/pull/444)
- [@&#8203;github-actions](https://togithub.com/github-actions) made
their first contribution in
[https://github.com/xerial/snappy-java/pull/445](https://togithub.com/xerial/snappy-java/pull/445)
- [@&#8203;aidanchiu1112](https://togithub.com/aidanchiu1112) made their
first contribution in
[https://github.com/xerial/snappy-java/pull/457](https://togithub.com/xerial/snappy-java/pull/457)

**Full Changelog**:
xerial/snappy-java@v1.1.10.0...v1.1.10.1

###
[`v1.1.10.0`](https://togithub.com/xerial/snappy-java/releases/tag/v1.1.10.0)

<!-- Release notes generated using configuration in .github/release.yml
at v1.1.10.0 -->

#### What's Changed

Upgraded the underlying Snappy version to 1.1.10. Since this version,
the version number implies (original snappy version).(patch version).

##### 🚀 Features

- Upgrade to Snappy 1.1.10 by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/431](https://togithub.com/xerial/snappy-java/pull/431)
- Add Linux-riscv64 support by
[@&#8203;luhenry](https://togithub.com/luhenry) in
[https://github.com/xerial/snappy-java/pull/396](https://togithub.com/xerial/snappy-java/pull/396)
- Build native libraries for s390x by
[@&#8203;sudip-ibm](https://togithub.com/sudip-ibm) in
[https://github.com/xerial/snappy-java/pull/416](https://togithub.com/xerial/snappy-java/pull/416)
- add workaround for resource management issue in URLClassloader by
[@&#8203;jizhilong](https://togithub.com/jizhilong) in
[https://github.com/xerial/snappy-java/pull/412](https://togithub.com/xerial/snappy-java/pull/412)
- Rebuild Linux Arm binaries with LTS version of cross-compiles using
glibc 2.28 by [@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/436](https://togithub.com/xerial/snappy-java/pull/436)
- Feature: Use LTS cross-compiler for Linux armv6/armv7 to use glibc
2.28 by [@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/440](https://togithub.com/xerial/snappy-java/pull/440)
- Feature: Android arm64 support by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/442](https://togithub.com/xerial/snappy-java/pull/442)

##### 🔗 Dependency Updates

- Bump olafurpg/setup-scala from 13 to 14 by
[@&#8203;dependabot](https://togithub.com/dependabot) in
[https://github.com/xerial/snappy-java/pull/398](https://togithub.com/xerial/snappy-java/pull/398)
- Update scalafmt-core to 3.7.2 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/399](https://togithub.com/xerial/snappy-java/pull/399)
- Update scalafmt-core to 3.7.3 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/410](https://togithub.com/xerial/snappy-java/pull/410)
- Update sbt to 1.8.3 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/430](https://togithub.com/xerial/snappy-java/pull/430)

##### 🛠  Internal Updates

- Update airframe-log to 23.2.0 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/391](https://togithub.com/xerial/snappy-java/pull/391)
- Update airframe-log to 23.2.4 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/395](https://togithub.com/xerial/snappy-java/pull/395)
- Update airframe-log to 23.2.5 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/397](https://togithub.com/xerial/snappy-java/pull/397)
- Update airframe-log to 23.3.0 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/401](https://togithub.com/xerial/snappy-java/pull/401)
- Update sbt-sonatype to 3.9.18 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/402](https://togithub.com/xerial/snappy-java/pull/402)
- Update airframe-log to 23.3.2 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/404](https://togithub.com/xerial/snappy-java/pull/404)
- Update airframe-log to 23.3.3 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/406](https://togithub.com/xerial/snappy-java/pull/406)
- Update airframe-log to 23.3.4 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/409](https://togithub.com/xerial/snappy-java/pull/409)
- Update airframe-log to 23.4.0 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/413](https://togithub.com/xerial/snappy-java/pull/413)
- Update airframe-log to 23.4.8 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/423](https://togithub.com/xerial/snappy-java/pull/423)
- Update sbt-sonatype to 3.9.20 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/427](https://togithub.com/xerial/snappy-java/pull/427)
- Update airframe-log to 23.5.3 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/428](https://togithub.com/xerial/snappy-java/pull/428)
- Update sbt-sonatype to 3.9.21 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/432](https://togithub.com/xerial/snappy-java/pull/432)
- internal: Release note generation automation by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/433](https://togithub.com/xerial/snappy-java/pull/433)
- Release snapshot versions when native libs are updated by
[@&#8203;xerial](https://togithub.com/xerial) in
[https://github.com/xerial/snappy-java/pull/438](https://togithub.com/xerial/snappy-java/pull/438)
- Update airframe-log to 23.5.4 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/434](https://togithub.com/xerial/snappy-java/pull/434)
- Update airframe-log to 23.5.5 by
[@&#8203;xerial-bot](https://togithub.com/xerial-bot) in
[https://github.com/xerial/snappy-java/pull/441](https://togithub.com/xerial/snappy-java/pull/441)

#### New Contributors

- [@&#8203;luhenry](https://togithub.com/luhenry) made their first
contribution in
[https://github.com/xerial/snappy-java/pull/396](https://togithub.com/xerial/snappy-java/pull/396)
- [@&#8203;sudip-ibm](https://togithub.com/sudip-ibm) made their first
contribution in
[https://github.com/xerial/snappy-java/pull/416](https://togithub.com/xerial/snappy-java/pull/416)
- [@&#8203;jizhilong](https://togithub.com/jizhilong) made their first
contribution in
[https://github.com/xerial/snappy-java/pull/412](https://togithub.com/xerial/snappy-java/pull/412)

**Full Changelog**:
xerial/snappy-java@v1.1.9.1...v1.1.10.0

###
[`v1.1.9.1`](https://togithub.com/xerial/snappy-java/releases/tag/v1.1.9.1)

#### What's Changed

- Removed snappy debug assertion with -DNDEBUG c++ flag
[@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;386](https://togithub.com/xerial/snappy-java/issues/386)) It
produces smaller native libraries

#### 🐛 Bug Fixes

- Fix java8 compatibility
[#&#8203;389](https://togithub.com/xerial/snappy-java/issues/389)
[@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;390](https://togithub.com/xerial/snappy-java/issues/390))

#### 🔗 Dependency Updates

- Update org.osgi.core to 6.0.0
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;387](https://togithub.com/xerial/snappy-java/issues/387))

#### 🛠  Internal Updates

- Update sbt script [@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;385](https://togithub.com/xerial/snappy-java/issues/385))
- Update airframe-log to 23.1.4
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;383](https://togithub.com/xerial/snappy-java/issues/383))
- Update org.osgi.core to 4.3.1
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;315](https://togithub.com/xerial/snappy-java/issues/315))

**Full Changelog**:
xerial/snappy-java@v1.1.9.0...v1.1.10

###
[`v1.1.9.0`](https://togithub.com/xerial/snappy-java/releases/tag/v1.1.9.0)

#### What's Changed

This version upgrades the native libraries to Snappy 1.1.9. Currently,
only a limited number of platforms are supported, including:

-   Win32/64 (Only Intel)
-   Mac64 (Intel, M1, M2). We no longer support Mac32
-   Linux32, 64 (Intel, Arm), arm, armv6, armv7
-   android-arm32
-   ppc64le, ppc64

If you need more platform support, send a PR to build a native library
with a [docker-based cross
compiler](https://togithub.com/dockcross/dockcross) (See Makefile and
Makefile.common for the reference). If a cross compiler for your
platform is not available, create a PR with a native library built with
`make native` command.

#### 🚀 Features

- Add uncompressDoubleArray that takes offset and length
[@&#8203;ashley-taylor](https://togithub.com/ashley-taylor)
([#&#8203;307](https://togithub.com/xerial/snappy-java/issues/307))
- Build native library for Snappy 1.1.9
[@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;380](https://togithub.com/xerial/snappy-java/issues/380))
- Upgrade to snappy-1.1.9 [@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;379](https://togithub.com/xerial/snappy-java/issues/379))
- Add Java 17 build test to GitHub action
[@&#8203;wangyum](https://togithub.com/wangyum)
([#&#8203;346](https://togithub.com/xerial/snappy-java/issues/346))
- Adding ppc64le support in Travis
[@&#8203;Abhijit-Mane](https://togithub.com/Abhijit-Mane)
([#&#8203;286](https://togithub.com/xerial/snappy-java/issues/286))
- Build on riscv64 [@&#8203;zinovya](https://togithub.com/zinovya)
([#&#8203;283](https://togithub.com/xerial/snappy-java/issues/283))
- Upgrade bitshuffle to 0.3.4
([#&#8203;380](https://togithub.com/xerial/snappy-java/issues/380))

#### 👋 Deprecated

- Removed pure-java support
[@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;381](https://togithub.com/xerial/snappy-java/issues/381))
because it may cause data corruption.

#### Bug Fixes

- Use original compressed and uncompressed buffer's position
[@&#8203;viirya](https://togithub.com/viirya)
([#&#8203;293](https://togithub.com/xerial/snappy-java/issues/293))
- [#&#8203;302](https://togithub.com/xerial/snappy-java/issues/302)
Fixed running snappy-java as OSGi bundle on Apple Silicon (M1 Pro)
[@&#8203;zh-muxa](https://togithub.com/zh-muxa)
([#&#8203;303](https://togithub.com/xerial/snappy-java/issues/303))
- Avoid explicit class name in throw_exception
[@&#8203;viirya](https://togithub.com/viirya)
([#&#8203;291](https://togithub.com/xerial/snappy-java/issues/291))

#### 🔗 Dependency Updates

- Update airframe-log to 22.9.3
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;349](https://togithub.com/xerial/snappy-java/issues/349))
- Update hadoop-common to 2.7.7
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;313](https://togithub.com/xerial/snappy-java/issues/313))
- Update scalafmt-core to 3.5.9
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;344](https://togithub.com/xerial/snappy-java/issues/344))
- Update airframe-log to 22.9.2
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;347](https://togithub.com/xerial/snappy-java/issues/347))
- Update scalafmt-core to 2.7.5
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;323](https://togithub.com/xerial/snappy-java/issues/323))
- Update sbt to 1.7.1
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;336](https://togithub.com/xerial/snappy-java/issues/336))
- Update airframe-log to 22.9.0
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;343](https://togithub.com/xerial/snappy-java/issues/343))
- Update sbt-scalafmt to 2.4.6
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;317](https://togithub.com/xerial/snappy-java/issues/317))
- Update scalafmt-core to 2.6.4
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;318](https://togithub.com/xerial/snappy-java/issues/318))
- Update airframe-log to 21.12.1
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;319](https://togithub.com/xerial/snappy-java/issues/319))
- Update sbt-sonatype to 3.9.13
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;320](https://togithub.com/xerial/snappy-java/issues/320))
- Update sbt to 1.6.2
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;321](https://togithub.com/xerial/snappy-java/issues/321))
- Update sbt to 1.5.8
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;316](https://togithub.com/xerial/snappy-java/issues/316))
- Update sbt-osgi to 0.9.6
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;312](https://togithub.com/xerial/snappy-java/issues/312))
- Update junit-interface to 0.13.3
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;311](https://togithub.com/xerial/snappy-java/issues/311))
- Upgrade sbt to 1.5.6 [@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;301](https://togithub.com/xerial/snappy-java/issues/301))
- Bump olafurpg/setup-scala from 10 to 13
[@&#8203;dependabot](https://togithub.com/dependabot)
([#&#8203;375](https://togithub.com/xerial/snappy-java/issues/375))
- Bump actions/checkout from 2 to 3
[@&#8203;dependabot](https://togithub.com/dependabot)
([#&#8203;376](https://togithub.com/xerial/snappy-java/issues/376))
- Bump actions/cache from 1 to 3
[@&#8203;dependabot](https://togithub.com/dependabot)
([#&#8203;377](https://togithub.com/xerial/snappy-java/issues/377))
- Update scalafmt-core to 3.7.1
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;368](https://togithub.com/xerial/snappy-java/issues/368))
- Update sbt to 1.8.2
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;366](https://togithub.com/xerial/snappy-java/issues/366))
- Update sbt to 1.7.3
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;355](https://togithub.com/xerial/snappy-java/issues/355))

#### 🛠  Internal Updates

- Add release drafter [@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;378](https://togithub.com/xerial/snappy-java/issues/378))
- Add dependabot [@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;374](https://togithub.com/xerial/snappy-java/issues/374))
- Add scalafmt dialect [@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;373](https://togithub.com/xerial/snappy-java/issues/373))
- Add release automation workflow
[@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;384](https://togithub.com/xerial/snappy-java/issues/384))
- Update airframe-log to 22.12.6
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;372](https://togithub.com/xerial/snappy-java/issues/372))
- Update hadoop-common to 2.10.2
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;371](https://togithub.com/xerial/snappy-java/issues/371))
- Update sbt-pgp to 2.2.1
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;361](https://togithub.com/xerial/snappy-java/issues/361))
- Update plexus-classworlds to 2.7.0
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;359](https://togithub.com/xerial/snappy-java/issues/359))
- Update sbt-scalafmt to 2.5.0
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;358](https://togithub.com/xerial/snappy-java/issues/358))
- Update sbt-sonatype to 3.9.17
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;370](https://togithub.com/xerial/snappy-java/issues/370))
- Update sbt-sonatype to 3.9.15
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;360](https://togithub.com/xerial/snappy-java/issues/360))
- Update sbt-sonatype to 3.9.14
[@&#8203;xerial-bot](https://togithub.com/xerial-bot)
([#&#8203;357](https://togithub.com/xerial/snappy-java/issues/357))

#### 📚 Docs

- Remove pure-java support [@&#8203;xerial](https://togithub.com/xerial)
([#&#8203;381](https://togithub.com/xerial/snappy-java/issues/381))
- Fix links in Javadoc badge
[@&#8203;valery1707](https://togithub.com/valery1707)
([#&#8203;350](https://togithub.com/xerial/snappy-java/issues/350))
- Fix links into benchmark results
[@&#8203;valery1707](https://togithub.com/valery1707)
([#&#8203;351](https://togithub.com/xerial/snappy-java/issues/351))
- Fixes
[#&#8203;280](https://togithub.com/xerial/snappy-java/issues/280) Typo -
java.io.tmpdir not java.io.tempdir
[@&#8203;lehnerj](https://togithub.com/lehnerj)
([#&#8203;325](https://togithub.com/xerial/snappy-java/issues/325))
- Small typo fix [@&#8203;atisvagyok](https://togithub.com/atisvagyok)
([#&#8203;294](https://togithub.com/xerial/snappy-java/issues/294))

**Full Changelog**:
xerial/snappy-java@1.1.8.4...v1.1.9

</details>

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/elide-dev/elide).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4xMS4wIiwidXBkYXRlZEluVmVyIjoiMzYuMTEuMCIsInRhcmdldEJyYW5jaCI6InYzIn0=-->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants