Skip to content

Latest commit

 

History

History
154 lines (120 loc) · 6.18 KB

CHANGES.md

File metadata and controls

154 lines (120 loc) · 6.18 KB

Bijection

0.7.1

0.7.0

  • Added thrift json injections: twitter#172
  • Make almost all the case classes extend AnyVal: twitter#178
  • Fix ImplicitBijection issue: twitter#177
  • Update jackson-mapper-asl to version 1.9.2: twitter#155
  • Moves to 2.10.x as the default and to scalatest: twitter#176
  • Fix some bugs in ModDivInjections: twitter#175
  • Add compression support to bijection-avro: twitter#174
  • Injections from jodatime LocalDate / LocalTime / YearMonth / MonthDay to String: twitter#171

0.6.3

0.6.2

0.6.1

0.6.0

0.5.4

0.5.3

0.5.2

  • Remove withSources

0.5.1

  • Lets bijection-util be distributed
  • Correct README

0.5.0

  • Make Bijection/Injection not extend Function
  • Add support for scala Futures & Try
  • Either injections
  • Add java Base64 from Apache commons

0.4.1

  • Added Codec[T] alias for serialization injections.

0.4.0

  • bijection-netty for async functionality. These help with Finagle stores.
  • JavaSerializationInjection
  • ModDivInjection
  • fix CastInjection
  • JsonInjection

0.3.0

  • Added Injection typeclass
  • Autogenerated Tuple* -> List injections
  • Removed all unsafe Bijections

0.2.1

  • bijection-guava for Guava interop.
  • bijection-algebird for bijections on classes in twitter's Algebird.
  • bijection-guava for Guava interop, with
    • Function1 <-> Guava Function
    • () => T <-> Supplier[T]
    • Function[T, Boolean] <-> Predicate[T]
    • Optional[T] <-> Option[T]
  • bijection-util with bijections on twitter-util's "Try" and "Future".

0.2.0

  • bijection-scrooge for scrooge generated scala thrift code
  • Add tagged types, resolved Bijection debate
  • Implicit bijection between List[T], List[U]
  • Implicit bijection between Vector[T], Vector[U]
  • Implicit bijection between Set[T], Set[U]
  • Implicit bijection between Map[K1, V1], Map[K2, V2]

0.1.3

  • remove Bijection.build uses, as these screw up serialization via Kryo.

0.1.2

  • Removes simple-json
  • Adds more sophisticated JSON codecs
  • Removes withSources() from dependencies

0.1.1

  • bijection-json
  • bijection-protobuf
  • TEnumCodec for conversion of TEnum -> Int
  • Change biject method in Bijection object to asMethod for clarity
  • Adds default unwrap bijections to value case classes
  • Adds Bijection.getOrElse for conversions between Option[A] and A
  • Fix bug in toContainer, add tests
  • Bufferable
  • StringBijection.viaContainer

0.1.0

  • Adds Bijection trait with implicits between:
    • all numeric types <-> their boxed java counterparts
    • all numeric types <-> big-endian Array[Byte] encodings
    • all numeric types <-> String
    • Bijections for all asScala, asJava pairs provided by scala.collection.JavaConverters
    • String <-> utf8 encoded bytes
    • Array[Byte] <-> GZippedBytes
    • Array[Byte] <-> Base64String
    • Array[Byte] <-> GZippedBase64String
    • Array[Byte] <-> java.nio.ByteBuffer
    • Class[T] <-> String
    • A => B <-> C => D (function conversion)
    • Bijection builders for all tuples. ((String,Int) <-> (Array[Byte], java.lang.Integer) is built automatically, for example.)
  • Value classes for Base64String, GZippedBase64String, and GZippedBytes
  • as casting conversion.
  • Pivot trait for packing schemes
  • BijectionImpl for easy java implementation
  • Adds ThriftCodecs and bijection-thrift