Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Make 1.1.0 release. (#898)
Browse files Browse the repository at this point in the history
* Add 1.1.0 changelog entries.

* Bump the version of packages to 1.1.0.0

* Bump version restrictions to 1.1.0

* Update changelog files
  • Loading branch information
Evgenii Akentev authored Jan 12, 2023
1 parent 1809b66 commit e32722a
Show file tree
Hide file tree
Showing 43 changed files with 264 additions and 329 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
### Added

<a id='changelog-1.1.0'></a>
# 1.1.0 — 2023-01-12

## Added

- Moved from `plutus-ledger` package:
- `Ledger.TimeSlot` to `Cardano.Node.Emulator.TimeSlot`
Expand Down
8 changes: 4 additions & 4 deletions cardano-node-emulator/cardano-node-emulator.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cardano-streaming/cardano-streaming.cabal
Original file line number Diff line number Diff line change
@@ -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: [email protected]

Expand Down
2 changes: 1 addition & 1 deletion doc/plutus-doc.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion freer-extras/freer-extras.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion marconi-mamba/marconi-mamba.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion marconi/marconi.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down
8 changes: 4 additions & 4 deletions pab-blockfrost/pab-blockfrost.cabal
Original file line number Diff line number Diff line change
@@ -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:
[email protected], [email protected]
Expand Down Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion playground-common/playground-common.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### Changed

<a id='changelog-1.1.0'></a>
# 1.1.0 — 2023-01-12

## Changed

- We now use `cardano-node` `Tx` type instead of the one of `plutus-ledger`.
10 changes: 5 additions & 5 deletions plutus-chain-index-core/plutus-chain-index-core.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 5 additions & 5 deletions plutus-chain-index/plutus-chain-index.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -52,7 +52,7 @@ library
--------------------
-- Local components
--------------------
build-depends: plutus-contract >=1.0.0
build-depends: plutus-contract >=1.1.0

--------------------------
-- Other IOG dependencies
Expand Down
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
-->
<a id='changelog-1.1.0'></a>
# 1.1.0 — 2023-01-12

<!--
### Removed
## Added

- A bullet item for the Removed category.
-->

### 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,
Expand All @@ -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
- `DoubleSatisfaction` is now using `cardano-api` `Tx` instead of the emulator
one.

- A bullet item for the Fixed category.
## Deprecated

-->
<!--
### Security
- Deprecated `Plutus.Trace.Emulator.runEmulatorTraceIO'` in favor of `Plutus.Trace.Emulator.runEmulatorTraceIOWithConfig`

- A bullet item for the Security category.
## Security

-->
- Fixed state machine thread token on-chain check in light of https://www.tweag.io/blog/2022-03-25-minswap-lp-vulnerability

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

16 changes: 8 additions & 8 deletions plutus-contract/plutus-contract.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions plutus-example/plutus-example.cabal
Original file line number Diff line number Diff line change
@@ -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.

Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
@@ -1,41 +1,20 @@
<!--
A new scriv changelog fragment.

Uncomment the section that is right (remove the HTML comment wrapper).
-->
<a id='changelog-1.1.0'></a>
# 1.1.0 — 2023-01-12

<!--
### Removed
- A bullet item for the Removed category.
-->

### 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.

<!--
### Fixed
- A bullet item for the Fixed category.
-->
<!--
### Security
- A bullet item for the Security category.
-->

This file was deleted.

8 changes: 4 additions & 4 deletions plutus-ledger-constraints/plutus-ledger-constraints.cabal
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down
Loading

0 comments on commit e32722a

Please sign in to comment.