Skip to content
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.98.0 @ master #3521

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fuel-service-user
Copy link
Contributor

@fuel-service-user fuel-service-user commented Jan 2, 2025

Summary

In this release, we:

  • Added method fromInstance to the Predicate class
  • Added auto-detection for the user's package manager of choice for create fuels
  • Added support for --fuel-core-port flag in fuels init command
  • Added the autoCost method to easily estimate and fund transactions
  • Migrated fundWithRequiredCoins -> autoCost for contract and script calls
  • Fixed an issue when using multiple paths (or globals) in fuels init
  • Improved validation and handling of unsafe integers in BigNumberCoder
  • Upgraded fuel-core to 0.40.2
  • Removed all instances of Bech32 address format in favour of B256
  • Improved Getting Started docs and repo README, focusing on Mainnet

Breaking


Features

Fixes

Chores

Docs


Migration Notes

Features

#3539 - autoCost for transaction estimation and funding

To be brought inline with autoCost, funding a contract and script call has been migrated from fundWithRequiredCoins to autoCost:

// before
const request: ScriptTransactionRequest = contract.functions.add(1).fundWithRequiredCoins();

// after
const request: ScriptTransactionRequest = contract.functions.add(1).autoCost(wallet);

Chores

#3493 - Remove Bech32 address

  • We no longer support Bech32 addresses
// before
import { Address, Bech32Address } from "fuels";

const bech32Address: Bech32Address = "fuel1234";
const address = new Address(bech32Address);
// after
import { Address, B256Address } from "fuels";

const b256Address: B256Address = "0x1234";
const address = new Address(b256Address);
  • Removed INVALID_BECH32_ADDRESS error code.

  • Removed associated Bech32 helper functions.

    • normalizeBech32
    • isBech32
    • toB256
    • getBytesFromBech32
    • toBech32
    • clearFirst12BytesFromB256

Copy link

vercel bot commented Jan 2, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
fuels-template ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 4, 2025 1:19pm
ts-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 4, 2025 1:19pm
ts-docs-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 4, 2025 1:19pm

@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from 3d255ba to 07e4a32 Compare January 2, 2025 09:20
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from 07e4a32 to 9f976f2 Compare January 2, 2025 10:43
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch 2 times, most recently from 0ecec63 to c1ae347 Compare January 2, 2025 11:55
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from c1ae347 to a3f28bf Compare January 2, 2025 12:21
@fuel-service-user fuel-service-user changed the title ci(release): v0.97.3 @ master ci(release): v0.98.0 @ master Jan 2, 2025
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from a3f28bf to 7a4a172 Compare January 2, 2025 12:49
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from 7a4a172 to 2dfbf5a Compare January 2, 2025 13:12
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from 2dfbf5a to ccf350c Compare January 2, 2025 13:38
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from ccf350c to 3b401e9 Compare January 2, 2025 15:22
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from 3b401e9 to 820f80e Compare January 3, 2025 10:23
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from 820f80e to 67af150 Compare January 3, 2025 11:03
@fuel-service-user fuel-service-user force-pushed the changeset-release/master branch from 67af150 to 5cd7aaa Compare January 3, 2025 12:20
Copy link
Contributor

github-actions bot commented Jan 4, 2025

Coverage Report:

Lines Branches Functions Statements
77.79%(+0%) 70.46%(+0%) 75.38%(+0%) 77.75%(+0%)
Changed Files:

Coverage values did not change👌.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant