v5.0.0
Added
-
New state-query
systemStart
to access the blockchain start time (UTC). -
New state-query
chainTip
to access the blockchain current tip (may slightly differ from theledgerTip
which may be behind catching up). -
New state-query
blockHeight
to access the blockchain current highest block number (or"origin"
if the chain is just starting). -
New state-query
eraSummaries
to access all era bounds and slotting parameters details, required for proper slot arithmetic. -
Log-levels can now be configured per-component. For example, one can decrease the min severity for the health component while keeping the state-query logs at another.
-
Logs can now be shutdown completely via the special keyword
off
. -
Static binaries for Linux are now produced by the Nix build and uploaded as build artifacts for the corresponding Github workflow (i.e. Nix).
-
Add support for
systemStart
,chainTip
,blockHeight
&eraSummaries
in theclient
andrepl
.
Changed
🏢 Server
-
⚠️ RelativeTime
is no-longer serialised as a string (withs
as suffix) but, as an integer representing the number of seconds. -
⚠️ Serialised Plutus scripts are now labelled eitherplutus:v1
orplutus:v2
(instead ofplutus
). -
⚠️ Some breaking changes in the SubmitTx errors returned by the server for the sake of consistency. All submission errors are now returned as singleton objects within an array. The key of each object indicates the type of error and the value gives additional details about the errors. This is also true for era-mismatch errors. Some errors used to be returned as plain strings, they are now wrapped as singleton object withnull
as a value; this is the case for:invalidMetadata
mirNegativeTransferNotCurrentlyAllowed
mirProducesNegativeUpdate
mirTransferNotCurrentlyAllowed
missingAtLeastOneInputUtxo
missingCollateralInputs
triesToForgeAda
validationTagMismatch
wrongCertificateType
-
Upgraded internal dependencies to Cardano eco-system 1.31.0
-
⚠️ getServerHealth
'sconnection
argument is now wrapped into an object, mapped to the fieldconnection
. See #135 (:bulb: @rhyslbw) -
⚠️ Replaced schema definitions forHash16
andHash64
with more precise type definitions. For hashes, definitions now follows a conventionDigest[ALGORITHM]::PRE-IMAGE
whereALGORITHM
andPRE-IMAGE
points to the corresponding has algorithm used to hash thePRE-IMAGE
. The length of the digest is given byminLength
andmaxLength
JSON-schema constraints. Consequently, TypeScript types / interfaces generated from the JSON-schema definitions have been altered.
Removed
-
⚠️ Log level severitiescritical
,alert
andemergency
have been removed.error
is now the highest severity. -
⚠️ The Nix setup has been highly simplified, resulting in removal of the NixOS services configuration and probably some other stuff. -
Fixed broken links in documentation (:hammer: @bjing)