Skip to content

Commit

Permalink
Release v12.3.0 (#1045)
Browse files Browse the repository at this point in the history
* Upgrade minor/patch dependencies (incl. stellar-base)
* Update changelog, do major version bumps
* Add details to changelog
  • Loading branch information
Shaptic authored Sep 16, 2024
1 parent e6cda07 commit 99cf4cc
Show file tree
Hide file tree
Showing 4 changed files with 510 additions and 542 deletions.
27 changes: 16 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,27 @@ A breaking change will get clearly marked in this log.
## Unreleased


## [v12.3.0](https://github.com/stellar/js-stellar-sdk/compare/v12.2.0...v12.3.0)

### Added
- Add `getTransactions` to RPC server. ([#1037](https://github.com/stellar/js-stellar-sdk/pull/1037))
- `rpc.Server` now has a `getVersionInfo` method which reports version information of the RPC instance it is connected to. ([#997](https://github.com/stellar/js-stellar-sdk/issues/997)):
- `rpc.Server` now has a `getTransactions`, which has the same response schema as `getTransactions` except with bundles of transactions ([#1037](https://github.com/stellar/js-stellar-sdk/pull/1037)).
- `rpc.Server` now has a `getVersionInfo` method which reports version information of the RPC instance it is connected to ([#1028](https://github.com/stellar/js-stellar-sdk/issues/1028)):

```typescript

export interface GetVersionInfoResponse {
version: string;
commit_hash: string;
build_time_stamp: string;
captive_core_version: string;
protocol_version: number;
}

export interface GetVersionInfoResponse {
version: string;
commit_hash: string;
build_time_stamp: string;
captive_core_version: string;
protocol_version: number;
}
```

### Fixed
- Lower authorization entry's default signature expiration to ~8min for security reasons ([#1023](https://github.com/stellar/js-stellar-sdk/pull/1023)).
- Remove `statusText` error check to broaden compatibility ([#1001](https://github.com/stellar/js-stellar-sdk/pull/1001)).
- Upgraded `stellar-base` which includes various fixes ([release notes](https://github.com/stellar/js-stellar-base/releases/tag/v12.1.1), [#1045](https://github.com/stellar/js-stellar-sdk/pull/1045)).


## [v12.2.0](https://github.com/stellar/js-stellar-sdk/compare/v12.1.0...v12.2.0)

Expand Down
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stellar/stellar-sdk",
"version": "12.2.0",
"version": "12.3.0",
"description": "A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.",
"keywords": [
"stellar"
Expand Down Expand Up @@ -93,29 +93,29 @@
]
},
"devDependencies": {
"@babel/cli": "^7.24.8",
"@babel/cli": "^7.25.6",
"@babel/core": "^7.24.9",
"@babel/eslint-plugin": "^7.24.7",
"@babel/preset-env": "^7.24.8",
"@babel/preset-env": "^7.25.4",
"@babel/preset-typescript": "^7.24.7",
"@babel/register": "^7.24.6",
"@definitelytyped/dtslint": "^0.2.22",
"@definitelytyped/dtslint": "^0.2.23",
"@istanbuljs/nyc-config-babel": "3.0.0",
"@stellar/tsconfig": "^1.0.2",
"@types/chai": "^4.3.14",
"@types/chai": "^4.3.19",
"@types/detect-node": "^2.0.0",
"@types/eventsource": "^1.1.12",
"@types/json-schema": "^7.0.15",
"@types/lodash": "^4.17.7",
"@types/mocha": "^10.0.7",
"@types/mocha": "^10.0.8",
"@types/node": "^20.14.11",
"@types/randombytes": "^2.0.1",
"@types/sinon": "^17.0.2",
"@types/urijs": "^1.19.20",
"@typescript-eslint/parser": "^7.16.1",
"axios-mock-adapter": "^1.22.0",
"babel-loader": "^9.1.3",
"babel-plugin-istanbul": "^6.1.1",
"babel-plugin-istanbul": "^7.0.0",
"buffer": "^6.0.3",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
Expand All @@ -126,14 +126,14 @@
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^18.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-import": "^2.30.0",
"eslint-plugin-jsdoc": "^48.8.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prefer-import": "^0.0.1",
"eslint-plugin-prettier": "^5.2.1",
"eslint-webpack-plugin": "^4.2.0",
"ghooks": "^2.0.4",
"husky": "^9.1.1",
"husky": "^9.1.6",
"jsdoc": "^4.0.2",
"json-schema-faker": "^0.5.6",
"karma": "^6.4.3",
Expand All @@ -144,26 +144,26 @@
"karma-mocha": "^2.0.0",
"karma-sinon-chai": "^2.0.2",
"karma-webpack": "^5.0.1",
"lint-staged": "^15.2.7",
"lint-staged": "^15.2.10",
"lodash": "^4.17.21",
"minami": "^1.1.1",
"mocha": "^10.6.0",
"node-polyfill-webpack-plugin": "^3.0.0",
"nyc": "^15.1.0",
"nyc": "^17.0.0",
"prettier": "^3.3.3",
"randombytes": "^2.1.0",
"sinon": "^17.0.1",
"sinon-chai": "^3.7.0",
"taffydb": "^2.7.3",
"terser-webpack-plugin": "^5.3.10",
"ts-node": "^10.9.2",
"typescript": "^5.5.3",
"webpack": "^5.93.0",
"typescript": "^5.6.2",
"webpack": "^5.94.0",
"webpack-cli": "^5.0.1"
},
"dependencies": {
"@stellar/stellar-base": "^12.1.0",
"axios": "^1.7.2",
"@stellar/stellar-base": "^12.1.1",
"axios": "^1.7.7",
"bignumber.js": "^9.1.2",
"eventsource": "^2.0.2",
"randombytes": "^2.1.0",
Expand Down
7 changes: 3 additions & 4 deletions src/rpc/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ function findCreatedAccountSequenceInTransactionMeta(
?.account()
?.seqNum()
?.toString();

if (sequenceNumber) {
return sequenceNumber;
}
Expand Down Expand Up @@ -878,9 +878,9 @@ export class Server {
}

/**
* Provides an analysis of the recent fee stats for regular and smart
* Provides an analysis of the recent fee stats for regular and smart
* contract operations.
*
*
* @returns {Promise<Api.GetFeeStatsResponse>} the fee stats
* @see https://developers.stellar.org/docs/data/rpc/api-reference/methods/getFeeStats
*/
Expand All @@ -897,5 +897,4 @@ export class Server {
public async getVersionInfo(): Promise<Api.GetVersionInfoResponse> {
return jsonrpc.postObject(this.serverURL.toString(), 'getVersionInfo');
}

}
Loading

0 comments on commit 99cf4cc

Please sign in to comment.