avro.git
3 hours agoAVRO-3564: Update minimal supported Rust version in Docker to 1.54.0 (#1751) branch-1.11
Martin Grigorov [Mon, 4 Jul 2022 11:06:51 +0000 (14:06 +0300)] 
AVRO-3564: Update minimal supported Rust version in Docker to 1.54.0 (#1751)

Related-to: AVRO-3558

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2 days agoAVRO-3266: Work with hadoop 3.x PathOutputComitters (#1618)
Emil Ejbyfeldt [Fri, 1 Jul 2022 17:37:08 +0000 (19:37 +0200)] 
AVRO-3266: Work with hadoop 3.x PathOutputComitters (#1618)

* AVRO-3266: Work with hadoop 3.x PathOutputComitters

In hadoop 3.x the abstract class PathOutputCommitter defines the method
`getWorkPath()`, but in hadoop 2.x it only defined on
FileOutputCommitter. So to be compatible with both hadoop 2.x and 3.x
and support committers that does only implements PathOutputComitter and
not FileOutputCommitter we make the call to getWorkPath using
reflection.

* AVRO-3266: Add committer class name to exception

* Add comment on better fix when hadoop2 is dropped

Co-authored-by: Ryan Skraba <ryan@skraba.com>
2 days agoAVRO-3559: Fix links to "Getting started ..." on the home page (#1749)
Martin Grigorov [Fri, 1 Jul 2022 16:40:02 +0000 (19:40 +0300)] 
AVRO-3559: Fix links to "Getting started ..." on the home page (#1749)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
3 days agoAVRO-3558: Rust: Add a demo crate that shows usage as WebAssembly (#1747)
Martin Grigorov [Fri, 1 Jul 2022 08:17:11 +0000 (11:17 +0300)] 
AVRO-3558: Rust: Add a demo crate that shows usage as WebAssembly (#1747)

* AVRO-3558: Rust: Add a demo crate that shows usage as WebAssembly

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3558 Format the code

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3558: Install Firefox with sudo

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3558: Test one wasm32-unknown-unknown only for the web-Assembly CI job

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3558: Bump MSRV from 1.51.0 to 1.54.0 and return wasm32-unknown-unknown target

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3558: Fix clippy errors and warnings

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit bf6b86d2c784ced5ec791f8249d3f2ecf18a4ee0)

3 days agoAdd a blog entry for Zoltan Csizmadia as a new committer (#1746)
Martin Grigorov [Fri, 1 Jul 2022 06:08:11 +0000 (09:08 +0300)] 
Add a blog entry for Zoltan Csizmadia as a new committer (#1746)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
3 days agoAVRO-3557: Trim whitespace from the avro_version shortcode (#1745)
Ryan Skraba [Fri, 1 Jul 2022 06:07:26 +0000 (08:07 +0200)] 
AVRO-3557: Trim whitespace from the avro_version shortcode (#1745)

3 days agoAVRO-3556: Use absolute links for api documentation (#1744)
Ryan Skraba [Fri, 1 Jul 2022 06:07:11 +0000 (08:07 +0200)] 
AVRO-3556: Use absolute links for api documentation (#1744)

* AVRO-3556: Use absolute links for api documentation

* Fix wildcard typo in destination directory of copy

3 days agoAVRO-3555: Avoid inlining the Avro logo (#1743)
Ryan Skraba [Fri, 1 Jul 2022 06:06:10 +0000 (08:06 +0200)] 
AVRO-3555: Avoid inlining the Avro logo (#1743)

4 days agoAVRO-3546: Add favicons to the website (#1734)
Ryan Skraba [Wed, 29 Jun 2022 17:56:41 +0000 (19:56 +0200)] 
AVRO-3546: Add favicons to the website (#1734)

* AVRO-3546: Add favicons to the website

* Add license

* Apply suggestions from code review

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
5 days agoAVRO-3553: Limit changes to rubocop lint (#1741)
Ryan Skraba [Wed, 29 Jun 2022 09:25:59 +0000 (11:25 +0200)] 
AVRO-3553: Limit changes to rubocop lint (#1741)

5 days agoBump protobuf-java from 3.21.1 to 3.21.2 in /lang/java (#1738)
dependabot[bot] [Tue, 28 Jun 2022 18:00:57 +0000 (20:00 +0200)] 
Bump protobuf-java from 3.21.1 to 3.21.2 in /lang/java (#1738)

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.21.1 to 3.21.2.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.21.1...v3.21.2)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 days agoAVRO-3539: Separate the versions to be installed (#1735)
Ryan Skraba [Tue, 28 Jun 2022 17:59:44 +0000 (19:59 +0200)] 
AVRO-3539: Separate the versions to be installed (#1735)

5 days agoAVRO-3545: Some text fixes on website (#1733)
Ryan Skraba [Tue, 28 Jun 2022 17:51:42 +0000 (19:51 +0200)] 
AVRO-3545: Some text fixes on website (#1733)

5 days agoAVRO-3544: Fix projects print template for website (#1732)
Ryan Skraba [Tue, 28 Jun 2022 17:49:21 +0000 (19:49 +0200)] 
AVRO-3544: Fix projects print template for website (#1732)

5 days agoBump jetty.version in /lang/java (#1737)
dependabot[bot] [Tue, 28 Jun 2022 06:36:21 +0000 (08:36 +0200)] 
Bump jetty.version in /lang/java (#1737)

Bumps `jetty.version` from 9.4.46.v20220331 to 9.4.48.v20220622.

Updates `jetty-server` from 9.4.46.v20220331 to 9.4.48.v20220622
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.46.v20220331...jetty-9.4.48.v20220622)

Updates `jetty-servlet` from 9.4.46.v20220331 to 9.4.48.v20220622
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.46.v20220331...jetty-9.4.48.v20220622)

Updates `jetty-util` from 9.4.46.v20220331 to 9.4.48.v20220622
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.46.v20220331...jetty-9.4.48.v20220622)

---
updated-dependencies:
- dependency-name: org.eclipse.jetty:jetty-server
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-servlet
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.eclipse.jetty:jetty-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
6 days agoAVRO-3549: [rust] Return a proper error when the codec is not supported and/or enable...
Martin Grigorov [Tue, 28 Jun 2022 10:56:33 +0000 (13:56 +0300)] 
AVRO-3549: [rust] Return a proper error when the codec is not supported and/or enabled. (#1740)

* AVRO-3549: [rust] Avro reader fails if it tries to read data compressed with codec that is not enabled in features

Return a proper error when the codec is not supported and/or enabled.

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3549: Enable the new test only when 'snappy' feature is not enabled

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit d17c5cc5c066297a09208098627bbed062549dd7)

6 days agoAVRO-3552: Rust: sort the contents in Cargo.toml files with cargo-tomlfmt (#1739)
Martin Grigorov [Tue, 28 Jun 2022 10:51:18 +0000 (13:51 +0300)] 
AVRO-3552: Rust: sort the contents in Cargo.toml files with cargo-tomlfmt (#1739)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 30bb7b43d8f702e9cfe4928c1e91cb764c9437d8)

9 days agoAVRO-3378: Map old links to new website (#1592)
Ryan Skraba [Fri, 18 Mar 2022 19:00:56 +0000 (20:00 +0100)] 
AVRO-3378: Map old links to new website (#1592)

9 days agoAVRO-3374: special cases for qualified name (#1688)
clesaec [Fri, 24 Jun 2022 15:08:25 +0000 (17:08 +0200)] 
AVRO-3374: special cases for qualified name (#1688)

10 days agoAVRO-3543: Support wasm32 compilation target for Rust library (#1731)
Alexander Galibey [Fri, 24 Jun 2022 09:07:18 +0000 (12:07 +0300)] 
AVRO-3543: Support wasm32 compilation target for Rust library (#1731)

AVRO-3543: Support wasm32 compilation target

AVRO-3543: Revert random uuid in readme file

AVRO-3543: Explicitly declare the getrandom features depending on the target platform

AVRO-3543: On wasm32 also use "js" feature of getrandom.

AVRO-3543: Extend Rust CI to also test build on wasm32-unknown-unknown

AVRO-3543: Fix the syntax for 'if' statement

AVRO-3543: Remove dependency on uuid 'v4' feature

AVRO-3543: AVRO-3543: Use quad-rand when building for wasm32-unknown-unknown
(cherry picked from commit a8821d3ddd7e86d9567e48f0bc6387dcc0214c66)

10 days agoAVRO-3534: Rust: Use dependency-review-action only for pull_request events (#1717)
Martin Grigorov [Thu, 9 Jun 2022 21:04:09 +0000 (00:04 +0300)] 
AVRO-3534: Rust: Use dependency-review-action only for pull_request events (#1717)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit a8ee8778dfdccbc9bf5c8423d0d7dbdf1c2c0cbf)

11 days agoAVRO-3542: Scale assignment optimization (#1730)
Igor Izvekov [Thu, 23 Jun 2022 11:25:35 +0000 (14:25 +0300)] 
AVRO-3542: Scale assignment optimization (#1730)

(cherry picked from commit f068da73b8543c9f6d151d1af58a43d8164b5adc)

12 days agoAVRO-3436: Clarify what names have a namespace (#1587)
Oscar Westra van Holthe - Kind [Tue, 21 Jun 2022 17:59:23 +0000 (19:59 +0200)] 
AVRO-3436: Clarify what names have a namespace (#1587)

12 days agoAVRO-3525: whitelist_externals is now deprecated (#1702)
Igor Izvekov [Tue, 21 Jun 2022 17:19:05 +0000 (20:19 +0300)] 
AVRO-3525: whitelist_externals is now deprecated (#1702)

12 days agoAVRO-3541: Unbump strum_macros (#1729)
Ryan Skraba [Tue, 21 Jun 2022 16:18:42 +0000 (18:18 +0200)] 
AVRO-3541: Unbump strum_macros (#1729)

13 days agoAVRO-3443: Remove duplicate content (#1726)
Ryan Skraba [Tue, 21 Jun 2022 10:23:20 +0000 (12:23 +0200)] 
AVRO-3443: Remove duplicate content (#1726)

13 days agoAVRO-3537: fix netty unit test (#1725)
clesaec [Tue, 21 Jun 2022 10:20:56 +0000 (12:20 +0200)] 
AVRO-3537: fix netty unit test (#1725)

13 days agoBump netty-bom from 4.1.77.Final to 4.1.78.Final in /lang/java (#1724)
dependabot[bot] [Mon, 20 Jun 2022 16:46:16 +0000 (18:46 +0200)] 
Bump netty-bom from 4.1.77.Final to 4.1.78.Final in /lang/java (#1724)

Bumps [netty-bom](https://github.com/netty/netty) from 4.1.77.Final to 4.1.78.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.1.77.Final...netty-4.1.78.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2 weeks agoAVRO-3445: Disable links pointing to git repo (#1722)
Ryan Skraba [Sat, 18 Jun 2022 15:45:41 +0000 (17:45 +0200)] 
AVRO-3445: Disable links pointing to git repo (#1722)

* AVRO-3445: Disable links pointing to git repo

* Update _styles_project.scss

2 weeks agoAVRO-3076: Fix incorrect Javadoc regarding custom coder defaults (#1715)
Rens Groothuijsen [Fri, 17 Jun 2022 16:33:32 +0000 (18:33 +0200)] 
AVRO-3076: Fix incorrect Javadoc regarding custom coder defaults (#1715)

2 weeks agoAVRO-3521: "Scale" property from decimal object (#1689)
Igor Izvekov [Fri, 17 Jun 2022 16:31:05 +0000 (19:31 +0300)] 
AVRO-3521: "Scale" property from decimal object (#1689)

* AVRO-3521

* Fixed style for "AVRO-3521"

* Changed from 'a positive integer' to 'a non-negative integer' (by RyanSkraba's improvement).

* Update error message in test

Co-authored-by: Ryan Skraba <ryan@skraba.com>
2 weeks agoAVRO-3523: Move contributions guidelines to website (#1707)
clesaec [Fri, 17 Jun 2022 16:04:53 +0000 (18:04 +0200)] 
AVRO-3523: Move contributions guidelines to website (#1707)

* AVRO-3523 : doc how to contribute to site

* AVRO-3523 : doc how to contribute to site

* AVRO-3523: fix from martin comments

* avro-3523 : add csharp section

* avro-3523: apply ryan recommandations

2 weeks agoAVRO-3159: Small clarification (#1709)
Oscar Westra van Holthe - Kind [Thu, 16 Jun 2022 18:10:02 +0000 (20:10 +0200)] 
AVRO-3159: Small clarification (#1709)

3 weeks agoAVRO-3533: Rust: Update dependencies
Martin Tzvetanov Grigorov [Mon, 13 Jun 2022 06:06:09 +0000 (09:06 +0300)] 
AVRO-3533: Rust: Update dependencies

Update strum library

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 79976977feba9a1e77ca1d96137295bc0ab96e8a)

3 weeks agoAVRO-3533: Rust: Update dependencies (#1716)
Martin Grigorov [Thu, 9 Jun 2022 20:53:03 +0000 (23:53 +0300)] 
AVRO-3533: Rust: Update dependencies (#1716)

* AVRO-3533: Rust: Update dependencies

Add 'default-features = false' consistently for all [dev-]dependencies.
Fix Rustdoc warning.

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3533: Use "std" feature for proptest

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit d00865afecaea95b80eb3c511b8a018fd3070d99)

3 weeks agoAVRO-3529: Rust: Use git-archive to make a source distribution of the Rust SDK (...
Martin Grigorov [Tue, 7 Jun 2022 19:35:10 +0000 (22:35 +0300)] 
AVRO-3529: Rust: Use git-archive to make a source distribution of the Rust SDK (#1713)

* AVRO-3529: Rust: Use git-archive to make a source distribution of the Rust SDK

Re-order the modules in the main Cargo.toml so that 'cargo ...' commands
are executed in the preferred order.

Export special Rust env vars for better diagnostics for the interop
tasks.

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3529: Export the RUST_** env vars only for the cargo command execution

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit e1206ade30daca0cae5399fb1d88179bf3dbe7ec)

3 weeks agoBump underscore from 1.13.3 to 1.13.4 in /lang/js (#1710)
dependabot[bot] [Tue, 7 Jun 2022 11:46:01 +0000 (14:46 +0300)] 
Bump underscore from 1.13.3 to 1.13.4 in /lang/js (#1710)

Bumps [underscore](https://github.com/jashkenas/underscore) from 1.13.3 to 1.13.4.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.13.3...1.13.4)

---
updated-dependencies:
- dependency-name: underscore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 8a4abf06303480114c7eec3ced8ad77f3697bd32)

3 weeks agoBump mockito-core from 4.6.0 to 4.6.1 in /lang/java (#1711)
dependabot[bot] [Tue, 7 Jun 2022 11:45:12 +0000 (14:45 +0300)] 
Bump mockito-core from 4.6.0 to 4.6.1 in /lang/java (#1711)

Bumps [mockito-core](https://github.com/mockito/mockito) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.6.0...v4.6.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit a79c96ec8b2ac51c5da6f33c4461425db0763702)

3 weeks agoBump grpc.version from 1.46.0 to 1.47.0 in /lang/java (#1712)
dependabot[bot] [Tue, 7 Jun 2022 11:44:29 +0000 (14:44 +0300)] 
Bump grpc.version from 1.46.0 to 1.47.0 in /lang/java (#1712)

Bumps `grpc.version` from 1.46.0 to 1.47.0.

Updates `grpc-core` from 1.46.0 to 1.47.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.46.0...v1.47.0)

Updates `grpc-stub` from 1.46.0 to 1.47.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.46.0...v1.47.0)

Updates `grpc-netty` from 1.46.0 to 1.47.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.46.0...v1.47.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.grpc:grpc-stub
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.grpc:grpc-netty
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit aa93007678cbabe118156179c8908399d481f625)

4 weeks agoAVRO-3526: RUST: Improve schema resolution related to byte types (#1706)
Martin Grigorov [Tue, 31 May 2022 05:41:54 +0000 (08:41 +0300)] 
AVRO-3526: RUST: Improve schema resolution related to byte types (#1706)

* Remove obsolete TODO in Rust code

It has been addressed 2 years ago with https://github.com/flavray/avro-rs/pull/146/files#diff-cfb402317f9a1267396cd28c72ab83f4236dca6ebbf2f87ed850f2b82da5862dR385

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3526: Rust: Improve resolving Bytes and Fixed from string

Unicode related documentation: https://en.wikipedia.org/wiki/UTF-8#Invalid_sequences_and_error_handling

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 9738a759f01e267772092c2299d8f0d7047942a8)

5 weeks agoBump jackson-bom from 2.12.6.20220326 to 2.12.7 in /lang/java (#1703)
dependabot[bot] [Mon, 30 May 2022 08:33:33 +0000 (11:33 +0300)] 
Bump jackson-bom from 2.12.6.20220326 to 2.12.7 in /lang/java (#1703)

Bumps [jackson-bom](https://github.com/FasterXML/jackson-bom) from 2.12.6.20220326 to 2.12.7.
- [Release notes](https://github.com/FasterXML/jackson-bom/releases)
- [Commits](https://github.com/FasterXML/jackson-bom/compare/jackson-bom-2.12.6.20220326...jackson-bom-2.12.7)

---
updated-dependencies:
- dependency-name: com.fasterxml.jackson:jackson-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 5ad000848653d85a7a47699eb84c411ca037b0e4)

5 weeks agoBump mockito-core from 4.5.1 to 4.6.0 in /lang/java (#1704)
dependabot[bot] [Mon, 30 May 2022 08:32:59 +0000 (11:32 +0300)] 
Bump mockito-core from 4.5.1 to 4.6.0 in /lang/java (#1704)

Bumps [mockito-core](https://github.com/mockito/mockito) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.5.1...v4.6.0)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit e4f5674706704299eefd9abcf86d9b3fe84bd9a5)

5 weeks agoBump protobuf-java from 3.20.1 to 3.21.1 in /lang/java (#1705)
dependabot[bot] [Mon, 30 May 2022 08:32:01 +0000 (11:32 +0300)] 
Bump protobuf-java from 3.20.1 to 3.21.1 in /lang/java (#1705)

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.20.1 to 3.21.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.20.1...v3.21.1)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 5776ae39aa1495812ad66a4ce7a7ac5fb305255b)

6 weeks agoBump grpc.version from 1.45.1 to 1.46.0 in /lang/java (#1693)
dependabot[bot] [Sun, 22 May 2022 18:55:50 +0000 (21:55 +0300)] 
Bump grpc.version from 1.45.1 to 1.46.0 in /lang/java (#1693)

Bumps `grpc.version` from 1.45.1 to 1.46.0.

Updates `grpc-core` from 1.45.1 to 1.46.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.1...v1.46.0)

Updates `grpc-stub` from 1.45.1 to 1.46.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.1...v1.46.0)

Updates `grpc-netty` from 1.45.1 to 1.46.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.1...v1.46.0)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.grpc:grpc-stub
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.grpc:grpc-netty
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
(cherry picked from commit b6298437279cfe340aa2d51f7f9a0666f77f9cfe)

6 weeks agoAVRO-3522: Better logging in tests (#1690)
Martin Grigorov [Sun, 22 May 2022 18:32:05 +0000 (21:32 +0300)] 
AVRO-3522: Better logging in tests (#1690)

* AVRO-3522: Use ctor crate to setup/teardown tests

Use TestLogger for all tests. Now it delegates to env_logger too

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3522: Improve the README

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3522: Give better names to some methods

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3522: Make LOG_MESSAGES module-private

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3522: Add ASL2 to the new files

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3522: Use pretty_assertions for better diffs when assertions fail

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 2c13cd7e6d6d7485e1cdf93c9777f7d2ccae7558)

6 weeks agoBump hadoop-client from 3.3.2 to 3.3.3 in /lang/java (#1697)
dependabot[bot] [Sun, 22 May 2022 18:30:47 +0000 (21:30 +0300)] 
Bump hadoop-client from 3.3.2 to 3.3.3 in /lang/java (#1697)

Bumps hadoop-client from 3.3.2 to 3.3.3.

---
updated-dependencies:
- dependency-name: org.apache.hadoop:hadoop-client
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit b821b223c6e9d027a14893171c858d3ed3f03196)

6 weeks agoBump reload4j from 1.2.19 to 1.2.21 in /lang/java (#1700)
dependabot[bot] [Sun, 22 May 2022 18:29:49 +0000 (21:29 +0300)] 
Bump reload4j from 1.2.19 to 1.2.21 in /lang/java (#1700)

Bumps [reload4j](https://github.com/qos-ch/reload4j) from 1.2.19 to 1.2.21.
- [Release notes](https://github.com/qos-ch/reload4j/releases)
- [Commits](https://github.com/qos-ch/reload4j/compare/v_1.2.19...v_1.2.21)

---
updated-dependencies:
- dependency-name: ch.qos.reload4j:reload4j
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit dc54464ea7694ad2facee1d333b1fa73ba1b9431)

6 weeks agoBump plexus-utils from 3.4.1 to 3.4.2 in /lang/java (#1696)
dependabot[bot] [Sun, 22 May 2022 18:29:01 +0000 (21:29 +0300)] 
Bump plexus-utils from 3.4.1 to 3.4.2 in /lang/java (#1696)

Bumps [plexus-utils](https://github.com/codehaus-plexus/plexus-utils) from 3.4.1 to 3.4.2.
- [Release notes](https://github.com/codehaus-plexus/plexus-utils/releases)
- [Commits](https://github.com/codehaus-plexus/plexus-utils/compare/plexus-utils-3.4.1...plexus-utils-3.4.2)

---
updated-dependencies:
- dependency-name: org.codehaus.plexus:plexus-utils
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 744af614ba4565b4d34ff637923961bb2e17a62d)

6 weeks agoBump netty-bom from 4.1.75.Final to 4.1.77.Final in /lang/java (#1694)
dependabot[bot] [Sun, 22 May 2022 18:28:13 +0000 (21:28 +0300)] 
Bump netty-bom from 4.1.75.Final to 4.1.77.Final in /lang/java (#1694)

Bumps [netty-bom](https://github.com/netty/netty) from 4.1.75.Final to 4.1.77.Final.
- [Release notes](https://github.com/netty/netty/releases)
- [Commits](https://github.com/netty/netty/compare/netty-4.1.75.Final...netty-4.1.77.Final)

---
updated-dependencies:
- dependency-name: io.netty:netty-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 285858f7d9b7da8a5ae74990c785bc4e4818b940)

6 weeks agoBump zstd-jni from 1.5.2-2 to 1.5.2-3 in /lang/java (#1698)
dependabot[bot] [Sun, 22 May 2022 18:23:22 +0000 (21:23 +0300)] 
Bump zstd-jni from 1.5.2-2 to 1.5.2-3 in /lang/java (#1698)

Bumps [zstd-jni](https://github.com/luben/zstd-jni) from 1.5.2-2 to 1.5.2-3.
- [Release notes](https://github.com/luben/zstd-jni/releases)
- [Commits](https://github.com/luben/zstd-jni/compare/v1.5.2-2...v1.5.2-3)

---
updated-dependencies:
- dependency-name: com.github.luben:zstd-jni
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 74f6bb15c03136aedcac687c21c8914d1bee14ee)

6 weeks agoBump maven-bundle-plugin from 5.1.4 to 5.1.6 in /lang/java (#1699)
dependabot[bot] [Sun, 22 May 2022 18:21:29 +0000 (21:21 +0300)] 
Bump maven-bundle-plugin from 5.1.4 to 5.1.6 in /lang/java (#1699)

Bumps maven-bundle-plugin from 5.1.4 to 5.1.6.

---
updated-dependencies:
- dependency-name: org.apache.felix:maven-bundle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit e429672ba6f00db5cf5fecea7f6b344b5326f47b)

6 weeks agoBump mockito-core from 4.3.1 to 4.5.1 in /lang/java (#1701)
dependabot[bot] [Sun, 22 May 2022 18:20:29 +0000 (21:20 +0300)] 
Bump mockito-core from 4.3.1 to 4.5.1 in /lang/java (#1701)

Bumps [mockito-core](https://github.com/mockito/mockito) from 4.3.1 to 4.5.1.
- [Release notes](https://github.com/mockito/mockito/releases)
- [Commits](https://github.com/mockito/mockito/compare/v4.3.1...v4.5.1)

---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 043aeb148cf86c17bc2622671127e65261e1e8d4)

6 weeks agoAVRO-3130: Rust: Add a unit test demonstrating that the schema could be parsed succes...
Martin Grigorov [Thu, 19 May 2022 11:56:52 +0000 (14:56 +0300)] 
AVRO-3130: Rust: Add a unit test demonstrating that the schema could be parsed successfully (#1691)

To prevent regressions in the future

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 1ade72037cbb1f356f10f64550e5f94ce1a7fcde)

6 weeks agoAVRO-3518: Introduce a new type 'Alias' (#1686)
Martin Grigorov [Tue, 17 May 2022 06:15:18 +0000 (09:15 +0300)] 
AVRO-3518: Introduce a new type 'Alias' (#1686)

It uses Newtype pattern and wraps Name. This way it is easier to control
how it is being (de)serialized

Until now only Schema::Record serialized its aliases to JSON. Now this
is being done for all named schemata (Schema::Enum and Schema::Fixed)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 0c769f94515cc13ae2130a818bf566cb09f27774)

6 weeks agoAVRO-3512: Fix the aliases' namespace when parsing named schemata (#1685)
Martin Grigorov [Mon, 16 May 2022 19:59:42 +0000 (22:59 +0300)] 
AVRO-3512: Fix the aliases' namespace when parsing named schemata (#1685)

* AVRO-3512: Fix the aliases' namespace when parsing named schemata

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3512: Fix formatting issue

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit bed2ec96a8d8ecbffcf02f0ec73e4f4ecb886fb9)

6 weeks agoAVRO-3519: Rust: Remove MIRI Github Actions check (#1687)
Martin Grigorov [Mon, 16 May 2022 19:43:24 +0000 (22:43 +0300)] 
AVRO-3519: Rust: Remove MIRI Github Actions check (#1687)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 57c5428543d63529dcac37610551f77132c690f0)

7 weeks agoAVRO-3517: Do not use the default features of the dependencies (#1684)
Martin Grigorov [Thu, 12 May 2022 06:05:12 +0000 (09:05 +0300)] 
AVRO-3517: Do not use the default features of the dependencies (#1684)

Explicitly list the features used/needed by Avro

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit f56051539d9330722c36888b730aee5b559e01ec)

7 weeks ago[AVRO-3516] Fix bugs in derive macro usage (#1683)
Jack Klamer [Wed, 11 May 2022 19:33:24 +0000 (14:33 -0500)] 
[AVRO-3516] Fix bugs in derive macro usage  (#1683)

* bug fix and build fix

* remove uneeded component trait

* no hidden doc

* boolean schema

* fmt

* Reduce the enabled features only to the ones required by the test

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Add an example for schema derivation

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Pretty print the derived schema

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* [AVRO-3516] remove circular package dependency

* AVRO-3516: Remove the derive-compilation example

It cannot work as an 'example'
(https://github.com/apache/avro/pull/1683#issuecomment-1123119783)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Co-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 3fafde2cf8dd4b3a34cf48347a346c436741ae91)

8 weeks ago[AVRO-3507] Implement Single Object reader (#1681)
Jack Klamer [Mon, 9 May 2022 11:51:40 +0000 (06:51 -0500)] 
[AVRO-3507] Implement Single Object reader (#1681)

* Readers

* unit tested

* interop tested

* Update lang/rust/avro/src/reader.rs

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
* Apply suggestions from code review

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
* one read for interop+ error message

* AVRO-3507: Improve an error message in a unit test

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3507: Better variable names and error messages

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3507: Fix Clippy 1.51 errors

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
Co-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 41fbaa8e9443bebc276dc8f2d056a155f47bf0c8)

8 weeks ago[AVRO-3506] followup: Specific rename (#1682)
Jack Klamer [Sun, 8 May 2022 19:33:12 +0000 (14:33 -0500)] 
[AVRO-3506] followup: Specific rename (#1682)

* renamed

* fmt

(cherry picked from commit ae89799545df2ffdb7cc8b42ce7ed63c435ed340)

8 weeks agoAVRO-3511: Fix the parsing canonical form for Decimal schema (#1679)
Martin Grigorov [Thu, 5 May 2022 20:22:00 +0000 (23:22 +0300)] 
AVRO-3511: Fix the parsing canonical form for Decimal schema (#1679)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit ce74e7726b33ac414299a924c63a7a7bc036f8bd)

2 months ago[AVRO-3506] [rust] Single object writer (#1672)
Jack Klamer [Wed, 4 May 2022 07:59:11 +0000 (02:59 -0500)] 
[AVRO-3506] [rust] Single object writer (#1672)

* Encoer v1 with interop data

* unit tested

* fmt

* Interop tested

* uneed file

* remove bugs

* clippy

* fix README

* rat fix

* Update lang/rust/avro/src/writer.rs

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
* Update lang/rust/avro/src/writer.rs

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
* Update lang/rust/avro/src/writer.rs

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
* Update lang/rust/avro/src/writer.rs

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
* Update lang/rust/avro/src/writer.rs

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
* PR changes

* static setup

* Specific rename and interop test in script

* typo

* AVRO-3492: Add support for deriving Schema::Record aliases (#1647)

* AVRO-3492: Add support for deriving Schema::Record aliases

Uses Darling's 'multiple' attribute feature.

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3492: Add a test case with multiple attributes with different values for 'alias' key

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3494: Rust: uncomment some tests which actually pass

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3494: Uncomment a test for recursive types (#1648)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3492: Add logic to derive the aliases for Schema::Enum (#1649)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3415: Add code coverage report support for csharp (#1565)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3415 Add code coverage report support for csharp

* Ignore Updates and package references

* Updated names

* Sorted packages alphabetically

* Mode ReportGenerator instructions for global.

* Update versions.props

* Remove path

* Updated tabbing

* Cleanup version.props

* Add missing settings from version.props

* Updated from tabs to 2 space indents

* Added command in code block

* Fix carriage return

* force carriage return

* Another carriage return

* Added longer path to report

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
* AVRO-3384: Define C# Coding Style Guidelines (#1534)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3384 Initial check in

* Formatting fix

* Additional formatting

* More formatting

* Added additional rule

* Completed new line rules

* Indentation preferences complete

* Updated header

* Additional formatting

* More formatting changes

* Added spacing options

* Updated wrap options

* Additional documentation for styling

* Updated notes

* Updated more

* Added var preferences and Expression-bodied member preferences

* Initial styling rules documented

* Updated naming rules to reflect Roslyn naming rules

* Added other styling rule callouts.

* Updated Readme

* Updated rule

* Add header template

* Microsoft has a bug for semicolon which makes this not work.

* Added license

* Added note about IDE0055

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
* AVRO-3424: Added support to parse string into Schema.Type (#1571)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3424 Created extension method for converting string into a Schema.Type enumeration

* Updated functionality

* Removed breaking code

* Updated remove quotes

* Removed if from tests

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
* AVRO-3003: Fully qualify enum default value in C# code gen (#1596)

* AVRO-3458: Added tests for GenericRecord (#1606)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3458 Added tests for GenericRecord

* Moved Schema to const

* using discard

* Empty

* Add license

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
* AVRO-2883: Fix namespace mapping (#1610)

* Remove unused package references

* Replace namespace in text schema

* Remove namespace mapping

* Add unit tests

* Match namespace mapping used in ticket

* Make ReplaceMappedNamespacesInSchema private

* Mark NamespaceMapping obsolete

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
* AVRO-2211: SchemaBuilder equivalent or other means of schema creation (#1597)

* AVRO-2211: Support schema creation

* Add license info to new files

* Fix documentation for FixedSchema ctor

* Remove and sort using

* Add missing brackets and replace var with explicit type

* Fix exception type in case of parsing

* Rename field to follow conventions

* AVRO 2211: Inlining temporary variable in linq

* AVRO-2211: Change exception type and add missing documentations

* AVRO-2211: Fix RecordSchema to set the positions of it's fields, instead of verifying it

* AVRO-2211: Fix RecordSchema fields assignment when creation new RecordSchema

* AVRO-2211: Change constructors of schema classes to factory method

* AVRO-2211: Add unit tests for RecordSchema and EnumSchema

* :AVRO-2211: Remove whitespace

* :AVRO-2211: Add symbol names verification for EnumSchema

* AVRO-2211: Fix enum name validation

* AVRO-2211: Throw AvroException consistently

* AVRO-2211: Throw AvroException in RecrodSchema consistently

* AVRO-2211: Remove duplicate factory methods on MapSchema

* AVRO-2211: Remove redundant parameter doc

* AVRO-2211: Add Schema creation tests

* AVRO-2211: Change ValidateSymbol to throw exception

* AVRO-2211: Fix typo

* AVRO-2211: Fix code QL issues

* AVRO-2211: Fix typo

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
* AVRO-3841: Try exact schema match first in union type (#1635)

* Try exact schema match

* Fix formatting

* Add tests for exception

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
* AVRO-3495: Rust: Fields order should not matter (#1650)

* AVRO-3495: The order of the struct's fields and schema's fields should not matter

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3495: Use the lookup table when comparing values against fields by name

Until now it was expected that both the schema fields and the input
values are sorted the same way.

Use BTreeMap instead of HashMap for the lookup table because otherwise
the assertion on the validation error messages is impossible due to
random printing of the map's entries

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3495: Update the test case

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Bump slf4j.version from 1.7.33 to 1.7.36 in /lang/java (#1646)

Bumps `slf4j.version` from 1.7.33 to 1.7.36.

Updates `slf4j-api` from 1.7.33 to 1.7.36
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.33...v_1.7.36)

Updates `slf4j-simple` from 1.7.33 to 1.7.36
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.33...v_1.7.36)

Updates `slf4j-log4j12` from 1.7.33 to 1.7.36
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.33...v_1.7.36)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-log4j12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* AVRO-3491 Avoid a cast after is check (#1645)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3491 Avoid a cast after is check

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
* AVRO-3496: Rust: Use visitor.visit_borrowed_str() when possible (#1652)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3477: Add unit tests for logical types with fixed base type (#1629)

* Support fixed base type for logical types

* Tweak

* Revert

* Fix fixed type definition

* Add AvroGen tests

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
* AVRO-3465: Add avrogen protocol tests (#1616)

* Add avrogen protocol tests

* Add protocol test case

* Fix merge conflicts

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
* AVRO-3484: Add support for deriving a default value for a record field (#1651)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3497 Simplify conditional expression (#1658)

* AVRO-3497 Simplify conditional expression

* Added null check back

* Updated tests

* AVRO-3500: Use property-based testing for the IT tests in avro_derive module (#1659)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Configure Dependabot to check for Rust updates daily

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3501: Rust: Cache ~/.cargo and target folder for faster builds (#1661)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Avro 3502 logical type wrong order (#1664)

* AVRO-3501: Rust: Cache ~/.cargo and target folder for faster builds

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3502: Rust: Wrong [ORDER] for Parsing Canonical Form

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Update uuid requirement from 0.8.2 to 1.0.0 in /lang/rust (#1660)

* Update uuid requirement from 0.8.2 to 1.0.0 in /lang/rust

Updates the requirements on [uuid](https://github.com/uuid-rs/uuid) to permit the latest version.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/0.8.2...1.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
* Issue #1660 - Fix compilation errors after updating uuid crate from 0.8 to 1.0

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Bump jmh.version from 1.34 to 1.35 in /lang/java (#1662)

Bumps `jmh.version` from 1.34 to 1.35.

Updates `jmh-core` from 1.34 to 1.35

Updates `jmh-generator-annprocess` from 1.34 to 1.35

---
updated-dependencies:
- dependency-name: org.openjdk.jmh:jmh-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump zstd-jni from 1.5.1-1 to 1.5.2-2 in /lang/java (#1663)

Bumps [zstd-jni](https://github.com/luben/zstd-jni) from 1.5.1-1 to 1.5.2-2.
- [Release notes](https://github.com/luben/zstd-jni/releases)
- [Commits](https://github.com/luben/zstd-jni/compare/v1.5.1-1...v1.5.2-2)

---
updated-dependencies:
- dependency-name: com.github.luben:zstd-jni
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump libthrift from 0.15.0 to 0.16.0 in /lang/java (#1665)

Bumps [libthrift](https://github.com/apache/thrift) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/apache/thrift/releases)
- [Changelog](https://github.com/apache/thrift/blob/master/CHANGES.md)
- [Commits](https://github.com/apache/thrift/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: org.apache.thrift:libthrift
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* AVRO-3498 Deprecate NameCtorKey (#1657)

* AVRO-3490 Updated to use throw expressions (#1644)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3490 Updated to use throw expressions

* Additional expressions

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
* Bump grpc.version from 1.45.0 to 1.45.1 in /lang/java (#1671)

Bumps `grpc.version` from 1.45.0 to 1.45.1.

Updates `grpc-core` from 1.45.0 to 1.45.1
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.0...v1.45.1)

Updates `grpc-stub` from 1.45.0 to 1.45.1
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.0...v1.45.1)

Updates `grpc-netty` from 1.45.0 to 1.45.1
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.0...v1.45.1)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.grpc:grpc-stub
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.grpc:grpc-netty
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump underscore from 1.13.2 to 1.13.3 in /lang/js (#1669)

Bumps [underscore](https://github.com/jashkenas/underscore) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.13.2...1.13.3)

---
updated-dependencies:
- dependency-name: underscore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* AVRO-3484: Followup Check default json parsing at compile time for derive macro  (#1668)

* check json parsing at compile time

* fmt

* AVRO-3427: skip creation of namespace directories for csharp schema (#1578)

* Add new argument parameter --skip-directories. It will skip creation of directories for namespace. Just generate classes in output directory

* Add missing doc param description

* Fix Unit tests after merge with master

* Fix Unit tests after merge with master

* C# Add unit tests for --skip-directories option

Co-authored-by: Pawel Kordowski <pawel.kordowski@stepstone.com>
* AVRO-3482: Reuse MAGIC in DataFileReader (#1639)

DataFileReader reads magic information twice. seek(0) is invoked
twice due to this. In cloud object stores, seeking back to 0 will
cause it to fall back to "random IO policy". Example of this is
S3A connector for s3. This causes suboptimal reads in object stores.
Refactoring in the patch addresses this case by reusing MAGIC.

* AVRO-2870: Avoid throwing from destructor in DataFileWriterBase (#921)

Co-authored-by: Thiruvalluvan M G <thiru@apache.org>
* Updated the checksum for PHP composer download (#1677)

* Remove trailing ^M to make Git happy

Related to: https://github.com/apache/avro/commit/72e1135f7c1171b7f028f7f4f5fa0a652eb4edc2

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* Encoer v1 with interop data

* unit tested

* fmt

* AVRO-3506: Cleanup and minor improvements

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3506: Cleanup

Give a better name to TestGenerateInteropSingleObjectEncoding
Remove useless lifetime in schema.rs
Remove .json files for the single object encoded test file

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3506: Add licence header to TestGenerateInteropSingleObjectEncoding

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3506: Fix spotless issues in the new Java test classes

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3506: Fix the path to the schema file

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3506: Fix the id to match the expected value

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3506: Fix spotless again

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
Co-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Co-authored-by: Kyle Schoonover <kyle@minmaxcorp.com>
Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
Co-authored-by: Jose Massada <jose.massada@gmail.com>
Co-authored-by: Zoltan Csizmadia <zcsizmadia@gmail.com>
Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
Co-authored-by: yanivru <yaniv.ru@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: kordos <pkordowsk@gmail.com>
Co-authored-by: Pawel Kordowski <pawel.kordowski@stepstone.com>
Co-authored-by: rbalamohan <rbalamohan@apache.org>
Co-authored-by: Andrew Onyshchuk <andryk.rv@gmail.com>
Co-authored-by: Thiruvalluvan M G <thiru@apache.org>
(cherry picked from commit 7ba9447adc1d55a990125e4203c539611d093d50)

2 months agoAVRO-3078: Add local-timestamp-millis and local-timestamp-micros logical types to...
Zoltan Csizmadia [Tue, 3 May 2022 21:21:39 +0000 (16:21 -0500)] 
AVRO-3078: Add local-timestamp-millis and local-timestamp-micros logical types to C# (#1628)

* Add local-timestamp-millis and micros

* Add more UTC based local-timestamp tests

* Fix whitespace

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
(cherry picked from commit c2bd724f8af1f67ef540f6b8f80fab88663a92bf)

2 months agoAVRO-3475: Enforce time-millis and time-micros specification (#1626)
Zoltan Csizmadia [Tue, 3 May 2022 21:19:08 +0000 (16:19 -0500)] 
AVRO-3475: Enforce  time-millis and time-micros specification (#1626)

* Enforce  time-millis and time-micros specification

* Remove unused var

* Use TimeSpan formatting in exception message

* Use TimeSpan formatting in exception message

* Move TicksPerMicrosecond to LogicalUnixEpochType

* Remove debug line

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
(cherry picked from commit 193d528d391a27079ae5ea4b0a01f4819405f6ff)

2 months agoAVRO-3499 Remove unnecessary suppressions (#1656)
Kyle Schoonover [Tue, 3 May 2022 18:54:08 +0000 (11:54 -0700)] 
AVRO-3499 Remove unnecessary suppressions (#1656)

(cherry picked from commit 923ea8e6042db6eddbd727ee303adc54ae58f4b9)

2 months agoBump javacc from 7.0.10 to 7.0.11 in /lang/java (#1676)
dependabot[bot] [Tue, 3 May 2022 18:53:12 +0000 (21:53 +0300)] 
Bump javacc from 7.0.10 to 7.0.11 in /lang/java (#1676)

Bumps [javacc](https://github.com/javacc/javacc) from 7.0.10 to 7.0.11.
- [Release notes](https://github.com/javacc/javacc/releases)
- [Changelog](https://github.com/javacc/javacc/blob/master/docs/release-notes.md)
- [Commits](https://github.com/javacc/javacc/compare/javacc-7.0.10...javacc-7.0.11)

---
updated-dependencies:
- dependency-name: net.java.dev.javacc:javacc
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit fda48f29bdebbe9b7e0af9ee8397c8729f74b569)

2 months agoBump protobuf-java from 3.19.4 to 3.20.1 in /lang/java (#1675)
dependabot[bot] [Tue, 3 May 2022 18:52:22 +0000 (21:52 +0300)] 
Bump protobuf-java from 3.19.4 to 3.20.1 in /lang/java (#1675)

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.19.4 to 3.20.1.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/main/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.19.4...v3.20.1)

---
updated-dependencies:
- dependency-name: com.google.protobuf:protobuf-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 284280984e8f6a446825d30ec8c8768a644500e3)

2 months agoBump mocha from 9.2.2 to 10.0.0 in /lang/js (#1674)
dependabot[bot] [Tue, 3 May 2022 18:46:20 +0000 (21:46 +0300)] 
Bump mocha from 9.2.2 to 10.0.0 in /lang/js (#1674)

Bumps [mocha](https://github.com/mochajs/mocha) from 9.2.2 to 10.0.0.
- [Release notes](https://github.com/mochajs/mocha/releases)
- [Changelog](https://github.com/mochajs/mocha/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mochajs/mocha/compare/v9.2.2...v10.0.0)

---
updated-dependencies:
- dependency-name: mocha
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit ac71ffe2812751b8a7e64660139a79c068b7af3c)

2 months agoRemove trailing ^M to make Git happy
Martin Tzvetanov Grigorov [Tue, 3 May 2022 09:21:49 +0000 (12:21 +0300)] 
Remove trailing ^M to make Git happy

Related to: https://github.com/apache/avro/commit/72e1135f7c1171b7f028f7f4f5fa0a652eb4edc2

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
2 months agoFixed PHP composer checksum
Thiruvalluvan M G [Mon, 2 May 2022 03:23:53 +0000 (20:23 -0700)] 
Fixed PHP composer checksum

2 months agoAVRO-3482: Reuse MAGIC in DataFileReader (#1639)
rbalamohan [Wed, 27 Apr 2022 14:32:19 +0000 (20:02 +0530)] 
AVRO-3482: Reuse MAGIC in DataFileReader (#1639)

DataFileReader reads magic information twice. seek(0) is invoked
twice due to this. In cloud object stores, seeking back to 0 will
cause it to fall back to "random IO policy". Example of this is
S3A connector for s3. This causes suboptimal reads in object stores.
Refactoring in the patch addresses this case by reusing MAGIC.

2 months agoAVRO-3427: skip creation of namespace directories for csharp schema (#1578)
kordos [Mon, 25 Apr 2022 18:36:51 +0000 (20:36 +0200)] 
AVRO-3427: skip creation of namespace directories for csharp schema (#1578)

* Add new argument parameter --skip-directories. It will skip creation of directories for namespace. Just generate classes in output directory

* Add missing doc param description

* Fix Unit tests after merge with master

* Fix Unit tests after merge with master

* C# Add unit tests for --skip-directories option

Co-authored-by: Pawel Kordowski <pawel.kordowski@stepstone.com>
(cherry picked from commit 5b055ac43085b11e467acd66c8630f424b1af50e)

2 months agoAVRO-3484: Followup Check default json parsing at compile time for derive macro ...
Jack Klamer [Mon, 25 Apr 2022 18:05:37 +0000 (13:05 -0500)] 
AVRO-3484: Followup Check default json parsing at compile time for derive macro  (#1668)

* check json parsing at compile time

* fmt

(cherry picked from commit 1343c80eba2f6685266d3cae67ca6281c5f7f4cf)

2 months agoBump underscore from 1.13.2 to 1.13.3 in /lang/js (#1669)
dependabot[bot] [Mon, 25 Apr 2022 18:00:48 +0000 (21:00 +0300)] 
Bump underscore from 1.13.2 to 1.13.3 in /lang/js (#1669)

Bumps [underscore](https://github.com/jashkenas/underscore) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/jashkenas/underscore/releases)
- [Commits](https://github.com/jashkenas/underscore/compare/1.13.2...1.13.3)

---
updated-dependencies:
- dependency-name: underscore
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit e921542dca3ab6ca8a4f513eec3976f54d8d2379)

2 months agoBump grpc.version from 1.45.0 to 1.45.1 in /lang/java (#1671)
dependabot[bot] [Mon, 25 Apr 2022 17:59:59 +0000 (20:59 +0300)] 
Bump grpc.version from 1.45.0 to 1.45.1 in /lang/java (#1671)

Bumps `grpc.version` from 1.45.0 to 1.45.1.

Updates `grpc-core` from 1.45.0 to 1.45.1
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.0...v1.45.1)

Updates `grpc-stub` from 1.45.0 to 1.45.1
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.0...v1.45.1)

Updates `grpc-netty` from 1.45.0 to 1.45.1
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.45.0...v1.45.1)

---
updated-dependencies:
- dependency-name: io.grpc:grpc-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.grpc:grpc-stub
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.grpc:grpc-netty
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 64c8da735db1a6e2f8492de820e80f3174be3cb1)

2 months agoAVRO-3490 Updated to use throw expressions (#1644)
Kyle Schoonover [Thu, 21 Apr 2022 18:19:00 +0000 (11:19 -0700)] 
AVRO-3490 Updated to use throw expressions (#1644)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3490 Updated to use throw expressions

* Additional expressions

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
(cherry picked from commit cf373f2926e3e8e87b6aefe731d991611e65c95c)

2 months agoAVRO-3498 Deprecate NameCtorKey (#1657)
Kyle Schoonover [Thu, 21 Apr 2022 18:17:27 +0000 (11:17 -0700)] 
AVRO-3498 Deprecate NameCtorKey (#1657)

(cherry picked from commit c0463d0c376b260b4095106935855c938e80105b)

2 months agoBump libthrift from 0.15.0 to 0.16.0 in /lang/java (#1665)
dependabot[bot] [Thu, 21 Apr 2022 18:15:51 +0000 (21:15 +0300)] 
Bump libthrift from 0.15.0 to 0.16.0 in /lang/java (#1665)

Bumps [libthrift](https://github.com/apache/thrift) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/apache/thrift/releases)
- [Changelog](https://github.com/apache/thrift/blob/master/CHANGES.md)
- [Commits](https://github.com/apache/thrift/compare/v0.15.0...v0.16.0)

---
updated-dependencies:
- dependency-name: org.apache.thrift:libthrift
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 104308d6bc6302b0d462ffc68105ec3c5dea14ad)

2 months agoBump zstd-jni from 1.5.1-1 to 1.5.2-2 in /lang/java (#1663)
dependabot[bot] [Thu, 21 Apr 2022 18:15:22 +0000 (21:15 +0300)] 
Bump zstd-jni from 1.5.1-1 to 1.5.2-2 in /lang/java (#1663)

Bumps [zstd-jni](https://github.com/luben/zstd-jni) from 1.5.1-1 to 1.5.2-2.
- [Release notes](https://github.com/luben/zstd-jni/releases)
- [Commits](https://github.com/luben/zstd-jni/compare/v1.5.1-1...v1.5.2-2)

---
updated-dependencies:
- dependency-name: com.github.luben:zstd-jni
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 8cc6650d6d52d8192b0da80cb4b1f71e33dff822)

2 months agoBump jmh.version from 1.34 to 1.35 in /lang/java (#1662)
dependabot[bot] [Thu, 21 Apr 2022 18:14:51 +0000 (21:14 +0300)] 
Bump jmh.version from 1.34 to 1.35 in /lang/java (#1662)

Bumps `jmh.version` from 1.34 to 1.35.

Updates `jmh-core` from 1.34 to 1.35

Updates `jmh-generator-annprocess` from 1.34 to 1.35

---
updated-dependencies:
- dependency-name: org.openjdk.jmh:jmh-core
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: org.openjdk.jmh:jmh-generator-annprocess
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit 91baad9c4a336bd149fd00e3d98fc774e88d5f0d)

2 months agoUpdate uuid requirement from 0.8.2 to 1.0.0 in /lang/rust (#1660)
dependabot[bot] [Thu, 21 Apr 2022 18:13:27 +0000 (21:13 +0300)] 
Update uuid requirement from 0.8.2 to 1.0.0 in /lang/rust (#1660)

* Update uuid requirement from 0.8.2 to 1.0.0 in /lang/rust

Updates the requirements on [uuid](https://github.com/uuid-rs/uuid) to permit the latest version.
- [Release notes](https://github.com/uuid-rs/uuid/releases)
- [Commits](https://github.com/uuid-rs/uuid/compare/0.8.2...1.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
* Issue #1660 - Fix compilation errors after updating uuid crate from 0.8 to 1.0

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit d16410a651c7cf6dd7b991d6bf91709fe016f937)

2 months agoAvro 3502 logical type wrong order (#1664)
Martin Grigorov [Thu, 21 Apr 2022 18:12:17 +0000 (21:12 +0300)] 
Avro 3502 logical type wrong order (#1664)

* AVRO-3501: Rust: Cache ~/.cargo and target folder for faster builds

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3502: Rust: Wrong [ORDER] for Parsing Canonical Form

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 9d025ca5fe413a50fb8ec039a0e614d836bb2a37)

2 months agoAVRO-3501: Rust: Cache ~/.cargo and target folder for faster builds (#1661)
Martin Grigorov [Thu, 21 Apr 2022 13:10:14 +0000 (16:10 +0300)] 
AVRO-3501: Rust: Cache ~/.cargo and target folder for faster builds (#1661)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 5cab566ce2685ec4ad933a2cdd9793d26e538e8d)

2 months agoAVRO-3500: Use property-based testing for the IT tests in avro_derive module (#1659)
Martin Grigorov [Wed, 20 Apr 2022 19:58:41 +0000 (22:58 +0300)] 
AVRO-3500: Use property-based testing for the IT tests in avro_derive module (#1659)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 95b61b1983d8c3bccea000362dcfec64a42d76f6)

2 months agoAVRO-3497 Simplify conditional expression (#1658)
Kyle Schoonover [Wed, 20 Apr 2022 19:57:04 +0000 (12:57 -0700)] 
AVRO-3497 Simplify conditional expression (#1658)

* AVRO-3497 Simplify conditional expression

* Added null check back

* Updated tests

(cherry picked from commit 9d87a206b52de7dc9402be711a51b72cb3c11160)

2 months agoAVRO-3484: Add support for deriving a default value for a record field (#1651)
Martin Grigorov [Wed, 20 Apr 2022 18:07:35 +0000 (21:07 +0300)] 
AVRO-3484: Add support for deriving a default value for a record field (#1651)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit ca71f9996f78517bbff24b4c8a03f1cf0505e605)

2 months agoAVRO-3465: Add avrogen protocol tests (#1616)
Zoltan Csizmadia [Wed, 20 Apr 2022 07:46:50 +0000 (02:46 -0500)] 
AVRO-3465: Add avrogen protocol tests (#1616)

* Add avrogen protocol tests

* Add protocol test case

* Fix merge conflicts

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
(cherry picked from commit f1f304644d3cd1ca8fa33d1fedb4aacc3aff47de)

2 months agoAVRO-3477: Add unit tests for logical types with fixed base type (#1629)
Zoltan Csizmadia [Tue, 19 Apr 2022 20:32:18 +0000 (15:32 -0500)] 
AVRO-3477: Add unit tests for logical types with fixed base type (#1629)

* Support fixed base type for logical types

* Tweak

* Revert

* Fix fixed type definition

* Add AvroGen tests

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
(cherry picked from commit ab31be4a0fdadb0d48dd149a8ce43fe1583afb95)

2 months agoAVRO-3496: Rust: Use visitor.visit_borrowed_str() when possible (#1652)
Martin Grigorov [Tue, 19 Apr 2022 19:20:05 +0000 (22:20 +0300)] 
AVRO-3496: Rust: Use visitor.visit_borrowed_str() when possible (#1652)

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 82b606e4289e0a3efa88d65a59e7ae3731fd4f44)

2 months agoAVRO-3491 Avoid a cast after is check (#1645)
Kyle Schoonover [Tue, 19 Apr 2022 18:40:48 +0000 (11:40 -0700)] 
AVRO-3491 Avoid a cast after is check (#1645)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3491 Avoid a cast after is check

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
(cherry picked from commit 361dd8b6ffdcba93c34a1801445c15fa02447442)

2 months agoBump slf4j.version from 1.7.33 to 1.7.36 in /lang/java (#1646)
dependabot[bot] [Tue, 19 Apr 2022 18:39:00 +0000 (21:39 +0300)] 
Bump slf4j.version from 1.7.33 to 1.7.36 in /lang/java (#1646)

Bumps `slf4j.version` from 1.7.33 to 1.7.36.

Updates `slf4j-api` from 1.7.33 to 1.7.36
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.33...v_1.7.36)

Updates `slf4j-simple` from 1.7.33 to 1.7.36
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.33...v_1.7.36)

Updates `slf4j-log4j12` from 1.7.33 to 1.7.36
- [Release notes](https://github.com/qos-ch/slf4j/releases)
- [Commits](https://github.com/qos-ch/slf4j/compare/v_1.7.33...v_1.7.36)

---
updated-dependencies:
- dependency-name: org.slf4j:slf4j-api
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-simple
  dependency-type: direct:development
  update-type: version-update:semver-patch
- dependency-name: org.slf4j:slf4j-log4j12
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit a3ee2f193c199e4ff3832bdb34477e33aebd14b0)

2 months agoAVRO-3495: Rust: Fields order should not matter (#1650)
Martin Grigorov [Tue, 19 Apr 2022 18:37:45 +0000 (21:37 +0300)] 
AVRO-3495: Rust: Fields order should not matter (#1650)

* AVRO-3495: The order of the struct's fields and schema's fields should not matter

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3495: Use the lookup table when comparing values against fields by name

Until now it was expected that both the schema fields and the input
values are sorted the same way.

Use BTreeMap instead of HashMap for the lookup table because otherwise
the assertion on the validation error messages is impossible due to
random printing of the map's entries

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
* AVRO-3495: Update the test case

Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
(cherry picked from commit 3312b986e43252963d567e3b1137b8de33220696)

2 months agoAVRO-3841: Try exact schema match first in union type (#1635)
Zoltan Csizmadia [Tue, 19 Apr 2022 18:28:33 +0000 (13:28 -0500)] 
AVRO-3841: Try exact schema match first in union type (#1635)

* Try exact schema match

* Fix formatting

* Add tests for exception

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
(cherry picked from commit a852aa433111499f0479a8efd8149e7dcfb1b77a)

2 months agoAVRO-2211: SchemaBuilder equivalent or other means of schema creation (#1597)
yanivru [Tue, 19 Apr 2022 18:27:30 +0000 (21:27 +0300)] 
AVRO-2211: SchemaBuilder equivalent or other means of schema creation (#1597)

* AVRO-2211: Support schema creation

* Add license info to new files

* Fix documentation for FixedSchema ctor

* Remove and sort using

* Add missing brackets and replace var with explicit type

* Fix exception type in case of parsing

* Rename field to follow conventions

* AVRO 2211: Inlining temporary variable in linq

* AVRO-2211: Change exception type and add missing documentations

* AVRO-2211: Fix RecordSchema to set the positions of it's fields, instead of verifying it

* AVRO-2211: Fix RecordSchema fields assignment when creation new RecordSchema

* AVRO-2211: Change constructors of schema classes to factory method

* AVRO-2211: Add unit tests for RecordSchema and EnumSchema

* :AVRO-2211: Remove whitespace

* :AVRO-2211: Add symbol names verification for EnumSchema

* AVRO-2211: Fix enum name validation

* AVRO-2211: Throw AvroException consistently

* AVRO-2211: Throw AvroException in RecrodSchema consistently

* AVRO-2211: Remove duplicate factory methods on MapSchema

* AVRO-2211: Remove redundant parameter doc

* AVRO-2211: Add Schema creation tests

* AVRO-2211: Change ValidateSymbol to throw exception

* AVRO-2211: Fix typo

* AVRO-2211: Fix code QL issues

* AVRO-2211: Fix typo

Co-authored-by: Martin Grigorov <martin-g@users.noreply.github.com>
(cherry picked from commit 1c84472681c888a77fa7295b43d84e06a4294641)

2 months agoAVRO-2883: Fix namespace mapping (#1610)
Zoltan Csizmadia [Tue, 19 Apr 2022 18:24:05 +0000 (13:24 -0500)] 
AVRO-2883: Fix namespace mapping (#1610)

* Remove unused package references

* Replace namespace in text schema

* Remove namespace mapping

* Add unit tests

* Match namespace mapping used in ticket

* Make ReplaceMappedNamespacesInSchema private

* Mark NamespaceMapping obsolete

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
(cherry picked from commit cf0cb14de5498cf420265217e8f4d3a84dd2f4a4)

2 months agoAVRO-3458: Added tests for GenericRecord (#1606)
Kyle Schoonover [Tue, 19 Apr 2022 18:23:05 +0000 (11:23 -0700)] 
AVRO-3458: Added tests for GenericRecord (#1606)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3458 Added tests for GenericRecord

* Moved Schema to const

* using discard

* Empty

* Add license

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
(cherry picked from commit 7c6fd1aad053b2cd33d79b6a383749e9ac50d7c6)

2 months agoAVRO-3003: Fully qualify enum default value in C# code gen (#1596)
Jose Massada [Tue, 19 Apr 2022 18:20:03 +0000 (19:20 +0100)] 
AVRO-3003: Fully qualify enum default value in C# code gen (#1596)

(cherry picked from commit 3c3c05edf519ce41060c0534f0099c32f5bd8989)

2 months agoAVRO-3424: Added support to parse string into Schema.Type (#1571)
Kyle Schoonover [Tue, 19 Apr 2022 18:19:01 +0000 (11:19 -0700)] 
AVRO-3424: Added support to parse string into Schema.Type (#1571)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3424 Created extension method for converting string into a Schema.Type enumeration

* Updated functionality

* Removed breaking code

* Updated remove quotes

* Removed if from tests

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
(cherry picked from commit 3079cb8e88d185a3d3713163bed59d6b1c56ba5d)

2 months agoAVRO-3384: Define C# Coding Style Guidelines (#1534)
Kyle Schoonover [Tue, 19 Apr 2022 18:17:46 +0000 (11:17 -0700)] 
AVRO-3384: Define C# Coding Style Guidelines (#1534)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3384 Initial check in

* Formatting fix

* Additional formatting

* More formatting

* Added additional rule

* Completed new line rules

* Indentation preferences complete

* Updated header

* Additional formatting

* More formatting changes

* Added spacing options

* Updated wrap options

* Additional documentation for styling

* Updated notes

* Updated more

* Added var preferences and Expression-bodied member preferences

* Initial styling rules documented

* Updated naming rules to reflect Roslyn naming rules

* Added other styling rule callouts.

* Updated Readme

* Updated rule

* Add header template

* Microsoft has a bug for semicolon which makes this not work.

* Added license

* Added note about IDE0055

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
(cherry picked from commit c908995f5b8ff2c37b4180a5f2d50c671b426d0b)

2 months agoAVRO-3415: Add code coverage report support for csharp (#1565)
Kyle Schoonover [Tue, 19 Apr 2022 07:30:09 +0000 (00:30 -0700)] 
AVRO-3415: Add code coverage report support for csharp (#1565)

* AVRO-3360 Updated XML documentation

* Revert "AVRO-3360 Updated XML documentation"

This reverts commit b8601c072a5083380d30b580804dd0908b8cf4cc.

* AVRO-3415 Add code coverage report support for csharp

* Ignore Updates and package references

* Updated names

* Sorted packages alphabetically

* Mode ReportGenerator instructions for global.

* Update versions.props

* Remove path

* Updated tabbing

* Cleanup version.props

* Add missing settings from version.props

* Updated from tabs to 2 space indents

* Added command in code block

* Fix carriage return

* force carriage return

* Another carriage return

* Added longer path to report

Co-authored-by: Kyle T. Schoonover <Kyle.T.Schoonover@nordstrom.com>
(cherry picked from commit c5d7cff2643792ab4b8da3cba78df5fe7778c91f)