avro.git
8 months agoAVRO-2903: Ruby: accept BigDecimal datum for float and double (#1364) branch-1.10
Tim Perkins [Tue, 12 Oct 2021 12:29:07 +0000 (08:29 -0400)] 
AVRO-2903: Ruby: accept BigDecimal datum for float and double (#1364)

Co-authored-by: jjlee <jj76.lee@navercorp.com>
15 months agoPreparing for release 1.10.3
Ryan Skraba [Wed, 17 Mar 2021 14:18:20 +0000 (15:18 +0100)] 
Preparing for release 1.10.3

15 months agoAVRO-3073: Bump velocity-engine-core from 2.2 to 2.3 in /lang/java release-1.10.2 release-1.10.2-rc2
Ryan Skraba [Tue, 9 Mar 2021 16:34:48 +0000 (17:34 +0100)] 
AVRO-3073: Bump velocity-engine-core from 2.2 to 2.3 in /lang/java

15 months agoAVRO-3072: Use ZSTD NoFinalizer classes and bump to 1.4.9-1 (#1129)
Dongjoon Hyun [Tue, 9 Mar 2021 15:52:33 +0000 (07:52 -0800)] 
AVRO-3072: Use ZSTD NoFinalizer classes and bump to 1.4.9-1 (#1129)

15 months agoAVRO-3069: Ignore modified files after build release-1.10.2-rc1
Ryan Skraba [Fri, 5 Mar 2021 14:26:33 +0000 (15:26 +0100)] 
AVRO-3069: Ignore modified files after build

15 months agoAVRO-3068: Get archived version of Yetus 1.10
Ryan Skraba [Fri, 5 Mar 2021 12:58:22 +0000 (13:58 +0100)] 
AVRO-3068: Get archived version of Yetus 1.10

15 months agoPreparing for 1.10.2
Ryan Skraba [Fri, 5 Mar 2021 12:52:39 +0000 (13:52 +0100)] 
Preparing for 1.10.2

15 months agoAVRO-3023: Test against Ruby 3.0 (#1048) 1117/head
Tim Perkins [Sun, 31 Jan 2021 21:11:52 +0000 (16:11 -0500)] 
AVRO-3023: Test against Ruby 3.0 (#1048)

15 months agoAVRO-3044: Use @AvroGenerated for Callback interface (#1092)
Anatoly Kupriyanov [Thu, 4 Mar 2021 18:02:23 +0000 (18:02 +0000)] 
AVRO-3044: Use @AvroGenerated for Callback interface (#1092)

15 months agoAVRO-2471: Clean some dead code.
Ryan Skraba [Wed, 5 Aug 2020 14:33:49 +0000 (16:33 +0200)] 
AVRO-2471: Clean some dead code.

15 months agoAVRO-2471: Generate specific conversions from LogicalType
Ryan Skraba [Fri, 31 Jul 2020 15:46:07 +0000 (17:46 +0200)] 
AVRO-2471: Generate specific conversions from LogicalType

15 months agoAVRO-3014: Log a warning on ignored logicalType
Ryan Skraba [Wed, 3 Feb 2021 16:44:17 +0000 (17:44 +0100)] 
AVRO-3014: Log a warning on ignored logicalType

15 months agoAVRO-3062: Restore package-lock.json version
Ryan Skraba [Thu, 4 Mar 2021 10:42:41 +0000 (11:42 +0100)] 
AVRO-3062: Restore package-lock.json version

15 months agoAVRO-3062: Upgrade javascript mocha and handlebars transitive dependencies (#1118)
Ismaël Mejía [Thu, 4 Mar 2021 10:29:43 +0000 (11:29 +0100)] 
AVRO-3062: Upgrade javascript mocha and handlebars transitive dependencies (#1118)

* AVRO-3062: Upgrade javascript mocha and handlebars transitive dependencies

* AVRO-3062: npm audit fix with npm 7.x

* AVRO-3062: npm update with npm 7.x

15 months agoAVRO-3057: Bump zstd-jni from 1.4.8-6 to 1.4.8-7 in /lang/java (#1122)
Ismaël Mejía [Thu, 4 Mar 2021 09:35:23 +0000 (10:35 +0100)] 
AVRO-3057: Bump zstd-jni from 1.4.8-6 to 1.4.8-7 in /lang/java (#1122)

15 months agoBump jackson.version from 2.12.1 to 2.12.2 in /lang/java (#1121)
Ismaël Mejía [Thu, 4 Mar 2021 09:35:14 +0000 (10:35 +0100)] 
Bump jackson.version from 2.12.1 to 2.12.2 in /lang/java (#1121)

15 months agoBump commons-lang3 from 3.11 to 3.12.0 in /lang/java (#1120)
Ismaël Mejía [Thu, 4 Mar 2021 09:35:02 +0000 (10:35 +0100)] 
Bump commons-lang3 from 3.11 to 3.12.0 in /lang/java (#1120)

15 months agoBump jmh.version from 1.27 to 1.28 in /lang/java (#1119)
Ismaël Mejía [Thu, 4 Mar 2021 09:34:39 +0000 (10:34 +0100)] 
Bump jmh.version from 1.27 to 1.28 in /lang/java (#1119)

15 months agoBump System.Reflection.Emit.Lightweight in /lang/csharp
dependabot[bot] [Mon, 15 Feb 2021 13:46:36 +0000 (13:46 +0000)] 
Bump System.Reflection.Emit.Lightweight in /lang/csharp

Bumps [System.Reflection.Emit.Lightweight](https://github.com/dotnet/corefx) from 4.3.0 to 4.7.0.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump NUnit.ConsoleRunner from 3.10.0 to 3.12.0 in /lang/csharp
dependabot[bot] [Mon, 15 Feb 2021 13:47:23 +0000 (13:47 +0000)] 
Bump NUnit.ConsoleRunner from 3.10.0 to 3.12.0 in /lang/csharp

Bumps [NUnit.ConsoleRunner](https://github.com/nunit/nunit-console) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/nunit/nunit-console/releases)
- [Changelog](https://github.com/nunit/nunit-console/blob/master/CHANGES.txt)
- [Commits](https://github.com/nunit/nunit-console/compare/v3.10...v3.12)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump Microsoft.NET.Test.Sdk from 16.4.0 to 16.8.3 in /lang/csharp
dependabot[bot] [Thu, 14 Jan 2021 12:09:15 +0000 (12:09 +0000)] 
Bump Microsoft.NET.Test.Sdk from 16.4.0 to 16.8.3 in /lang/csharp

Bumps [Microsoft.NET.Test.Sdk](https://github.com/microsoft/vstest) from 16.4.0 to 16.8.3.
- [Release notes](https://github.com/microsoft/vstest/releases)
- [Commits](https://github.com/microsoft/vstest/compare/v16.4.0...v16.8.3)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump System.Reflection.Emit.ILGeneration in /lang/csharp
dependabot[bot] [Wed, 20 Jan 2021 08:25:18 +0000 (08:25 +0000)] 
Bump System.Reflection.Emit.ILGeneration in /lang/csharp

Bumps [System.Reflection.Emit.ILGeneration](https://github.com/dotnet/corefx) from 4.3.0 to 4.7.0.
- [Release notes](https://github.com/dotnet/corefx/releases)
- [Commits](https://github.com/dotnet/corefx/commits)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump nunit from 3.12.0 to 3.13.1 in /lang/csharp
dependabot[bot] [Sun, 7 Feb 2021 05:14:13 +0000 (05:14 +0000)] 
Bump nunit from 3.12.0 to 3.13.1 in /lang/csharp

Bumps [nunit](https://github.com/nunit/nunit) from 3.12.0 to 3.13.1.
- [Release notes](https://github.com/nunit/nunit/releases)
- [Changelog](https://github.com/nunit/nunit/blob/master/CHANGES.md)
- [Commits](https://github.com/nunit/nunit/compare/v3.12...v3.13.1)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoAVRO-3060: Support ZSTD level and BufferPool options
Dongjoon Hyun [Mon, 1 Mar 2021 01:22:55 +0000 (17:22 -0800)] 
AVRO-3060: Support ZSTD level and BufferPool options

This PR aims to support additional ZSTD options.
- avro.mapred.zstd.level
- avro.mapred.zstd.bufferpool

15 months agoBump jetty.version in /lang/java
dependabot[bot] [Sun, 28 Feb 2021 10:57:51 +0000 (10:57 +0000)] 
Bump jetty.version in /lang/java

Bumps `jetty.version` from 9.4.35.v20201120 to 9.4.38.v20210224.

Updates `jetty-server` from 9.4.35.v20201120 to 9.4.38.v20210224
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.35.v20201120...jetty-9.4.38.v20210224)

Updates `jetty-servlet` from 9.4.35.v20201120 to 9.4.38.v20210224
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.35.v20201120...jetty-9.4.38.v20210224)

Updates `jetty-util` from 9.4.35.v20201120 to 9.4.38.v20210224
- [Release notes](https://github.com/eclipse/jetty.project/releases)
- [Commits](https://github.com/eclipse/jetty.project/compare/jetty-9.4.35.v20201120...jetty-9.4.38.v20210224)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoAVRO-3058: Bump grpc.version from 1.35.0 to 1.36.0 in /lang/java (#1108)
dependabot[bot] [Sun, 28 Feb 2021 08:04:52 +0000 (09:04 +0100)] 
AVRO-3058: Bump grpc.version from 1.35.0 to 1.36.0 in /lang/java (#1108)

Bumps `grpc.version` from 1.35.0 to 1.36.0.

Updates `grpc-core` from 1.35.0 to 1.36.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.35.0...v1.36.0)

Updates `grpc-stub` from 1.35.0 to 1.36.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.35.0...v1.36.0)

Updates `grpc-netty` from 1.35.0 to 1.36.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.35.0...v1.36.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
15 months agoAVRO-3058: Bump protobuf-java from 3.15.1 to 3.15.3 in /lang/java (#1110)
dependabot[bot] [Sun, 28 Feb 2021 08:03:57 +0000 (09:03 +0100)] 
AVRO-3058: Bump protobuf-java from 3.15.1 to 3.15.3 in /lang/java (#1110)

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.15.1 to 3.15.3.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.15.1...v3.15.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
15 months agoAVRO-3005: Test decoding of long strings (#1101)
Lucas Heimberg [Tue, 23 Feb 2021 17:20:57 +0000 (18:20 +0100)] 
AVRO-3005: Test decoding of long strings (#1101)

Adds a unit test to check that decoding of strings of length > 256
works.

Co-authored-by: l.heimberg <l.heimberg@cid.com>
15 months agoIf avrogencpp encounters a schema with reserved words in it, it will happily generate...
Allen Reese [Tue, 23 Feb 2021 11:23:38 +0000 (03:23 -0800)] 
If avrogencpp encounters a schema with reserved words in it, it will happily generate a header with fields that are reserved words. (#1071)

The decorate function in avrogencpp was overloaded a reference to an std::string or const avro::Name& to allow this.
The existing decorate function is only called on types, but it should also be called on names as well, which this patch fixes

For example:

{
  "type" : "record",
  "name" : "Words",
  "namespace" : "org.apache.avro.example",
  "fields" : [ {
    "name" : "alignas",
    "type" : "string"
  }, {
    "name" : "alignof",
    "type" : "string"
  }, {
    "name" : "and",
    "type" : "string"
  }
  ]
}

Will generate the following header file:

struct Words {
    std::string alignas;
    std::string alignof;
    std::string and;
    Words() :
        alignas(std::string()),
        alignof(std::string()),
        and(std::string())
        { }
};

Which cannot be compiled by c++

With this fix, the following will be generated:

struct Words {
    std::string alignas_;
    std::string alignof_;
    std::string and_;
    Words() :
        alignas_(std::string()),
        alignof_(std::string()),
        and_(std::string())
        { }
};

Co-authored-by: Allen Reese <areese999@apple.com>
15 months agoBump nunit3testadapter from 3.16.1 to 3.17.0 in /lang/csharp
dependabot[bot] [Mon, 8 Feb 2021 11:26:56 +0000 (11:26 +0000)] 
Bump nunit3testadapter from 3.16.1 to 3.17.0 in /lang/csharp

Bumps [nunit3testadapter](https://github.com/nunit/nunit3-vs-adapter) from 3.16.1 to 3.17.0.
- [Release notes](https://github.com/nunit/nunit3-vs-adapter/releases)
- [Commits](https://github.com/nunit/nunit3-vs-adapter/compare/V3.16.1...V3.17)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump netty-bom from 4.1.58.Final to 4.1.59.Final in /lang/java
dependabot[bot] [Sun, 14 Feb 2021 09:30:26 +0000 (09:30 +0000)] 
Bump netty-bom from 4.1.58.Final to 4.1.59.Final in /lang/java

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

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump junit from 4.13.1 to 4.13.2 in /lang/java
dependabot[bot] [Sun, 14 Feb 2021 05:15:06 +0000 (05:15 +0000)] 
Bump junit from 4.13.1 to 4.13.2 in /lang/java

Bumps [junit](https://github.com/junit-team/junit4) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/junit-team/junit4/releases)
- [Changelog](https://github.com/junit-team/junit4/blob/main/doc/ReleaseNotes4.13.1.md)
- [Commits](https://github.com/junit-team/junit4/compare/r4.13.1...r4.13.2)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoAVRO-3032: Use best practice for namedtuple
Ryan Skraba [Tue, 2 Feb 2021 12:12:54 +0000 (13:12 +0100)] 
AVRO-3032: Use best practice for namedtuple

15 months agoBump snappy-java from 1.1.8.2 to 1.1.8.4 in /lang/java
dependabot[bot] [Sun, 31 Jan 2021 05:16:23 +0000 (05:16 +0000)] 
Bump snappy-java from 1.1.8.2 to 1.1.8.4 in /lang/java

Bumps [snappy-java](https://github.com/xerial/snappy-java) from 1.1.8.2 to 1.1.8.4.
- [Release notes](https://github.com/xerial/snappy-java/releases)
- [Commits](https://github.com/xerial/snappy-java/compare/1.1.8.2...1.1.8.4)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoAVRO-XXX: Add anchors to the c++ documentation page (#1068)
Allen Reese [Fri, 29 Jan 2021 21:59:05 +0000 (13:59 -0800)] 
AVRO-XXX: Add anchors to the c++ documentation page (#1068)

Co-authored-by: Allen Reese <areese999@apple.com>
15 months agoAVRO-2860: More Closely Adhere to ASF Parent POM (#1072)
Fokko Driesprong [Fri, 29 Jan 2021 21:55:21 +0000 (22:55 +0100)] 
AVRO-2860: More Closely Adhere to ASF Parent POM  (#1072)

* AVRO-2860: More Closely Adhere to ASF Parent POM

* Remove superfluous overrides

* AVRO-2860: Fix the missing property

Co-authored-by: David Mollitor <dmollitor@apache.org>
15 months agoAVRO-3024: Remove references to Jackson databind (#1073)
Fokko Driesprong [Fri, 29 Jan 2021 21:20:45 +0000 (22:20 +0100)] 
AVRO-3024: Remove references to Jackson databind (#1073)

Did a git bisect, and found out that my commit broke master:

```
MacBook-Pro-van-Fokko:avro fokkodriesprong$ git bisect good
5412eca32406e3a5d8579400bc6c3843ff5fb206 is the first bad commit
commit 5412eca32406e3a5d8579400bc6c3843ff5fb206
Author: Fokko Driesprong <fokko@apache.org>
Date:   Wed Jan 13 10:59:05 2021 +0100

    AVRO-3024: Bump Jackson to 2.11.4

    To consolidate the versions

 lang/java/pom.xml | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)
```

Turns out that there are still references to the jackson.databind property

15 months agoBump plexus-utils from 3.0.24 to 3.3.0 in /lang/java
dependabot[bot] [Thu, 21 Jan 2021 09:13:09 +0000 (09:13 +0000)] 
Bump plexus-utils from 3.0.24 to 3.3.0 in /lang/java

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

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump jackson.version from 2.11.4 to 2.12.1 in /lang/java
dependabot[bot] [Thu, 21 Jan 2021 09:01:48 +0000 (09:01 +0000)] 
Bump jackson.version from 2.11.4 to 2.12.1 in /lang/java

Bumps `jackson.version` from 2.11.4 to 2.12.1.

Updates `jackson-core` from 2.11.4 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson-core/releases)
- [Commits](https://github.com/FasterXML/jackson-core/compare/jackson-core-2.11.4...jackson-core-2.12.1)

Updates `jackson-databind` from 2.11.4 to 2.12.1
- [Release notes](https://github.com/FasterXML/jackson/releases)
- [Commits](https://github.com/FasterXML/jackson/commits)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoAVRO-3024: Bump Jackson to 2.11.4
Fokko Driesprong [Wed, 13 Jan 2021 09:59:05 +0000 (10:59 +0100)] 
AVRO-3024: Bump Jackson to 2.11.4

To consolidate the versions

15 months agoBump grpc.version from 1.33.1 to 1.35.0 in /lang/java
dependabot[bot] [Wed, 20 Jan 2021 09:34:40 +0000 (09:34 +0000)] 
Bump grpc.version from 1.33.1 to 1.35.0 in /lang/java

Bumps `grpc.version` from 1.33.1 to 1.35.0.

Updates `grpc-core` from 1.33.1 to 1.35.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.33.1...v1.35.0)

Updates `grpc-stub` from 1.33.1 to 1.35.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.33.1...v1.35.0)

Updates `grpc-netty` from 1.33.1 to 1.35.0
- [Release notes](https://github.com/grpc/grpc-java/releases)
- [Commits](https://github.com/grpc/grpc-java/compare/v1.33.1...v1.35.0)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump netty-bom from 4.1.54.Final to 4.1.58.Final in /lang/java
dependabot[bot] [Wed, 20 Jan 2021 08:25:42 +0000 (08:25 +0000)] 
Bump netty-bom from 4.1.54.Final to 4.1.58.Final in /lang/java

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

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump jmh.version from 1.26 to 1.27 in /lang/java (#1054)
dependabot[bot] [Wed, 20 Jan 2021 09:18:27 +0000 (10:18 +0100)] 
Bump jmh.version from 1.26 to 1.27 in /lang/java (#1054)

Bumps `jmh.version` from 1.26 to 1.27.

Updates `jmh-core` from 1.26 to 1.27

Updates `jmh-generator-annprocess` from 1.26 to 1.27

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
15 months agoFix whitespace in CodeGen::generateEnumTraits to be consistent with the rest of the...
Allen Reese [Wed, 20 Jan 2021 08:42:39 +0000 (00:42 -0800)] 
Fix whitespace in CodeGen::generateEnumTraits to be consistent with the rest of the generated code. (#1034)

avrogencpp has tabs in CodeGen::generateEnumTraits, which is inconsistent with the rest of the generated code. (#1034)

This commit replaces all of the tabs in the CodeGen::generateEnumTraits function with 4 spaces to match the formatting of the rest of the file as well as the rest of the generated code

Co-authored-by: Allen Reese <areese999@apple.com>
15 months agoAVRO-2963: Build documentation update
Ryan Skraba [Mon, 11 Jan 2021 10:31:02 +0000 (11:31 +0100)] 
AVRO-2963: Build documentation update

15 months agoAVRO-2963: Add docker configurability from env
Ryan Skraba [Mon, 30 Nov 2020 09:33:17 +0000 (10:33 +0100)] 
AVRO-2963: Add docker configurability from env

15 months agoFix typos in C++ header files (#1033)
Allen Reese [Fri, 15 Jan 2021 14:17:36 +0000 (06:17 -0800)] 
Fix typos in C++ header files (#1033)

1. minumum -> minimum
2. valididated -> validated

Fix 1 typo in lang/c++/api/GenericDatum.hh:
1. appropraite ->  appropriate

Fix 3 typos in lang/c++/api/Decoder.hh:
1. fiedls -> fields
2. arbitray -> arbitrary
3. funtions -> functions

Fix 3 typos in lang/c++/api/DataFile.hh:
1. opportinity -> opportunity
2. entires -> entries
3. desrialize -> deserialize

Co-authored-by: Allen Reese <areese999@apple.com>
15 months agoAVRO-3000: Avoid unnecessary schema compatibility checks (#1038)
Joel Turkel [Sun, 10 Jan 2021 12:46:06 +0000 (07:46 -0500)] 
AVRO-3000: Avoid unnecessary schema compatibility checks (#1038)

Ruby Avro decoding spends a fair amount of time validating that the
reader and writer schemas are compatible. These checks are
unnecessary for the fairly common case of the reader and writer schemas
being the same Avro::Schema instance.

15 months agoAVRO-2999: Optimize Ruby union encoding (#1037)
Joel Turkel [Sun, 10 Jan 2021 12:45:06 +0000 (07:45 -0500)] 
AVRO-2999: Optimize Ruby union encoding (#1037)

* AVRO-2999: Optimize Ruby union encoding

This optimizes several bottlenecks when encoding unions in the Avro Ruby
library.

Note: Encoding unions is still expensive because the code must
determine which member of the union a datum is targeting. Allowing
clients to explicitly specify this would speed up serialization even
further but that requires a larger API change.

15 months agoAVRO-2998: Schema validation for hashes with symbol keys (#1036)
Joel Turkel [Sun, 10 Jan 2021 12:33:36 +0000 (07:33 -0500)] 
AVRO-2998: Schema validation for hashes with symbol keys (#1036)

AVRO-2749 added support for serializing hashes with symbol keys but they were still considered invalid. This fixes schema validation to also accept hashes with symbol keys.

15 months agoAVRO-3006: Documentation for Pypi Packages (#1041)
Michael A. Smith [Mon, 21 Dec 2020 02:02:00 +0000 (21:02 -0500)] 
AVRO-3006: Documentation for Pypi Packages (#1041)

* AVRO-3006: Update Pypi Docs for py3

* AVRO-3006: Make py3 README a Markdown File

* AVRO-3006: Add README for lang/py

* AVRO-3006: Add Development Status Trove Classifiers

15 months agoAVRO-3008: Threading.is_alive Spelling for Py3.9 (#1042)
Michael A. Smith [Mon, 21 Dec 2020 01:25:28 +0000 (20:25 -0500)] 
AVRO-3008: Threading.is_alive Spelling for Py3.9 (#1042)

* `Threading.isAlive` is a synonym for `Threading.is_alive`, which has been supported since Python 2.7.
* `Threading.isAlive` has been deprecated since 3.1.
* `Threading.isAlive` was removed entirely in Python 3.9.

15 months agoBump snappy-java from 1.1.8.1 to 1.1.8.2 in /lang/java (#1026)
dependabot[bot] [Fri, 4 Dec 2020 15:13:18 +0000 (16:13 +0100)] 
Bump snappy-java from 1.1.8.1 to 1.1.8.2 in /lang/java (#1026)

Bumps [snappy-java](https://github.com/xerial/snappy-java) from 1.1.8.1 to 1.1.8.2.
- [Release notes](https://github.com/xerial/snappy-java/releases)
- [Commits](https://github.com/xerial/snappy-java/compare/1.1.8.1...1.1.8.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
15 months agoBump exec-maven-plugin from 1.6.0 to 3.0.0 in /lang/java
dependabot[bot] [Thu, 19 Nov 2020 07:05:51 +0000 (07:05 +0000)] 
Bump exec-maven-plugin from 1.6.0 to 3.0.0 in /lang/java

Bumps [exec-maven-plugin](https://github.com/mojohaus/exec-maven-plugin) from 1.6.0 to 3.0.0.
- [Release notes](https://github.com/mojohaus/exec-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/exec-maven-plugin/compare/exec-maven-plugin-1.6.0...exec-maven-plugin-3.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump jmh.version from 1.21 to 1.26 in /lang/java
dependabot[bot] [Thu, 19 Nov 2020 07:06:03 +0000 (07:06 +0000)] 
Bump jmh.version from 1.21 to 1.26 in /lang/java

Bumps `jmh.version` from 1.21 to 1.26.

Updates `jmh-core` from 1.21 to 1.26

Updates `jmh-generator-annprocess` from 1.21 to 1.26

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoAVRO-2984: Optimize Ruby DatumWriter memory consumption (#1014)
Joel Turkel [Fri, 20 Nov 2020 19:49:59 +0000 (14:49 -0500)] 
AVRO-2984: Optimize Ruby DatumWriter memory consumption (#1014)

This optimizes Ruby datum writing by avoiding an unnecessary hash
allocation for constant validation options and avoids an unnecessary
array allocation for success datum validation results. These
optimizations are on the hot path for writing messages.

15 months agoBump maven-site-plugin from 3.9.0 to 3.9.1 in /lang/java
dependabot[bot] [Tue, 17 Nov 2020 13:51:45 +0000 (13:51 +0000)] 
Bump maven-site-plugin from 3.9.0 to 3.9.1 in /lang/java

Bumps [maven-site-plugin](https://github.com/apache/maven-site-plugin) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/apache/maven-site-plugin/releases)
- [Commits](https://github.com/apache/maven-site-plugin/compare/maven-site-plugin-3.9.0...maven-site-plugin-3.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump build-helper-maven-plugin from 3.1.0 to 3.2.0 in /lang/java
dependabot[bot] [Tue, 17 Nov 2020 13:51:48 +0000 (13:51 +0000)] 
Bump build-helper-maven-plugin from 3.1.0 to 3.2.0 in /lang/java

Bumps [build-helper-maven-plugin](https://github.com/mojohaus/build-helper-maven-plugin) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/mojohaus/build-helper-maven-plugin/releases)
- [Commits](https://github.com/mojohaus/build-helper-maven-plugin/compare/build-helper-maven-plugin-3.1.0...build-helper-maven-plugin-3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump maven-shade-plugin from 3.2.3 to 3.2.4 in /lang/java
dependabot[bot] [Tue, 17 Nov 2020 13:51:53 +0000 (13:51 +0000)] 
Bump maven-shade-plugin from 3.2.3 to 3.2.4 in /lang/java

Bumps [maven-shade-plugin](https://github.com/apache/maven-shade-plugin) from 3.2.3 to 3.2.4.
- [Release notes](https://github.com/apache/maven-shade-plugin/releases)
- [Commits](https://github.com/apache/maven-shade-plugin/compare/maven-shade-plugin-3.2.3...maven-shade-plugin-3.2.4)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump protobuf-java from 3.12.0 to 3.14.0 in /lang/java
dependabot[bot] [Tue, 17 Nov 2020 13:51:55 +0000 (13:51 +0000)] 
Bump protobuf-java from 3.12.0 to 3.14.0 in /lang/java

Bumps [protobuf-java](https://github.com/protocolbuffers/protobuf) from 3.12.0 to 3.14.0.
- [Release notes](https://github.com/protocolbuffers/protobuf/releases)
- [Changelog](https://github.com/protocolbuffers/protobuf/blob/master/generate_changelog.py)
- [Commits](https://github.com/protocolbuffers/protobuf/compare/v3.12.0...v3.14.0)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoBump archetype-plugin.version from 3.1.2 to 3.2.0 in /lang/java
dependabot[bot] [Tue, 17 Nov 2020 13:52:03 +0000 (13:52 +0000)] 
Bump archetype-plugin.version from 3.1.2 to 3.2.0 in /lang/java

Bumps `archetype-plugin.version` from 3.1.2 to 3.2.0.

Updates `archetype-packaging` from 3.1.2 to 3.2.0
- [Release notes](https://github.com/apache/maven-archetype/releases)
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.1.2...maven-archetype-3.2.0)

Updates `maven-archetype-plugin` from 3.1.2 to 3.2.0
- [Release notes](https://github.com/apache/maven-archetype/releases)
- [Commits](https://github.com/apache/maven-archetype/compare/maven-archetype-3.1.2...maven-archetype-3.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
15 months agoAVRO-3057: Bump zstd-jni from 1.4.8-4 to 1.4.8-6 in /lang/java (#1111)
dependabot[bot] [Sun, 28 Feb 2021 08:03:13 +0000 (09:03 +0100)] 
AVRO-3057: Bump zstd-jni from 1.4.8-4 to 1.4.8-6 in /lang/java (#1111)

Bumps [zstd-jni](https://github.com/luben/zstd-jni) from 1.4.8-4 to 1.4.8-6.
- [Release notes](https://github.com/luben/zstd-jni/releases)
- [Commits](https://github.com/luben/zstd-jni/compare/v1.4.8-4...v1.4.8-6)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
15 months agoAVRO-3049: Add checks to BinaryDecoder for bytes length (#1098)
John Karp [Wed, 24 Feb 2021 15:10:13 +0000 (09:10 -0600)] 
AVRO-3049: Add checks to BinaryDecoder for bytes length (#1098)

* AVRO-3049: Handle negative length for bytes

* AVRO-3049: Don't try to allocate beyond VM limits for bytes

* AVRO-3049: Use clearer unit test names

* AVRO-3049: Use Assert.assertThrows for cleaner UTs

* AVRO-3049: Add org.apache.avro.limits.bytes.maxLength property

* AVRO-3049: mvn spotless:apply

* AVRO-3049: Call super() from BinaryDecoder ctor

* AVRO-3049: Add JavaDoc re BinaryDecoder limits

16 months agoAVRO-2944: Handle unexpected EOF reading magic bytes in DataFileReader (#1080)
Andrew Olson [Wed, 3 Feb 2021 16:43:12 +0000 (10:43 -0600)] 
AVRO-2944: Handle unexpected EOF reading magic bytes in DataFileReader (#1080)

* AVRO-2944: Handle unexpected EOF reading magic bytes in DataFileReader

* AVRO-2944: Fix unit test code formatting

Co-authored-by: Andrew Olson <aolson1@cerner.com>
16 months agoAVRO-3028: Records encode fields that equal the default (#1065)
Juan Cruz Viotti [Wed, 27 Jan 2021 14:26:48 +0000 (10:26 -0400)] 
AVRO-3028: Records encode fields that equal the default (#1065)

I believe that this is an important aspect to clarify as some other
serialization formats omit fields that equal their default for
space-efficiency reasons. I had to run a small experiment as I could not
find this information in the spec.

Signed-off-by: Juan Cruz Viotti <jv@jviotti.com>
17 months agoAVRO-2898: Build failure without a C++ compiler (again) (#1025)
Fabrice Fontaine [Wed, 20 Jan 2021 08:50:34 +0000 (09:50 +0100)] 
AVRO-2898: Build failure without a C++ compiler (again) (#1025)

avro-c fails to build (again) without a C++ compiler because commit
664c2fc7fba19709c1f974055f9cf4c8a799e108 reverted the change made by
commit 414a51fdc1856083bb16851f09a4c61a48796132

Fixes:
 - http://autobuild.buildroot.org/results/cfa91db53cf5502cbb6f902d1e7ad6397c8d70fd

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
17 months agoAVRO-2983: Set Span length of ArrayPool Rent buffer (#1013)
Brian Davidson [Thu, 14 Jan 2021 12:08:15 +0000 (07:08 -0500)] 
AVRO-2983: Set Span length of ArrayPool Rent buffer (#1013)

ArrayPool<T>.Rent(Int32) returns a buffer that is at least
minimumLength in length, but can be more.  The span that is used is
read into until it is empty. When this buffer returned from ArrayPool
is not exactly the same as the requested minimumLength this causes an
Avro.AvroException : End of stream reached

18 months agoPreparing for 1.10.2 development
Ryan Skraba [Thu, 3 Dec 2020 18:06:54 +0000 (19:06 +0100)] 
Preparing for 1.10.2 development

19 months agoPreparing for release 1.10.1 release-1.10.1 release-1.10.1-rc1
Ryan Skraba [Tue, 17 Nov 2020 14:41:45 +0000 (15:41 +0100)] 
Preparing for release 1.10.1

19 months agoExclude PHP test results from RAT.
Ryan Skraba [Tue, 17 Nov 2020 16:49:22 +0000 (17:49 +0100)] 
Exclude PHP test results from RAT.

19 months agoAVRO-2980: Use PackageIcon in C# dist (#1006)
RyanSkraba [Wed, 18 Nov 2020 09:47:59 +0000 (10:47 +0100)] 
AVRO-2980: Use PackageIcon in C# dist (#1006)

* AVRO-2980: Use PackageIcon in C# dist

* Revert "AVRO-2980: Use PackageIcon in C# dist"

This reverts commit 861ec616a018c5b8ce82bc76d9d24b6f990246e0.

* AVRO-2961: Use PackageIcon isntead of PackageIconUrl. PackageIconUrl is deprecated and some package repos do not support it

* AVRO-2961: Use already existing avro-logo.png for package icon

* AVRO-2961: Hide avro-logo.png

Co-authored-by: Zoltan Csizmadia <CsizmadiaZ@valassis.com>
19 months agoAVRO-2702: Add unit test.
Ryan Skraba [Mon, 16 Nov 2020 17:46:18 +0000 (18:46 +0100)] 
AVRO-2702: Add unit test.

19 months agoAVRO-2702: ResolvingGrammarGenerator Union to use reader schema instead of writer...
bellemare [Mon, 9 Nov 2020 20:46:40 +0000 (15:46 -0500)] 
AVRO-2702: ResolvingGrammarGenerator Union to use reader schema instead of writer schema

19 months agoAVRO-2979: Pin PHP dependency tools to specific versions
Ryan Skraba [Tue, 17 Nov 2020 10:17:29 +0000 (11:17 +0100)] 
AVRO-2979: Pin PHP dependency tools to specific versions

19 months agoAVRO-2750: Add support for enum defaults in c#
Matt Kellogg [Tue, 18 Feb 2020 22:03:14 +0000 (15:03 -0700)] 
AVRO-2750: Add support for enum defaults in c#

19 months agoAVRO-2973: Update protobuf to version 3.12.0
Ismaël Mejía [Thu, 12 Nov 2020 16:58:58 +0000 (17:58 +0100)] 
AVRO-2973: Update protobuf to version 3.12.0

19 months agoAVRO-2972: Update netty to version 4.1.54.Final
Ismaël Mejía [Thu, 12 Nov 2020 16:39:18 +0000 (17:39 +0100)] 
AVRO-2972: Update netty to version 4.1.54.Final

19 months agoAVRO-2971: Update jetty to version 9.4.34.v20201102
Ismaël Mejía [Thu, 12 Nov 2020 16:37:09 +0000 (17:37 +0100)] 
AVRO-2971: Update jetty to version 9.4.34.v20201102

19 months agoAVRO-2970: Update ant to version 1.10.9
Ismaël Mejía [Thu, 12 Nov 2020 16:35:53 +0000 (17:35 +0100)] 
AVRO-2970: Update ant to version 1.10.9

19 months agoAVRO-2969: Update grpc to version 1.33.1
Ismaël Mejía [Thu, 12 Nov 2020 16:32:18 +0000 (17:32 +0100)] 
AVRO-2969: Update grpc to version 1.33.1

19 months agoAVRO-2968: Update commons-lang to version 3.11
Ismaël Mejía [Thu, 12 Nov 2020 16:27:15 +0000 (17:27 +0100)] 
AVRO-2968: Update commons-lang to version 3.11

19 months agoAVRO-2967: Update jackson to version 2.11.3
Ismaël Mejía [Thu, 12 Nov 2020 16:26:13 +0000 (17:26 +0100)] 
AVRO-2967: Update jackson to version 2.11.3

19 months agoAVRO-2966: Update junit to version 4.13.1
Ismaël Mejía [Thu, 12 Nov 2020 16:20:41 +0000 (17:20 +0100)] 
AVRO-2966: Update junit to version 4.13.1

19 months agoAVRO-2965 Update zstd to version 1.4.5-12
Ismaël Mejía [Thu, 12 Nov 2020 16:14:26 +0000 (17:14 +0100)] 
AVRO-2965 Update zstd to version 1.4.5-12

19 months agoAVRO-2964: Update snappy-java to version 1.1.8.1
Ismaël Mejía [Thu, 12 Nov 2020 16:12:55 +0000 (17:12 +0100)] 
AVRO-2964: Update snappy-java to version 1.1.8.1

19 months agoUpdate surefire-plugin to version 3.0.0-M5 and enforcer-rules to version 1.3
Ismaël Mejía [Thu, 12 Nov 2020 16:06:19 +0000 (17:06 +0100)] 
Update surefire-plugin to version 3.0.0-M5 and enforcer-rules to version 1.3

19 months agoAVRO-2924: LocalDateTime for logical type local-timestamp-millis (#950)
Vladimir Kralik [Thu, 12 Nov 2020 16:00:13 +0000 (17:00 +0100)] 
AVRO-2924: LocalDateTime for logical type local-timestamp-millis (#950)

19 months agoAVRO-2875: Add logging to avro-tools (#925)
RyanSkraba [Thu, 12 Nov 2020 15:00:39 +0000 (16:00 +0100)] 
AVRO-2875: Add logging to avro-tools (#925)

* AVRO-2875: Add logging to avro-tools

* Use slf4j-log4j12 instead of slf4j-simple

19 months agofix: Add link back to the Avro homepage.
Ryan Skraba [Mon, 9 Nov 2020 09:21:56 +0000 (10:21 +0100)] 
fix: Add link back to the Avro homepage.

19 months agoAVRO-2945: Add CPAN trademark clarification.
Ryan Skraba [Fri, 6 Nov 2020 07:41:31 +0000 (08:41 +0100)] 
AVRO-2945: Add CPAN trademark clarification.

19 months agoAVRO-2958: Pin composer to 2.0.4
Ryan Skraba [Mon, 9 Nov 2020 17:15:24 +0000 (18:15 +0100)] 
AVRO-2958: Pin composer to 2.0.4

19 months agoAVRO-2957: Pin ruby 'parallel' dependency for Ruby 2.3 support
Ryan Skraba [Mon, 9 Nov 2020 13:17:21 +0000 (14:17 +0100)] 
AVRO-2957: Pin ruby 'parallel' dependency for Ruby 2.3 support

19 months agoAVRO-2891: Expose last sync offset written on DataFileWriter (#954)
Krishnan Sundaram [Wed, 30 Sep 2020 14:16:16 +0000 (07:16 -0700)] 
AVRO-2891: Expose last sync offset written on DataFileWriter (#954)

* AVRO-2891: Add code and tests for lastSync API

* AVRO-2891: simplify tests

Tests now only validate equivalence of sync markers between DataFileWriter and Reader. Remove additional test validating that a specific row can be read using the sync returned from DataFileWriter since it is somewhat redundant.

* AVRO-2891: revert change to cmakelists.txt

The original change was needed to cmakelists.txt due to linker errors
faced when using the standard build instructions.

* add another test to highlight efficient read of avro record using the
new API

* add few more comments to the new test

* Change API name as per PR feedback

Co-authored-by: Krishnan Sundaram <krishs@microsoft.com>
19 months agoAVRO-2096: PHP Added missing methods. (#912)
Siad Ardroumli [Fri, 25 Sep 2020 08:45:24 +0000 (10:45 +0200)] 
AVRO-2096: PHP Added missing methods. (#912)

19 months agoAdd missing vim and cpan-upload packages to the docker image
Ismaël Mejía [Mon, 29 Jun 2020 17:16:58 +0000 (19:16 +0200)] 
Add missing vim and cpan-upload packages to the docker image

19 months agoUpdate documentation examples to Avro version 1.10.0
Ismaël Mejía [Mon, 29 Jun 2020 12:50:43 +0000 (14:50 +0200)] 
Update documentation examples to Avro version 1.10.0

19 months agoUpdate some maven plugins: antrun (3.0.0) spotless (1.31.1)
Ismaël Mejía [Mon, 1 Jun 2020 15:45:40 +0000 (17:45 +0200)] 
Update some maven plugins: antrun (3.0.0) spotless (1.31.1)

19 months agoBump composer-monorepo-plugin
Ryan Skraba [Sat, 31 Oct 2020 08:57:21 +0000 (09:57 +0100)] 
Bump composer-monorepo-plugin

19 months agoAVRO-2944: Fix read pointer in java reader to avoid hang on partial read input stream...
Mick Jermsurawong [Mon, 2 Nov 2020 08:41:00 +0000 (00:41 -0800)] 
AVRO-2944: Fix read pointer in java reader to avoid hang on partial read input stream (#969)

* Add regression test to show failure before fixing

format test

* Fix: increment counter with number of bytes read

19 months agoAVRO-2937: Add some missing options in SpecificCompilerTool (#965)
Eric Palacios [Wed, 28 Oct 2020 12:40:40 +0000 (13:40 +0100)] 
AVRO-2937: Add some missing options in SpecificCompilerTool (#965)

* AVRO-2937: Add some missing options in SpecificCompilerTool

* AVRO-2937: Improve doc

* AVRO-2937: Format code