This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
forked from apache/avro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGES.txt
2211 lines (1396 loc) · 74.7 KB
/
CHANGES.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
Avro Change Log
Avro 1.7.0 (unreleased)
NEW FEATURES
AVRO-301. Handle non-reserved properties appropriately in the Python
implementation. (Macrio Silva via tebeka)
AVRO-300. Support "doc" field in schemas in Python implementation.
(Harsh J via tebeka)
AVRO-1006. Add schema fingerprinting to specification and Java.
(Raymie Stata via cutting)
AVRO-593. Java: Add support for Hadoop's newer mapreduce API.
(Garrett Wu via cutting)
IMPROVEMENTS
AVRO-1060. Java: Upgrade Netty to version 3.4.0. (Karthik K via cutting)
AVRO-1068. Avro Java does not build on recent Eclipse versions with m2eclipse (thiru)
AVRO-551. C: Now compiles on Win32, using Visual Studio C++ 2008.
(Vivek Nadkarni via dcreager)
BUG FIXES
AVRO-1045. Java: Fix a bug in GenericData#deepCopy() of ByteBuffer values.
(cutting)
AVRO-1055. Race condition in Java fingerprinting code (thiru)
AVRO-954. Typo in JsonCodec.cc (Nebojsa Sabovic via thiru)
AVRO-1045. C: Use less stack space in avro_file_writer_create (dcreager)
Avro 1.6.3 (5 March 2012)
IMPROVEMENTS
AVRO-1030. Fix a broken link in the documentation.
BUG FIXES
AVRO-1037. Problems using Avro 1.6.2 with Hadoop (CDH3 or 1.0) (scottcarey)
AVRO-1036. Fix a regression in IDL imports created by AVRO-971.
(George Fletcher & cutting)
AVRO-1031. C: Test cases made too many assumptions about memcmp
result. (dcreager)
AVRO-1033. C: Fixed x86 assembly implementation of atomic reference
counting primitives. (Vivek Nadkarni via dcreager)
AVRO-1034. C: Resolved readers initialize complex array values
correctly. (Vivek Nadkarni via dcreager)
AVRO-1038. C: Require GCC 4.5.0 to use GCC atomic instrinsics.
(Vivek Nadkarni via dcreager)
AVRO-1039. C: Don't use nonexistent codecs in test cases. (dcreager)
AVRO-1041. Java: Fix Utf8 to reuse array in more cases.
(Dave Irving via cutting)
AVRO-1027. Java: Fix deadlock in NettyTransceiver.
(Simon Wilkinson via cutting)
Avro 1.6.2 (13 February 2012)
NEW FEATURES
AVRO-854. Python: Permit DataFileWriter and DataFileReader to be
used as context managers in "with" statements. (Harsh J via cutting)
AVRO-986. C: avromod utility for modifying structural properties of
an Avro data file. (dcreager)
IMPROVEMENTS
AVRO-963. Java: Permit compiler template directory to be
overridden by Maven plugins. (George Fletcher via cutting)
AVRO-953. Python: Permit users to override HTTP path in RPC.
(Craig Landry via cutting)
AVRO-972. Java: Add support for Infinity and NaN as default values
for float and double. Since JSON does not permit these as numeric
types, we use the strings "NaN", "Infinity" and "-Infinity" in
schemas. These are also permitted in IDL. (cutting)
AVRO-965. Java: Enhance IDL to support properties for protocols
and messages. (George Fletcher via cutting)
AVRO-976. Java: Extend NettyServer to permit specification of an
ExecutionHandler, to handle multiple requests simultaneously.
(Bruno Dumon via cutting)
AVRO-960. C: avro_value_set_string and avro_value_set_string_len
input parameters are now "const char *" instead of "char *".
(Lucas Martin-King via dcreager)
AVRO-961. C: avrocat/avropipe can now read from stdin.
(Michael Cooper via dcreager)
AVRO-957. C: Codec support in C library. (Michael Cooper and Lucas
Martin-King via dcreager)
AVRO-926. Java: Fix tests to pass under JDK 7. (cutting)
AVRO-956. Remove dependency on Flex/Bison. (thiru)
AVRO-1011. Improve POM structure. (Lars Francke via scottcarey)
AVRO-1016. Java: Add Field#getAliases() method to better permit
copying of schemas. (cutting)
AVRO-1005. Java: Extend HttpTransceiver to permit specification of
a Proxy. (Craig Landry via cutting)
AVRO-1010. Java: Improve codec javadoc. (Lars Francke via cutting)
AVRO-1018. Java: add svn:ignore to eclipse generated files for
protobuf, thrift, and archetype modules (scottcarey)
AVRO-1019. Java: Add unit test for Netty server concurrent
execution. (jbaldassari)
AVRO-995. Java: Update Dependencies for 1.6.2. (scottcarey)
AVRO-1012. Java: Improve avro-service-archetype: POM and IT
changes. (Lars Francke via scottcarey)
AVRO-971. Java: Permit IDL imports from classpath in Maven.
(Victor Chau via cutting)
AVRO-1007. Java: Enhance builder API's validity checks.
(jbaldassari & cutting)
AVRO-1015. Support for C++ build using Micrsoft Visual Studio on Windows.
(thiru)
AVRO-1021. Clarify some naming issues in the specification.
(Raymie Stata via cutting)
AVRO-980. C: avro_schema_from_json ignores length parameter. Add
avro_schema_from_json_length that doesn't.
(Michael Cooper and dcreager)
BUG FIXES
AVRO-962. Java: Fix Maven plugin to support string type override.
(George Fletcher via cutting)
AVRO-835. C#: Fix codgen for protocols to not fail.
(Dona Alvarez via cutting)
AVRO-966. Java: Fix ReflectDatumWriter to be able to correctly
write unions containing Collection and/or ByteBuffer. (cutting)
AVRO-977. Java: Fix codegen to not generate deprecated code.
(Hamed Asghari via cutting)
AVRO-978. Java: Fix reflect to better handle Byte type. (cutting)
AVRO-968. C: Fixed avro_value_cmp and avro_value_cmp_fast for string
values. (Vivek Nadkarni via dcreager)
AVRO-982. Java: Fix NettyTransceiver to not hang when server stops.
(Bruno Dumon via cutting)
AVRO-984. C: Resolved writers initialize complex array values
correctly. (Vivek Nadkarni via dcreager)
AVRO-994. Java: TestFileSpanStorage.testTonsOfSpans() fails on my
slow VM. (jbaldassari)
AVRO-993. Java: Add methods back to GenericDatumReader that were
removed in AVRO-839. (jbaldassari)
AVRO-1000. Java: Remove incompatible implementations of equals()
and hashCode() from GenericData.Array. (cutting)
AVRO-1002. Fix a broken link in the specification. (cutting)
AVRO-1003. C: Fix pkg-config file when codecs are missing.
(dcreager)
AVRO-1004. C: avropipe no longer displays NUL terminator for string
values. (dcreager)
AVRO-986. C: File headers no longer contain sync marker. (Michael
Cooper via dcreager)
AVRO-986. Java: DataFileReader correctly handles sync marker
appearing within file header. (cutting via dcreager)
AVRO-1014. C: Check for errors producing JSON output in avrocat.
(Lucas Martin-King via dcreager)
AVRO-996. Java: SpecificRecord builder pattern object copy fails
with unions in some cases. (scottcarey and jbaldassari)
AVRO-1020. Java: Fix builder API to correctly handle default
values for enums. (cutting)
AVRO-1013. Java: NettyTransceiver can hang after server
restart. (jbaldassari)
Avro 1.6.1 (8 November 2011)
INCOMPATIBLE CHANGES
AVRO-951. Java: Fix generated code to not conflict with fields
named 'data'. Code generated by the 1.6.0 compiler must be
re-generated to work correctly with the 1.6.1 runtime. (cutting)
NEW FEATURES
AVRO-821. PHP: Add support for parsing protocols. (Andy Wick,
Saleem Shafi and A B via cutting)
OPTIMIZATIONS
AVRO-946. Java: Optimize union resolution when writing. (cutting)
IMPROVEMENTS
BUG FIXES
AVRO-943. Java: Fix an intermittent deadlock in
TestNettyServerWithCallbacks. (James Baldassari via cutting)
AVRO-950. C: Fix source tarball to include VERSION.txt. (dcreager)
Avro 1.6.0 (2 November 2011)
NEW FEATURES
AVRO-839. Java: Add accessor methods and builders to generated
Java classes. Builders use default values from schemas for fields
that are not explicitly set. Direct use of public fields is now
deprecated and may be removed in a future release. (James
Baldassari via cutting)
AVRO-805: Java: Add support for reading and writing instances of
Protocol Buffer (protobuf) generated classes. This permits
protobuf-defined data structures to be written and read from
Avro-format data files. (cutting)
AVRO-881. Java: Add a 'getmeta' tool that lists a file's metadata.
(Tom White via cutting)
AVRO-863. C: Schema resolution using new value interface. (dcreager)
AVRO-893. C: Avro data file functions using new value interface.
(dcreager)
AVRO-919. C: Produce JSON encoding of Avro values using new value
interface. (dcreager)
AVRO-920. C: Memory readers and writers are now reusable. (dcreager)
AVRO-921. C: Default wrapped buffer implementation is zero-copy.
(dcreager)
AVRO-922. C: Comparison function for new value interface. (dcreager)
AVRO-929. C: Set install_name in shared library on Mac OS OX.
(dcreager)
AVRO-468. C: Document CMake build scripts. (dcreager)
AVRO-474. C: Added source package target to CMake build scripts.
(dcreager)
AVRO-467. C: Change build system to CMake. (dcreager)
AVRO-890: Java: Add Maven archetype for creating Avro service
projects. (Stephen Gargan via cutting)
AVRO-804. Java: Add support for reading and writing instances of
Thrift generated classes. This permits Thrift-defined data
structures to be written and read from Avro-format data files.
(cutting)
AVRO-908. Add an option to build avrocpp as a static library.
(Nebojsa Sabovic via thiru)
AVRO-803. Java: Optionally change string types in generated code
to java.lang.String instead of java.lang.CharSequence. This is
achived by specifying <stringType>String</stringType> in
avro-maven-plugin's pom.xml configuration. (cutting)
AVRO-924. Java: Support reading & writing arbitrary JSON data
using an efficient Avro binary representation. (cutting)
OPTIMIZATIONS
AVRO-853: Java: Cache Schema hash codes. (cutting)
AVRO-907. Java: Optimize access to protobuf message fields. (cutting)
AVRO-934. PHP: Remove quadratic performance bug. (abawany via cutting)
IMPROVEMENTS
AVRO-836. Python "avro" commandline utility to display and write Avro files.
(Miki Tebeka via philz)
AVRO-841. Java: Implement insertion in GenericData.Array.
(Nick Palmer via cutting)
AVRO-847. Java: Add a unit test for Java MapReduce tether. (Jeremy Lewi)
AVRO-844. Java: Provide better errors for null or missing record fields.
(Bill Graham via cutting)
AVRO-746. C: Atomic reference counts. (dcreager)
AVRO-837. C: New Avro value interface. (dcreager)
Documented in lang/c/docs/index.html.
AVRO-861. C: Remove dependency on stdbool.h. (dcreager)
AVRO-396. C: avrocat and avropipe commands (dcreager)
AVRO-857. Add mailing lists, scm and issue management to Maven
metadata. Also link top-level pom.xml to lang/java.
(Jan Prach via cutting)
AVRO-873. Java: Permit passing classloader to SpecificDatumReader.
(Michael Armbrust via cutting)
AVRO-889. Java: Change lang/java/pom.xml to use project's
top-level pom.xml as parent, permitting use of Maven versions
plugin. (cutting)
AVRO-858. Python: Add --fields option to 'avro cat' command.
(Miki Tebeka via cutting)
AVRO-866. Java: Add support in IDL for documentation in protocols
and messages. (George Fletcher via cutting)
AVRO-888. Java: Add SeekableByteArrayInput, a utility to permit
use of memory-based AvroDataFiles. (Saleem Shafi via cutting)
AVRO-887. Java: Improve reflection error message when a field is
not found in a class. (cutting)
AVRO-874. Remove experimental disclaimer from IDL documentation. (cutting)
AVRO-891. Java: In SpecificDatumReader, when no reader schema is
specified, use schema of currently loaded class. (cutting)
AVRO-865. C: Upgrade Jansson to 2.1. (dcreager)
AVRO-899. C#: Include binary artifacts and documentation in
releases. (cutting)
AVRO-898. Java: Extend NettyServer to support SSL.
(Vadim Tsarik via cutting)
AVRO-905. Java: Change JsonEncoder to write objects on separate
lines. (cutting)
AVRO-910. Java: Add generated protobuf test code to subversion. (cutting)
AVRO-917. Avrogencpp does not insert avro prefix for avro headers in the
generated files. (thiru)
AVRO-840. C++ generate nullable types for optional fields int the schema.
(thiru)
AVRO-915. Large number of warnings in C++ builds. (thiru)
AVRO-913. CMake/C++ build should work for out-of-tree builds.
(Nebojsa Sabovic via thiru)
AVRO-925. CMake/C++ Unable to build debug version of libavrocpp.
(Nebojsa Sabovic via thiru)
AVRO-932. C++ build.sh should have an option to install the built software.
(thiru)
AVRO-931. Avro C++ "make install" does not install the code generator.
(thiru)
AVRO-918. Avro C++ documentation is very old. (thiru)
AVRO-938. Some more warning when built on RHEL. (thiru)
AVRO-937. C++ CMake keeps generating code even when there is no change.
(thiru)
AVRO-940. C++ design for generic datum could be better. (thiru)
AVRO-935. Java: Update dependency versions for 1.6.0. (scottcarey)
AVRO-941. Java: Make generated specific classes to work in some
cases after Maven shade plugin is used on them. (cutting)
BUG FIXES
AVRO-824. Java: Fix usage message of BinaryFragmentToJsonTool.
(Jakob Homan via cutting)
AVRO-894. C: cmake build now works on Mac OS X Lion. (dcreager)
AVRO-895. JsonDecoder does not tolerate JSON records with
different field order. (thiru)
AVRO-906. Java: Fix so that ordering of schema properties is
consistent. (cutting)
AVRO-901, Java tools unit tests fail in Windows due to line
termination and filenaming conventions. (thiru)
AVRO-900. On slower machines Java unit test TestFileSpanStorage
fails. (thiru)
AVRO-912. Mapreduce tether test fails on Windows. (thiru)
AVRO-903. C++/Cmake build fails to find Boost libraries. (Nebojsa
Sabovic via thiru)
AVRO-904. C++/CMake build should fail if Boost libraries are not
present. (Nebojsa Sabovic via thiru)
AVRO-902. C++/CMake installs into /usr/local/local/. (Nebojsa
Sabovic via thiru)
AVRO-914. Java: Fix SpecificResponder to better handle
non-Exception Throwables. (philz via cutting)
AVRO-871. Fix specification to state that enum symbol names must
follow the same rules as record and field names. (cutting)
AVRO-916. 0xff in binary stream is interpreted as end-of-stream. (thiru)
AVRO-869. Lifetimes of streams and encoder/decoders not managed propertly.
(thiru)
AVRO-928. Debug statement no longer reports garbage value from
stack. (Vivek Nadkarni via dcreager)
AVRO-933. On latest Ubuntu AvrogencppTests.cc does not compile. (thiru)
AVRO-927. Java: Fix Pair#equals() to better compare
schemas. (Brock Noland via cutting)
AVRO-936. Avro Java does not build with Maven 2. (thiru)
AVRO-930. C: Fixed memory lead in resolved writer class. (Vivek
Nadkarni via dcreager)
AVRO-942. Java: Fix reflect so that @Nullable fields have a
default value of null. (Binglin Chang via cutting)
AVRO-945. C# port does not build under Ubuntu 11.10. (thiru)
AVRO-948. Java: Fix to more correctly handle Thrift optional and
nullable fields. (cutting)
AVRO-944. Java: Fix mapred so that reduce-side combines use
correct serializer. (cutting)
Avro 1.5.4 (12 September 2011)
IMPROVEMENTS
AVRO-866. Python: Add support for snappy compression codec.
(Tom White via cutting)
BUG FIXES
AVRO-884. Java: Fix a regression in RPC so that one-way messages
fail when the transciever cannot connect. (Tom White via cutting)
AVRO-892. Python: Fix an "integer out of range" error with snappy
compression. (Michael Cooper via cutting)
Avro 1.5.3 (25 August 2011)
IMPROVEMENTS
AVRO-872. Java: Improved Schema parsing API and permit IDL imports
to depend on names defined in prior imports. (cutting)
AVRO-877. Java: Add support for compiling multiple, dependent
schemas. (Bill Graham via cutting)
AVRO-880. Java: Upgrade snappy-java to 1.0.3.2.
(Alejandro Abdelnur via cutting)
Avro 1.5.2 (12 August 2011)
NEW FEATURES
AVRO-830. Java: Add AvroTextOutputFormat to permit Hadoop
streaming jobs to easily write Avro format output with "bytes" as
schema. (Tom White via cutting)
AVRO-539. Java: Add asynchronous RPC support, through either
callbacks or futures. (James Baldassari via cutting)
IMPROVEMENTS
AVRO-469. C: Set library's libtool-style soversion when using CMake
build scripts. (dcreager)
AVRO-470. C: Build asciidoc documentation when using CMake build
scripts. (Daniel Lundin via dcreager)
AVRO-820. Java: Permit applications to catch exceptions thrown
while writing data to a file and then continue writing to that
file. (scottcarey & cutting)
AVRO-826. C#: Add MD5 and hashcode functions to Protocol.
(Dona Alvarez via cutting)
AVRO-838. Java: Permit invalid characters in record and field
names of schemas read from data files, for compatibility with
1.4. (cutting)
AVRO-810: C#: Add strong naming to assemblies. (Eric Hauser)
AVRO-833. Python: Don't require simplejson for python >= 2.6.
(Miki Tebeka via philz)
AVRO-845. Python: setup.py uses Python2.7+ specific code
(Miki Tebeka via philz)
AVRO-856. Java: Update Snappy to 1.0.3-rc4. (cutting)
BUG FIXES
AVRO-818. C: Fix data file corruption bug in C library (dcreager)
AVRO-819. C: Fix file reader EOF detection (dcreager)
AVRO-809. Java: Fix reflect for classes that have no package. (cutting)
AVRO-832. Java: Fix RPC client to correctly perform schema
resolution on message responses. (cutting)
AVRO-815. Java: Netty Transceiver fails processing one-way messages.
Implemented writeBuffers for the NettyTransceiver to allow it to
process one-way messages. (sgargan)
AVRO-776. Java: Fix SocketServer to close socket. (scottcarey)
AVRO-842. Java: Fix Netty-based IPC client to provide better
errors when attempting to use a closed connection.
(James Baldassari via cutting)
AVRO-825: C++: Fix bugs in codegen with recursive schemas. (thiru)
AVRO-864. Java: Fix reflect to be able to write unions containing
generic and/or specific records. (Isabel Drost & cutting)
Avro 1.5.1 (3 May 2011)
NEW FEATURES
AVRO-533. Add a C# implementation.
(Jeremy Custenborder, Dona Alvarez and thiru)
AVRO-788. Java: Add Snappy compression for data files, including
MapReduce API support. (cutting)
AVRO-808. Java: Add AvroAsTextInputFormat for use with streaming.
(Tom White via cutting)
IMPROVEMENTS
AVRO-785. Java: Squash a Velocity warning by upgrading to Velocity 1.7.
(cutting)
AVRO-781. Generic data support in C++. (thiru)
AVRO-783. Specific object support in C++. (thiru)
AVRO-789. Datafile support in C++. (thiru)
AVRO-787. Ruby: Make compatible with Ruby 1.9. (Michael L. Artz via cutting)
AVRO-296. IDL: Use double-asterisk comments for schema documentation.
(cutting)
AVRO-709. Python: Optimize property lookup. (Justin Azoff via cutting)
AVRO-794. Makefile.am is no longer required in C++. (thiru)
AVRO-795. C++ Datafile reader makes it hard to build adaptive
clients. (thiru)
AVRO-802. Java: Add documentation for non-Avro input, map-only
jobs. (cutting)
AVRO-799. Java: Add support for --codec parameter to the
'fromtext' command. Also made some performance improvements, bug
fixes and added tests for this command. (cutting)
AVRO-798. Add checksum to Snappy compressed blocks. (cutting)
AVRO-763. Java MapReduce API: add support for configure() and
close() methods to mappers and reducers. (Marshall Pierce via cutting)
AVRO-807. C#: Some improvements and bugfixes, including making AvroGen
extensible and changing ISpecificRecord to an interface.
(Dona Alvarez via cutting)
AVRO-791. Java: Add avro-tools-nodeps jar. Also change 'mvn
install' to not GPG sign things by default. (scottcarey via cutting)
AVRO-812. Java: Implement help goal for Maven plugin.
(Holger Hoffstätte via cutting)
BUG FIXES
AVRO-786. Java: Fix equals() to work on objects containing maps. (cutting)
AVRO-780. Java: Fix a NullPointerException with reflect data when
a union contains an array and null. (cutting)
AVRO-790. Java: GenericDatumReader can fail when reusing objects with unions
containing 'bytes' fields. (scottcarey)
AVRO-801. Java: Fix a bug in SaslSocketTransceiver where large
messages were truncated on write. (cutting)
AVRO-793. Java: Fix a bug in the resolver when skipping an array
within a record. (thiru via cutting)
Avro 1.5.0 (10 March 2011)
INCOMPATIBLE CHANGES
AVRO-751. C: Each avro_datum_t instance now contains a reference to
the schema that the datum is an instance of. As a result, the
signatures of several of the functions that operate on avro_datum_t
instances have changed.
AVRO-647. Java: Break avro.jar up into multiple parts: avro.jar,
avro-compiler.jar, avro-ipc.jar, avro-mapred.jar, avro-tools.jar,
and avro-maven-plugin.jar.
Summary of artifacts:
* avro.jar
Contains 'core' avro features: schemas, data files,
specific, generic, and reflect APIs.
Dependencies: slf4j, Paranamer, Jackson.
* avro-ipc.jar
Contains Trancievers, Requestors, and Responders.
Dependencies: avro.jar, Jetty, Netty, and Velocity
* avro-compiler.jar
Contains SpecificCompiler, IDL compiler and Ant tasks.
Dependencies: avro.jar, commmons-lang, and Velocity.
* avro-maven-plugin.jar
A Maven plugin for Avro's compiler.
Dependencies: avro-compiler.jar
* avro-mapred.jar
API for Hadoop MapReduce with Avro data.
Dependencies: avro-ipc.jar, hadoop-core, and jopt-simple.
* avro-tools.jar
Avro command-line tools stand-alone jar.
Dependencies are contained within the jar.
Dependencies: all of the above.
(scottcarey)
AVRO-737. Java: Improve correlation between packages and modules.
Each module introduced by AVRO-647 now exclusively provides
different java packages. This required moving several classes
around into new packages and will therefore require users to
change their package imports when upgrading to Avro 1.5.0.
Summary of changes:
* AvroRemoteException has moved to org.apache.avro
* ByteBufferInputStream and ByteBufferInputStream have moved
to org.apache.avro.util
* InduceSchemaTool has moved to org.apache.avro.tools
* SpecificCompiler, SchemaTask, and ProtocolTask have moved
to org.apache.avro.compiler.specific
* The Idl compiler has moved to org.apache.avro.compiler.idl
* ReflectRequestor and ReflectResponder have moved to
org.apache.avro.ipc.reflect
* GenericRequestor and GenericResponder have moved to
org.apache.avro.ipc.generic
* SpecificRequestor and SpecificResponder have moved to
org.apache.avro.ipc.specific
(scottcarey)
AVRO-753. Java: Improve BinaryEncoder Performance.
The Encoder API has several resulting changes:
* Construction and configuration is handled by EncoderFactory. All
Constructors are hidden, and Encoder.init(OutputStream) is removed.
* Some Encoders previously did not buffer output. Users must call
Encoder.flush() to ensure output is written unless the EncoderFactory
method used to construct an instance explicitly states that the Encoder
does not buffer output.
(scottcarey)
AVRO-769. Java: Align Decoder/Encoder APIs for consistency and long term
stability. Avro's Decoder and Encoder APIs are aligned and now consist of
only read and write operations. EncoderFactory and DecoderFactory handle
all construction and common configuration. Some specialized implementations
have separate configuration APIs.
(scottcarey)
AVRO-670. Allow DataFileWriteTool to accept schema files as input with new
--schema-file and --schema command-line flags. (Ron Bodkin via philz)
AVRO-671. Java: Check that type and field names conform to
specified requirements. (cutting)
AVRO-678. Java: Implement ReflectData#compare(). Incompatibly
moves some protected GenericDatumReader/Writer methods to
GenericData, potentially breaking subclasses. (cutting)
AVRO-696. Java: Make DataFileWriter.setMetaInternal(String,String)
private. (Patrick Linehan via cutting)
AVRO-741. C: Minor API change to handling of bytes data.
(Douglas Creager via brucem)
AVRO-246. Java: Add required Schema parameter to GenericData.Fixed
and GenericData.EnumSymbol constructors. Also fix union dispatch
to conform to specification, using full schema name for records,
enums and fixed.
NEW FEATURES
AVRO-762. C: New and improved schema resolution API. The new API
correctly handles all of the schema resolution rules listed in the
spec. It performs resolution against two schemas separately from
reading in any data, so that we don't have to re-resolve for each
data record. Please see the avro/consumer.h header file for
details. (dcreager)
AVRO-463. C: Error message API. The new avro_strerror() function
can be used to get a textual description of the error codes returned
by the other C API functions. In particular, this includes any JSON
parse errors that occur while trying to load a schema. (dcreager)
AVRO-684. Java: Add command-line "recodec" tool to change file
compression codecs. (Patrick Linehan via cutting)
AVRO-689. Java: Permit setting timeout of HttpTransceiver. (cutting)
AVRO-687. Java: Permit RPC applications to view remote protocol. (cutting)
AVRO-159 Java: Allow maven builds to use avro: avro-maven-plugin
(Hiram Chirino, Patrick Hunt via Scott Carey)
AVRO-549. C: Route all memory allocations through an interface. (Douglas
Creager via brucem)
AVRO-729. C: JSON encoded Avro values. (Douglas Creager via brucem)
AVRO-757. Java: Permit data files to be re-opened without
re-reading the header. (Stu Hood via cutting)
AVRO-750. C: Install a pkg-config file
(dcreager)
AVRO-730. Java: Add set() and remove() methods to GenericData.Array.
(Chase Bradford via cutting)
AVRO-711. JSON encoder and decoder for C++.
AVRO-701 and AVRO-772. Java: Add new constructors for HttpServer
and an example of using SSL for the HTTP RPC. (brucem)
IMPROVEMENTS
AVRO-771. Java: Update dependency versions
(scottcarey)
AVRO-726. Java: Make GenericDatum{Reader,Writer} easier to extend.
(scottcarey)
AVRO-765. Java: Improvement to BinaryDecoder readLong performance
(scottcarey)
AVRO-716. Java: integrate AVRO-647 changes with top level build
(scottcarey)
AVRO-752. Java: Enhanced Performance Test Suite
(scottcarey)
AVRO-682. Java: Add method DataFileStream.getMetaKeys().
(Harsh J Chouraria via cutting)
AVRO-683. Java: Fix RPC proxy factories to not require casting.
(Stephen Gargan via cutting)
AVRO-642. Java, Python: Pretty-print schemas in some validation
error messages. (Harsh J Chouraria via cutting)
AVRO-648. Java: Use Velocity templates to generate specific code.
(philz via cutting)
AVRO-698. Java: Add MapReduce tests and documentation for jobs
that mix Avro and non-Avro data. (cutting)
AVRO-692. Java: Permit Avro 1.2 format files to be read. (cutting)
AVRO-707. Java: Promote SASL-based RPC. (cutting)
AVRO-714. Fix Forrest to work with Java 6. (Carl Steinbach via cutting)
AVRO-669. Java: Make MapReduce to work with reflection-based data.
(cutting)
AVRO-723. Java: Pass error messages for unexpected RPC exceptions
through to client. (Stephen Gargan via cutting)
AVRO-719. Java: Permit MapReduce programs to alter output file
sync interval. (Joe Crobak via cutting)
AVRO-725. C: avro_schema_get_subschema function. (Douglas Creager via
brucem)
AVRO-630. C: Add size accessors for map and list data. (Douglas Creager
via brucem)
AVRO-727. C: Add many new accessor and mutator functions. (Douglas Creager
via brucem)
AVRO-729. C: avro_schema_to_json can take const schema. (Douglas Creager
via brucem)
AVRO-729. C: Update to Jansson 1.3. (Douglas Creager via brucem)
AVRO-731. Documentation: Improve identification of Apache
trademarks. (cutting)
AVRO-734. Java: Update maven build plugin versions. (Holger Hoffstätte
via scottcarey)
AVRO-700. Change C++ build system to CMake (thiru)
AVRO-749. Don't install Jansson build artifacts. (Douglas Creager via
brucem)
AVRO-744. C: Helper macros for extracting and setting record field
values (dcreager)
AVRO-773. Java: Add no-arg constructor to AvroWrapper.
(Jan Prach via cutting)
AVRO-774. Java: Clean up repositories in pom.xml. (Lars Francke via cutting)
AVRO-754. Java: Permit passing custom channel factory to NettyTransceiver.
(Bruno Dumon via cutting)
BUG FIXES
AVRO-764. Java: Bug in BinaryData.compare() with offset comparison.
(Harsh J Chouraria via scottcarey)
AVRO-743. Java: Performance Regression and memory pressure with
GenericDatumReader. (scottcarey)
AVRO-675. C: Bytes and fixed setters don't update datum size.
(Douglas Creager via massie)
AVRO-681. IDL: Fix documentation example with illegal syntax.
(Jingguo Yao via cutting)
AVRO-685. Java: Fix Schema#equals() and hashCode() to not require
exponential time for some recursive schemas.
(Richard Ahrens via cutting)
AVRO-693. Java: Configure Velocity to use null logger, removing a
dependency that was breaking the build. (Stephen Gargan via cutting)
AVRO-702. Java: Fix a bug printing nested record namespaces. (cutting)
AVRO-706. Java: Type promotion not succeeding for long -> float. (thiru)
AVRO-704. Java: Fix SocketServer connection threads to exit rather
than busywait when client closes connection. (cutting)
AVRO-705. Java: Fix DirectBinaryDecoder to correctly reinitialize.
(thiru via cutting)
AVRO-710. Java: Add bounds checking to GenericData.Array#get(int).
(Bo Shi via cutting)
AVRO-713. Java: Fix GenericData.Record#toString() to produce valid
JSON for enum symbols. (Jay Kreps via cutting)
AVRO-643. Java: Fix intermittent failures in TestTraceCollection. (cutting)
AVRO-722. Java: Fix ordering of calls to RPC plugins.
(Stephen Gargan via cutting)
AVRO-708. Java: Fix Netty-based RPC to keep connection open.
(Stephen Gargan via cutting)
AVRO-694. Python: Fix schema parse error for maps of records.
(hammer via cutting)
AVRO-663. Java: avro-tools.jar does not meet maven2 layout standard.
(scottcarey)
AVRO-688. Java: Only require that one-way'ness of messages match
over stateful connections, permitting interoperability with
Python and Ruby, which drop the one-way message attribute. (cutting)
AVRO-759. Java: Fix NullPointerException when some but not all
fields are aliased. (Xiaolu Ye via cutting)
AVRO-755. Java: Fix SpecificResponder to correctly handle message
parameter lists that differ between client and server. (cutting)
AVRO-775. Java: Fix a file handle leak in DataFileReader. (cutting)
AVRO-761. Java: Fix Requestor to not send client's protocol on
each handshake with stateless (HTTP) transport when protocol
differs from server's. (cutting)
Avro 1.4.1 (13 October 2010)
NEW FEATURES
AVRO-674. Vim editor support for IDL files (Daniel Lundin via philz)
AVRO-641. Java: Add SASL security for socket-based RPC. (cutting)
AVRO-634. Java: Add support for reading Hadoop sequence files as
Avro data to MapReduce API. (cutting)
OPTIMIZATIONS
AVRO-673. Python: Remove unneeded schema validations.
(Erik Frey via cutting)
IMPROVEMENTS
AVRO-655. Change build so that 'dist' target no longer also runs C
and C++ unit tests. (cutting)
AVRO-634. IDL: Add support for aliases. (cutting)
AVRO-668. Java: Reduce object allocations while writing strings.
(scottcarey)
AVRO-537. Ruby: Reuse client connection for multiple requests.
(Gabor Torok via cutting)
BUG FIXES
AVRO-666. Remove an extraneous pdb.set_trace() that crept into schema.py
(hammer)
AVRO-657. Fix build so that md5 and sha1 checksum files contain
only the file's basename without any directories. (cutting)
AVRO-664. Ruby server takes a long time to start in interop tests. (thiru)
AVRO-667. GenericArray fails to compare with List. SpecificRecord
compare gets ClassCastException. (scottcarey & cutting)
AVRO-717. Java: Fix SpecificDatumWriter default constructor to
correctly reference SpecificData. (Joe Crobak via cutting)
Avro 1.4.0 (31 August 2010)
INCOMPATIBLE CHANGES
AVRO-372. Rename GenAvro to be Avro IDL. The tool name is now
'idl'. The file suffix is now '.avdl'. (cutting)
AVRO-544. Java: Change Server interface, adding start() and join()
methods. Servers are no longer started in their constructor.
(hammer & cutting)
AVRO-605. Java: Change Utf8 to implement CharSequence and change
specific, generic & reflect APIs to accept any CharSequence
implementation for string schemas, including java.lang.String.
This incompatibly changes method signatures of generated protocol
interfaces. It also incompatibly changes the generic
representation of enum symbols from java.lang.String to
org.apache.avro.generic.GenericEnumSymbol.
AVRO-637. Java: Change GenericArray to implement List. Also
incompatibly change generated array signatures to List. The
runtime will now accept any Collection implementation for array
types. (cutting)
NEW FEATURES
AVRO-627. Add PHP implementation. (Michael Glaesemann via cutting)