-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ci(release): v0.94.0
@ master
#2863
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fuel-service-user
requested review from
digorithm,
arboleya,
Torres-ssf,
Dhaiwat10,
danielbate,
nedsalk,
petertonysmith94 and
maschad
as code owners
July 30, 2024 14:58
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
July 30, 2024 15:47
ba83af7
to
b012912
Compare
fuel-service-user
changed the title
ci(changesets): versioning packages -
ci(changesets): versioning packages - Jul 30, 2024
v0.93.1
@ master
v0.94.0
@ master
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
July 30, 2024 21:52
b012912
to
08972da
Compare
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
July 30, 2024 23:38
08972da
to
7dfaa75
Compare
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
July 31, 2024 19:21
7dfaa75
to
0b23c9f
Compare
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
July 31, 2024 20:57
0b23c9f
to
913dfed
Compare
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
August 1, 2024 11:05
913dfed
to
4c1ee79
Compare
This was referenced Aug 5, 2024
On release of this PR:
|
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
August 5, 2024 10:30
4c1ee79
to
b90865b
Compare
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
August 5, 2024 13:23
b90865b
to
703ed72
Compare
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
August 19, 2024 17:53
d6376e0
to
e3e0c9f
Compare
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
August 19, 2024 20:24
e3e0c9f
to
cf67812
Compare
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
August 19, 2024 22:26
cf67812
to
b4056b7
Compare
arboleya
previously approved these changes
Aug 19, 2024
danielbate
previously approved these changes
Aug 19, 2024
Torres-ssf
previously approved these changes
Aug 19, 2024
fuel-service-user
dismissed stale reviews from Torres-ssf, danielbate, and arboleya
via
August 19, 2024 23:51
fb68ad7
fuel-service-user
force-pushed
the
changeset-release/master
branch
from
August 19, 2024 23:51
b4056b7
to
fb68ad7
Compare
Torres-ssf
approved these changes
Aug 19, 2024
arboleya
approved these changes
Aug 19, 2024
danielbate
approved these changes
Aug 19, 2024
Coverage Report:
Changed Files:
|
Release published to CDNJS in about 10 minutes ⚡ |
maschad
pushed a commit
that referenced
this pull request
Aug 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
In this release, we:
Message
resources upon transaction submissiontypegen
API more straightforward and ergonomicContractFactory.deployAsBlobTx
a non-blocking callforc
to v0.63.0 & v0.63.1()
andOption<T>
typesfuel-core
to v0.32.1forc
andfuel-core
version reporting on typegen-generated filesgetInputFromAssetId
so it returns the correctInputCoin
andInputMessage
fuel-core
to v0.33.0createAssetId
function to create a nativeAssetId
typeFUEL_NETWORK_URL
andLOCAL_NETWORK_URL
constantsgenerateTestWallet
,seedTestWallet
andlaunchNodeAndGetWallets
utilitiesAssetId
toTestAssetId
Breaking
typegen
api, by @arboleyaabi
transpiler, by @arboleya()
andOption<T>
type handling, by @petertonysmith94fuel-core@0.32.1
and large contract deployments, by @danielbateFUEL_NETWORK_URL
andLOCAL_NETWORK_URL
, by @petertonysmith94launchTestNode
in remaining packages, by @maschadAssetId
toTestAssetId
, by @petertonysmith94Features
fuel-ts/crypto
, by @Torres-ssfFixes
Account.getTransactionCost
, by @Torres-ssfAccount.createTransfer
return type, by @Torres-ssfChores
fuel-core@0.33.0
, by @danielbateError
toFuelError
, by @petertonysmith94PANIC_REASONS
constant, by @Torres-ssfcreate fuels
templates, by @Dhaiwat10Migration Notes
Features
#2872 - Consider message on resources cache
The provider option flag
cacheUtxo
was renamed toresourceCacheTTL
#2824 - Prettify
typegen
apiPredicate
classPredicate
class constructor parameters renamed:inputData
>data
Predicate
now accepts a single parameter for initializationlaunchTestNode
utilitycontractsConfigs[].deployer
tocontractsConfigs[].factory
contractsConfigs[].bytecode
and.hex.ts
fileThe bytecode is now saved within the factory class, so you don't have to deal with it.
Renamed method
deployContract
todeploy
Removed the redundant suffix on the
ContractFactory
class method name.Typegen
Contract
templateAbi__factory
suffix from class names<name>.hex
was removed (access it via<Name>.bytecode
)<name>__factory.ts
and<name>.d.dts
were merged into<name>.ts
<Name>
and the interface<Name>Abi
are now just<Name>
<Name>Factory.deployContract()
renamed to<Name>Factory.deploy()
<typegenDir>/contracts/factories
directoryTypegen
Predicate
templateAbi__factory
suffix from class names<typegenDir>/predicates/factories
directoryTypegen
Script
templateAbi__factory
suffix from class names<typegenDir>/scripts/factories
directory#2962 - Read malleable fields from transaction status on subscription
Removed TransactionResult.gqlTransaction. You can use the
TransactionResult.transaction
field and other fields on the response instead, which have all the data thatTransactionResult.gqlTransaction
has.#2929 - Non-blocking blob deployment
The transaction ID from a contract deployment is now returned as a promise.
#2856 - Adding
abi
transpilerNew ABI spec
The SDK now adheres to the new specs introduced via:
Check these out to understand all its changes.
AbiCoder
is no longer available to importThe class
AbiCoder
is no longer exported, and the way to do encoding and decoding of specific types is now via theInterface.encodeType
andInterface.decodeType
methods:Interface.findTypeById
has been removedPreviously, you could get a type from the ABI via the
Interface.findTypeById
. This method was removed after introducing the new abi specification because the concept of a type has been split into concrete and metadata types. If you want a specific type, you can get it directly from the ABI.JsonAbiArgument
is no longer exportedThe
JsonAbiArgument
type isn't part of the new ABI spec (#596, #599) as such so we stopped exporting it. Its closest equivalent now would be a concrete type because it fully defines a type.#2777 - Improve
()
andOption<T>
type handling()
andOption<T>
Sway types are now either required or optional, dependent on where the argument appears in the function arguments.Given these Sway functions:
This is what changes:
#2827 -
fuel-core@0.32.1
and large contract deploymentsMAX_CONTRACT_SIZE
is no longer exported, it should now be fetched from the chain.Fixes
#2963 - Assembly process for account transfer operation
The
getTransferOperations
helper function now requires an additional baseAssetId parameter.Chores
#2915 - Deprecate
FUEL_NETWORK_URL
andLOCAL_NETWORK_URL
Removed
FUEL_NETWORK_URL
constant.Removed
LOCAL_NETWORK_URL
constant.#2811 - Integrate
launchTestNode
in remaining packagesRemoved
generateTestWallet
andseedTestWallet
utilities.Removed
launchNodeAndGetWallets
utility.#2964 - Wrap subscriptions in promise
#2905 - Renamed
AssetId
toTestAssetId
Renamed testing class
AssetId
toTestAssetId
.