Skip to content

Latest commit

 

History

History
194 lines (154 loc) · 8.8 KB

CHANGES.md

File metadata and controls

194 lines (154 loc) · 8.8 KB

Bijection

0.9.2

  • Fix issue with Injection[String, Array[Byte]].invert for arrays more than 2^(24) in size: #243

0.9.1

  • Repro ser/de failures and add tests: #241
  • Fix flaky URL test: #240

0.9.0

  • Reduce the exposed type granularity down, maintains binary compat wit…: #235
  • avro binary with schema: #238
  • Make string Injections safer. Fix #199: #237
  • Mostly maintenance commit: #234
  • set the max file size to deal with #184: #232
  • Getting rid of a circular dependency between bijection-macros and chill: #228
  • Noticed this appearing in downstream bundles, should be for test only: #226
  • Upgrade sbt launcher script (sbt-extras): #225
  • En-threadsafe json injections for collections: #224

0.8.1

  • Simplifies hbase injections with fastAttempt macro: #220
  • Specialize the TBinaryProtocol read path up to ~2x speedups: #221
  • Makes some of the hbase injection tests stricter: #219
  • Migrates hbase bijections to injections because they weren't actually bijections: #217
  • Removes unnecessary HBase injections: #215
  • Fixes flaky test: #214
  • Fixup unidoc: #213
  • Update travis & sbt scala versions to 2.10.5 and 2.11.5: #212

0.8.0

  • add twitter util Buf <-> Array[Byte] bijection #208
  • upgrade testing libraries #207
  • Add implicit conversion for GZippedBase64String to String #203
  • Make property tests work again #198
  • Add a module for finagle-mysql bijections. #197
  • Build bijection-scrooge for scala 2.11 #196

0.7.2

  • FIX: gzip Bijection resource leak. #193
  • Use new Travis CI infrastructure #191

0.7.1

  • Remove some package privacy so these things can be used in scalding and ...: #190
  • Add macros to create Trys: #187
  • Refactor macros: #186
  • Add TypeclassBijection: #183
  • Generate some useful case class conversions with macros: #179

0.7.0

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

0.6.3

  • Sbt => 0.13, use scalariform: #170
  • Backtick Array[Byte] in README: #168
  • Update README to include bijection-avro: #167
  • Update build publishTo to be consistent with scalding: #165
  • Pin bijection-guava to jsr305 1.3.9.: #164

0.6.2

  • Added json4s to project aggregate: #161

0.6.1

  • Add the sbt version helper script: #160
  • Added Json4s Injections: #157
  • Added url encoded String Inection: #156
  • Added bytes2bytesWritable bijection: #154
  • Update README.md: #153

0.6.0

0.5.4

  • Fix Scrooge Import for Scala 2.10: #145
  • Add Community Section to README: #143
  • Added Hbase Injections: #144

0.5.3

  • SBT CodeGen: #128
  • Remove redundant Attempt (in favor of scala.util.Try) #133
  • Adds bijection-avro: #129
  • Adds bijection-hbase: #135
  • Injection from Bijection with Rep tag: #138
  • Move bijection-algebird to algebird: #139
  • Adds bijection-jodatime: #136
  • Replace scrooge-runtime with scrooge-serializer: #141

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