Releases: Adamant-im/adamant
v0.10.0
Added
- The
includeDirectTransfers
parameter for the/api/chats/get
and/api/chatrooms
endpoints in #91 - New properties to the
/api/node/status
endpoint in #90:interface Response { loader: { loaded: boolean; now: number; syncing: boolean; consensus: number; blocks: number; blocksCount: number; } // ... }
timestampMs
field for the transactions in #93?returnUnconfirmed=1
flag for transactions in #96- Socket connection between nodes in #99. Learn more at https://docs.adamant.im
Changed
count
now is returned as a number in every response in #110
Fixed
- The bug when transaction pool doesn't properly remove transactions in #108
Deprecated
- GitHub Wiki. Use https://docs.adamant.im for documentation
- The
withoutDirectTransfers
endpoint, useincludeDirectTransfers
instead
v0.9.0
Added
-
address
parameter to/api/delegates/get
endpoint, which previously only supportedusername
andpublicKey
. Usage:/api/delegates/get?address=U1234567890
See: API specification and PR #79
-
WebSocket now supports subscribing to multiple transaction types instead of just one. For message transactions, added
assetChatTypes
event to subscribe to Message Types. Learn more at the Documentation. PRs #84, #85 -
New properties to to the response of the
/api/node/status
endpoint by merging data from/api/loader/status
and/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/get
endpoint 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.json
after 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-Origin
CORS header valueThe default value for the
cors.origin
property 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.json
file to.gitignore
Now the user needs to create the
config.json
file himself or copyconfig.default.json
to start the ADAMANT node.cp config.default.json config.json
v0.8.0
-
Added
cors
option inconfig.json
(see #62) -
You can now use either
inId
orisIn
in/api/transactions
and/api/chats/get
endpoints.
Example:/api/chats/get?InId=U6386412615727665758
and/api/chats/get?isIn=U6386412615727665758
are the same. -
Users ID in
/api/chats/get
and/api/chatrooms
endpoints became case insensitive.
Example:/api/chatrooms/U6386412615727665758
and/api/chatrooms/u6386412615727665758
are the same. -
Transactions and
POST /api/accounts/delegates
accept transaction in plain object and insidetransaction
property .
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
confirmations
property for/api/states/get
endpoint -
generatorPublicKey
query optimization. -
Fixed "permission denied for schema public" error
-
Other minor changes.
Breaking changes
/api/blocks
endpoint doesn't returncount
any 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
--genesis
param - Add
portWS
36665 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 parametersSenderIds
andkeyIds
- Endpoint
/states/get/
support for POST requests - Documentation update