TypedScriptEnvelope'is deprecated.TypedScriptEnvelopenow implementstoJSONandfromJSONdirectly.writeEnvelopeandreadEnvelopeare updated to have more sensible types. They will read and write to and fromTypedScriptEnvelope.mkEnvelopeatPly.Plutarchwill convert Plutarch term intoTypedScriptEnvelopegiven config and description.CBORDecodeErroris removed,AesonDecodeErrorwill be thrown when decoding error happen.- Script serialization utilites are now relocated to
Ply.Core.Serialize.Script.
-
The constructor indices were incorrect.
Thanks to @danielfarrelly for reporting and fixing the bug.
-
The instance was buggy and did not produce proper UPLC. Any types containing
Credential(e.gAddress) may have been affected.Thanks to @rmgaray for reporting the bug.
- Export
ToDataConstraintandtoBuiltinArgData.
- Full Plutus V2 support with machinery for distinguishing between V1 and V2 Plutarch scripts.
- Add
getPlutusVersion- query aTypedScriptfor its Plutus version (ScriptV1orScriptV2). - Plutarch 1.2 integration
- New flag for
ply-core:new-ledger-namespace, turned on by default. See README. writeTypedScriptandtypedWriterInfoare now parameterized over the Plutarch compiler config.- More documentation in general, please consider checking out the haddocks locally.
- Fix
typeNamegeneration: this is somewhat of an internal detail and things will just work. But you may consider reading the README section on type name determination in case you're having strange issues during script reading.
Huge thanks to these folks helping me:
- @bladyjoker
- @danielfarrelly
- @MangoIV