Skip to content

Commit

Permalink
ci(changesets): versioning packages (#1833)
Browse files Browse the repository at this point in the history
  • Loading branch information
fuel-service-user authored Mar 14, 2024
1 parent 5857b67 commit bc72cb6
Show file tree
Hide file tree
Showing 65 changed files with 189 additions and 171 deletions.
6 changes: 0 additions & 6 deletions .changeset/brave-phones-relax.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dry-experts-hug.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/five-candles-stare.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/fresh-numbers-divide.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/hungry-peas-argue.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/itchy-bulldogs-pay.md

This file was deleted.

54 changes: 0 additions & 54 deletions .changeset/many-timers-tease.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/new-years-bathe.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/nine-tomatoes-learn.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/old-camels-serve.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/olive-ties-yawn.md

This file was deleted.

13 changes: 0 additions & 13 deletions .changeset/orange-lions-drop.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/perfect-feet-approve.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/quick-swans-lie.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/short-numbers-confess.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/slimy-waves-live.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/small-falcons-fetch.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/spotty-cheetahs-arrive.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tasty-buses-allow.md

This file was deleted.

2 changes: 0 additions & 2 deletions .changeset/thick-points-return.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/tough-tomatoes-protect.md

This file was deleted.

5 changes: 5 additions & 0 deletions apps/demo-wallet-sdk-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# demo-wallet-sdk-react

## 0.1.1

## 0.1.1
2 changes: 1 addition & 1 deletion apps/demo-wallet-sdk-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "demo-wallet-sdk-react",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
2 changes: 2 additions & 0 deletions internal/check-imports/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,5 @@
## null

## null

## null
6 changes: 6 additions & 0 deletions packages/abi-coder/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 0.77.0

### Patch Changes

- Migrate implementations of `sha256`, `keccak` and `scrypt` to `@noble/hashes`, by [@danielbate](https://github.com/danielbate) (See [#1786](https://github.com/FuelLabs/fuels-ts/pull/1786))

## 0.76.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-coder/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuel-ts/abi-coder",
"version": "0.76.0",
"version": "0.77.0",
"description": "",
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/abi-typegen/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @fuel-ts/abi-typegen

## 0.77.0

### Patch Changes

- Added generic data input for the predicate factory, by [@petertonysmith94](https://github.com/petertonysmith94) (See [#1867](https://github.com/FuelLabs/fuels-ts/pull/1867))

## 0.76.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/abi-typegen/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuel-ts/abi-typegen",
"version": "0.76.0",
"version": "0.77.0",
"description": "Generates Typescript definitions from Sway ABI Json files",
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
"bin": {
Expand Down
62 changes: 62 additions & 0 deletions packages/account/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,67 @@
# Change Log

## 0.77.0

### Minor Changes

- - Rename Asset type `Fuel` to `NetworkFuel`
- Rename Asset type `Ethereum` to `NetworkEthereum`
- Exporting Asset types, by [@Torres-ssf](https://github.com/Torres-ssf) (See [#1877](https://github.com/FuelLabs/fuels-ts/pull/1877))
- !feat: accept predicate data on the `Predicate` constructor
This is a _BREAKING_ change since the API for the `Predicate` constructor has changed:
```ts
// old API
const predicate = new Predicate(
bytecode,
provider,
abi,
configurableConstants,
);
// new API
const predicate = new Predicate({
bytecode,
abi, // optional
provider,
inputData, // optional
configurableConstants, // optional
});
```
Notice how the `Predicate` constructor now accepts an _object_ with the following properties:
- `bytecode`: The bytecode of the predicate.
- `abi`: The JSON ABI of the predicate (optional).
- `provider`: The provider for interacting with the predicate.
- `inputData`: The predicate input data (optional).
- `configurableConstants`: The configurable constants for the predicate (optional).
This change was made with readability and ease-of-use in mind, since having too many arguments in a 'flat' constructor can be confusing. Consider a scenario where you want to create a Predicate with configurables but no input data:
```ts
const predicate = new Predicate(
bytecode,
provider,
abi,
undefined,
configurableConstants,
);
```
In this case, you would have to pass `undefined` as the `inputData` argument, which is not ideal. By using the object-based constructor, you can now pass an object with the properties you want to set, and the constructor will handle the rest:
```ts
const predicate = new Predicate({
bytecode,
abi,
provider,
configurableConstants,
});
```
The `setData` method has been removed. If you want to pass in the predicate data _after_ instantiating the `Predicate` or if you want to use a different data than the one passed in the constructor, you will have to create a new `Predicate` instance, by [@Dhaiwat10](https://github.com/Dhaiwat10) (See [#1826](https://github.com/FuelLabs/fuels-ts/pull/1826))
- Added `requestMiddleware` to `ProviderOptions` as a way to allow the user the modification of each fetch call's request, by [@nedsalk](https://github.com/nedsalk) (See [#1822](https://github.com/FuelLabs/fuels-ts/pull/1822))

### Patch Changes

- Add try/catch block when parsing GraphQL stream data response, by [@Torres-ssf](https://github.com/Torres-ssf) (See [#1839](https://github.com/FuelLabs/fuels-ts/pull/1839))
- Migrate implementations of `sha256`, `keccak` and `scrypt` to `@noble/hashes`, by [@danielbate](https://github.com/danielbate) (See [#1786](https://github.com/FuelLabs/fuels-ts/pull/1786))
- 🐞 fix: disallow transferring <= 0 amounts, by [@Dhaiwat10](https://github.com/Dhaiwat10) (See [#1827](https://github.com/FuelLabs/fuels-ts/pull/1827))
- - Handling `SqueezedOut` status update when calling `submitAndAwait` subscription at `Provider.sendTransaction`
- Handling `SqueezedOut` status update when calling statusChange subscrition at `TransactionResponse.waitForResult`, by [@Torres-ssf](https://github.com/Torres-ssf) (See [#1829](https://github.com/FuelLabs/fuels-ts/pull/1829))

## 0.76.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/account/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuel-ts/account",
"version": "0.76.0",
"version": "0.77.0",
"description": "",
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/address/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 0.77.0

### Patch Changes

- Migrate implementations of `sha256`, `keccak` and `scrypt` to `@noble/hashes`, by [@danielbate](https://github.com/danielbate) (See [#1786](https://github.com/FuelLabs/fuels-ts/pull/1786))

## 0.76.0

## 0.75.0
Expand Down
2 changes: 1 addition & 1 deletion packages/address/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuel-ts/address",
"version": "0.76.0",
"version": "0.77.0",
"description": "Utilities for encoding and decoding addresses",
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
"main": "dist/index.js",
Expand Down
6 changes: 6 additions & 0 deletions packages/contract/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 0.77.0

### Patch Changes

- Migrate implementations of `sha256`, `keccak` and `scrypt` to `@noble/hashes`, by [@danielbate](https://github.com/danielbate) (See [#1786](https://github.com/FuelLabs/fuels-ts/pull/1786))

## 0.76.0

## 0.75.0
Expand Down
2 changes: 1 addition & 1 deletion packages/contract/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuel-ts/contract",
"version": "0.76.0",
"version": "0.77.0",
"description": "",
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
"main": "dist/index.js",
Expand Down
10 changes: 10 additions & 0 deletions packages/create-fuels/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# create-fuels

## 0.77.0

### Minor Changes

- The `create-fuels` template app now provides a local faucet and uses a local burner wallet to execute transactions.
Previously, the app was using a hardcoded key to sign all transactions. This key is now being used as the key for the faucet, and the burner wallet is being used to execute transactions.
For convenience, the burner wallet is persisted in local storage so that it can be used across multiple sessions.
The burner wallet is also topped up with 10,000 coins on first load.
This is an important step towards adding support for the Fuel Wallet SDK, which will allow users to sign transactions using their own wallets, by [@Dhaiwat10](https://github.com/Dhaiwat10) (See [#1864](https://github.com/FuelLabs/fuels-ts/pull/1864))

## 0.76.0

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/create-fuels/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-fuels",
"version": "0.76.0",
"version": "0.77.0",
"description": "",
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
"bin": {
Expand Down
6 changes: 6 additions & 0 deletions packages/crypto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Change Log

## 0.77.0

### Patch Changes

- Migrate implementations of `sha256`, `keccak` and `scrypt` to `@noble/hashes`, by [@danielbate](https://github.com/danielbate) (See [#1786](https://github.com/FuelLabs/fuels-ts/pull/1786))

## 0.76.0

## 0.75.0
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@fuel-ts/crypto",
"version": "0.76.0",
"version": "0.77.0",
"description": "Utilities for encrypting and decrypting data",
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
"main": "dist/index.js",
Expand Down
Loading

0 comments on commit bc72cb6

Please sign in to comment.