diff --git a/cardano-node-emulator/changelog.d/20221208_181834_i_split_plutus_contract.md b/cardano-node-emulator/CHANGELOG.md similarity index 85% rename from cardano-node-emulator/changelog.d/20221208_181834_i_split_plutus_contract.md rename to cardano-node-emulator/CHANGELOG.md index 9ef6c06ae8..4e1731433f 100644 --- a/cardano-node-emulator/changelog.d/20221208_181834_i_split_plutus_contract.md +++ b/cardano-node-emulator/CHANGELOG.md @@ -1,4 +1,8 @@ -### Added + + +# 1.1.0 — 2023-01-12 + +## Added - Moved from `plutus-ledger` package: - `Ledger.TimeSlot` to `Cardano.Node.Emulator.TimeSlot` diff --git a/cardano-node-emulator/cardano-node-emulator.cabal b/cardano-node-emulator/cardano-node-emulator.cabal index baea3f0f3d..4bf71ed2be 100644 --- a/cardano-node-emulator/cardano-node-emulator.cabal +++ b/cardano-node-emulator/cardano-node-emulator.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: cardano-node-emulator -version: 1.0.0.0 +version: 1.1.0.0 common lang default-language: Haskell2010 @@ -40,9 +40,9 @@ library -- Local components -------------------- build-depends: - , freer-extras >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-script-utils >=1.0.0 + , freer-extras >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-script-utils >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/cardano-streaming/cardano-streaming.cabal b/cardano-streaming/cardano-streaming.cabal index 2bb3f37e15..a5e81ace55 100644 --- a/cardano-streaming/cardano-streaming.cabal +++ b/cardano-streaming/cardano-streaming.cabal @@ -1,6 +1,6 @@ cabal-version: 2.4 name: cardano-streaming -version: 1.0.0.0 +version: 1.1.0.0 author: Andrea Bedini maintainer: andrea.bedini@iohk.io diff --git a/doc/plutus-doc.cabal b/doc/plutus-doc.cabal index 682669118f..33e57670a3 100644 --- a/doc/plutus-doc.cabal +++ b/doc/plutus-doc.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: plutus-doc -version: 0.1.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE diff --git a/freer-extras/freer-extras.cabal b/freer-extras/freer-extras.cabal index 299327c0a9..05e49744fc 100644 --- a/freer-extras/freer-extras.cabal +++ b/freer-extras/freer-extras.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: freer-extras -version: 1.0.0.0 +version: 1.1.0.0 synopsis: Useful extensions to simple-freer description: freer-extras provides logging and monitoring functions extending simple-freer diff --git a/marconi-mamba/marconi-mamba.cabal b/marconi-mamba/marconi-mamba.cabal index 8b8066ae75..761ceeb23a 100644 --- a/marconi-mamba/marconi-mamba.cabal +++ b/marconi-mamba/marconi-mamba.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: marconi-mamba -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE diff --git a/marconi/marconi.cabal b/marconi/marconi.cabal index ae973d7793..ec1ac29582 100644 --- a/marconi/marconi.cabal +++ b/marconi/marconi.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: marconi -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE diff --git a/pab-blockfrost/pab-blockfrost.cabal b/pab-blockfrost/pab-blockfrost.cabal index 7098747c66..2178eb93f5 100644 --- a/pab-blockfrost/pab-blockfrost.cabal +++ b/pab-blockfrost/pab-blockfrost.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: pab-blockfrost -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 maintainer: valentino.cerutti@joinplank.com, tomas.osiecki@joinplank.com @@ -53,9 +53,9 @@ library -- Local components -------------------- build-depends: - , freer-extras - , plutus-chain-index-core - , plutus-ledger + , freer-extras >=1.1.0 + , plutus-chain-index-core >=1.1.0 + , plutus-ledger >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/playground-common/playground-common.cabal b/playground-common/playground-common.cabal index c77e59bb7c..2b60d4b4c6 100644 --- a/playground-common/playground-common.cabal +++ b/playground-common/playground-common.cabal @@ -1,6 +1,6 @@ cabal-version: 2.0 name: playground-common -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE diff --git a/plutus-chain-index-core/changelog.d/20230103_172918_nicolas.biri_PLT_856.md b/plutus-chain-index-core/CHANGELOG.md similarity index 54% rename from plutus-chain-index-core/changelog.d/20230103_172918_nicolas.biri_PLT_856.md rename to plutus-chain-index-core/CHANGELOG.md index dd36f38a8b..190b8c5784 100644 --- a/plutus-chain-index-core/changelog.d/20230103_172918_nicolas.biri_PLT_856.md +++ b/plutus-chain-index-core/CHANGELOG.md @@ -1,3 +1,7 @@ -### Changed + + +# 1.1.0 — 2023-01-12 + +## Changed - We now use `cardano-node` `Tx` type instead of the one of `plutus-ledger`. diff --git a/plutus-chain-index-core/plutus-chain-index-core.cabal b/plutus-chain-index-core/plutus-chain-index-core.cabal index 3b5884d510..61d582a086 100644 --- a/plutus-chain-index-core/plutus-chain-index-core.cabal +++ b/plutus-chain-index-core/plutus-chain-index-core.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-chain-index-core -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -72,10 +72,10 @@ library -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-script-utils >=1.0.0 + , cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-script-utils >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/plutus-chain-index/plutus-chain-index.cabal b/plutus-chain-index/plutus-chain-index.cabal index 7d3f23b1b1..86489c58af 100644 --- a/plutus-chain-index/plutus-chain-index.cabal +++ b/plutus-chain-index/plutus-chain-index.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: plutus-chain-index -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -56,10 +56,10 @@ library -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , plutus-chain-index-core >=1.0.0 - , plutus-ledger >=1.0.0 + , cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , plutus-chain-index-core >=1.1.0 + , plutus-ledger >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/plutus-contract-certification/plutus-contract-certification.cabal b/plutus-contract-certification/plutus-contract-certification.cabal index 19bfebeaae..d1e436eb1e 100644 --- a/plutus-contract-certification/plutus-contract-certification.cabal +++ b/plutus-contract-certification/plutus-contract-certification.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-contract-certification -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -52,7 +52,7 @@ library -------------------- -- Local components -------------------- - build-depends: plutus-contract >=1.0.0 + build-depends: plutus-contract >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/plutus-contract/changelog.d/20221201_093010_konstantinos.lambrou_PLT_1277_running_plutus_apps_tutorial.md b/plutus-contract/CHANGELOG.md similarity index 61% rename from plutus-contract/changelog.d/20221201_093010_konstantinos.lambrou_PLT_1277_running_plutus_apps_tutorial.md rename to plutus-contract/CHANGELOG.md index 0362e54857..4a28adc99e 100644 --- a/plutus-contract/changelog.d/20221201_093010_konstantinos.lambrou_PLT_1277_running_plutus_apps_tutorial.md +++ b/plutus-contract/CHANGELOG.md @@ -1,21 +1,17 @@ - + +# 1.1.0 — 2023-01-12 - - -### Added +- Added 'Ledger.Value.currencyValueOf' function. - Added the `Plutus.Trace.Emulator.runEmulatorTraceIOWithConfig` function -### Changed +- Creation of an 'assertEvaluationError' `Contract.Test` to ease verification of + invalid transactions. + +## Changed - Changed `Plutus.Trace.Emulator.TraceConfig` data contructor to work with `LogMessage EmulatorEvent` instead of `EmulatorEvent'`, added a parameter to configure the `LogLevel` of log messages, @@ -32,19 +28,19 @@ Uncomment the section that is right (remove the HTML comment wrapper). - Change the output format of log messages printed by `Plutus.Trace.Emulator.runEmulatorTrace` by changing the `Default` instance of `TraceConfig`. -### Deprecated +- Renamed `Plutus.Trace.Emulator.currentSlot` to `Plutus.Trace.Emulator.chainCurrentSlot`. -- Deprecated `Plutus.Trace.Emulator.runEmulatorTraceIO'` in favor of `Plutus.Trace.Emulator.runEmulatorTraceIOWithConfig` +- We now use `cardano-api` `AddressInEra` (through the alias + `Ledger.Address.CardanoAddress`) in the emulator instead of `plutus` + addresses. - - +- Fixed state machine thread token on-chain check in light of https://www.tweag.io/blog/2022-03-25-minswap-lp-vulnerability diff --git a/plutus-contract/changelog.d/20221128_060044_konstantinos.lambrou_minting_policy_antipattern.md b/plutus-contract/changelog.d/20221128_060044_konstantinos.lambrou_minting_policy_antipattern.md deleted file mode 100644 index 6c8505818d..0000000000 --- a/plutus-contract/changelog.d/20221128_060044_konstantinos.lambrou_minting_policy_antipattern.md +++ /dev/null @@ -1,7 +0,0 @@ -### Added - -- Added 'Ledger.Value.currencyValueOf' function. - -### Security - -- Fixed state machine thread token on-chain check in light of https://www.tweag.io/blog/2022-03-25-minswap-lp-vulnerability diff --git a/plutus-contract/changelog.d/20221208_173138_ak3n_split_plutus_contract.md b/plutus-contract/changelog.d/20221208_173138_ak3n_split_plutus_contract.md deleted file mode 100644 index 7a4e121fcd..0000000000 --- a/plutus-contract/changelog.d/20221208_173138_ak3n_split_plutus_contract.md +++ /dev/null @@ -1,3 +0,0 @@ -### Changed - -- Renamed `Plutus.Trace.Emulator.currentSlot` to `Plutus.Trace.Emulator.chainCurrentSlot`. diff --git a/plutus-contract/changelog.d/20221212_082927_nicolas.biri_address3.md b/plutus-contract/changelog.d/20221212_082927_nicolas.biri_address3.md deleted file mode 100644 index 9ef2cb0576..0000000000 --- a/plutus-contract/changelog.d/20221212_082927_nicolas.biri_address3.md +++ /dev/null @@ -1,5 +0,0 @@ -### Changed - -- We now use `cardano-api` `AddressInEra` (through the alias - `Ledger.Address.CardanoAddress`) in the emulator instead of `plutus` - addresses. diff --git a/plutus-contract/changelog.d/20221213_131533_nicolas.biri_PLT_501.md b/plutus-contract/changelog.d/20221213_131533_nicolas.biri_PLT_501.md deleted file mode 100644 index 3b8e8445b3..0000000000 --- a/plutus-contract/changelog.d/20221213_131533_nicolas.biri_PLT_501.md +++ /dev/null @@ -1,4 +0,0 @@ -### Added - -- Creation of an 'assertEvaluationError' `Contract.Test` to ease verification of - invalid transactions. diff --git a/plutus-contract/changelog.d/20221220_085332_nicolas.biri_PLT_857.md b/plutus-contract/changelog.d/20221220_085332_nicolas.biri_PLT_857.md deleted file mode 100644 index e6ef437cee..0000000000 --- a/plutus-contract/changelog.d/20221220_085332_nicolas.biri_PLT_857.md +++ /dev/null @@ -1,4 +0,0 @@ -### Changed - -- `DoubleSatisfaction` is now using `cardano-api` `Tx` instead of the emulator - one. diff --git a/plutus-contract/plutus-contract.cabal b/plutus-contract/plutus-contract.cabal index a109deb9d6..bb1bc386ed 100644 --- a/plutus-contract/plutus-contract.cabal +++ b/plutus-contract/plutus-contract.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-contract -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -118,13 +118,13 @@ library -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , plutus-chain-index-core >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-tx-constraints >=1.0.0 + , cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , plutus-chain-index-core >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-script-utils >=1.1.0 + , plutus-tx-constraints >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/plutus-example/plutus-example.cabal b/plutus-example/plutus-example.cabal index 4a0bf3f90c..d9e4004aca 100644 --- a/plutus-example/plutus-example.cabal +++ b/plutus-example/plutus-example.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-example -version: 1.0.0.0 +version: 1.1.0.0 description: End to end examples of creating and executing Plutus scripts. @@ -72,7 +72,7 @@ library -------------------- -- Local components -------------------- - build-depends: plutus-script-utils >=1.0.0 + build-depends: plutus-script-utils >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/plutus-ledger-constraints/changelog.d/20230110_144149_ak3n_validity_interval.md b/plutus-ledger-constraints/CHANGELOG.md similarity index 73% rename from plutus-ledger-constraints/changelog.d/20230110_144149_ak3n_validity_interval.md rename to plutus-ledger-constraints/CHANGELOG.md index 35026431aa..040f66de52 100644 --- a/plutus-ledger-constraints/changelog.d/20230110_144149_ak3n_validity_interval.md +++ b/plutus-ledger-constraints/CHANGELOG.md @@ -1,41 +1,20 @@ - + +# 1.1.0 — 2023-01-12 - - -### Added +## Added - `ValidityInterval` is a type of interval — where the lower bound is closed and the upper bound is open — to provide a correct by construction tool for constraints. - Functions to construct `ValidityInterval` and to convert it to the plutus `Interval` and backwards. - `mustValidateInTimeRange` constraint as an alternative to `mustValidateIn` but it takes `ValidityInterval POSIXTime` instead. - `mustValidateInSlotRange` constraint. -### Changed +## Changed - `MustValidateIn POSIXTimeRange` constraint was replaced with `MustValidateInTimeRange !(ValidityInterval POSIXTime)` to make the constraint's interface more precise by using `ValidityInterval` instead of `POSIXTimeRange` according to https://github.com/input-output-hk/plutus-apps/blob/main/doc/adr/0013-tx-validity-time-range-fix.rst. +- Removed off-chain checks of `MustIncludeDatumInTxWithHash` and `MustIncludeDatumInTx`. They now only verify + the datums when used on-chain. - -### Deprecated +## Deprecated - `mustValidateIn` was deprecated according to https://github.com/input-output-hk/plutus-apps/blob/main/doc/adr/0013-tx-validity-time-range-fix.rst. - - - diff --git a/plutus-ledger-constraints/changelog.d/20221205_152425_sjoerd.visscher_plt_321_no_offchain_logic_for_datum_constraints.md b/plutus-ledger-constraints/changelog.d/20221205_152425_sjoerd.visscher_plt_321_no_offchain_logic_for_datum_constraints.md deleted file mode 100644 index b147c7ad83..0000000000 --- a/plutus-ledger-constraints/changelog.d/20221205_152425_sjoerd.visscher_plt_321_no_offchain_logic_for_datum_constraints.md +++ /dev/null @@ -1,4 +0,0 @@ -### Changed - -- Removed off-chain checks of `MustIncludeDatumInTxWithHash` and `MustIncludeDatumInTx`. They now only verify - the datums when used on-chain. diff --git a/plutus-ledger-constraints/plutus-ledger-constraints.cabal b/plutus-ledger-constraints/plutus-ledger-constraints.cabal index 1f8031ee51..cf31c06059 100644 --- a/plutus-ledger-constraints/plutus-ledger-constraints.cabal +++ b/plutus-ledger-constraints/plutus-ledger-constraints.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-ledger-constraints -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -59,9 +59,9 @@ library -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-script-utils >=1.0.0 + , cardano-node-emulator >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-script-utils >=1.1.0 --------------------------- -- Other IOG dependencies diff --git a/plutus-ledger/CHANGELOG.md b/plutus-ledger/CHANGELOG.md new file mode 100644 index 0000000000..65745af1ab --- /dev/null +++ b/plutus-ledger/CHANGELOG.md @@ -0,0 +1,52 @@ + + +# 1.1.0 — 2023-01-12 + +## Removed + +- Moved to `cardano-node-emulator` package: + - `Ledger.TimeSlot` to `Cardano.Node.Emulator.TimeSlot` + - `Ledger.Params` to `Cardano.Node.Emulator.Params` + - `Ledger.Generators` to `Cardano.Node.Emulator.Generators` + - `Ledger.Fee` to `Cardano.Node.Emulator.Fee` + - `Ledger.Validation` to `Cardano.Node.Emulator.Validation` + - `Wallet.Emulator.Chain` to `Cardano.Node.Emulator.Chain` + +## Added + +- `minAdaTxOut`, computes the minimum amount of Ada required for a `TxOut` more + precisely, by taking the params and the `TxOut`. + +- Added `makeAutoBalancedTransactionWithUtxoProvider` and related functions to `Ledger.Fee`. + +- `Ledger.Address.CardanoAddress` an alias to address in the latest era +- `Ledger.Address.cardanoAddressCredential` to retrieve `plutus` credentials + from a Cardano address +- `Ledger.Address.cardanoStakingCredential` to retrieve `plutus` staking credentials + from a Cardano address +- `Ledger.Address.cardanoStakingCredential` to retrieve `plutus` `PubKeyHash` + from a Cardano address +- `Ledger.Address.toPlutusAddress` to get a `plutus` address from a Cardano one + (it replaces `Ledger.Tx.CardanoAPI.fromCardanoAddressInEra`) + +## Changed + +- `minAdaTxOut` is now renamed `minAdaTxOutEstimated`. + +- Moved `adjustTxOut` into `Ledger.Index` +- Balancing no longer logs if and which inputs and outputs were added. + +- Moved to `Ledger.Tx.CardanoAPI`: + - `Ledger.Validation.getRequiredSigners` + - `Ledger.Validation.fromPlutusIndex` + - `Ledger.Validation.fromPlutusTxOut` + - `Ledger.Validation.fromPlutusTxOutRef` + +- `Ledger.Address` now priviledges `cardano-api` addresses instead of `plutus-api` addresses. + +## Deprecated + +- `fromCardanoAddressInEra`, `fromCardanoAddress`, `fromCardanoPaymentCredential`, + `fromCardanoPaymentKeyHash`, `fromCardanoScriptHash`, + `fromCardanoStakeAddressReference`and `fromCardanoStakeCredential` from `Ledger.Tx.CardanoAPI` + that shouldn't be used now that we use `cardano-api` adress in the emulator. diff --git a/plutus-ledger/changelog.d/20221128_103738_nicolas.biri_minAdaTxOut.md b/plutus-ledger/changelog.d/20221128_103738_nicolas.biri_minAdaTxOut.md deleted file mode 100644 index c64940e7b3..0000000000 --- a/plutus-ledger/changelog.d/20221128_103738_nicolas.biri_minAdaTxOut.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- `minAdaTxOut`, computes the minimum amount of Ada required for a `TxOut` more - precisely, by taking the params and the `TxOut`. - -### Changed - -- `minAdaTxOut` is now renamed `minAdaTxOutEstimated`. diff --git a/plutus-ledger/changelog.d/20221201_143837_sjoerd.visscher_PLT_321_makeAutoBalancedTransactionWithWalletOutputs.md b/plutus-ledger/changelog.d/20221201_143837_sjoerd.visscher_PLT_321_makeAutoBalancedTransactionWithWalletOutputs.md deleted file mode 100644 index cbbe3e1759..0000000000 --- a/plutus-ledger/changelog.d/20221201_143837_sjoerd.visscher_PLT_321_makeAutoBalancedTransactionWithWalletOutputs.md +++ /dev/null @@ -1,8 +0,0 @@ -### Added - -- Added `makeAutoBalancedTransactionWithUtxoProvider` and related functions to `Ledger.Fee`. - -### Changed - -- Moved `adjustTxOut` into `Ledger.Index` -- Balancing no longer logs if and which inputs and outputs were added. diff --git a/plutus-ledger/changelog.d/20221208_181423_ak3n_split_plutus_contract.md b/plutus-ledger/changelog.d/20221208_181423_ak3n_split_plutus_contract.md deleted file mode 100644 index 95393acc5d..0000000000 --- a/plutus-ledger/changelog.d/20221208_181423_ak3n_split_plutus_contract.md +++ /dev/null @@ -1,17 +0,0 @@ -### Removed - -- Moved to `cardano-node-emulator` package: - - `Ledger.TimeSlot` to `Cardano.Node.Emulator.TimeSlot` - - `Ledger.Params` to `Cardano.Node.Emulator.Params` - - `Ledger.Generators` to `Cardano.Node.Emulator.Generators` - - `Ledger.Fee` to `Cardano.Node.Emulator.Fee` - - `Ledger.Validation` to `Cardano.Node.Emulator.Validation` - - `Wallet.Emulator.Chain` to `Cardano.Node.Emulator.Chain` - -### Changed - -- Moved to `Ledger.Tx.CardanoAPI`: - - `Ledger.Validation.getRequiredSigners` - - `Ledger.Validation.fromPlutusIndex` - - `Ledger.Validation.fromPlutusTxOut` - - `Ledger.Validation.fromPlutusTxOutRef` \ No newline at end of file diff --git a/plutus-ledger/changelog.d/20221212_075751_nicolas.biri_address3.md b/plutus-ledger/changelog.d/20221212_075751_nicolas.biri_address3.md deleted file mode 100644 index 666cafd423..0000000000 --- a/plutus-ledger/changelog.d/20221212_075751_nicolas.biri_address3.md +++ /dev/null @@ -1,23 +0,0 @@ -### Added - -- `Ledger.Address.CardanoAddress` an alias to address in the latest era -- `Ledger.Address.cardanoAddressCredential` to retrieve `plutus` credentials - from a Cardano address -- `Ledger.Address.cardanoStakingCredential` to retrieve `plutus` staking credentials - from a Cardano address -- `Ledger.Address.cardanoStakingCredential` to retrieve `plutus` `PubKeyHash` - from a Cardano address -- `Ledger.Address.toPlutusAddress` to get a `plutus` address from a Cardano one - (it replaces `Ledger.Tx.CardanoAPI.fromCardanoAddressInEra`) - - -### Changed - -- `Ledger.Address now priviledges `cardano-api` addresses instead of `plutus-api` addresses. - -### Deprecated - -- `fromCardanoAddressInEra`, `fromCardanoAddress`, `fromCardanoPaymentCredential`, - `fromCardanoPaymentKeyHash`, `fromCardanoScriptHash`, - `fromCardanoStakeAddressReference`and `fromCardanoStakeCredential` from `Ledger.Tx.CardanoAPI` - that shouldn't be used now that we use `cardano-api` adress in the emulator. diff --git a/plutus-ledger/plutus-ledger.cabal b/plutus-ledger/plutus-ledger.cabal index 772497a525..c0e49117f1 100644 --- a/plutus-ledger/plutus-ledger.cabal +++ b/plutus-ledger/plutus-ledger.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-ledger -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -111,8 +111,8 @@ library -- Local components -------------------- build-depends: - , freer-extras >=1.0.0 - , plutus-script-utils >=1.0.0 + , freer-extras >=1.1.0 + , plutus-script-utils >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/plutus-pab-executables/CHANGELOG.md b/plutus-pab-executables/CHANGELOG.md new file mode 100644 index 0000000000..766a935e44 --- /dev/null +++ b/plutus-pab-executables/CHANGELOG.md @@ -0,0 +1,7 @@ + + +# 1.1.0 — 2023-01-12 + +## Changed + +- `tx-inject` now uses `Tx` from `cardano-node` diff --git a/plutus-pab-executables/changelog.d/20230103_170014_nicolas.biri_PLT_856.rst b/plutus-pab-executables/changelog.d/20230103_170014_nicolas.biri_PLT_856.rst deleted file mode 100644 index a41321833f..0000000000 --- a/plutus-pab-executables/changelog.d/20230103_170014_nicolas.biri_PLT_856.rst +++ /dev/null @@ -1,4 +0,0 @@ -Changed -------- - -- `tx-inject` now uses `Tx` from `cardano-node` diff --git a/plutus-pab-executables/changelog.d/scriv.ini b/plutus-pab-executables/changelog.d/scriv.ini new file mode 120000 index 0000000000..b4aeee9df9 --- /dev/null +++ b/plutus-pab-executables/changelog.d/scriv.ini @@ -0,0 +1 @@ +../../scriv.ini \ No newline at end of file diff --git a/plutus-pab-executables/plutus-pab-executables.cabal b/plutus-pab-executables/plutus-pab-executables.cabal index 026ac1fc0f..a3e36bc34e 100644 --- a/plutus-pab-executables/plutus-pab-executables.cabal +++ b/plutus-pab-executables/plutus-pab-executables.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-pab-executables -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -56,15 +56,15 @@ library exposed-modules: Plutus.PAB.Run.PSGenerator hs-source-dirs: src build-depends: - , freer-extras >=1.0.0 - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-pab >=1.0.0 + , freer-extras >=1.1.0 + , playground-common >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-pab >=1.1.0 -------------------- -- Local components -------------------- - build-depends: playground-common >=1.0.0 + build-depends: playground-common >=1.1.0 ------------------------ -- Non-IOG dependencies @@ -92,8 +92,8 @@ executable plutus-pab-setup -- Local components -------------------- build-depends: - , plutus-contract >=1.0.0 - , plutus-pab >=1.0.0 + , plutus-contract >=1.1.0 + , plutus-pab >=1.1.0 -------------------------- -- Other IOG dependencies @@ -133,13 +133,13 @@ executable plutus-pab-examples -- Local components -------------------- build-depends: - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-pab-executables >=1.0.0 - , plutus-use-cases >=1.0.0 + , playground-common >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-pab >=1.1.0 + , plutus-pab-executables >=1.1.0 + , plutus-use-cases >=1.1.0 ------------------------ -- Non-IOG dependencies @@ -175,10 +175,10 @@ executable plutus-uniswap -- Local components -------------------- build-depends: - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-use-cases >=1.0.0 + , plutus-contract >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-pab >=1.1.0 + , plutus-use-cases >=1.1.0 ------------------------ -- Non-IOG dependencies @@ -217,13 +217,13 @@ executable plutus-pab-local-cluster -- Local components -------------------- build-depends: - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-pab-executables >=1.0.0 - , plutus-use-cases >=1.0.0 + , playground-common >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-pab >=1.1.0 + , plutus-pab-executables >=1.1.0 + , plutus-use-cases >=1.1.0 -------------------------- -- Other IOG dependencies @@ -264,14 +264,14 @@ executable plutus-pab-test-psgenerator -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-use-cases >=1.0.0 + , cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , playground-common >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-pab >=1.1.0 + , plutus-use-cases >=1.1.0 -------------------------- -- Other IOG dependencies @@ -322,16 +322,16 @@ test-suite plutus-pab-test-full -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , playground-common >=1.0.0 - , plutus-chain-index-core >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-pab-executables >=1.0.0 - , plutus-use-cases >=1.0.0 + , cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , playground-common >=1.1.0 + , plutus-chain-index-core >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-pab >=1.1.0 + , plutus-pab-executables >=1.1.0 + , plutus-use-cases >=1.1.0 -------------------------- -- Other IOG dependencies @@ -391,16 +391,16 @@ test-suite plutus-pab-test-full-long-running -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , playground-common >=1.0.0 - , plutus-chain-index-core >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-pab >=1.0.0 - , plutus-pab-executables >=1.0.0 - , plutus-use-cases >=1.0.0 + , cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , playground-common >=1.1.0 + , plutus-chain-index-core >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-pab >=1.1.0 + , plutus-pab-executables >=1.1.0 + , plutus-use-cases >=1.1.0 -------------------------- -- Other IOG dependencies @@ -446,10 +446,10 @@ executable tx-inject -------------------- build-depends: , cardano-api >=1.35 - , cardano-node-emulator >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-pab >=1.0.0 + , cardano-node-emulator >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-pab >=1.1.0 ------------------------ -- Non-IOG dependencies @@ -482,8 +482,8 @@ executable sync-client -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , plutus-chain-index-core >=1.0.0 + , cardano-node-emulator >=1.1.0 + , plutus-chain-index-core >=1.1.0 -------------------------- -- Other IOG dependencies @@ -517,11 +517,11 @@ executable pab-cli -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , freer-extras - , plutus-chain-index-core >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-pab >=1.0.0 + , cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , plutus-chain-index-core >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-pab >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/plutus-pab/plutus-pab.cabal b/plutus-pab/plutus-pab.cabal index 4cd7ce0561..4f56fbff38 100644 --- a/plutus-pab/plutus-pab.cabal +++ b/plutus-pab/plutus-pab.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-pab -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -126,16 +126,16 @@ library -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , pab-blockfrost - , playground-common >=1.0.0 - , plutus-chain-index >=1.0.0 - , plutus-chain-index-core >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 + , cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , pab-blockfrost >=1.1.0 + , playground-common >=1.1.0 + , plutus-chain-index >=1.1.0 + , plutus-chain-index-core >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-script-utils >=1.1.0 , rewindable-index -------------------------- diff --git a/plutus-script-utils/changelog.d/20221130_102114_nicolas.biri_mkUntyped.rst b/plutus-script-utils/CHANGELOG.md similarity index 64% rename from plutus-script-utils/changelog.d/20221130_102114_nicolas.biri_mkUntyped.rst rename to plutus-script-utils/CHANGELOG.md index 3b963d5e2b..f358b22817 100644 --- a/plutus-script-utils/changelog.d/20221130_102114_nicolas.biri_mkUntyped.rst +++ b/plutus-script-utils/CHANGELOG.md @@ -1,9 +1,8 @@ -.. A new scriv changelog fragment. -.. -.. Uncomment the header that is right (remove the leading dots). -.. -Removed -------- + + +# 1.1.0 — 2023-01-12 + +## Removed - `mkUntypedMintingPolicyV1` replaced by a version agnostic function - `mkUntypedMintingPolicyV2` replaced by a version agnostic function @@ -12,32 +11,15 @@ Removed - `mkUntypedValidatorV1` replaced by a version agnostic function - `mkUntypedValidatorV2` replaced by a version agnostic function - -Added ------ +## Added - `Plutus.Script.Utils.Typed.ScriptContext` a type class that allow the creation of an untyped minting policy, stake validator or validator. - an instance of `Plutus.Script.Utils.Typed.ScriptContext` for `Plutus. ledger.V1.Ledger.Context.ScriptContext` - an instance of `Plutus.Script.Utils.Typed.ScriptContext` for `Plutus. ledger.V2.Ledger.Context.ScriptContext` -.. Changed -.. ------- -.. -.. - A bullet item for the Changed category. -.. -.. Deprecated -.. ---------- -.. -.. - A bullet item for the Deprecated category. -.. -.. Fixed -.. ----- -.. -.. - A bullet item for the Fixed category. -.. -.. Security -.. -------- -.. -.. - A bullet item for the Security category. -.. +## Changed + +- The default implementation of functions in the `IsScriptContext` typeclass now + log which data they are trying to decode, to ease debugging when an invalid + binary representation of a redeemer / value or script context is sent. diff --git a/plutus-script-utils/changelog.d/20221213_131043_nicolas.biri_PLT_501.rst b/plutus-script-utils/changelog.d/20221213_131043_nicolas.biri_PLT_501.rst deleted file mode 100644 index 11fc86708c..0000000000 --- a/plutus-script-utils/changelog.d/20221213_131043_nicolas.biri_PLT_501.rst +++ /dev/null @@ -1,6 +0,0 @@ -Changed -------- - -- The default implementation of functions in the `IsScriptContext` typeclass now - log which data they are trying to decode, to ease debugging when an invalid - binary representation of a redeemer / value or script context is sent. diff --git a/plutus-script-utils/plutus-script-utils.cabal b/plutus-script-utils/plutus-script-utils.cabal index 62cc6d746b..e892679f1c 100644 --- a/plutus-script-utils/plutus-script-utils.cabal +++ b/plutus-script-utils/plutus-script-utils.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-script-utils -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE diff --git a/plutus-tx-constraints/changelog.d/20221214_145700_ak3n_at_least_tx_constraints.md b/plutus-tx-constraints/CHANGELOG.md similarity index 60% rename from plutus-tx-constraints/changelog.d/20221214_145700_ak3n_at_least_tx_constraints.md rename to plutus-tx-constraints/CHANGELOG.md index 2366453ed8..cd57d240d9 100644 --- a/plutus-tx-constraints/changelog.d/20221214_145700_ak3n_at_least_tx_constraints.md +++ b/plutus-tx-constraints/CHANGELOG.md @@ -1,4 +1,10 @@ -### Added + + +# 1.1.0 — 2023-01-12 + +## Added + +- Add support for the `MustMint` constraint. - Added `mustProduceAtLeast` and `mustSpendAtLeast` constraints. - Added `checkValueSpent` in `processLookupsAndConstraints` to validate spend inputs and outputs. diff --git a/plutus-tx-constraints/changelog.d/20221212_095505_nicolas.biri_must_mint.md b/plutus-tx-constraints/changelog.d/20221212_095505_nicolas.biri_must_mint.md deleted file mode 100644 index 68ba2390a1..0000000000 --- a/plutus-tx-constraints/changelog.d/20221212_095505_nicolas.biri_must_mint.md +++ /dev/null @@ -1,3 +0,0 @@ -### Added - -- Add support for the `MustMint` constraint. diff --git a/plutus-tx-constraints/plutus-tx-constraints.cabal b/plutus-tx-constraints/plutus-tx-constraints.cabal index 8cb1519c67..3211abce54 100644 --- a/plutus-tx-constraints/plutus-tx-constraints.cabal +++ b/plutus-tx-constraints/plutus-tx-constraints.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: plutus-tx-constraints -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-files: LICENSE @@ -55,10 +55,10 @@ library -- Local components -------------------- build-depends: - , cardano-node-emulator >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 + , cardano-node-emulator >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-script-utils >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/plutus-use-cases/plutus-use-cases.cabal b/plutus-use-cases/plutus-use-cases.cabal index a7d57b9165..8ab8cb7df9 100644 --- a/plutus-use-cases/plutus-use-cases.cabal +++ b/plutus-use-cases/plutus-use-cases.cabal @@ -1,6 +1,6 @@ cabal-version: 2.0 name: plutus-use-cases -version: 1.0.0.0 +version: 1.1.0.0 license: Apache-2.0 license-file: LICENSE NOTICE maintainer: jann.mueller@iohk.io @@ -91,14 +91,14 @@ library -- Local components -------------------- build-depends: - cardano-node-emulator >=1.0.0 - , playground-common >=1.0.0 - , plutus-chain-index-core >=1.0.0 - , plutus-contract >=1.0.0 + cardano-node-emulator >=1.1.0 + , playground-common >=1.1.0 + , plutus-chain-index-core >=1.1.0 + , plutus-contract >=1.1.0 , plutus-core >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-script-utils >=1.1.0 -------------------------- -- Other IOG dependencies @@ -182,15 +182,15 @@ test-suite plutus-use-cases-test -- Local components -------------------- build-depends: - cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , playground-common >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-contract-certification >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-use-cases >=1.0.0 + cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , playground-common >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-contract-certification >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-script-utils >=1.1.0 + , plutus-use-cases >=1.1.0 -------------------------- -- Other IOG dependencies @@ -266,14 +266,14 @@ executable plutus-use-cases-scripts -- Local components -------------------- build-depends: - cardano-node-emulator >=1.0.0 - , freer-extras >=1.0.0 - , plutus-contract >=1.0.0 - , plutus-contract-certification >=1.0.0 - , plutus-ledger >=1.0.0 - , plutus-ledger-constraints >=1.0.0 - , plutus-script-utils >=1.0.0 - , plutus-use-cases >=1.0.0 + cardano-node-emulator >=1.1.0 + , freer-extras >=1.1.0 + , plutus-contract >=1.1.0 + , plutus-contract-certification >=1.1.0 + , plutus-ledger >=1.1.0 + , plutus-ledger-constraints >=1.1.0 + , plutus-script-utils >=1.1.0 + , plutus-use-cases >=1.1.0 -------------------------- -- Other IOG dependencies diff --git a/rewindable-index/rewindable-index.cabal b/rewindable-index/rewindable-index.cabal index 018c55e870..3a0fe7bb9e 100644 --- a/rewindable-index/rewindable-index.cabal +++ b/rewindable-index/rewindable-index.cabal @@ -1,6 +1,6 @@ cabal-version: 2.2 name: rewindable-index -version: 1.0.0.0 +version: 1.1.0.0 synopsis: Indexers that can rewind the state to a previous version. description: Please see the README on GitHub at