Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DO NOT MERGE] Changeset Release Preview - v2.13.0 #1

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/big-trees-help.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/bright-queens-joke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chilly-poems-crash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clever-islands-draw.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/funny-monkeys-heal.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/funny-tips-promise.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/great-kids-doubt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/grumpy-birds-serve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-comics-begin.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/many-kings-notice.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/mighty-flies-breathe.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/modern-trainers-hear.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/moody-candles-compare.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/neat-pianos-argue.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/nine-plants-crash.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-months-roll.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ninety-students-return.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/poor-gorillas-give.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sharp-walls-poke.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/sweet-avocados-do.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/swift-mugs-push.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tall-hats-brake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tame-rules-whisper.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-dodos-run.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-pianos-hunt.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tiny-rocks-shake.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/twelve-wolves-clean.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/witty-weeks-kneel.md

This file was deleted.

93 changes: 86 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,84 @@
# Changelog Chainlink Core

## 2.13.0 - PREVIEW

## nops

- [#13132](https://github.com/smartcontractkit/chainlink/pull/13132) [`eed5668`](https://github.com/smartcontractkit/chainlink/commit/eed5668e3c83cb680d2915f89d097fcb1b74a4f9) Thanks [@akuzni2](https://github.com/akuzni2)! - #nops fix metric description on mercury_transmit_queue_load

## added

- [#12952](https://github.com/smartcontractkit/chainlink/pull/12952) [`7572a50`](https://github.com/smartcontractkit/chainlink/commit/7572a50a78a270188344786937f68233df82f65b) Thanks [@FelixFan1992](https://github.com/FelixFan1992)! - #added
compare user-defined max gas price with current gas price in automation simulation pipeline

- [#12813](https://github.com/smartcontractkit/chainlink/pull/12813) [`ac89336`](https://github.com/smartcontractkit/chainlink/commit/ac893364e6c6ede08e9bf04da7dc64e0da94ab6e) Thanks [@matYang](https://github.com/matYang)! - #db_update created 2 new CCIP tables in migration 0236, one for observed gas prices, one for observed token prices; setup indexing for these tables.
#added ORM for CCIP gas prices and token prices

- [#12952](https://github.com/smartcontractkit/chainlink/pull/12952) [`7572a50`](https://github.com/smartcontractkit/chainlink/commit/7572a50a78a270188344786937f68233df82f65b) Thanks [@FelixFan1992](https://github.com/FelixFan1992)! - #added
pass a gas estimator to registry 2.1 pipeline

- [#12952](https://github.com/smartcontractkit/chainlink/pull/12952) [`7572a50`](https://github.com/smartcontractkit/chainlink/commit/7572a50a78a270188344786937f68233df82f65b) Thanks [@FelixFan1992](https://github.com/FelixFan1992)! - #added an integration test for max gas price check

## changed

- [#13174](https://github.com/smartcontractkit/chainlink/pull/13174) [`e778a32`](https://github.com/smartcontractkit/chainlink/commit/e778a3202b4d8761ffc44b790196d9a580fede1c) Thanks [@FelixFan1992](https://github.com/FelixFan1992)! - #changed:
AUTO-10539: adjust logging for offchain config and gas control

- [#13173](https://github.com/smartcontractkit/chainlink/pull/13173) [`a9717f0`](https://github.com/smartcontractkit/chainlink/commit/a9717f05e9af0fa07746c6b95b7f1625089a860f) Thanks [@ferglor](https://github.com/ferglor)! - Revert block number tracking #changed

- [#13133](https://github.com/smartcontractkit/chainlink/pull/13133) [`2e66837`](https://github.com/smartcontractkit/chainlink/commit/2e668372ac54e71fd357feba427ffacf0613bda2) Thanks [@matYang](https://github.com/matYang)! - #changed CCIP price cache to use DB timestamp

## updated

- [#13084](https://github.com/smartcontractkit/chainlink/pull/13084) [`d79bdf1`](https://github.com/smartcontractkit/chainlink/commit/d79bdf16c5129cf7bc7cc5114f92eb07fd3fbf02) Thanks [@austinborn](https://github.com/austinborn)! - #updated Add gethwrappers for operatorforwarder contracts

## db_update

- [#12813](https://github.com/smartcontractkit/chainlink/pull/12813) [`ac89336`](https://github.com/smartcontractkit/chainlink/commit/ac893364e6c6ede08e9bf04da7dc64e0da94ab6e) Thanks [@matYang](https://github.com/matYang)! - #db_update created 2 new CCIP tables in migration 0236, one for observed gas prices, one for observed token prices; setup indexing for these tables.
#added ORM for CCIP gas prices and token prices

## bugfix

- [#13058](https://github.com/smartcontractkit/chainlink/pull/13058) [`a34a17a`](https://github.com/smartcontractkit/chainlink/commit/a34a17ae9d62679a1ff15a7703f5cbcf6dfd1d0f) Thanks [@shileiwill](https://github.com/shileiwill)! - withdraw in offchain mode #bugfix

- [#13096](https://github.com/smartcontractkit/chainlink/pull/13096) [`2c08c8c`](https://github.com/smartcontractkit/chainlink/commit/2c08c8c1a58ea4b7c09b0d5a5ca3b8a677beb9f4) Thanks [@shileiwill](https://github.com/shileiwill)! - add upkeepCharged event #bugfix

- [#13088](https://github.com/smartcontractkit/chainlink/pull/13088) [`29b1636`](https://github.com/smartcontractkit/chainlink/commit/29b16360fb41e4372f72fe744aaf3ee8234a9b67) Thanks [@shileiwill](https://github.com/shileiwill)! - get available erc20 for payment #bugfix

## internal

- [#12970](https://github.com/smartcontractkit/chainlink/pull/12970) [`1eb7180`](https://github.com/smartcontractkit/chainlink/commit/1eb71802053fcde7e809ef58918110cf03046f3a) Thanks [@dimriou](https://github.com/dimriou)! - Decouple client tests from core #internal

- [#12972](https://github.com/smartcontractkit/chainlink/pull/12972) [`1196df4`](https://github.com/smartcontractkit/chainlink/commit/1196df4684c812361b8f0994ade6414a1f214c2c) Thanks [@dimriou](https://github.com/dimriou)! - Decouple gas tests from core #internal

- [#12993](https://github.com/smartcontractkit/chainlink/pull/12993) [`2a8d1b1`](https://github.com/smartcontractkit/chainlink/commit/2a8d1b150a07c5dfd036559a35c8f83bb3e4f757) Thanks [@dimriou](https://github.com/dimriou)! - Decouple utils tests from core #internal

- [#13139](https://github.com/smartcontractkit/chainlink/pull/13139) [`15fab1d`](https://github.com/smartcontractkit/chainlink/commit/15fab1daa84348e96a7895280209cb73e456a1c5) Thanks [@jmank88](https://github.com/jmank88)! - core/services: fix ocrWrapper saveError contexts #internal

- [#13008](https://github.com/smartcontractkit/chainlink/pull/13008) [`841fe61`](https://github.com/smartcontractkit/chainlink/commit/841fe61daa90b980f1e1622d2f7bd8f850b55462) Thanks [@HenryNguyen5](https://github.com/HenryNguyen5)! - #internal Keystone - rename type -> id

- [#12962](https://github.com/smartcontractkit/chainlink/pull/12962) [`62d31d0`](https://github.com/smartcontractkit/chainlink/commit/62d31d0a6ea724e7ac00d5860d60cc93d88a3f35) Thanks [@archseer](https://github.com/archseer)! - #internal

- [#13118](https://github.com/smartcontractkit/chainlink/pull/13118) [`6008d73`](https://github.com/smartcontractkit/chainlink/commit/6008d730bf1fcfc4a9dd1e46497c3db75cf390fe) Thanks [@bolekk](https://github.com/bolekk)! - #internal Pass MercuryTriggerService to Mercury Transmitter

- [#13094](https://github.com/smartcontractkit/chainlink/pull/13094) [`a0d1ce5`](https://github.com/smartcontractkit/chainlink/commit/a0d1ce5e9cddc540bba8eb193865646cf0ebc0a8) Thanks [@momentmaker](https://github.com/momentmaker)! - Refactor changesets release preview workflow #internal

- [#13175](https://github.com/smartcontractkit/chainlink/pull/13175) [`fbd94c4`](https://github.com/smartcontractkit/chainlink/commit/fbd94c43511dabd272d7fd990dfb76de66c30a16) Thanks [@erikburt](https://github.com/erikburt)! - bump chainlink-solana dependency #internal

- [#13080](https://github.com/smartcontractkit/chainlink/pull/13080) [`36cc95f`](https://github.com/smartcontractkit/chainlink/commit/36cc95f6256b5ba418a916de2c9dc9597508147a) Thanks [@cds95](https://github.com/cds95)! - #internal Generate gethwrappers for capability registry changes

- [#13128](https://github.com/smartcontractkit/chainlink/pull/13128) [`a0e7b7c`](https://github.com/smartcontractkit/chainlink/commit/a0e7b7cdd63ecb3f4d8e0ca3f5a4111703760c9b) Thanks [@samsondav](https://github.com/samsondav)! - #internal improve mercury tranmission debugging

- [#13199](https://github.com/smartcontractkit/chainlink/pull/13199) [`4f502c9`](https://github.com/smartcontractkit/chainlink/commit/4f502c9fd0fea458647bb345f5c0da995f3b6cb1) Thanks [@bolekk](https://github.com/bolekk)! - #internal Use Aggregator factory for OCR capability

- [#13103](https://github.com/smartcontractkit/chainlink/pull/13103) [`54f7c9c`](https://github.com/smartcontractkit/chainlink/commit/54f7c9c8f5508d0d0a063eb435404b4164723300) Thanks [@DeividasK](https://github.com/DeividasK)! - #internal regen geth wrappers for capability registry

- [#13112](https://github.com/smartcontractkit/chainlink/pull/13112) [`8059066`](https://github.com/smartcontractkit/chainlink/commit/80590662bd9956d3c93449ca4703a2430e0613b7) Thanks [@HenryNguyen5](https://github.com/HenryNguyen5)! - #internal Normalize keystone workflow ref regex property to match id regex

- [#13102](https://github.com/smartcontractkit/chainlink/pull/13102) [`700a827`](https://github.com/smartcontractkit/chainlink/commit/700a82719451611381ab5dbb94fe00547660440b) Thanks [@cds95](https://github.com/cds95)! - #internal generate geth wrappers for capability registry remove nodes

- [#13189](https://github.com/smartcontractkit/chainlink/pull/13189) [`1451b2b`](https://github.com/smartcontractkit/chainlink/commit/1451b2b6321f997c2df2c0b7fd05d6ba1eac30e4) Thanks [@samsondav](https://github.com/samsondav)! - Performance improvements for mercury single insert for multiple mercury servers #internal

## 2.12.0 - UNRELEASED

### Minor Changes
Expand Down Expand Up @@ -283,7 +362,7 @@

- [#12412](https://github.com/smartcontractkit/chainlink/pull/12412) [`83c8688a14`](https://github.com/smartcontractkit/chainlink/commit/83c8688a14ac04111f999d132673ebaf6a364b4a) Thanks [@poopoothegorilla](https://github.com/poopoothegorilla)! - Bump grafana to 1.1.1

- [#12248](https://github.com/smartcontractkit/chainlink/pull/12248) [`e1950769ee`](https://github.com/smartcontractkit/chainlink/commit/e1950769ee3ff2a40ca5772b9634c45f8be241cc) Thanks [@FelixFan1992](https://github.com/FelixFan1992)! - Add version support for automation registry 2.\*
- [#12248](https://github.com/smartcontractkit/chainlink/pull/12248) [`e1950769ee`](https://github.com/smartcontractkit/chainlink/commit/e1950769ee3ff2a40ca5772b9634c45f8be241cc) Thanks [@FelixFan1992](https://github.com/FelixFan1992)! - Add version support for automation registry 2.*

## 2.10.0 - 2024-04-05

Expand Down Expand Up @@ -859,8 +938,8 @@ The following `AUDIT_LOGGER_*` environment variables below configure this option

An optional list of HTTP headers to be added for every optional audit log event. If the above `AUDIT_LOGGER_FORWARD_TO_URL` is set, audit log events will be POSTed to that URL, and will include headers specified in this environment variable. One example use case is auth for example: `AUDIT_LOGGER_HEADERS="Authorization||{{token}}"`.

Header keys and values are delimited on ||, and multiple headers can be added with a forward slash delimiter ('\\'). An example of multiple key value pairs:
`AUDIT_LOGGER_HEADERS="Authorization||{{token}}\Some-Other-Header||{{token2}}"`
Header keys and values are delimited on ||, and multiple headers can be added with a forward slash delimiter ('\'). An example of multiple key value pairs:
`AUDIT_LOGGER_HEADERS="Authorization||{{token}}Some-Other-Header||{{token2}}"`

##### AUDIT_LOGGER_JSON_WRAPPER_KEY

Expand Down Expand Up @@ -1072,7 +1151,7 @@ If minConfirmations > 0 and failOnRevert=true then the ethtx task will error on

If `minConfirmations` is not set on the task, the chain default will be used which is usually 12 and always greater than 0.

- `http` task now allows specification of request headers. Use like so: `foo [type=http headers="[\\"X-Header-1\\", \\"value1\\", \\"X-Header-2\\", \\"value2\\"]"]`.
- `http` task now allows specification of request headers. Use like so: `foo [type=http headers="[\"X-Header-1\", \"value1\", \"X-Header-2\", \"value2\"]"]`.

### Fixed

Expand All @@ -1088,7 +1167,7 @@ If `minConfirmations` is not set on the task, the chain default will be used whi

### Fixed

- Ensure failed EthSubscribe didn't register a (\*rpc.ClientSubscription)(nil) which would lead to a panic on Unsubscribe
- Ensure failed EthSubscribe didn't register a (*rpc.ClientSubscription)(nil) which would lead to a panic on Unsubscribe
- Fixes parsing of float values on job specs

## [1.4.0] - 2022-05-02
Expand All @@ -1113,7 +1192,7 @@ If `minConfirmations` is not set on the task, the chain default will be used whi
### Added

- Added support for Keeper registry v1.2 in keeper jobs
- Added disk rotating logs. Chainlink will now always log to disk at debug level. The default output directory for debug logs is Chainlink's root directory (ROOT_DIR) but can be configured by setting LOG_FILE_DIR. This makes it easier for node operators to report useful debugging information to Chainlink's team, since all the debug logs are conveniently located in one directory. Regular logging to STDOUT still works as before and respects the LOG_LEVEL env var. If you want to log in disk at a particular level, you can pipe STDOUT to disk. This automatic debug-logs-to-disk feature is enabled by default, and will remain enabled as long as the `LOG_FILE_MAX_SIZE` ENV var is set to a value greater than zero. The amount of disk space required for this feature to work can be calculated with the following formula: `LOG_FILE_MAX_SIZE` \* (`LOG_FILE_MAX_BACKUPS` + 1). If your disk doesn't have enough disk space, the logging will pause and the application will log Errors until space is available again. New environment variables related to this feature:
- Added disk rotating logs. Chainlink will now always log to disk at debug level. The default output directory for debug logs is Chainlink's root directory (ROOT_DIR) but can be configured by setting LOG_FILE_DIR. This makes it easier for node operators to report useful debugging information to Chainlink's team, since all the debug logs are conveniently located in one directory. Regular logging to STDOUT still works as before and respects the LOG_LEVEL env var. If you want to log in disk at a particular level, you can pipe STDOUT to disk. This automatic debug-logs-to-disk feature is enabled by default, and will remain enabled as long as the `LOG_FILE_MAX_SIZE` ENV var is set to a value greater than zero. The amount of disk space required for this feature to work can be calculated with the following formula: `LOG_FILE_MAX_SIZE` * (`LOG_FILE_MAX_BACKUPS` + 1). If your disk doesn't have enough disk space, the logging will pause and the application will log Errors until space is available again. New environment variables related to this feature:
- `LOG_FILE_MAX_SIZE` (default: 5120mb) - this env var allows you to override the log file's max size (in megabytes) before file rotation.
- `LOG_FILE_MAX_AGE` (default: 0) - if `LOG_FILE_MAX_SIZE` is set, this env var allows you to override the log file's max age (in days) before file rotation. Keeping this config with the default value means not to remove old log files.
- `LOG_FILE_MAX_BACKUPS` (default: 1) - if `LOG_FILE_MAX_SIZE` is set, this env var allows you to override the max amount of old log files to retain. Keeping this config with the default value means to retain 1 old log file at most (though `LOG_FILE_MAX_AGE` may still cause them to get deleted). If this is set to 0, the node will retain all old log files instead.
Expand Down Expand Up @@ -2056,7 +2135,7 @@ Note that it has no effect on FMv1 jobs. Node operators will need to upgrade to
- Task definitions in v2 jobs (those with TOML specs) now support quoting strings with angle brackets (which DOT already permitted). This is particularly useful when defining JSON blobs to post to external adapters. For example:

```
my_bridge [type=bridge name="my_bridge" requestData="{\\"hi\\": \\"hello\\"}"]
my_bridge [type=bridge name="my_bridge" requestData="{\"hi\": \"hello\"}"]
```

... can now be written as:
Expand Down