- Remove withSources
- Lets bijection-util be distributed
- Make Bijection/Injection not extend Function
- Add support for scala Futures & Try
- Either injections
- Add java Base64 from Apache commons
- Added
Codec[T]
alias for serialization injections.
bijection-netty
for async functionality. These help with Finagle stores.- JavaSerializationInjection
- ModDivInjection
- fix CastInjection
- JsonInjection
- Added
Injection
typeclass - Autogenerated Tuple* -> List injections
- Removed all unsafe Bijections
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".
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]
- remove
Bijection.build
uses, as these screw up serialization via Kryo.
- Removes simple-json
- Adds more sophisticated JSON codecs
- Removes
withSources()
from dependencies
bijection-json
bijection-protobuf
TEnumCodec
for conversion ofTEnum
->Int
- Change
biject
method inBijection
object toasMethod
for clarity - Adds default
unwrap
bijections to value case classes - Adds
Bijection.getOrElse
for conversions betweenOption[A]
andA
- Fix bug in
toContainer
, add tests Bufferable
StringBijection.viaContainer
- 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]
<-> StringA => 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
, andGZippedBytes
as
casting conversion.Pivot
trait for packing schemesBijectionImpl
for easy java implementation- Adds ThriftCodecs and
bijection-thrift