Skip to content

1.42.0.0

Compare
Choose a tag to compare
@Unisay Unisay released this 06 Mar 09:43
· 152 commits to master since this release
6cc3b92

plutus-core

Added

  • Switch from cryptonite library to crypton (a drop in replacement).

  • DropList builtin functionality

  • Costing model for the DropList builtin

  • A new type BuiltinArray.

  • Three functions for working with BuiltinArray values:

    • listToArray (converts a list to a BuiltinArray)
    • indexArray (returns an element of a BuiltinArray by index)
    • lengthOfArray (returns the length of a BuiltinArray)

Fixed

  • Fixed a bug in Plutus IR's dead code elimination pass that could incorrectly remove
    live data constructors or destructors.

plutus-ledger-api

Changed

  • Remove un-needed dervied Typeable instances.

plutus-tx

Added

  • PlutusTx.Function.fix, Plinth's equivalent of Data.Function.fix.

  • Module PlutusTx.Optimize.SpaceTime, containing utilities for space-time tradeoff,
    such as recursion unrolling.

  • Added PlutusTx.Data.List.null.

  • Added PlutusTx.Optimize.Inline.inline. This works like GHC.Magic.inline, and can be used
    in the form of inline f or inline (f args).

  • Added more functions to PlutusTx.Data.List.

Changed

  • Remove un-needed dervied Typeable instances.

  • Allow PlutusTx.Optimize.Inline.inline to inline local bindings.

  • Removes the constructor id check from the code AsData generates for product types, resulting in better performance.

plutus-tx-plugin

Changed

  • Changed the default value of compiler flag PlutusTx.Plugin:preserve-logging to true.

  • The Plinth compiler now inlines fixed point operators by default. This can be turned
    off by using no-inline-fix or conservative-optimisation.

  • The Plinth inliner now inlines local bindings (in addition to top-level bindings)
    with INLINE pragmas.

  • AsData now avoids creating strict dead bindings (which were previously created for
    unused fields).

plutus-executables

No changes.

Full Changelog: 1.40.0.0...1.42.0.0