Releases: deso-protocol/backend
v3.4.2
v3.4.2 updates exchange endpoints to include more information and updates the balance endpoint with the updates from balance model.
What's Changed
- Update api/v1/balance to return balance model balance by @lazynina in #484
- make node info endpoint public by @lazynina in #485
- call _handleNodeControlGetInfo directly from APINodeInfo by @lazynina in #486
- add filtering to transaction info endpoint by @lazynina in #487
- Ln/kill execution on stop time exceeded by @lazynina in #488
- remove filtering from transaction-info endpoint, fix get public key f… by @lazynina in #490
- include hash hex in transaction response by @lazynina in #491
- add offline basic transfer toolslib by @lazynina in #492
Full Changelog: v3.4.1...v3.4.2
v3.4.1
v3.4.1 uses the v3.4.1 release of core which addresses some issues related to postgres syncing. There are no other changes in this release.
Full Changelog: v3.4.0...v3.4.1
v3.4.0
v3.4.0 is a new release that addresses a bug causing nodes to panic when transitioning from utxo to balance model
What's Changed
- Blacklist and graylist by username by @superzordon in #422
- update tests with unmarshaling of MsgDeSoTxn struct fix by @lazynina in #470
- Add test for freezing posts. by @mattfoley8 in #471
- fix memory issues in tests by @lazynina in #462
- Mf/set is frozen on submit post request by @mattfoley8 in #472
- initial checkin for adding get signature index endpoint by @lazynina in #474
- update GetTransactionSpending for balance model by @lazynina in #473
- convert Signature index endpoint from get to post by @lazynina in #475
- fix decoding transaction spending limits from extra data - need to try to decode at each migration height by @lazynina in #476
- fix panic in get-post-entries-by-deso-after-time-paginated by @lazynina in #479
- Add TxnNonce, TxnFeeNanos, and TxnVersion to TransactionResponse struct, fix decoding of public key in output by @lazynina in #482
Full Changelog: v3.3.0...v3.4.0
v3.3.0
Description
v3.3.0 updates backend to rely on core's v3.3.0 release which migrates DeSo accounting model from a UTXO model to an account balance model. Transactions are now constructed with a DesoNonce and FeeNanos to support the new accounting model. For more details, please see the core release.
v3.3.0 includes the following minor updates:
- upgrade go version to 1.20
- Fix to the is-hodling-public-key endpoint to make sure balance nanos is greater than 0
- Adding post entries to post association notification responses
- sendgrid enhancements
What's Changed
- Create sendgrid contact upon email verification by @superzordon in #461
- Add post association post entries to notification response by @superzordon in #463
- Small bugfix for post association post entries on notification response by @superzordon in #464
- make sure balance nanos is greater than 0 in is hodling public key by @lazynina in #465
- upgrade go to 1.20 by @lazynina in #467
- Ln/balance model upgrades by @lazynina in #469
Full Changelog: v3.2.0...v3.3.0
v3.2.0
Description
v3.2.0 updates backend to rely on core's v3.2.0 release which addresses a bug in spending limits for associations. Additionally, backend now checks IsDeleted on follow and balance entries, includes associations in notifications, and addresses a bug in the encoding and decoding of the derived key memo field.
What's Changed
- check IsDeleted on follow entries and balance entries by @lazynina in #456
- add associations logic to NotificationTxnShouldBeIncluded by @lazynina in #458
- fix encode/decode of derived key memo by @lazynina in #459
Full Changelog: v3.1.2...v3.2.0
v3.1.2
Description
v3.1.2 updates backend with some hot fixes included in core's v3.1.2 release as well as assort enhancements and small bug fixes to endpoints.
Bug fixes & enhanacements
- Special case for adding member base key
- test.Dockerfile fixes
- fixed route for enable-video-download
- enhanced testing of access groups endpoints
- ETH endpoints to support querying etherscan and infura
- hot fix for getting profile entry responses for get-paginated-messages-for-group-chat-thread
- hotfix to address panic in get-nfts-created-by-public-key
What's Changed
- Run go test in CI. by @mattfoley8 in #443
- special case for adding member by base key by @lazynina in #445
- fix issues with dockerfile by @lazynina in #446
- fix skipped tests and small enhancements to add access members txn construction by @lazynina in #444
- add videoId param by @lazynina in #450
- Mf/include user profiles with association queries by @mattfoley8 in #449
- Enhancements to etherscan and infura endpoints by @lazynina in #452
- hotfix for get profile entry responses for get-paginated-messages-for… by @lazynina in #453
- fix get nfts created by public key by @lazynina in #454
Full Changelog: v3.1.1...v3.1.2
v3.1.1
Description
v3.1.1 mainly is a backend image that uses the v3.1.1 stable release of core which introduces Associations and Access Groups to mainnet. Additionally, v3.1.1 introduces some new endpoints and also refactors some code. For more information on the updates introduced in the previous backend release, please see the v3.1.0 release of backend. For more information on the updates introduced at teh core layer, please see the v3.1.1 and v3.1.0 releases of core.
New Endpoint
Access Groups
- update-access-group
- remove-access-group-members
- update-access-group-members
- update-dm-message
- update-group-chat-message
Hypersync
- snapshot-epoch-metadata
- state-checksum
Media
- get-video-dimensions
- enable-video-download
Modified endpoints
- get-transaction-spending-limit-response-from-hex: accepts a query param
blockHeight
. If this query param is present, the response will be the transaction spending limit response object as parsed at the block height provided. Otherwise, it is parsed at the current block tip. - various access group endpoints now return a map of public key to profile entry response to ease development
New Flags
This release does not include any new flags
What's Changed
- Refactor server.go by @AeonSw4n in #434
- Backwards compatibility support for GetTransactionSpendingLimitResponseFromHex by @lazynina in #401
- Fixed grammar by @namelessperson0 in #120
- Change MaxUint64 to MaxInt64 by @AeonSw4n in #435
- Get snapshot epoch metadata backend endpoint by @AeonSw4n in #432
- Get video dimensions by @summraznboi in #436
- New endpoint for enabling video download of Cloudfare videos by @carlosgio in #411
- fix server.go by @lazynina in #437
- include map of public key to profile entry response in access group and new message endpoints by @lazynina in #438
- hotfix for get paginated messages for dm response by @lazynina in #439
- gofmt by @lazynina in #440
- Additional Access Group Endpoints by @lazynina in #441
- fix comparison of group key name bytes by @lazynina in #442
New Contributors
- @namelessperson0 made their first contribution in #120
- @carlosgio made their first contribution in #411
Full Changelog: v3.1.0...v3.1.1
v3.1.0
Description
v3.1.0 introduces new endpoints required to support associations and access groups as well as small bug fixes, performance optimizations, and quality-of-life improvements. For more information on the updates introduced at the core layer, please see the v.3.10 release of core.
New Endpoints
Access Groups
- create-access-group
- add-access-group-members
- get-all-user-access-groups
- get-all-user-access-groups-owned
- get-all-user-access-groups-member-only
- check-party-access-groups
- access-group-member-info
- get-paginated-access-group-members
- get-bulk-access-group-entries
- get-paginated-access-group-members
- get-bulk-access-group-entries
- send-dm-message
- send-group-chat-message
- get-user-dm-threads-ordered-by-timestamp
- get-paginated-messages-for-dm-thread
- get-user-group-chat-threads-ordered-by-timestamp
- get-paginated-messages-for-group-chat-thread
- get-all-user-message-threads
Associations
- /user-associations/create
- /user-associations/delete
- /user-associations/{associationID}
- /user-associations/query
- /user-associations/count
- /user-associations/counts
- /post-associations/create
- /post-associations/delete
- /post-associations/{associationID}
- /post-associations/query
- /post-associations/count
- /post-associations/counts
New Flags
This release does not include any new flags
Modified Endpoint Requests & Responses
- get-exchange-rate: We now include
USDCentsPerDeSoCoinbase
andUSDCentsPerDeSoBlockchainDotCom
in the response - get-posts-stateless, get-posts-hashhexlist, get-posts-for-public-key: added
onlyNFTs
andonlyPosts
booleans to request to filter which types of posts are included in the response
Miscellaneous
- Upgrade go to 1.18
- Limit NumHeaders in GetBlockTemplate to prevent attack vector
- validate StartPostHash appears in result set in get-posts-stateless
- limit file upload size when uploading videos
- fix mempool transaction pagination
- Assorted fixes to twilio
Auto-generated Release Notes
What's Changed
- Fix mempool transaction info pagination by @lazynina in #405
- Require NumHeaders be less than 1000000 by @lazynina in #406
- validate start post hash hex in get posts stateless by @lazynina in #407
- convert bytes to string when encoding response for get-username-for-public-key by @lazynina in #408
- Don't call twilio if phone number isn't supported by verification by @triplegreenshell in #412
- add raw exchange prices to response by @jackson-dean in #414
- check IsDeleted in get-single-profile by @lazynina in #415
- Only fetchValues in GetFollowsStateless if numToFetch is non-zero by @lazynina in #419
- Feature get posts hashlist by @erwin-willems in #416
- Add filters for OnlyNFTs and OnlyPosts by @erwin-willems in #413
- Add logging to submit block routine by @triplegreenshell in #420
- trigger build based on core branch by @lazynina in #421
- Mf/add association txn types by @mattfoley8 in #417
- add AssociationLimitMap to TransactionSpendingLimitResponse by @lazynina in #425
- Add count associations by each association value endpoint. by @mattfoley8 in #426
- Mf/add query by multiple association values by @mattfoley8 in #427
- Create notifications when associations are created. by @mattfoley8 in #428
- Update max video file size by @triplegreenshell in #429
- Ln/access group api modifications by @lazynina in #430
- Add access groups to spending limit response. by @mattfoley8 in #433
New Contributors
- @jackson-dean made their first contribution in #414
- @erwin-willems made their first contribution in #416
Full Changelog: v3.0.2...v3.1.0
v3.0.2
What's Changed
- Remove verification of signature bytes when creating messaging key by @lazynina in #400
- MessagesVersionString is a uint64 not a int64 by @lazynina in #402
- Gracefully handle failed global state fetch of user metadata in get single profile endpoint by @lazynina in #404
Full Changelog: v3.0.1...v3.0.2
v3.0.1
Description
v3.0.1 fixes a bug in the CheckPartyMessagingKeys and uses the v3.0.1 core release.
Auto-generated Release Notes
What's Changed
Full Changelog: v3.0.0...v3.0.1