Repository navigation
chore(release): bump version to 1.0.0 - #1107
Merged
Merged
Conversation
robinnsc
force-pushed
the
chore/release-1.0.0
branch
from
November 18, 2026 03:36
de6d1d4 to
4c818f6
Compare
robinnsc
marked this pull request as ready for review
November 18, 2026 04:16
robinnsc
requested review from
LeeroyHannigan,
amrith,
c33howard,
demohan,
eliseong,
hitesh96db,
jcshepherd and
pdf-amzn
as code owners
November 18, 2026 04:16
Moves the workspace version from 0.1.15 to 1.0.0 on every surface that carries it: the root Cargo.toml version and its 13 exact pins, the 14 workspace entries in Cargo.lock (no third-party entry changes), packaging/npm/package.json (version and the five platform pins), the four licence-notice files (regenerated with cargo-about 0.9.0), and the example `extenddb version` and `serve` output in docs/getting-started.md and docs/manuals/04-quickstart-setup-guide.md. RELEASED_THROUGH stays 12: migration 12 is still the last one, so 1.0.0 carries the catalog of 0.1.15 and freezes nothing new. Upgrade manual: - Behavior Changes by Release gets a v1.0.0 entry for #945: the Cassandra backend reads and writes at LOCAL_QUORUM where 0.1.15 ran many of them at ONE, so a request fails with HTTP 500 while fewer than a quorum of its keyspace's replicas are up. It says what to do before upgrading: a replication factor of 3, as cassandra-setup.md describes. - A v1.0.0 entry for #1003. Without key_file the stored format and the catalog key stay as they are, and 0.1.15 and 1.0.0 each read the access keys the other wrote. serve and the backup commands refuse a catalog key that is not 32 bytes in base64, where 0.1.15 started and failed every signed request with HTTP 500; the entry says how to check the key before upgrading. The key moves into a locked key store, with a warning when the memlock limit is too low. key_file and the encryption-key commands are opt-in and link to the admin guide. - The rollback section of #1003 now gives the PostgreSQL refusal of 0.1.15 on a switched catalog: the encrypted connection string row stops it with exit status 1 before the missing key does. - Current Status, the General Upgrade Procedure and the Rollback Procedure cover 0.1.15 to 1.0.0, with the Cassandra step, the key check, and the rollback after encryption-key switch. Current Status says which of its paragraphs are for 0.1.14 and earlier and that the backup store notes apply to every deployment. - A v0.1.15 entry for the request validation of #619, #620, #830 and #1000, which had none. It says the expression depth limit is ExtendDB's own. - The rollback to 0.1.14 or earlier states what a binary of those releases does on a migrated catalog, as measured on PostgreSQL with 0.1.14 and 0.1.10: exit status 1, "invalid catalog version '12'". docs/versioning.md: the 0.1.x releases get no more fixes. The Docker Hub pages name 0.1.15 as the first keyless-signed release. docker/README-mongodb.md ran extenddb/extenddb-mongodb:0.1.8; it now runs X.Y.Z, as the other image READMEs do. doc_version_literals now reads docker/ as well, so a stale image tag there fails it. It reports each image tag once, and skips another project's image tag and a link to a release. The npm launcher test now checks that the launcher refuses the release line before an X.0.0 launcher, which it skipped at patch 0. Signed-off-by: Scott Robinson <robinnsc@amazon.com>
robinnsc
force-pushed
the
chore/release-1.0.0
branch
from
November 18, 2026 10:00
4c818f6 to
d3e9d5c
Compare
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 18, 2026
docs/manuals/07-upgrade-manual.md keeps the 1.0.0 paragraph that main (#1107) adds to Current Status. It also keeps the serve --migrate clause that this branch adds to the next paragraph.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 18, 2026
No file conflicted. The merge brings main at version 1.0.0 (#1107), and the next commit gives the upgrade entry of this branch that release.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 18, 2026
Release 0.1.15 shipped without this branch, and main (#1107) now carries version 1.0.0. The upgrade manual entry of this branch on the dynamodb:Select, dynamodb:ReturnValues and dynamodb:ReturnConsumedCapacity defaults said v0.1.15, so its heading now says v1.0.0.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 18, 2026
Release 0.1.15 shipped without this branch, and main (#1107) now carries version 1.0.0. The entry of this branch said v0.1.15, so its heading now says v1.0.0. The entry also said that v0.1.14 does not serve ExecuteTransaction, so that no stored token came from an ExecuteTransaction write. 0.1.15 serves ExecuteTransaction and fingerprints its token over the items alone, as it does for TransactWriteItems. The entry now names both operations in its list of affected clients.
1 of 8 tasks
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 18, 2026
docs/getting-started.md and docs/manuals/04-quickstart-setup-guide.md keep release 1.0.0 from main (#1107) and catalog migration 13 from this branch in their sample output. docs/manuals/07-upgrade-manual.md keeps the 1.0.0 paragraph and the two v1.0.0 entries that main adds. It also keeps the migration count of this branch in the next paragraph and its GSI queue entry after the v1.0.0 entries.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 18, 2026
Main (#1107) wrote the 1.0.0 text of the upgrade manual for a release with no new catalog migration. This branch adds migration 13, gsi_pending_table_claim. Four sentences of main were then wrong in this tree: - Current Status - the opening of the General Upgrade Procedure - the opening of the Rollback Procedure - the rollback paragraph of the v1.0.0 key entry They now say that an upgrade from 0.1.15 runs migrate --yes for migration 13. On SQLite, MongoDB and Cassandra the ledger records the migration as not applicable. That counts as additive, so 0.1.15 still starts on the migrated catalog with a warning. On PostgreSQL the migration is breaking. 0.1.15 refuses the catalog with exit status 4, and a rollback restores both databases from the backups.
6 of 8 tasks
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 18, 2026
Cargo.toml keeps the 1.0.0 pins from main (#1107) and pins the extenddb-s3 crate of this branch to =1.0.0 too. Cargo.lock then gets extenddb-s3 1.0.0 from cargo update --workspace, and differs from the lock file of this branch only in the 15 workspace versions. The devtools scripts generate the four SOFTWARE-LICENSE-NOTICES files again from that lock file. docs/getting-started.md and docs/manuals/04-quickstart-setup-guide.md keep release 1.0.0 from main and catalog migration 13 from this branch in their sample output. docs/manuals/07-upgrade-manual.md keeps the 1.0.0 paragraph that main adds to Current Status. It also keeps the migration count of this branch in the next paragraph.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 18, 2026
Release 0.1.15 shipped without this branch, and main (#1107) now carries version 1.0.0. The two upgrade manual entries of this branch said v0.1.15. Their headings now say v1.0.0: the entry on the working directory of a daemonized serve, and the entry on the nesting check of PutItem. Main wrote the 1.0.0 text for a release with no new catalog migration. This branch adds migration 13, bulk_operations. Four sentences of main were then wrong in this tree: - Current Status - the opening of the General Upgrade Procedure - the opening of the Rollback Procedure - the rollback paragraph of the v1.0.0 key entry They now say that an upgrade from 0.1.15 runs migrate --yes for migration 13. On MongoDB and Cassandra the ledger records the migration as not applicable. That counts as additive, so 0.1.15 still starts on the migrated catalog with a warning. On PostgreSQL and SQLite the migration is breaking. 0.1.15 refuses the catalog with exit status 4, and a rollback restores the backup.
6 of 8 tasks
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 19, 2026
docs/getting-started.md keeps the pointer page of this branch. Main (#1107) changed two sample outputs on that page to release 1.0.0. docs/manuals/04-quickstart-setup-guide.md stays deleted. Main changed its sample output to 1.0.0 too. This branch moved that walkthrough to docs/install-from-source.md, so the two sample outputs there, extenddb version and the serve banner, now say 1.0.0.
LeeroyHannigan
added a commit
that referenced
this pull request
Nov 19, 2026
No file conflicted. The base branch now holds main at release 1.0.0 (#1107) and the upgrade note changes of #1133. Main changed neither extenddb.sample.toml nor the config crate, and docs/configuration.md still matches the sample. Cargo.lock differs from the lock file of main only by the serde_json dependency of extenddb-config that this branch adds. The four license notice files are current.
3 of 8 tasks
amrith
pushed a commit
to amrith/extenddb
that referenced
this pull request
Nov 24, 2026
…replay (ExtendDB#526) * fix(engine): include Return fields in the TransactWriteItems token fingerprint The idempotency fingerprint hashed TransactItems only, so a replay that changed ReturnConsumedCapacity or ReturnItemCollectionMetrics was served as a replay. The service answers IdempotentParameterMismatchException for such a request and treats an absent field as NONE. Hash the two fields after the items when they are not NONE. A request with neither field, or with both NONE, keeps the value stored by earlier versions, pinned by a unit test. Use the service's mismatch message. * test(transact): wire tests for token replay with the Return fields Cover each measured answer: a changed ReturnConsumedCapacity or ReturnItemCollectionMetrics on a token replay is a mismatch with the service's message, NONE equals absent, the matching replay reports read capacity and no ItemCollectionMetrics, and an invalid enum value is refused before the token comparison. * docs(engine): say which stored tokens replay across a version change The compute_fingerprint comment said that tokens stored before this change still replay. That holds only for a request with neither Return field, or with both set to NONE. The comment now gives the three cases for the 10 minutes after an upgrade or a downgrade. The function at 744ea29 hashes the TransactItems JSON alone. This version appends a suffix for TOTAL, INDEXES and SIZE, and nothing for NONE. All four storage backends replay a retry only when its fingerprint equals the stored one. A token for a request without the fields therefore replays in both directions. A token that an earlier version stored for TOTAL, INDEXES or SIZE answers IdempotentParameterMismatchException to an identical retry on this version. A retry without the field replays. A token that this version stored for one of those values answers the mismatch to every retry on an earlier version. The comment also says that ExecuteTransaction writes use this fingerprint, because they call handle_transact_write_items with their ReturnConsumedCapacity. * test(engine): check the items and pin the values with a Return field The fingerprint test for different items used ReturnConsumedCapacity NONE only. A build that hashes the items only when the field is NONE passed every unit test. In that build, a retry with TOTAL and different items replays and writes nothing. Amazon DynamoDB answers that retry with IdempotentParameterMismatchException and stores nothing, for TOTAL and for SIZE (us-east-1, 2026-11-10, two sends each). Two new tests run the different items check with TOTAL and with SIZE. The fingerprint stored for a request with TOTAL, INDEXES or SIZE must also stay the same across versions. Otherwise its token stops replaying after an upgrade. A new test pins the values for pinned_body() and token tok-1: TOTAL 8fa51ffc1314a046, INDEXES ee2c3412f0fdbdf1, SIZE 70eb830c93e9079f, and TOTAL with SIZE e9957d3c7431e1d4. An HMAC-SHA256 computed outside the crate gives the same four values. The comment on PINNED_ITEMS_ONLY now names 744ea29, the commit whose fingerprint produced that value. * refactor(engine): keep the token mismatch message in one constant After the merge of main, the mismatch message was a literal in two places: the classic TransactWriteItems handler and remap_write_error in crates/engine/src/partiql/transaction.rs. The remap arm for IdempotentParameterMismatchException replaced the handler's message with the same text, so it changed nothing. The text is now IDEMPOTENT_MISMATCH_MESSAGE in crates/engine/src/transact_write_helpers.rs, and the handler uses it. This change removes the remap arm, so the PartiQL surface passes the handler's error through. The comments on remap_write_error and on the module now say that it remaps only the reason of a duplicate-key INSERT. No answer changes. * test(transact): read back the changed key and keep a Return field tests/test_transact_token_return_fields.py changes in four places. The module docstring now limits the sentence about a matching replay to tables without a local secondary index. The tests use such a table: scoped_table keys it on pk alone. The docstring also gives the date of the measurement behind each read of a changed key. _fresh() returned (token, pk), and every caller unpacks pk, token = _fresh(). It now returns (pk, token), so failure output names the two values correctly. test_changed_items_alone_is_a_mismatch now reads the second key back and expects no item, as its sibling test does. For a retry with no Return field and another item, Amazon DynamoDB answers IdempotentParameterMismatchException. It stores no item for the second key (us-east-1, 2026-11-10, two sends). A new test sends ReturnConsumedCapacity TOTAL, or ReturnItemCollectionMetrics SIZE, on both calls, and another item on the second call. Amazon DynamoDB answers the second call with IdempotentParameterMismatchException and stores no item for its key (us-east-1, 2026-11-10, two sends each). The test checks the different items case of the fingerprint unit tests through the server. * test(partiql): ExecuteTransaction replay with ReturnConsumedCapacity An ExecuteTransaction write reaches handle_transact_write_items with the request's ReturnConsumedCapacity, so the fingerprint that compares the field decides ExecuteTransaction replays as well. Four tests next to the T5 test in tests/test_partiql_transaction.py send one INSERT twice with the same token. Amazon DynamoDB answers the second call with IdempotentParameterMismatchException in three cases: TOTAL then no field, no field then TOTAL, and TOTAL then INDEXES. The message is the one TransactWriteItems gives. With no field on both calls the service answers 200 {"Responses": []} to both (us-east-1, 2026-11-10, two sends each). Each case uses its own key and token. * docs: the token fingerprint, its replay gaps and the upgrade window docs/design/04-component-storage.md described the stored fingerprint without its inputs. Section 9 now says that the fingerprint is an HMAC-SHA256 keyed by the token over the TransactItems JSON. The ReturnConsumedCapacity and ReturnItemCollectionMetrics values follow the items when they are not NONE. ExtendDB translates an ExecuteTransaction write into a TransactWriteItems request before it computes the fingerprint. The IdempotentMismatch item of the storage error list now says that the token exists with a different fingerprint. docs/differences-from-dynamodb.md gets a Transactions section with the replay gaps that remain. The rows about how a request writes its items name TransactWriteItems, the operation of the measurements: - The service replays a retry that changes only the spelling of a number, the spacing of an expression or an ExpressionAttributeNames alias. It also replays a retry that adds ReturnValuesOnConditionCheckFailure NONE inside an item (measured 2026-10-24). ExtendDB answers each with IdempotentParameterMismatchException (measured on SQLite at this branch). - The service answers 200 to a retry whose item lists the same attributes in another key order. An identical retry gets the same answer (us-east-1, 2026-11-10, two sends). A build with the MongoDB backend keeps map keys in request order, so there the retry answers the mismatch (from the code). - The service answers 200 to a raw signed request with an unknown top-level field and writes the item (us-east-1, 2026-11-10, two sends). ExtendDB refuses the request with SerializationException (measured on SQLite at this branch). - On a table without a local secondary index, the service answers the first SIZE call with {"ItemCollectionMetrics": {}} (us-east-1, 2026-11-10, two sends). ExtendDB answers {}. docs/manuals/07-upgrade-manual.md gets a v0.1.15 entry for stored tokens. After an upgrade, a token that v0.1.14 stored for a request with TOTAL, INDEXES or SIZE answers the mismatch to an identical retry. After a downgrade, a token that this release stored for such a request answers the mismatch to every retry. v0.1.14 does not serve ExecuteTransaction. PostgreSQL, SQLite and MongoDB keep a token for 10 minutes. The Cassandra backend stores a token without an expiry time and does not check its age. * docs(engine): give the token lifetime per backend in the comment The compute_fingerprint comment said that a token expires after 10 minutes. It described the answers for 10 minutes after an upgrade or a downgrade. PostgreSQL, SQLite and MongoDB check the age of a token against 10 minutes. The Cassandra backend inserts a token without a TTL, and its token table has no default TTL. Its token check reads no creation time, and its cleanup of expired tokens does nothing. A Cassandra token therefore has no expiry. The comment now describes the answers for a token stored before the version change, and it gives the lifetime per backend. The upgrade manual entry states the same lifetimes. * docs(upgrade): give the ClientRequestToken entry release v1.0.0 Release 0.1.15 shipped without this branch, and main (ExtendDB#1107) now carries version 1.0.0. The entry of this branch said v0.1.15, so its heading now says v1.0.0. The entry also said that v0.1.14 does not serve ExecuteTransaction, so that no stored token came from an ExecuteTransaction write. 0.1.15 serves ExecuteTransaction and fingerprints its token over the items alone, as it does for TransactWriteItems. The entry now names both operations in its list of affected clients. * docs(upgrade): move the ClientRequestToken entry to v1.1.0 Release 1.0.0 shipped without this branch. The entry of this branch said v1.0.0, so its heading now says v1.1.0. docs/versioning.md puts a change that makes ExtendDB answer as DynamoDB does in a minor release. The entry also named 0.1.15 as the release that serves ExecuteTransaction with the earlier fingerprint. 1.0.0 does the same, and the entry now names both releases. * docs(upgrade): say how each backend runs two releases on one database The v1.1.0 entry said that servers of both releases can share one database during a rolling upgrade. The deployment guide says to run one instance per catalog. SQLite enforces that limit on Unix, and the other backends do not. On PostgreSQL, MongoDB and Cassandra each server holds its own serving registration. The tokens live in the database: the idempotency_tokens table on PostgreSQL, the idempotency_tokens collection on MongoDB and the idempotency_tokens_by_account table on Cassandra. A retry that reaches a server of the other release reads the same stored token. The sentence now names these three backends and links the deployment guide's Multi-Instance Considerations section. On SQLite the entry now says to run the two releases one after the other. On Unix `serve` takes an exclusive flock on `<database>.lock`, and a second server refuses to start (serve_lock.rs). On Windows the server takes no lock, which ExtendDB#642 tracks.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
The v1.0.0 release commit, on main after #1003.
Cargo.toml(version and 13 pins),Cargo.lock(workspace crates only),packaging/npm/package.json(version and five platform pins), and the docs' example version output.RELEASED_THROUGHis already 12, so 1.0.0 carries the catalog of 0.1.15.docs/versioning.md: the 0.1.x releases get no more fixes. The Docker Hub pages name 0.1.15 as the first release signed keyless.docker/README-mongodb.mdranextenddb/extenddb-mongodb:0.1.8; it now runsX.Y.Z.doc_version_literalsnow readsdocker/too, so a stale image tag there fails it.17 files. No product code or dependency change.
Why
1.0.0 is the first release covered by the compatibility rules in
docs/versioning.md. Within 1.x, later releases keep the DynamoDB API, the configuration keys, the CLI's subcommands, flags and exit codes, and the management API for the stable and beta backends, and only a major release removes a deprecated item. A minor release can still carry a breaking catalog migration, and its release notes then say so.Closes: n/a (the 1.0 milestone).
Changes since v0.1.15
LOCAL_QUORUM(feat(storage-cassandra): run reads and writes at LOCAL_QUORUM #945). 0.1.15 ran many of them atONE. A request now fails with HTTP 500 while fewer than a quorum of its keyspace's replicas are up, so a keyspace at replication factor 2 stops serving reads when one replica is down, where 0.1.15 kept serving them.[auth.encryption] key_fileand theextenddb encryption-keycommands keep that key in a KEK file outside the catalog; this is opt-in. Without it nothing stored changes, the key is kept in locked memory (a warning when the memlock limit is too low), andserveandextenddb backuprefuse a catalog key that is not 32 bytes in base64.Testing done
On this commit (d3e9d5c). CI runs the suites.
cargo fmt --check, and clippy 1.97 with--workspace --all-targets -D warningsand in both CI feature lines (with the Cassandra and MongoDBtest-hooks, and withbackup-test-hooks): pass.cargo test -p extenddb-storage --lib(284 passed),doc_version_literals(3 passed), the four licence-notice--checks (current: feat(auth): wrap the credential encryption key with a KEK kept outside the catalog #1003 added no third-party crate) anddevtools/check-released-through(RELEASED_THROUGH is 12, the last migration): pass.extenddb 1.0.0, catalog migration 12.devtools/release-dry-run --crateswith all four images (linux/amd64): every step passes, the four vulnerability scans included (0 findings), andcargo package --workspace, the package rules and the SHA-256 record pass. The crates.io publish plan stops because no crate requires trusted publishing yet (see Before running the release workflows). The tag gate is skipped because no tag exists yet.key_file: 1.0.0 reports Current and serves; an access key made by 0.1.15 and one made by 1.0.0 each sign requests under both releases, and 0.1.15 serves again after 1.0.0. 1.0.0 changes no settings row.serveandbackup listexit 1 naming the key; 0.1.15 starts on it and answers each signed request with HTTP 500.key_fileset before a switch: 1.0.0 exits 1 and writes nothing; 0.1.15 refuses that configuration (unknown field `encryption`) and serves without the section.encryption-key switch --yes: 1.0.0 withkey_fileserves both access keys; 0.1.15 exits 1 on the encrypted connection string row.key_filewarns that it cannot lock 643,072 bytes and serves, withkey_store=none.Before running the release workflows
trustpub_onlyfalse on all 14, checked 2026-11-18 08:43 UTC).release-cratesruns for 1.0.0, each crate needs its trusted publisher and "Require trusted publishing for all new versions" (step 7 of "Publishing new crates with an API token" inpackaging/README.md).trustpub_onlyflag from the crates.io API. While any is false, it exits 1 and names those crates, as the dry run above did.release-cratespublishes all 14 at 1.0.0 through trusted publishing; no API token is needed.latestof@extenddb/devand the five platform packages is at 0.1.15.npm-publishputs 1.0.0 undercandidate; promote it withnpm dist-tag addas before.previous_tag_name=v0.1.15. The 1.0.0 notes name 1.0.0 as the first release covered bydocs/versioning.md, describe feat(storage-cassandra): run reads and writes at LOCAL_QUORUM #945 and feat(auth): wrap the credential encryption key with a KEK kept outside the catalog #1003 with links to theirv1.0.0:entries, and point operators on 0.1.14 or earlier to thev0.1.15:entries.Checklist
cargo test --workspace): not run in full; the commit changes two test files, the checks above pass, and CI runs the workspacecargo fmt --check)cargo clippy -- -W clippy::pedantic): checked as CI runs it,cargo +1.97.0 clippy --workspace --all-targets -- -D warningsdoc_version_literalsnow readsdocker/, and the launcher test checks one more releaseStoragetrait, auth model, on-diskformat, or public CLI surface, an RFC has been accepted or is linked
below. Otherwise, an ADR captures the decision (link below).
ADR / RFC: n/a (a version bump; the policy it puts into effect is
docs/versioning.md, #897).Breaking changes
docs/cassandra-setup.mddescribes.serveand eachextenddb backupcommand refuse a catalog key that is not base64 or does not decode to 32 bytes (feat(auth): wrap the credential encryption key with a KEK kept outside the catalog #1003); 0.1.15 started on one and failed every signed request with HTTP 500. Before upgrading, check that signed requests to 0.1.15 succeed, or on PostgreSQL thatSELECT length(decode(value, 'base64')) FROM settings WHERE key = 'encryption_key'prints 32. The key thatinitwrites passes.migratestep. A rollback starts the 0.1.15 binary, with any[auth.encryption]section removed; afterextenddb encryption-key switchit needs the catalog copy taken before the switch.extenddb migrate --yesonce before a 1.0.0 server starts, as for 0.1.15. Rolling back means restoring the backup taken before the upgrade. Read thev0.1.15:entries under "Behavior Changes by Release" first. See "General Upgrade Procedure" and "Rollback Procedure" in the upgrade manual.By submitting this pull request, I confirm that my contribution is made under
the terms of the Apache License 2.0 and I agree to the Developer Certificate of
Origin (DCO). See CONTRIBUTING.md for details.