diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29b..28410d70 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,137 @@ +# [cala release v0.1.0](https://github.com/GaloyMoney/cala/releases/tag/0.1.0) + + +### Bug Fixes + +- Tracing +- Typo +- Cala outbox mutation name +- Make persist data source aware +- Workspace = true in cala-tracing +- Load +1 import-jobs in list +- Clippy +- Remove redundant comma + +### Documentation + +- Add basic readme + +### Features + +- Add entry entity (#51) +- Add transaction (#38) +- Account_create gql layer (#47) +- Expose generic job entity (#44) +- Gql layer for tx_template (#45) +- Add tx_template (#35) +- Add cel parser and interpreter (#30) +- Setup tracing (#16) + +### Miscellaneous Tasks + +- Balance gel layer (#64) +- CodeAlreadyExists error +- Explicit ExternalIdAlreadyExists +- Add accountByExternalId +- Post_transaction gql boilerplate (#59) +- Check job type when spawning +- Pass server id as ref (#62) +- Add service_instance_id to tracing +- Bump pg (#61) +- Reference latest_entry_id from cala_balance_history (#60) +- Port post-transaction from sqlx-ledger (#57) +- Bump serde from 1.0.201 to 1.0.202 (#52) +- Add balance.rs (#53) +- Wrap core registration +- Expose hook for job registration +- Rename entity id's in gql layer (#48) +- Remove dead file +- Bump async-graphql-axum from 7.0.3 to 7.0.5 (#46) +- Extension boilerplate (#43) +- Bump serde_json from 1.0.116 to 1.0.117 (#32) +- Bump serde from 1.0.200 to 1.0.201 (#33) +- Persist job state (#41) +- Bump async-graphql from 7.0.3 to 7.0.5 (#37) +- Fmt +- Complete outbox sync (#39) +- Complete OutboxListener implementation (#34) +- Bump napi-derive from 2.16.3 to 2.16.4 (#26) +- Bump thiserror from 1.0.59 to 1.0.60 (#27) +- Bump anyhow from 1.0.82 to 1.0.83 (#29) +- Bump napi from 2.16.4 to 2.16.6 (#31) +- Create outbox client in import job +- Job execution (#24) +- Bump flake (#23) +- Update tonic-build requirement from 0.10.2 to 0.11.0 (#21) +- Expose list import jobs +- Create ImportJob via graphql +- Bump rust +- Bump tonic +- Update base64 requirement from 0.21.5 to 0.22.1 (#11) +- Update derive_builder requirement from 0.12.0 to 0.20.0 (#8) +- Add ImportJob boilerplate +- Update entity framework from galoy +- Sync tracing from galoy +- Typesafe Tag +- Generate journal gql types (#5) +- Expose journal values +- Return journal in gql layer +- Impl default for Status +- Create journals using gql +- Create journals from cala-nodejs (#3) +- Usecase in mod.rs for journal +- Expand rust example +- Initialising journal +- Remove federation directives +- Wire accounts query e2e +- Add Cursor for accounts +- Fix pagination for accounts +- Paginated accounts +- Fix sequence index +- Some boilerplate for querying +- Cala-server boilerplate +- Move extract_grpc_tracing to cala-tracing +- Cala-server boilerplate +- Add awaitOutboxServer (hacky) +- Start server +- Add cala-ledger-outbox-client +- Outbox server boilerplate +- Remove augmentation +- Persist outbox events e2e +- Pass new events to outbox +- Outbox boilerplate +- Add metadata to napi account +- Add account creation to examples/nodejs +- Accounts boilerplate +- Error handling in nodejs +- Actually use ledger in nodejs bindings +- Examples/nodejs e2e +- Nodejs boilerplate +- CalaLedgerConfig / migrations +- Cala-ledger boilerplate +- Add flake.nix + +### Refactor + +- Remove account 'tags' attribute (#58) +- Registry addInitializer accepts type +- Job init need not be async +- Cleaner external extension support +- Job execution (#36) +- Move query out of cala-core-types +- Consistently return entity from create +- Return journal_values +- Consistent singular module name +- Restructure account fields / indexes +- Re-export cala_types where useful +- Move outbox event to core-types +- Extract core-types + +### Testing + +- Post_transaction.rs boilerplate (#54) +- Improve bats idempotency (#42) +- Complete assertion in example (#40) +- Bats boilerplate (#17) + + diff --git a/Cargo.lock b/Cargo.lock index 5d391558..2b29a749 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -631,7 +631,7 @@ checksum = "ade8366b8bd5ba243f0a58f036cc0ca8a2f069cff1a2351ef1cac6b083e16fc0" [[package]] name = "cala-cel-interpreter" -version = "0.1.0-dev" +version = "0.1.0" dependencies = [ "cala-cel-parser", "chrono", @@ -644,7 +644,7 @@ dependencies = [ [[package]] name = "cala-cel-parser" -version = "0.1.0-dev" +version = "0.1.0" dependencies = [ "lalrpop", "lalrpop-util", @@ -652,7 +652,7 @@ dependencies = [ [[package]] name = "cala-ledger" -version = "0.1.0-dev" +version = "0.1.0" dependencies = [ "anyhow", "cached", @@ -685,7 +685,7 @@ dependencies = [ [[package]] name = "cala-ledger-core-types" -version = "0.1.0-dev" +version = "0.1.0" dependencies = [ "cala-cel-interpreter", "chrono", @@ -712,7 +712,7 @@ dependencies = [ [[package]] name = "cala-ledger-outbox-client" -version = "0.1.0-dev" +version = "0.1.0" dependencies = [ "cala-cel-interpreter", "cala-ledger-core-types", @@ -733,7 +733,7 @@ dependencies = [ [[package]] name = "cala-server" -version = "0.1.0-dev" +version = "0.1.0" dependencies = [ "anyhow", "async-graphql", @@ -765,7 +765,7 @@ dependencies = [ [[package]] name = "cala-tracing" -version = "0.1.0-dev" +version = "0.1.0" dependencies = [ "anyhow", "axum-extra", diff --git a/cala-cel-interpreter/Cargo.toml b/cala-cel-interpreter/Cargo.toml index 3ba214f5..2d3be3eb 100644 --- a/cala-cel-interpreter/Cargo.toml +++ b/cala-cel-interpreter/Cargo.toml @@ -2,7 +2,7 @@ name = "cala-cel-interpreter" description = "An interpreter for the Common Expression Language (CEL)" repository = "https://github.com/GaloyMoney/cala" -version = "0.1.0-dev" +version = "0.1.0" edition = "2021" license = "Apache-2.0" categories = ["parsing", "cel"] @@ -12,7 +12,7 @@ categories = ["parsing", "cel"] fail-on-warnings = [] [dependencies] -cel-parser = { path = "../cala-cel-parser/", package = "cala-cel-parser", version = "0.1.0-dev" } +cel-parser = { path = "../cala-cel-parser/", package = "cala-cel-parser", version = "0.1.0" } chrono = { workspace = true } rust_decimal = { workspace = true } diff --git a/cala-cel-parser/Cargo.toml b/cala-cel-parser/Cargo.toml index f1157beb..ecebf7d1 100644 --- a/cala-cel-parser/Cargo.toml +++ b/cala-cel-parser/Cargo.toml @@ -2,7 +2,7 @@ name = "cala-cel-parser" description = "A parser for the Common Expression Language (CEL)" repository = "https://github.com/GaloyMoney/cala" -version = "0.1.0-dev" +version = "0.1.0" authors = ["Justin Carter "] edition = "2021" license = "Apache-2.0" diff --git a/cala-ledger-core-types/Cargo.toml b/cala-ledger-core-types/Cargo.toml index 2868a57f..50b7ab92 100644 --- a/cala-ledger-core-types/Cargo.toml +++ b/cala-ledger-core-types/Cargo.toml @@ -2,7 +2,7 @@ name = "cala-ledger-core-types" repository = "https://github.com/GaloyMoney/cala" description = "Core types for cala" -version = "0.1.0-dev" +version = "0.1.0" edition = "2021" license = "Apache-2.0" categories = ["core-types"] @@ -11,7 +11,7 @@ categories = ["core-types"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cel-interpreter = { path = "../cala-cel-interpreter/", package = "cala-cel-interpreter", version = "0.1.0-dev" } +cel-interpreter = { path = "../cala-cel-interpreter/", package = "cala-cel-interpreter", version = "0.1.0" } serde = { workspace = true } serde_json = { workspace = true } diff --git a/cala-ledger-outbox-client/Cargo.toml b/cala-ledger-outbox-client/Cargo.toml index f1630a9f..3ddfca38 100644 --- a/cala-ledger-outbox-client/Cargo.toml +++ b/cala-ledger-outbox-client/Cargo.toml @@ -2,7 +2,7 @@ name = "cala-ledger-outbox-client" description = "Outbox client for cala-ledger" repository = "https://github.com/GaloyMoney/cala" -version = "0.1.0-dev" +version = "0.1.0" edition = "2021" license = "Apache-2.0" categories = ["client", "outbox"] @@ -12,8 +12,8 @@ categories = ["client", "outbox"] fail-on-warnings = [] [dependencies] -cala_types = { path = "../cala-ledger-core-types", package = "cala-ledger-core-types", version = "0.1.0-dev" } -cel-interpreter = { path = "../cala-cel-interpreter", package = "cala-cel-interpreter", version = "0.1.0-dev" } +cala_types = { path = "../cala-ledger-core-types", package = "cala-ledger-core-types", version = "0.1.0" } +cel-interpreter = { path = "../cala-cel-interpreter", package = "cala-cel-interpreter", version = "0.1.0" } futures = { workspace = true } uuid = { workspace = true } diff --git a/cala-ledger/Cargo.toml b/cala-ledger/Cargo.toml index 2207bfc1..3e788bc6 100644 --- a/cala-ledger/Cargo.toml +++ b/cala-ledger/Cargo.toml @@ -4,7 +4,7 @@ description = "An embeddable double sided accounting ledger built on PG/SQLx" repository = "https://github.com/GaloyMoney/cala" documentation = "https://docs.rs/cala-ledger" readme = "../README.md" -version = "0.1.0-dev" +version = "0.1.0" edition = "2021" license = "Apache-2.0" categories = ["accounting", "ledger"] @@ -15,9 +15,9 @@ fail-on-warnings = [] import = [] [dependencies] -cala-types = { path = "../cala-ledger-core-types", package = "cala-ledger-core-types", version = "0.1.0-dev" } -cel-interpreter = { path = "../cala-cel-interpreter", package = "cala-cel-interpreter", version = "0.1.0-dev" } -cala-tracing = { path = "../cala-tracing", features = ["grpc"], package = "cala-tracing", version = "0.1.0-dev" } +cala-types = { path = "../cala-ledger-core-types", package = "cala-ledger-core-types", version = "0.1.0" } +cel-interpreter = { path = "../cala-cel-interpreter", package = "cala-cel-interpreter", version = "0.1.0" } +cala-tracing = { path = "../cala-tracing", features = ["grpc"], package = "cala-tracing", version = "0.1.0" } cached = { workspace = true } chrono = { workspace = true } diff --git a/cala-server/Cargo.toml b/cala-server/Cargo.toml index 088da5d2..621224da 100644 --- a/cala-server/Cargo.toml +++ b/cala-server/Cargo.toml @@ -2,7 +2,7 @@ name = "cala-server" description = "Server to sync other cala deployments" repository = "https://github.com/GaloyMoney/cala" -version = "0.1.0-dev" +version = "0.1.0" edition = "2021" license = "Apache-2.0" categories = ["server", "sync"] @@ -11,11 +11,11 @@ categories = ["server", "sync"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -cala-types = { path = "../cala-ledger-core-types", package = "cala-ledger-core-types", version = "0.1.0-dev" } -cala-ledger = { path = "../cala-ledger", features = ["import"], package = "cala-ledger", version = "0.1.0-dev" } -cel-interpreter = { path = "../cala-cel-interpreter", package = "cala-cel-interpreter", version = "0.1.0-dev" } -cala-ledger-outbox-client = { path = "../cala-ledger-outbox-client", package = "cala-ledger-outbox-client", version = "0.1.0-dev" } -cala-tracing = { path = "../cala-tracing", features = ["http", "grpc"], package = "cala-tracing", version = "0.1.0-dev" } +cala-types = { path = "../cala-ledger-core-types", package = "cala-ledger-core-types", version = "0.1.0" } +cala-ledger = { path = "../cala-ledger", features = ["import"], package = "cala-ledger", version = "0.1.0" } +cel-interpreter = { path = "../cala-cel-interpreter", package = "cala-cel-interpreter", version = "0.1.0" } +cala-ledger-outbox-client = { path = "../cala-ledger-outbox-client", package = "cala-ledger-outbox-client", version = "0.1.0" } +cala-tracing = { path = "../cala-tracing", features = ["http", "grpc"], package = "cala-tracing", version = "0.1.0" } anyhow = { workspace = true } async-graphql = { workspace = true } diff --git a/cala-tracing/Cargo.toml b/cala-tracing/Cargo.toml index bf334e74..e50e6b1d 100644 --- a/cala-tracing/Cargo.toml +++ b/cala-tracing/Cargo.toml @@ -2,7 +2,7 @@ name = "cala-tracing" description = "Tracing library powering cala stack" repository = "https://github.com/GaloyMoney/cala" -version = "0.1.0-dev" +version = "0.1.0" edition = "2021" license = "Apache-2.0"