Releases: Adamant-im/adamant
v0.10.0
Added
-
The
includeDirectTransfersparameter for the/api/chats/getand/api/chatroomsendpoints in #91 -
New properties to the
/api/node/statusendpoint in #90:interface Response { loader: { loaded: boolean; now: number; syncing: boolean; consensus: number; blocks: number; blocksCount: number; } // ... }
-
timestampMsfield for the transactions in #93 -
?returnUnconfirmed=1flag for transactions in #96 -
Explicit fields for the unconfirmed transactions:
interface UnconfirmedTransaction { // ... blockId: null; height: null; confirmations: 0; }
-
Socket connection between nodes in #99. Learn more at https://docs.adamant.im
Changed
countnow is returned as a number in every response in #110- The default sorting for all endpoints is now
timestamp:desc. All timestamp-based sorting now prioritizestimestampMs.
Fixed
- The bug when transaction pool doesn't properly remove transactions in #108
- False warnings "discarded the received block" and "skipping delegate slots" in #120
Deprecated
- GitHub Wiki. Use https://docs.adamant.im for documentation
- The
withoutDirectTransfersfilter for all endpoints, useincludeDirectTransfersinstead
v0.9.0
Added
-
addressparameter to/api/delegates/getendpoint, which previously only supportedusernameandpublicKey. Usage:/api/delegates/get?address=U1234567890See: API specification and PR #79
-
WebSocket now supports subscribing to multiple transaction types instead of just one. For message transactions, added
assetChatTypesevent to subscribe to Message Types. Learn more at the Documentation. PRs #84, #85 -
New properties to to the response of the
/api/node/statusendpoint by merging data from/api/loader/statusand/api/loader/status/sync, reducing the number of requests needed to get full information of blockchain status:{ // ... "loader": { "loaded": true, "now": 45345521, "syncing": false, "consensus": 100, "blocks": 0, "blocksCount": 0 } }
Refer to the API Specification for property meanings. PR #90
Fixed
-
Fixed unable to connect to peers whose version names include pre-release or build metadata (e.g.,
+alpha,-dev.0). Now supports SemVer-2.0. PR #88 -
Fixed peer removal after one-time connection errors. PR #89
-
Fixed config files validation #92
Optimized
/delegates/getendpoint to search for a single transaction
Other
- Updated dependencies
- Minor logging improvements
- Added a new guide for contributors regarding tests
v0.8.4-dev.0
v0.8.3
- Updated default nodes
- Removed
config.json: docp config.default.json config.jsonafter set up
Note: save your config.json file before update: cp config.json config.json.backup
v0.8.2
v0.8.1
-
Added the logs for database migration script
Now the ADAMANT node will log the messages before and after executing migration script:
[inf] 2023-12-22 04:00:25 | Found 5 pending migrations. Start executing, this may take a while… [inf] 2023-12-22 04:17:13 | Migrations have been successfully completed. -
Changed the default
Access-Control-Allow-OriginCORS header valueThe default value for the
cors.originproperty has been changed from reflecting the request origin (true) to*. See the documentation to learn more about CORS configuration for the ADAMANT node.{ "cors": { "origin": "*" // default } }
-
Added the
config.jsonfile to.gitignoreNow the user needs to create the
config.jsonfile himself or copyconfig.default.jsonto start the ADAMANT node.cp config.default.json config.json
v0.8.0
-
Added
corsoption inconfig.json(see #62) -
You can now use either
inIdorisInin/api/transactionsand/api/chats/getendpoints.
Example:/api/chats/get?InId=U6386412615727665758and/api/chats/get?isIn=U6386412615727665758are the same. -
Users ID in
/api/chats/getand/api/chatroomsendpoints became case insensitive.
Example:/api/chatrooms/U6386412615727665758and/api/chatrooms/u6386412615727665758are the same. -
Transactions and
POST /api/accounts/delegatesaccept transaction in plain object and insidetransactionproperty .
Example:curl -X POST https://endless.adamant.im/api/transactions/process -H 'Content-Type: application/json' -d '{"type": 0, "amount": 100000000, ...}' # or {"transaction": { "type": 0, "amount": 100000000, ... }}
-
Added
confirmationsproperty for/api/states/getendpoint -
generatorPublicKeyquery optimization. -
Fixed "permission denied for schema public" error
-
Other minor changes.
Breaking changes
/api/blocksendpoint doesn't returncountany more
v0.7.0
- Update dependencies
- Move legacy code to /legacy dir
- Remove legacy docs
v0.6.5
- Changed default broadcast settings
- Update devDependencies
- Fix tests
- Update install bash script
- Lint code
- Add
--genesisparam - Add
portWS36665 for testnet
v0.6.0
- Socket connections return
recipientPublicKey - Transactions API, including KVS and Chats, return
block_timestamp - Fix for migrations
- Endpoint
/states/get/support for parametersSenderIdsandkeyIds - Endpoint
/states/get/support for POST requests - Documentation update