Diffson 2.0.0 is out

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Diffson 2.0.0 is out

Lucas Satabin-2
Hi all,

I am glad to announce the new major version 2.0.0 of Diffson [0].

Diffson is a Scala library to generate, apply and manipulate Json diffs.
It implements the RFC 6901 [1] and 6902 [2].

Among the new features, most prominent ones are:

  - the possibility to choose the underlying Json library you use. By
default, backend for spray-json [3] and Play! Json [4] are provided, but
you can easily implement (and contribute) your own.
  - the possibility to generate patches which remember the deleted and
changed values, so that you can revert the actions.
  - collections operations added on Json patches.
  - bug fixes on the diff algorithm and code cleanups.

Breaking changes include:
  - dependency on the Json library must be explicitly given in your
project.
  - it is only compiled against scala 2.11 for Java 8.
  - the package to import depends on the chosen Json backend. So you do
not `import gnieh.diffson._` anymore but either `import
gnieh.diffson.sprayJson._` or `import gnieh.diffson.playJson._`.
  - the `diff` method takes an extra parameter `remember` indicating
whether the old value must be remembered for operations changing values.

All the merged changes and issues can be found in the bugtracker.

Thanks to all people who contributed to this version by reporting bugs
or submitting suggestions.

Enjoy!

Lucas

[0]: https://github.com/gnieh/diffson
[1]: https://tools.ietf.org/html/rfc6901
[2]: https://tools.ietf.org/html/rfc6902
[3]: https://github.com/spray/spray-json
[4]: https://www.playframework.com/documentation/2.5.x/ScalaJson

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Diffson 2.0.1 is out (bugfix version)

Lucas Satabin-2
Hi all,

Due to a refactoring error in version 2.0.0, I just published the
bugfix version 2.0.1. It should now work as described in the 2.0.0
release announcement. Thanks for reporting the error.

Lucas

Le mardi 19 avril 2016 à 10:57 +0200, [hidden email] a écrit :

> Hi all,
>
> I am glad to announce the new major version 2.0.0 of Diffson [0].
>
> Diffson is a Scala library to generate, apply and manipulate Json
> diffs. 
> It implements the RFC 6901 [1] and 6902 [2].
>
> Among the new features, most prominent ones are:
>
>   - the possibility to choose the underlying Json library you use.
> By 
> default, backend for spray-json [3] and Play! Json [4] are provided,
> but 
> you can easily implement (and contribute) your own.
>   - the possibility to generate patches which remember the deleted
> and 
> changed values, so that you can revert the actions.
>   - collections operations added on Json patches.
>   - bug fixes on the diff algorithm and code cleanups.
>
> Breaking changes include:
>   - dependency on the Json library must be explicitly given in your 
> project.
>   - it is only compiled against scala 2.11 for Java 8.
>   - the package to import depends on the chosen Json backend. So you
> do 
> not `import gnieh.diffson._` anymore but either `import 
> gnieh.diffson.sprayJson._` or `import gnieh.diffson.playJson._`.
>   - the `diff` method takes an extra parameter `remember` indicating 
> whether the old value must be remembered for operations changing
> values.
>
> All the merged changes and issues can be found in the bugtracker.
>
> Thanks to all people who contributed to this version by reporting
> bugs 
> or submitting suggestions.
>
> Enjoy!
>
> Lucas
>
> [0]: https://github.com/gnieh/diffson
> [1]: https://tools.ietf.org/html/rfc6901
> [2]: https://tools.ietf.org/html/rfc6902
> [3]: https://github.com/spray/spray-json
> [4]: https://www.playframework.com/documentation/2.5.x/ScalaJson
>

--
You received this message because you are subscribed to the Google Groups "scala-announce" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.