Rafael Cárdenas
12242b8194
feat: add /extended/v1/tokens/nft/holdings endpoint
...
* chore: add tx_id and unanchored custody view
* chore: add deprecated msg to old nft_events endpoint
* feat: first version of endpoint
* feat: start returning tx metadata
* feat: filter by asset_identifier
* chore: add openapi docs
* chore: generate new api types
* chore: type api responses correctly
* chore: doc tweaks
* chore: provide param examples
* fix: unanchored view name
* fix: db-controller import path
* feat: support multiple asset identifiers
* chore: doc tweaks
* chore: add unit tests
* fix: execute complete search in one query
* chore: return old unused imports, otherwise PR gets big
* chore: remove debug code
* chore: provide tx metadata example
* chore: keep canonical custody in unanchored too
* feat: set chain tip cache headers
* fix: refresh views with proper logic
* fix: outdated cond
* fix: only consider nft_events from canonical txs
* chore: add default values to params in openapi
2022-01-07 08:31:57 -06:00
Rafael Cárdenas
52986d2c34
feat: update txs on microblocks
...
* feat: update txs on microblocks
* feat: update address txs
2022-01-05 10:27:38 -06:00
Matthew Little
7ea3ae368f
fix: npm audit fixes, dependency cleanup ( #945 )
2022-01-04 17:57:49 +01:00
Matthew Little
d6587fda02
fix: tx pagination ordering bug #924 ( #933 )
2021-12-22 19:54:58 +01:00
Matthew Little
aab33a156a
fix: incorrect tx list returned for block result ( #931 )
2021-12-22 19:44:05 +01:00
Matthew Little
90c9b76e58
chore: fix tests stalling in CI ( #940 )
2021-12-22 19:32:37 +01:00
CharlieC3
55bd5d44e5
ci: test installing client and docs deps
2021-12-22 13:22:15 -05:00
Matthew Little
604497415c
Merge branch 'master' into develop
2021-12-22 18:35:10 +01:00
Matthew Little
df4a1c923a
fix: doc build error, pin openAPI generator-cli version ( #939 )
2021-12-22 18:28:24 +01:00
semantic-release-bot
b349f0a655
chore(release): 1.0.2 [skip ci]
...
## [1.0.2](https://github.com/hirosystems/stacks-blockchain-api/compare/v1.0.1...v1.0.2 ) (2021-12-22)
### Bug Fixes
* rosetta block tx sql query not using index_block_hash ([#938 ](https://github.com/hirosystems/stacks-blockchain-api/issues/938 )) ([1b2c19d ](1b2c19d2c7 ))
v1.0.2
2021-12-22 16:36:28 +00:00
Matthew Little
1b2c19d2c7
fix: rosetta block tx sql query not using index_block_hash ( #938 )
2021-12-22 17:30:55 +01:00
semantic-release-bot
009e4c3a1c
chore(release): 1.0.1 [skip ci]
...
## [1.0.1](https://github.com/hirosystems/stacks-blockchain-api/compare/v1.0.0...v1.0.1 ) (2021-12-21)
### Bug Fixes
* ignore out of order attachments failing to resolve tx data ([#935 ](https://github.com/hirosystems/stacks-blockchain-api/issues/935 )) ([13b5225 ](13b5225727 ))
v1.0.1
2021-12-21 19:37:45 +00:00
Matthew Little
13b5225727
fix: ignore out of order attachments failing to resolve tx data ( #935 )
2021-12-21 20:32:11 +01:00
Matthew Little
1f4847eddc
Merge branch 'master' into develop
2021-12-21 14:14:05 +01:00
CharlieC3
71c1bb267d
ci: fix docker tagging on release for standalone too
2021-12-20 13:58:47 -05:00
CharlieC3
381094abbd
ci: fix docker tagging on release
2021-12-20 13:58:47 -05:00
Matthew Little
0ddd18f248
chore: remove nodejs polyfill lib for abort-controller ( #926 )
2021-12-20 17:59:06 +01:00
Matthew Little
38941cf397
chore: configure dependabot to PR against develop branch ( #925 )
2021-12-20 17:46:01 +01:00
semantic-release-bot
7056bbf07b
chore(release): 1.0.0 [skip ci]
...
# [1.0.0](https://github.com/hirosystems/stacks-blockchain-api/compare/v0.71.2...v1.0.0 ) (2021-12-20)
### Bug Fixes
* add parsed abi to mempool tx endpoints ([#904 ](https://github.com/hirosystems/stacks-blockchain-api/issues/904 )) ([dfcc591 ](dfcc591d2a ))
* address txs abi and reported total ([a280073 ](a280073dae ))
* buffer profiler heap snapshot data to disk before to http client request ([#906 ](https://github.com/hirosystems/stacks-blockchain-api/issues/906 )) ([820bfff ](820bfff1db ))
* build/publish Dockerfile python installation issues ([7a11384 ](7a1138452a ))
* consolidate latest_conrtact_txs materialized view into one migration ([949a96d ](949a96d3fa ))
* contract-call tx arg bug in `/extended/v1/address/<principal>/transactions_with_transfers` ([#894 ](https://github.com/hirosystems/stacks-blockchain-api/issues/894 )) ([b254083 ](b2540831c3 ))
* error reading contract abi [#850 ](https://github.com/hirosystems/stacks-blockchain-api/issues/850 ) ([f9b4e72 ](f9b4e72517 ))
* fetch abi on tx /with-transfers ([#895 ](https://github.com/hirosystems/stacks-blockchain-api/issues/895 )) ([196f612 ](196f6120ce ))
* get abi for all tx queries ([7d5940d ](7d5940d20e ))
* git-info error message ([61f6e7c ](61f6e7c27a ))
* go back to all branches ([#917 ](https://github.com/hirosystems/stacks-blockchain-api/issues/917 )) ([d251674 ](d2516740c6 ))
* nft value encoding in `/transactions_with_transfers` [#885 ](https://github.com/hirosystems/stacks-blockchain-api/issues/885 ) ([4964fe7 ](4964fe7c5e ))
* regression introduced in [#860 ](https://github.com/hirosystems/stacks-blockchain-api/issues/860 ) where `contract` http response `abi` field is no longer a json string ([#905 ](https://github.com/hirosystems/stacks-blockchain-api/issues/905 )) ([ee61346 ](ee61346ac9 ))
* remove unnecessary socket-io logEvent when init ([8ddec2c ](8ddec2c458 ))
* removed empty events array from response [#668 ](https://github.com/hirosystems/stacks-blockchain-api/issues/668 ) ([172e6a2 ](172e6a2123 ))
* revert [#792 ](https://github.com/hirosystems/stacks-blockchain-api/issues/792 ), restore `events` array to tx responses ([#907 ](https://github.com/hirosystems/stacks-blockchain-api/issues/907 )) ([a8a8776 ](a8a87762f4 ))
* set explicit context for github actions docker builds ([f34c7d5 ](f34c7d518d ))
* transaction broadcast log ([e1c6882 ](e1c6882975 ))
### Documentation
* add major version upgrade instructions ([#908 ](https://github.com/hirosystems/stacks-blockchain-api/issues/908 )) ([28ebe2d ](28ebe2d1eb ))
### Features
* add `at_block` query param for `/address` endpoints ([9f206a3 ](9f206a3d74 ))
* add heartbeat to websockets ([e7d8efa ](e7d8efa9f3 ))
* add latest smart contract txs materialized view ([67c453c ](67c453cb6c ))
* add nft_custody pg materialized view to speed up nft event lookup ([aaafb5a ](aaafb5ae2f ))
* add prometheus metrics for websockets ([ab9b3de ](ab9b3de70a ))
* chaintip-based cache-control, caching with zero stale data ([#834 ](https://github.com/hirosystems/stacks-blockchain-api/issues/834 )) ([581bef4 ](581bef4b2a ))
* docker cleanup ([216b9ab ](216b9ab715 ))
* endpoint for list of transactions [#647 ](https://github.com/hirosystems/stacks-blockchain-api/issues/647 ) ([7edc7b5 ](7edc7b54a6 ))
* include entity metadata in search endpoint responses [#651 ](https://github.com/hirosystems/stacks-blockchain-api/issues/651 ) ([f993e0d ](f993e0d2ef ))
* move build-publish github actions to docker/build-push-action@v2 ([352a054 ](352a054b71 ))
* openapi lint config and grouping [#744 ](https://github.com/hirosystems/stacks-blockchain-api/issues/744 ) [#762 ](https://github.com/hirosystems/stacks-blockchain-api/issues/762 ) [#745 ](https://github.com/hirosystems/stacks-blockchain-api/issues/745 ) ([ca1220c ](ca1220c02b ))
* return all the contracts implement a given trait ([f18068c ](f18068c300 ))
* rosetta data api and construction validation with rosetta-cli ([f764054 ](f764054cb8 ))
* stx addr encoding LRU cache ([285632a ](285632a983 ))
### BREAKING CHANGES
* SQL schema changes have been made, follow the readme upgrade instructions
v1.0.0
2021-12-20 16:22:02 +00:00
CharlieC3
f00b0cfe1f
ci: update semantic-release plugin version
2021-12-20 11:16:16 -05:00
Matthew Little
7791418f62
refactor: upgrade to nodejs v16 #845 ( #918 ) ( #928 )
2021-12-20 16:45:07 +01:00
Matthew Little
d47e51de27
Merge branch 'master' into develop
2021-12-20 16:29:06 +01:00
Matthew Little
f02902cc5a
chore: upgrade github action codecov v1 (deprecated) to codecov v2 #867 ( #922 )
2021-12-20 12:18:22 +01:00
Matthew Little
dc3588ec2d
chore: upgrade to nodejs v16 #845 ( #918 )
2021-12-20 11:58:52 +01:00
Rafael Cárdenas
bf87a45f86
chore: expand test builders, clean up socket.io and ws tests
...
* chore: expand block builders
* chore: move mempool tx generator
* chore: expand mempool tx
* chore: stx transfer event
* chore: socket-io done
* chore: clean up rest of websocket tests
* chore: add comments
* fix: remove unused exports
2021-12-17 09:19:25 -06:00
Rafael Cárdenas
949a96d3fa
fix: consolidate latest_conrtact_txs materialized view into one migration
2021-12-16 10:31:38 -06:00
saralab
fbe2337b88
Fix: Typos in Descriptions ( #919 )
...
fix: Typos in openAPI Descriptions
2021-12-15 15:52:53 -05:00
Matthew Little
319e331954
refactor: remove @await/express usage #878 ( #880 )
2021-12-15 19:27:49 +01:00
Rafael Cárdenas
d2516740c6
fix: go back to all branches ( #917 )
2021-12-15 19:14:55 +01:00
Matthew Little
de8518477f
chore: create release
2021-12-15 18:12:19 +01:00
Patrick Gray
babe932703
docs: expanded docs for faucet API endpoints ( #843 )
2021-12-15 17:49:20 +01:00
Matthew Little
9c10bf70f7
chore: util for testing chaintip-based http cache-control behavior against CDNs ( #890 )
2021-12-15 17:18:41 +01:00
Asim Mehmood
52f7ad5715
fix: fee rate and nonce for sponsored txs #857
2021-12-15 17:16:47 +01:00
Matthew Little
f29919b5fb
Merge pull request #877 from hirosystems/develop
...
Merge develop into master
2021-12-15 17:10:04 +01:00
Rafael Cárdenas
61f6e7c27a
fix: git-info error message
2021-12-15 09:55:51 -06:00
Matthew Little
28ebe2d1eb
docs: add major version upgrade instructions ( #908 )
...
BREAKING CHANGE: SQL schema changes have been made, follow the readme upgrade instructions
2021-12-15 16:28:30 +01:00
Matthew Little
a8a87762f4
fix: revert #792 , restore events array to tx responses ( #907 )
2021-12-15 13:14:13 +01:00
Matthew Little
820bfff1db
fix: buffer profiler heap snapshot data to disk before to http client request ( #906 )
2021-12-15 10:48:49 +01:00
Rafael Cárdenas
dfcc591d2a
fix: add parsed abi to mempool tx endpoints ( #904 )
2021-12-14 12:05:56 -06:00
Matthew Little
ee61346ac9
fix: regression introduced in #860 where contract http response abi field is no longer a json string ( #905 )
2021-12-14 19:03:43 +01:00
saralab
9448dd9f81
Feat/27 documentation conventions ( #900 ) - Fixes https://github.com/hirosystems/docs/issues/27
...
* Updated API Descriptions
* Updated Tags from linting
* Updated postman link, descriptions
* Merged with Linting changes
* Fixed Tags for Stacking Rewards, Fees and Names
* Updated API Descriptions
* Updated Tags from linting
* Updated postman link, descriptions
* Merged with Linting changes
* Fixed Tags for Stacking Rewards, Fees and Names
2021-12-13 13:41:27 -05:00
Rafael Cárdenas
7d5940d20e
fix: get abi for all tx queries
...
* chore: refactor abi column into helper
* fix: extend microblock tests
* fix: block txs
* chore: block with metadata
* chore: get tx strict
* chore: search
* chore: search principal
* chore: fixme, not todo
* fix: remove count
* fix: comma typo
* chore: block txs rows
* chore: tx search
* chore: get block from data store
* chore: get txs from block
2021-12-13 11:30:00 -06:00
Alexander Graebe
ca1220c02b
feat: openapi lint config and grouping #744 #762 #745
2021-12-13 18:18:10 +01:00
Matthew Little
0b6213787b
chore: cache docker layers in to speed up stacks-node build CI step ( #892 )
2021-12-10 22:39:40 +01:00
Rafael Cárdenas
196f6120ce
fix: fetch abi on tx /with-transfers ( #895 )
2021-12-10 21:18:35 +01:00
Thomas Osmonson
4964fe7c5e
fix: nft value encoding in /transactions_with_transfers #885
2021-12-10 21:04:22 +01:00
Rafael Cárdenas
d479309dcd
chore: update standalone mocknet instructions
2021-12-10 13:44:45 -06:00
Matthew Little
b2540831c3
fix: contract-call tx arg bug in /extended/v1/address/<principal>/transactions_with_transfers ( #894 )
2021-12-10 20:44:00 +01:00
Rafael Cárdenas
a280073dae
fix: address txs abi and reported total
...
* fix: get abi info when querying address txs
* fix: query return type
* fix: only parse abi json if it is a string
* fix: keep stringify
* fix: broken test
* feat: move abi query to materialized view, fix count
* chore: add test with contract call
* chore: create incremental migration for materialized view changes
* fix: undo vscode temp changes
* chore: test contract-call function decoding in `/extended/v1/address/<contract-principal>/transactions`
* chore: test contract-call function decoding in `/extended/v1/address/<standard-principal>/transactions`
Co-authored-by: Matthew Little <zone117x@gmail.com >
2021-12-10 13:30:01 -06:00
Matthew Little
5697f6f477
chore: fix jest not quickly finishing tests ( #888 )
2021-12-09 22:01:16 +01:00