proto-lens-protoc

Protocol buffer compiler for the proto-lens library.

Version on this page:0.2.2.3
LTS Haskell 20.26:0.7.1.1
Stackage Nightly 2023-12-26:0.8.0.0
Latest on Hackage:0.8.0.0

See all snapshots proto-lens-protoc appears in

BSD-3-Clause licensed by Judah Jacobson
Maintained by [email protected]
This version can be pinned in stack with:proto-lens-protoc-0.2.2.3@sha256:3f4e5f2a37215388b2ee786eaa2019a1e4f0fb367d0ad10068b44635633be864,3843

Module documentation for 0.2.2.3

There are no documented modules for this package.

Turn protocol buffer files (.proto) into Haskell files (.hs) which can be used with the proto-lens package. The library component of this package contains compiler code (namely Data.ProtoLens.Compiler.*) that is not guaranteed to have stable APIs.

Changes

Changelog for proto-lens-protoc

Unreleased changes

v0.2.2.3

  • Don’t camel-case message names. This reverts behavior which was added in v0.2.2.0.

v0.2.2.2

  • Bump the dependency for process-1.6.

v0.2.2.1

  • Fix the case where types/constructors of oneofs overlap with those of submessages or subenums, by appending "'" to the former when required.

v0.2.2.0

  • Bump the dependency on base to support ghc-8.2.1 and Cabal-2.0.
  • Bump the dependency for haskell-src-exts-0.19.
  • Improve the semantics of oneof fields, and add a lens to access the underlying sum type.
  • Generate Ord instances for all exported datatypes.
  • Print a better error message when missing protoc or proto-lens-protoc.
  • Expose message names to support Data.ProtoLens.Any.
  • CamelCase the names of Haskell message types.

v0.2.1.0 and older

See Changelog.md for proto-lens.