This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
What's Changed
The most important changes of this release are the removal of Tx
type and related functions, switching to cardano-api
library for transaction manipulation and new a nix flake-based infrastructure.
📦 cardano-node-emulator
Removed
- Removed
OpenApi.ToSchema
instance forSlotConfig
. - Remove
estimateTransactionFee
,signTx
,fromPlutusTx
,fromPlutusTxSigned
,fromPlutusTxSigned'
as theTx
was removed fromplutus-ledger
.
Changed
- The default utxo provider for balancing now selects bigger inputs first when adding new inputs, to reduce the number of inputs.
This was in particular a problem for collateral inputs, of which there can only be 3.
📦 cardano-streaming
Added
- Fold blocks into ledger state at client side using local chainsync protocol, both pipelined and non-pipelined versions are provided.
📦 freer-extras
Removed
- Removed
OpenApi.ToSchema
instance forPageQuery a
,PageSize
, andPage a
.
📦 plutus-chain-index-core
Added
- Added missing orphan
OpenApi.ToSchema
instances.
Changed
- Moved to using the
Value
type fromcardano-api
instead of the one fromplutus-core
.
📦 plutus-contract
Removed
- The
Plutus.Contract.Wallet
module has benn moved to theplutus-pab
package
under theCardano.Wallet.LocalClient.ExportTx
. EmulatorAssertionContractError
andTxConstraintResolutionContractError
were removed fromContractError
.- Removed
OpenApi.ToSchema
instance forPABReq
,ChainIndexQuery
,ActiveEndpoint
,RequestID
,IterationID
,Request a
,ThreadToken
,Wallet
,WalletId
,TxKey
,SequenceId
,DereferencedInput
,BeneficialOwner
,AnnotatedTx
,ContractInstanceId
,ContractActivityStatus
,EndpointDescription
.
Added
- A set of functions were added to submit a cardano
Tx
from a a set of
constraints:subCardanoTx
,subCardanoTxConstraints
,
subCardanoTxConstraintsPending
,subCardanoTxConstraintsWith
,
andmkCardanoTxConstraints
. walletFundsChangePlutus
: A version ofwalletFundsChange
that works withplutus-core
Value
s.plutusValueAtAddress
: A version ofvalueAtAddress
that works withplutus-core
Value
s.
Changed
- The
getUnspentOutput
function that was in thePlutus.Contract.Wallet
module is now inPlutus.Contract.Request
. - Moved to using the
Value
type fromcardano-api
instead of the one fromplutus-core
. plutus-ledger-constraints
was replaced withplutus-tx-constraints
.
📦 plutus-ledger
Removed
- Removed
OpenApi.ToSchema
instance for a lot of ledger, plutus and cardano types. - Moved
Ledger.Value
toPlutus.Scripts.Utils.Value
- Moved
Ledger.Ada
toPlutus.Scripts.Utils.Ada
- Remove
unspentOutputsTx
andspentOutputs
. - Remove
cardanoApiTx
,emulatorTx
,onCardanoTx
,cardanoTxMap
,addSignature
,addSignature'
,txOutRefs
,unspentOutputsTx
,txId
. - Remove
CardanoTx(EmulatorTx, CardanoApiTx)
. - Remove
toCardanoTxBody
,toCardanoTxBodyContent
,toCardanoTxInWitness
,toCardanoMintValue
. - Remove
Tx
andTxStripped
types and all related functions.
Added
- Added
Ledger.Value.CardanoAPI
for working with theValue
type fromcardano-api
.
Changed
- Moved to using the
Value
type fromcardano-api
instead of the one fromplutus-core
. - Renamed
SomeCardanoApiTx(SomeTx)
toCardanoTx(CardanoTx)
. - Renamed
CardanoApiEmulatorEraTx
toCardanoEmulatorEraTx
.
📦 plutus-pab-executables
Removed
- Removed dependency on playground-common and everything that depended on it
- Removed Plutus.PAB.Run.PSGenerator
Changed
plutus-ledger-constraints
was replaced withplutus-tx-constraints
.
📦 plutus-pab
Removed
- Removed dependency on playground-common and everything that depended on it.
- Plutus.PAB.Effects.Contract: removed exportSchema and endpointsToSchemas
Added
-
The
Cardano.Wallet.LocalClient.ExportTx
module (previously
Plutus.Contract.Wallet
inplutus-contract
) was added. -
Added a lot of missing
OpenApi.ToSchema
instances.
Changed
plutus-ledger-constraints
was replaced withplutus-tx-constraints
.
📦 plutus-script-utils
Added
- Moved
Ledger.Value
toPlutus.Scripts.Utils.Value
- Moved
Ledger.Ada
toPlutus.Scripts.Utils.Ada
📦 plutus-tx-constraints
Removed
- Remove
UnbalancedEmulatorTx
andunBalancedTxTx
as theTx
was removed fromplutus-ledger
.
Added
- Added the lacking types and functions from
plutus-ledger-constraints
including following modules:Ledger.Tx.Constraints.OnChain.V1
Ledger.Tx.Constraints.OnChain.V2
Ledger.Tx.Constraints.TxConstraints
New Contributors
- @RubensGitHub made their first contribution in #912
Full Changelog: v1.1.0...v1.2.0