Skip to content

Latest commit

 

History

History
343 lines (277 loc) · 18.9 KB

CHANGELOG.md

File metadata and controls

343 lines (277 loc) · 18.9 KB

Changelog

All notable changes to this project will be documented in this file.

The format is a variant of Keep a Changelog combined with categories from Conventional Commits

This project adheres to Semantic Versioning. Breaking changes should trigger an increment to the major version. Features increment the minor version and fixes or other changes increment the patch number.

[v0.5.1] - 2021-02-09

Feat

  • record actor task metrics (#376)

Chore

  • increase lens object cache size (#377)

Schema

  • remove use of add_drop_chunks_policy timescale function (#379)

[v0.5.0] - 2021-02-09

No changes from v0.5.0-rc2

v0.5.0-rc2 - 2021-01-27

Required schema version: 27

Notable for this release:

  • update specs-actors to support v3 upgrade
  • CSV exporting for easier ingestion into the DB of your choice
  • bug fix for incorrect gas outputs (which changed after FIP-0009 was applied)
  • inline schema documentation

Feat

  • remove default value for --db parameter (#348)
  • abstract model storage and add csv output for walk command (#316)
  • allow finer-grained actor task processing (#305)
  • record metrics for watch and walk commands (#312)
  • db: allow model upsertion
  • gas outputs: Add Height and ActorName (#270)
  • lens: Optimize StateGetActor calls. (#214)

Fix

  • persist market deal states (#367)
  • improve inferred json encoding for csv output (#364)
  • csv output handles time and interface values (#351)
  • adjust calculation of gas outputs for FIP-0009 (#356)
  • reject names that exceed maximum postgres name length (#323)
  • don't restart a walk if it fails (#320)
  • close all processor connections to lotus on fatal error (#309)
  • use migration database connection when installing timescale extension (#304)
  • ci: Pin TimescaleDB to v1.7 on Postgres v12 (#340)
  • migration: don't recreate miner_sector_deals primary key if it is correct (#300)
  • migrations: CREATE EXTENSION deadlocks inside migrations global lock (#210)
  • miner: extract miner PoSt's from parent messages

Chore

  • update imports and ffi stub for lotus 1.5.0-pre1 (#371)
  • fix some linting issues (#349)
  • api: trim the lens API to required methods
  • lint: fix linter errors
  • lint: fix staticcheck linting issues (#299)
  • sql: user numeric type to represent numbers (#327)

Perf

  • replace local state diffing with StateChangeActors API method (#303)

Test

  • actorstate: unit test actorstate actor task
  • chain: refactor and test chain economics extraction (#298)

Docs

  • table and column comments (#346)
  • Update README and docker-compose to require use of TimescaleDB v1.7 (#341)
  • document mapping between tasks and tables (#369)

Polish

  • test: allow make test to "just work"

[v0.5.0-rc1] - Re-released as v0.5.0-rc2

v0.4.0 - 2020-12-16

Chore

  • remove test branch and temp deploy config

Fix

  • Make visor the entrypoint for dev containers

v0.4.0-rc2 - 2020-12-16

Feat

  • ci: Dockerfile.dev; Refactor docker push steps in circleci.yaml

v0.4.0-rc1 - 2020-12-02

DEPRECATION

The CLI interface has shifted again to deprecate the run subcommand in favor of dedicated subcommands for indexer and processor behaviors.

Previously the indexer and procerror would be started via:

  sentinel-visor run --indexhead
  sentinel-visor run --indexhistory

After this change:

  sentinel-visor watch
  sentinel-visor walk

The run subcommand will be removed in v0.5.0.

Feat

  • extract basic account actor states (#278)
  • add watch and walk commands to index chain during traversal (#249)
  • functions to convert unix epoch to fil epoch (#252)
  • add repo-read-only flag to enable read or write on lotus repo (#250)
  • allow application name to be passed in postgres connection url (#243)
  • limit history indexer by height (#234)
  • extract msig transaction hamt

Fix

  • optimisable height functions (#268)
  • don't update go modules when running make
  • gracefully disconnect from postgres on exit
  • truncated tables in tests (#277)
  • tests defer database cleanup without invoking (#274)
  • totalGasLimit and totalUniqueGasLimit are correct
  • missed while closing #201
  • include height with chain power results (#255)
  • avoid panic when miner has no peer id (#254)
  • Remove hack to RestartOnFailure
  • Reorder migrations after merging latest master (#248)
  • multisig actor migration
  • lotus chain store is a blockstore
  • panic in multisig genesis task casting
  • actorstate: adjust account extractor to conform to new interface (#294)
  • init: extract idAddress instead of actorID
  • schema: fix primary key for miner_sector_deals table (#291)

Refactor

  • cmd: Modify command line default parameters (#271)

Test

  • add multisig actor extractor tests
  • power actor claim extration test
  • init: test coverage for init actor extractor

Chore

  • Avoid ingesting binary and unused data (#241)
  • remove unused tables and views

CI

  • test: add code coverage
  • test: run full testing suite

Build

  • ci: add go mod tidy check (#266)

Docs

  • expand getting started guide and add running tests section (#275)

Polish

  • Avoid duplicate work when reading receipts
  • use new init actor diffing logic
  • mockapi: names reflect method action
  • mockapi: remove returned errors and condense mockTipset
  • mockapi: accepts testing.TB, no errors

v0.3.0 - 2020-11-03

Feat

  • add visor processing stats table (#96)
  • allow actor state processor to run without leasing (#178)
  • rpc reconnection on failure (#149)
  • add dynamic panel creation based on tags (#159)
  • add dynamic panel creation based on tags
  • make delay between tasks configurable (#151)
  • convert processing, block and message tables to hypertables (#111)
  • set default numbers of workers to zero in run subcommand (#116)
  • add dashboard for process completion
  • add changelog generator
  • log visor version on startup (#117)
  • Add heaviest chain materialized view (#97)
  • Add miner_sector_posts tracking of window posts (#74)
  • Add historical indexer metrics (#92)
  • add message gas economy processing
  • set application name in postgres connection (#104)
  • miner: compute miner sector events
  • task: add chain economics processing (#94)

Fix

  • Make ChainVis into basic views
  • failure to get lock when ExitOnFailure is true now exits
  • use hash index type for visor_processing_actors_code_idx (#106)
  • fix actor completion query
  • visor_processing_stats queries for Visor processing dash (#156)
  • remove errgrp from UnindexedBlockData persist
  • migration table name
  • correct typo in derived_consensus_chain_view name and add to view refresh (#112)
  • avoid panic when miner extractor does not find receipt (#110)
  • verify there are no missing migrations before migrating (#89)
  • lens: Include dependencies needed for Repo Lens (#90)
  • metrics: export the completion and batch selection views (#197)
  • migration: message gas economy uses bigint
  • migrations: migrations require version 0
  • schema: remove blocking processing indexes and improve processing stats table (#130)

Build

  • add prometheus, grafana and dashboard images

Chore

  • Incl migration in CI test
  • Include RC releases in push docker images (#195)
  • add metrics to leasing and work completion queries
  • add changelog (#150)
  • update go.mod after recent merge (#155)
  • add issue templates
  • add more error context reporting in messages task (#133)

Deps

  • remove unused docker file for redis

Perf

  • ensure processing updates always include height in criteria (#192)
  • include height restrictions in update clauses of leasing queries (#189)
  • db: reduce batch size for chain history indexer (#105)

Polish

  • update miner processing logic

Test

  • ensure docker-compose down runs on test fail

v0.2.0 - 2020-10-11

BREAKING CHANGE

this changes the cli interface to remove the run subcommand.

Previously the indexer and procerror would be started via:

  sentinel-visor run indexer
  sentinel-visor run processor

After this change:

  sentinel-visor index
  sentinel-visor process

Feat

  • add standard build targets (#18)
  • add licenses and skeleton readme (#5)
  • instrument with tracing (#15)
  • add a configurable delay between task restarts (#71)
  • compute gas outputs (#67)
  • add tests for indexer (#12)
  • add schema migration capability (#40)
  • add VISOR_TEST_DB environment variable to specify test database (#35)
  • respect log level flag and allow per logger levels (#34)
  • remove run subcommand and make index and process top level
  • embed version number from build
  • support v2 actor codes (#84)
  • add test for create schema (#3)
  • api: wrap lotus api and store with wrapper
  • debug: Process actor by head without persistance (#86)
  • genesis: add task for processing genesis state
  • scheduler: Refactor task scheduler impl (#41)
  • task: add actor, actor-state, and init actor processing (#14)
  • task: implement message processing task
  • task: add market actor task
  • task: add reward actor processing (#16)
  • task: add power actor processing task (#11)
  • task: Create chainvis views and refresher (#77)

Fix

  • use debugf logging method in message processor (#82)
  • chain history indexer includes genesis (#72)
  • use context deadlines only if task has been assigned work (#70)
  • fix failing chain head indexer tests (#66)
  • add migration to remove old chainwatch schema constraints (#48)
  • use noop tracer when tracing disabled (#39)
  • ensure processor stops scheduler when exiting (#24)
  • build: ensure deps are built befor visor
  • indexer: don't error on empty blocks_synced table
  • model: replace BeginContext with RunInTransaction (#7)
  • task: correct index when computing deal state

Chore

  • add tests for reward and power actor state extracters (#83)
  • fail database tests if VISOR_TEST_DB not set (#79)
  • use clock package for time mocking (#65)
  • remove unused redis-based scheduler code (#64)
  • Push docker images on [a-z]*-master branch updates (#49)
  • Remove sentinel prefix for local dev use (#36)
  • push docker tags from ci (#26)
  • tighten up error propagation (#23)
  • fix docker hub submodule error (#22)
  • add circle ci (#20)
  • add docker build and make targets (#19)

Dep

  • add fil-blst submodule

Perf

  • minor optimization of market actor diffing (#78)
  • use batched inserts for models (#73)

Pg

  • configurable pool size

Polish

  • processor: parallelize actor change collection
  • publisher: receive publish operations on channel
  • redis: configure redis with env vars (#21)

Refactor

  • prepare for specs-actors upgrade
  • replace panic with error return in indexer.Start (#4)

Test

  • storage: add test to check for duplicate schema migrations (#80)