russolsen/transit

What version of transit does this library support?

Opened this issue · 0 comments

The transit spec is currently at 0.8. Is that also the version of transit that this library supports?

We are using this library in https://github.com/babashka/pod-babashka-sqlite3 to communicate from babashka (a native Clojure interpreter) to a Go program that can manage sqlite databases. We've chosen transit because it can seamlessly transport blobs (byte arrays).

But I've read at the transit-java repo:

NOTE: Transit is intended primarily as a wire protocol for transferring data between applications. If storing Transit data durably, readers and writers are expected to use the same version of Transit and you are responsible for migrating/transforming/re-storing that data when and if the transit format changes.

So it might be good to track exactly what transit version is being used and negotiate based on the transit version.