Releases: smartcontractkit/chainlink-common
Releases · smartcontractkit/chainlink-common
v0.3.0
What's Changed
- Remove mustEmbed from ContractReader by @EasterTheBunny in #772
- [CAPPL-58] Some cleanup; add sandboxing tests by @cedric-cordenier in #773
- [BCFR-203] - Improve CR ValComparators to take in arbitrary value by @ilija42 in #689
- ccip - Add Limit method to seq num range by @dimkouv in #781
- [chore] Handle aliases in slices by @cedric-cordenier in #784
- feat(observability-lib): legendoptions + improvement on node general dashboard by @Atrax1 in #785
- [CAPPL-58] Correctly stub out clock_time_get and poll_oneoff by @cedric-cordenier in #778
- More alias handling in Unwrap functionality of Value by @kidambisrinivas in #792
- Fix alias typing and tests by @nolag in #788
- Replace fmt.Errorf with errors.New where possible by @nolag in #795
- [CAPPL-34] chore(workflow): adds unit test on util by @MStreet3 in #782
- Have the mock runner register with capabilities by @nolag in #783
- Add binary + config to custom compute by @cedric-cordenier in #794
- fix lint issues by @jmank88 in #786
- execution factory constructor updated to take two providers, chainIDs, and source token address by @patrickhuie19 in #641
- Support passing in a values.Value to the chainreader GetLatestValue method by @ettec in #779
- [CAPPL-31] feat(values): adds support for time.Time as value by @MStreet3 in #787
- feat(values): support float64 values by @MStreet3 in #799
- confidence level from string by @ettec in #802
- Float32/Float64 wrapping by @cedric-cordenier in #804
- [CAPPL-42] SDK logger by @agparadiso in #762
- Add MustEmbed Constraint to Contract Reader by @EasterTheBunny in #801
- [CAPPL-60] Dynamic encoder selection in OCR consensus aggregator by @bolekk in #780
- Updated TestStruct to enable advanced querying by @silaslenihan in #798
- Properly support the range of uint64 and allow big int to unwrap into smaller integer types by @nolag in #810
- Extract expirable cache abstraction for reuse by @ettec in #807
- remove cache by @ettec in #812
- CCIP-3555 Attestation encoder interfaces by @mateusz-sekara in #813
- [BCF-3392] - ContractReaderByIDs Wrapper by @ilija42 in #797
- pkg/types/ccipocr3: add DestExecData to RampTokenAmount by @makramkd in #817
- Allow the creation of maps from string to capability outputs. by @nolag in #815
- Add the FeeValueJuels field to ccipocr3.Message by @rstout in #819
- feat(observability-lib): improve alerts rule by @Atrax1 in #803
- enable errorf check by @jmank88 in #826
- Fix map and ToListDefinition, add tests for them in the builder, add a way to create a list of any from inputs by @nolag in #823
- Add metric offchain_aggregator_answers_latest_timestamp by @alecgard in #825
- Fix a bug where schema validation looses type information if the input has an any in it by @nolag in #827
- Add Capabilities team code owners to values library and /capabilities by @justinkaseman in #820
- feat(wasm): override random_get by @MStreet3 in #831
- [KS-430] Provide an OracleFactory to StandardCapabilities by @DeividasK in #738
- [CAPPL-41] SDK Fetch import by @agparadiso in #814
- Mirror on-chain data structures by @asoliman92 in #833
- bump libocr; add context by @jmank88 in #490
New Contributors
- @MStreet3 made their first contribution in #782
- @agparadiso made their first contribution in #762
- @rstout made their first contribution in #819
- @alecgard made their first contribution in #825
Full Changelog: v0.2.2...v0.3.0
v0.2.2
What's Changed
- bump deps by @jmank88 in #667
- feat(observability-lib): add open file descriptors panel by @Atrax1 in #661
- adding reusable benchmarking action by @patrickhuie19 in #648
- [KS-370] Add ConfigForCapability to CapabilitiesRegistry by @cedric-cordenier in #640
- Make OCR3 use Multi-chain adapter message format by @cedric-cordenier in #670
- [fix] Pass through all metadata fields by @cedric-cordenier in #677
- [KS-393] Handle nils in values proto conversion functions by @cedric-cordenier in #676
- feat(observability-lib): nop ocr2 health dashboard by @Atrax1 in #674
- feat(observability-lib): add delete cmd by @Atrax1 in #666
- [fix] Fix bug with Copy() implementation for values.Bytes; add tests by @cedric-cordenier in #678
- MERC-6002 Add Mercury v4 types by @martin-cll in #671
- Add Scan method for ChannelDefinitons by @samsondav in #672
- print races by @jmank88 in #679
- changes to support remote target deterministic message hash - fixes KS-379 by @ettec in #675
- [KS-408] Handle nils in Unwrap/UnwrapTo by @cedric-cordenier in #684
- use gomods by @jmank88 in #686
- [KS-410] Nil derefs in capabilities helpers by @cedric-cordenier in #685
- [BCI-3862][chainlink-common] - Change DSL Block primitive to string instead of int by @Farber98 in #688
- [KS-424] Fix inconsistent state management store by @cedric-cordenier in #691
- [KS-413] Handle nil derefs in reporting_plugin.go by @cedric-cordenier in #690
- [KS-426] Remove panic from CapabilityType.String() by @cedric-cordenier in #693
- [KS-433] Clarify interface requirement by @cedric-cordenier in #697
- Add json schemas for existing capabilities by @nolag in #698
- fix: result bool in sleeper task by @bukata-sa in #706
- [KS-419] Preserve freshest reports across trigger aggregation rounds by @bolekk in #707
- Added Pending state to common TransactionStatus by @silaslenihan in #709
- script/lint.sh: fix output by @jmank88 in #708
- Use lint action instead of our workflow by @nolag in #711
- [KS-425] Fix parallel use of pointers by @cedric-cordenier in #701
- Fix a lint issue, PR got merged between the linter changing and shows up in new PRs, even though the setting only-new-issues: true is there... by @nolag in #714
- Add reference id to capability request by @nolag in #713
- Allow workflow specs without consensus by @DeividasK in #716
- Fix a bug with big.Int and values.Value, and allow same backing type to be encoded and decoded by @nolag in #719
- Fix lint issues and add on pull_request to the lint rules by @nolag in #723
- Add code generators to help build workflows by @nolag in #704
- [fix] Copy the workflow name by @cedric-cordenier in #722
- [KS-434] items 5a, 5b, 5d and 6 by @ettec in #724
- .golangci.yml: update rules by @jmank88 in #721
- Add workflow builders by @nolag in #702
- Fix SignedReport type in json schema by @nolag in #726
- Tidy generated builder files by @nolag in #729
- [CAPPL-6] Make Copy() private; add global Copy() by @cedric-cordenier in #727
- Changes to support passing in gas limit to chain write on SubmitTransaction by @ettec in #720
- Add node's timestamp on reports by @vyzaldysanchez in #718
- Allow names for mutiple different functions, this will also be used to allow chain reader to have things like GetLatestValueAction alongside the other methods in the interface. by @nolag in #728
- Update CODEOWNERS by @braddmiller in #730
- feat(observability-lib): refactor + add alerting layer by @Atrax1 in #703
- [Keystone] Add a nil check in ApplyDefaults() by @bolekk in #734
- pkg/sqlutil: improve monitor performance by limiting query serialization by @jmank88 in #732
- Add Beholder sdk by @pkcll in #694
- [CAPPL-6] Formalize trigger API by @cedric-cordenier in #712
- Move interpolate key and keys from core to common so it can be reused by the upcoming test engine. by @nolag in #735
- Bring execution ID creation util into workflows package by @justinkaseman in #740
- update mapstructure to the blessed fork, the original is archived and this fork has our changes by @nolag in #742
- compute helpers by @nolag in #717
- Fix the name that's used when creating output types by their fields by @nolag in #741
- bump go-plugin; rm replace by @jmank88 in #744
- Fix feeds definition and data feeds OCR to use it. by @nolag in #731
- switch to grpc-proxy fork; rm replace by @jmank88 in #745
- Identical consensus builders by @nolag in #743
- updating benchmark action to use gh-pages by @patrickhuie19 in #747
- MERC-6190: Remove bid/ask fields from Mercury v4 schema by @martin-cll in #736
- ChainComponents Generalized Interface Tests by @silaslenihan in #664
- Expose ContractReader and ChainWriter of relayer in relayerSet by @kidambisrinivas in #749
- Remove redundant relayerset type by @cedric-cordenier in #750
- Generate the mocks for capabilities by @nolag in #725
- Change the Execute Capability API to sync by @ettec in #748
- capabilities: triggers: Expose meta so it can be set for mock-trigger by @archseer in #692
- ContractReader Multiple Read Addresses by @EasterTheBunny in #603
- pkg/loop: use beholder by @jmank88 in #696
- Add unit test runner for workflows by @nolag in #751
- code cleanup on contract reader by @EasterTheBunny in #753
- fix install protoc by @jmank88 in #755
- [KS-365] New config fields for trigger event batching by @bolekk in #757
- pkg/types/ccipocr3: add rmn sigs to report by @makramkd in #758
- Rename Chain Reader to Contract Reader by @ilija42 in #759
- [CAPPL-37] Implement Compute runner by @cedric-cordenier in #752
*...
v0.2.1
What's Changed
- rename mockery.yaml to .mockery.yaml by @jmank88 in #656
- CCIP-2791 Fixes to the snoozed roots - more generic way of passing finality with TxMeta by @mateusz-sekara in #650
- add go reference badges to README files by @jmank88 in #660
- Adding GetTransactionStatus to CCIPExecProvider by @0xnogo in #657
- Support v0.3 schema report format in LLO (common) by @samsondav in #646
- add make rm-mocked and use to ensure no stray mocks by @jmank88 in #662
- pkg/services: add services.Config.NewService/Engine helper by @jmank88 in #204
Full Changelog: v0.2.0...v0.2.1
v0.2.0
What's Changed
- Fix iface to match core node logger by @essamhassan in #84
- Fix logger iface mismatch across repos by @essamhassan in #85
- Bump to go 1.20 by @samsondav in #86
- Fix some mercury bugs; remove unused code by @samsondav in #87
- Modules from core by @sdrug in #88
- external build CI update by @aalu1418 in #89
- Filter duplicate/invalid observations in report step, not in observation step by @samsondav in #90
- Remove healthy call from relayer by @essamhassan in #91
- Upgrade kafka to support mac arm by @jmank88 in #93
- Per-field errors in Observation struct by @samsondav in #94
- pkg/loop: loop plugin grpc services by @jmank88 in #80
- pkg/types: s/Plugin/PluginProvider by @jmank88 in #96
- bump ops linter by @aalu1418 in #97
- add golangci-lint config by @aalu1418 in #98
- add Makefile w/ gomodtidy, godoc by @jmank88 in #99
- bump libocr; update loop DataSource.Observe usages by @jmank88 in #101
- pkg/loop: rename Keystore.Keys to Accounts by @jmank88 in #102
- pkg/loop: set HandshakeConfig magic cookies by @jmank88 in #103
- Update Mercury Observe interface by @george-dorin in #104
- swap out satori/go.uuid for google/uuid by @jmank88 in #105
- rm atomic and multierr; bump zap and testify by @jmank88 in #106
- modify context deadline in dataSourceServer.Observe() to work around pipeline behavior by @jmank88 in #100
- Adding currentBlockTimestamp field to Mercury report by @sdrug in #107
- pkg/loop: auto-recovery by @jmank88 in #108
- pkg/loop: split files between internal and test packages by @jmank88 in #110
- refactor median plugin by @jmank88 in #111
- pkg/loop: improve docs; align service method signatures by @jmank88 in #112
- Add integration with Sonar by @chudilka1 in #113
- Exclude ops dir from Sonar coverage by @chudilka1 in #114
- pkg/loop/internal: bump libocr and update affected areas by @jmank88 in #115
- pkg/reportingplugins/mercury: add error to mercury ReportCodec by @jmank88 in #116
- fix panic in Jitter when used in debugger by @krehermann in #117
- Starknet Signature Adapter by @krehermann in #121
- pkg/loop: grpc prometheus metrics by @jmank88 in #120
- Block range guarantee - Mercury by @vyzaldysanchez in #95
- BCF-2330: more logging in client connection by @krehermann in #122
- pkg/loop: hclog interopability by @jmank88 in #126
- pkg/logger: rm trace; fix ocr wrapper by @jmank88 in #128
- Fix rare error cases with block number consensus by @samsondav in #130
- pkg/loop: conditional ContextValues by @jmank88 in #127
- pkg/loop: add TransmitterID to ContextValues by @jmank88 in #131
- Change FetchInitialMaxFinalizedBlockNumber interface by @samsondav in #132
- pkg/loop: fix TestContextValues by @jmank88 in #136
- Fix maxObservationLength by @samsondav in #137
- Fail workflow if unit tests failed by @chudilka1 in #138
- Minor cleanups by @samsondav in #140
- Update Sonar configs in git workflows to fit repo's modular structure by @chudilka1 in #143
- [Functions] Extend Relayer to support Functions by @bolekk in #141
- [Functions] Add Relayer.NewFunctionsProvider() by @bolekk in #145
- [Functions] Missing methods in the internal relayer by @bolekk in #146
- Bump to libocr master 2271752fa829 by @samsondav in #147
- cleaning a potential logical race in broker by @patrickhuie19 in #148
- pkg/loop: grpc proxy MedianProvider connections by @jmank88 in #144
- Moved over Generalised Fixed Fee Estimator by @yongkangc in #149
- update replaces from jmank88 to smartcontractkit by @jmank88 in #151
- Cleanup Common Fee Test by @yongkangc in #152
- pkg/loop: better docs by @jmank88 in #153
- Mercury multischema support by @sdrug in #134
- pkg/loop/internal: move interfaces to types.go by @jmank88 in #155
- pkg: move loop interfaces to pkg/types to unify type set by @jmank88 in #156
- MERC 1423 cleanup build report function for mercury relay by @samsondav in #157
- Use -1 as sentinel value for missing Link/Native fee by @samsondav in #159
- remove chainset interface by @krehermann in #160
- Add make targets for consistent code gen by @krehermann in #163
- BCF-2564: update loop relayer interface to be single-chain oriented by @krehermann in #162
- [BCF-2365] Combine providers by @cedric-cordenier in #164
- Fix overlapping timestamps in v2/v3 by @samsondav in #169
- Merc-1640 fixing Mercury fee calculation by @sdrug in #168
- Silence spurious errors by @samsondav in #170
- Enable arbitrary fee granularity for mercury by @samsondav in #171
- [chore] Add CCIP job types by @cedric-cordenier in #172
- Use zero values for fee if we cannot come to consensus by @samsondav in #174
- pkg/loop: auto recovery docs by @jmank88 in #176
- Silence spurious v1 current block num errors by @samsondav in #177
- Increase detail of error logging on validation failures by @samsondav in #178
- pkg/loop: fix HCLogLogger to preserve logger names by @jmank88 in #180
- pkg/loop: fix logger by @jmank88 in #181
- Make JSON tags explicit by @samsondav in #182
- Bump libocr => 122accb19ea6ee9c2a1a2b7aa024dde5be609f9e by @samsondav in #183
- Remove ShouldAcceptFinalizedReport by @samsondav in #184
- Remove ShouldTransmitAcceptedReport by @samsondav in #185
- bump hashicorp/go-plugin to 1.5.2 by @jmank88 in #186
- BCF-2684: copy types from core to ...
v0.1.6
What's Changed
- median provider returns OnchainConfigCodec by @aalu1418 in #69
- Remove forwardingAllowed from relayerArgs by @essamhassan in #72
- Arvo schema changes for transmission and config payloads produced by the monitors by @topliceanu in #71
- Introduce null values in avro schemas by @topliceanu in #73
- Add Checks For External Products So We Know We Need To Update by @tateexon in #70
- New job bool by @connorwstein in #74
- Docs for the on-chain monitoring framework by @topliceanu in #75
- Add the simplest health endpoint possible by @topliceanu in #77
- Update schema registry client which includes a fix to a prod panic by @topliceanu in #78
- Add mercury interfaces and implementation by @samsondav in #79
- Relay logger expose qualified names by @essamhassan in #83
- rename package plugins to reportingplugins; add README by @jmank88 in #82
- Add HealthReport/Name to service interface by @essamhassan in #81
New Contributors
- @tateexon made their first contribution in #70
- @samsondav made their first contribution in #79
Full Changelog: v0.1.5...v0.1.6
v0.1.5
v0.1.4
What's Changed
- Add relayer arg ForwardingAllowed to propagate to transmitters by @essamhassan in #66
New Contributors
- @essamhassan made their first contribution in #66
Full Changelog: v0.1.3...v0.1.4
v0.1.3
v0.1.2
What's Changed
- Add OCR2VRF+DKG relay types by @vreff in #55
- Don't error when metrics can't be deleted by @topliceanu in #54
- Add ParseSchema for avro.Schema objects by @topliceanu in #56
- Add utils.Subprocesses to replace sync.WaitGroup by @topliceanu in #53
- Merge OCR2VRFRelayer into Relay by @vreff in #57
- Revert "Merge OCR2VRFRelayer into Relay" by @vreff in #58
- Revert "Merge OCR2VRFRelayer into Relay (#57)" by @vreff in #59
- pkg/utils: add RawReportContext and HashReport to support non-evm relays by @jmank88 in #60
New Contributors
Full Changelog: v0.1.1...v0.1.2
v0.1.0
Initial Release
- Core ocr2 monitoring by @topliceanu in #10
- Monitor balances for link and expose utilities to register custom sources and exporters by @topliceanu in #11
- Fix issue whereby poller gets stuck when the source returns an error by @topliceanu in #16
- Schema registry fixes by @topliceanu in #18
- Only set the answer related metrics if a new observation is detected on-chain by @topliceanu in #19
- Introduce support for the multiply feed parameter by @topliceanu in #20
- Monitoring improvments by @topliceanu in #21
- fix issue where the topics for transmissions and configurations are mixed by @topliceanu in #22
- Various improvements to the monitoring stack by @topliceanu in #24
- Introduce JuelsPerFeeCoing, AggregatorRoundID and TxResultsSucceeded/Failed metrics by @topliceanu in #25
- Improvements after adding more metrics to the envelope by @topliceanu in #26
- Pin geth by @connorwstein in #27
- Refactor how we read big ints from the chain and expose them as float64s to prometheus by @topliceanu in #29
- Recover from panics in Sources and Exporters. by @topliceanu in #30
- Improve tests by @topliceanu in #32
- Remove dead feeds from the parsed RDD response by @topliceanu in #33
- Add chain-level and feed-level non-product metrics by @topliceanu in #34
- feed_contract_transmissions_(succeeded|failed) are now counters by @topliceanu in #35
- Various improvement by @topliceanu in #37
- Metrics improvements by @topliceanu in #38
- Fix precision for all balances and observations by @topliceanu in #39
- add FEEDS_IGNORE_IDS by @topliceanu in #40
- Fix RDD tracker by @topliceanu in #41
- Various small changes/improvements by @topliceanu in #42
- Add link_available_for_payments to the common Envelope source by @topliceanu in #43
- Data ingestion process by @topliceanu in #44
- coalesce branches + remove outdated relay core components by @aalu1418 in #45
- Add node configurations to the exporters by @topliceanu in #46
- Add more metrics by @topliceanu in #47
- pkg/logger: add basic zap test and prod logger by @jmank88 in #49
- pkg/monitoring: copy single hex Encode func instead of importing go-ethereum by @jmank88 in #48
- common utilities from core by @jmank88 in #50
Full Changelog: https://github.com/smartcontractkit/chainlink-relay/commits/0.1.0