Google Protocol Buffers for PureScript
Full Changelog: https://github.com/xc-jp/purescript-protobuf/compare/v4.2.0...v4.3.0
.proto
messages and enums to the generated .purs
code.PURS_IDE_SOURCES
.spago2nix_nativeBuildInputs
.Full Changelog: https://github.com/xc-jp/purescript-protobuf/compare/v4.1.0...v4.2.0
Full Changelog: https://github.com/xc-jp/purescript-protobuf/compare/v4.0.0...v4.1.0
mkUint8Array
. Upstreamed this to purescript-arraybuffer.manyArray
, parseMaybe
, parseEither
, parseExceptT
. Upstreamed these to purescript-parsing.manyLength
. Get rid of the FFI, and a slight speedup in the benchmarks.Runtime.positionZero
.Upgraded to PureScript 0.14.3.
For byte fields we’re now using the DataBuff
type
from arraybuffer-builder v2.1.0 which allows us to avoid array copies,
and so may speed up encoding and decoding in some cases.
Created a Protobuf.Prelude
module to eliminate many import warnings
in the generated code.
The Bytes
field type was formerly a wrapper for ArrayBuffer
, and now
it is a wrapper for DataBuff
, which may be either ArrayBuffer
or DataView
.
This changes the API and will require some changes in dependent code.
Fixed a bug which sometimes incorrectly errored with “index out of bounds” when decoding packed repeated fields of double, float, fixed32, or sfixed32.
Fixed a bug which would cause a compilation failure in generated code for enums with negative values.