Skip to content

Latest commit

 

History

History
742 lines (432 loc) · 30.5 KB

CHANGELOG.md

File metadata and controls

742 lines (432 loc) · 30.5 KB

Changelog

Full Changelog

Other changes:

  • hotfix/whitelisting packages #2291
  • Run package publish test #2289

V0.34.3 (2022-07-29)

Full Changelog

Documentation:

  • Describe passing config options to API Handlers #2273

Other changes:

  • Hotfix paths and names in the examples readme page #2274

V0.34.1 (2022-04-18)

Full Changelog

Enhancements:

  • Improve post save event notification performance #2266

Other changes:

  • Remove redundant dependency #2264

V0.34.0 (2022-04-11)

Full Changelog

Enhancements:

  • Implement support for PLV8 ver 3.1 #2249

Breaking changes:

  • Independent runtime #2261

Bug fixes:

  • Fix eliminated error message in Init projection handler #2250

Documentation:

  • Add encryption API reference #2254
  • Add info about TypeScript support #2247

Other changes:

  • Refactor resolve-scripts and runtimes #2245

V0.33.15 (2022-03-03)

Full Changelog

Bug fixes:

  • Can't build a monorepo, yarn install dependencies gives random errors #2230
  • Performance tracing commands do not work #2202

Documentation:

  • Add a Getting Started article #2234
  • Describe the reSolve context object and related API #2229
  • Descibe monitoring in the documentation #2201

Other changes:

  • Fix eslint warnings in the tutorial example projects #2238
  • Fix #2230 #2232

V0.33.14 (2022-01-27)

Full Changelog

Enhancements:

  • Implement better SQL for loading events #2222

V0.33.12 (2022-01-21)

Full Changelog

New features:

  • Benchmarks for postgresql eventstore loadEvents and saveEvent #2212

Enhancements:

  • Optimize event loading by single aggregateId (special case) #2216

Bug fixes:

  • The IsAlive flag still works incorrectly #2200

V0.33.11 (2022-01-20)

Full Changelog

Enhancements:

  • Prechecked notifications #2209
  • Implement sort index hints for postgres eventstore #2204

Bug fixes:

  • Too many connections created during the startup of hacker-news example with custom read-models enabled #2123

V0.33.10 (2022-01-17)

Full Changelog

Enhancements:

  • Optimize loadevents for postgresql eventstore adapter #2196

Bug fixes:

  • Resetting saga in hacker-news example generates redundant events #2163

Other changes:

  • Fix issue with event.timestamp and +/-1 in @resolve-js/testing-tools #2198

V0.33.9 (2022-01-12)

Full Changelog

Enhancements:

  • Improve jitter in readmodel-postgres adapter #2194
  • Add custom monitoring method. Add metric for reconnection times in postgresql eventstore adapter #2191

Bug fixes:

  • Debug log masks don't match some package names #2124

Documentation:

  • Update ES Adapter API Reference #2181

V0.33.8 (2021-12-29)

Full Changelog

Enhancements:

  • More detailed command execution monitoring #2186
  • Use Promise.allSettled in postgres eventstore adapter dispose #2184
  • Export events via event loader. Improved export tests #2183

Other changes:

  • Fix manual cloud test workflow #2132

V0.33.7 (2021-12-20)

Full Changelog

Other changes:

  • Add eventstore adapter runtimeInfo and setReconnectionMode. Add connection tests #2179
  • Add lambda runtime execution info logging #2177
  • Rework replicaiton to correctly handle locks #2174
  • Improve PLV8 warning message #2171
  • Migrate from 'request' package to 'node-fetch' in runtime #2169
  • Mini benchmarks initial #2134

V0.33.5 (2021-12-02)

Full Changelog

Bug fixes:

  • Commands scheduled in sagas are triggered way too late #2157

Documentation:

  • Revisit client API docs #2145

V0.33.4 (2021-11-26)

Full Changelog

Bug fixes:

  • Application silently fails to run if config is invalid, no errors are shown #2141
  • shopping-list has a description from shopping-list-with-hooks #2106
  • Error: Lambda worker was not created due to cold start failure #2105

Documentation:

  • "Step-by-Step Tutorial" is unfriendly for steps reproducing. #2093
  • Replace CURL inputs with JS code samples #2138
  • Update tutorial #2068

Other changes:

  • Build-mode flag for postgresql readmodel adapter #2140

V0.33.3 (2021-11-19)

Full Changelog

Breaking changes:

  • Runtime code is erroneously executed at compile-time #2114

Bug fixes:

  • "Module "source-map-support/register" cannot be resolved" thrown in the deployment #2119

V0.33.2 (2021-11-17)

Full Changelog

Bug fixes:

  • The Node process stays active after resolve applications are stopped. #2126
  • Some format options does not work in cli, for example domainName #2110
  • Custom read-model does not start #2095
  • Babel "loose mode" warnings #2011

Other changes:

  • Fix security issues #2122
  • Improve readmodel postgresql lightweight optimistic #2118

V0.33.1 (2021-11-09)

Full Changelog

Bug fixes:

  • "Pool is null" error in sagas #2101
  • The IsAlive flag for read models is false although read model is live (no any errors) #2092
  • Read-model doesn't handle events newly added to projection #2052
  • Unable to create app using Node v14 due to sqlite3 installation error #1998

Documentation:

  • Describe the emulateWorkerLifetimeLimit option #2100

Other changes:

  • Improve already dispose error handling for all disposable resolve resoures, inclusing read-model adapters #2103

V0.33.0 (2021-10-27)

Full Changelog

New features:

  • Implement monitoring adapters #2089
  • Add event loader in eventstore adapter inferface and loading events via pg-cursor #2067

Enhancements:

  • Make less database queries during replication #2084
  • Use event-loader (via pgcursor for postgres) in replicator #2076

Breaking changes:

  • Remove RDS data api eventstore and readmodel adapters #2078
  • Refactored runtime libraries #2060

Bug fixes:

  • Testing tools - When passing events with timestamps to givenEvents(), these events are sometimes lost #2075

Documentation:

  • Fix outdated content in the Preparing to Production topic #2086
  • Remove postgres-serverless adapters mentions from documentation #2083

Other changes:

  • Ability to delay next in readmodel build #2090
  • Fix subscriber notification #2062
  • Migrate from "incremental import" to "import" #2061
  • Review strings in templates and examples #2059
  • Cleanup eventstore tests #2058

V0.32.0 (2021-10-01)

Full Changelog

New features:

Enhancements:

  • Add an option to specify hostname for running app in dev mode #2024

Breaking changes:

  • Update minimal node version to 14 #2034

Bug fixes:

  • Timestamps from CommandResult and Event are different #1994
  • The Replicator read model takes a lot of resources during replication of big event store (5kk events) #1949

Documentation:

  • Describe the host option #2043
  • Describe API for fundamental entities of reSolve #2032

Other changes:

  • Next step on long builds #2056
  • Bump resolve-cloud-common version #2054
  • Update invocation type for send notifications #2053

V0.31.10 (2021-09-08)

Full Changelog

Enhancements:

  • Speedup events export and export tests #2031
  • Replace sqlite3 with better-sqlite3 #2027

Bug fixes:

  • Redeploy existing application automatically resume manually paused read model #1951

Documentation:

  • Describe middleware #2004
  • Describe the store.find projection argument #2001

Other changes:

  • Separate error type for 'too many clients' postgres error #2033
  • Sparse clean TRX journal / Improve PLV8 #2030

V0.31.9 (2021-08-31)

Full Changelog

Bug fixes:

  • Events with same timestamp being projected/exported in wrong order #1948

Other changes:

  • Add latest cursor in description of event-store adapter #2017
  • Improve local registry URLS behaviour in resolve-scripts #2015

V0.31.5 (2021-07-29)

Full Changelog

New features:

  • Add 'describe' method for eventstore adapater #1972

Enhancements:

  • Commands return created event to client #1876
  • Introduce an option for aggregate config that enables or disables returning resulting event to client on command execution. #1963

Bug fixes:

  • Running create-resolve-app on Windows results in incorrect path error #1964
  • Unable to use withEncryption and withAdapter API simultaneously #1959

Other changes:

  • Soft bootstrap (primitive without mutexes for concurrent bootstrap/shutdown) #1971

V0.31.4 (2021-07-19)

Full Changelog

Enhancements:

  • Passthorugh errors list from monitoring #1957
  • Implement toggle notification queue mode #1950
  • Add injectEvents, run import-export tests on postgres too #1947

Bug fixes:

  • Failed to load events in eventstore adapter if connection is terminated while events loading #1901
  • Events batch load is very slow #1875

Other changes:

  • Add more monitoring functional tests #1941

V0.31.3 (2021-07-12)

Full Changelog

Enhancements:

  • Improve passthrough errors #1944

Bug fixes:

  • RESOLVE_DEPLOYMENT_DOMAIN is incorrect after using the domains assign command #1933
  • Command error: Incorrect order of events by aggregateId #1873

Other changes:

  • Handle connection terminated errors in postgres eventstore adapter #1943

V0.31.2 (2021-07-08)

Full Changelog

New features:

  • Middleware support for aggregate commands, read model resolvers and projections #1925

Enhancements:

  • Enhance event subscriber prefixes #1936
  • Implement monitoring execution counter #1932
  • Implement only one-time event source mapping #1929
  • Collect read model building metrics per event #1927

Bug fixes:

  • Pagination problem with hacker-news example #1928
  • UI problems with hacker-news example #1921

Documentation:

  • Migrate documentation to docusaurus v2 #1924

V0.31.1 (2021-07-01)

Full Changelog

Enhancements:

  • Improve event source mapping (wait for enabled/disabled state) #1922

Documentation:

  • Restructure the documentation to account for moved examples #1918

V0.31.0 (2021-06-28)

Full Changelog

New features:

  • Add SQS integration #1905
  • Upgrade examples #1902

Enhancements:

  • Don't create new instance of postgres connection per each query #1909

Bug fixes:

  • The loadEvents function does not work if 'startTime' and 'endTime' parameters are specified #1903

Other changes:

  • Fix getCursorUntilEventTypes #1913
  • Feature/hot read models #1910
  • Examples and create-resolve-app minor fixes #1907

V0.30.5 (2021-06-08)

Full Changelog

New features:

  • Implement inline projection execution in RDBMS PostgreSQL via PLV8 extenstion #1898

Bug fixes:

  • SQLITE_ERROR: cannot start a transaction within a transaction #1886
  • Event subscription does not work for cursor equal to null #1884
  • Event store postgresql serverless failed on loading events with empty types list #1883
  • View model gets duplicated events through websocket #1877
  • Subscription to events with a custom view-model resolver #1874

Other changes:

  • Add postresql integration tests into CI #1897
  • Implement monitoring in readmodel-postgresql #1896
  • Improve dev pr workflow #1893
  • saveEvent returns a saved event with the next cursor #1879

V0.30.4 (2021-05-27)

Full Changelog

New features:

  • Eventstore adapter: saveEvent now returns the next cursor, add getCursorUntilEventTypes #1878

Bug fixes:

  • Read models don't work in cloud #1880
  • Can't pass timestamp to givenEvents events #1862

V0.30.3 (2021-05-17)

Full Changelog

Enhancements:

Bug fixes:

  • Wrong event order: eventstore-postgresql-serverless #1866
  • create-resolve-app failed on node 10.15 #1855

V0.30.2 (2021-05-07)

Full Changelog

Enhancements:

  • Update typescript to 4.2.4 #1847
  • Postgresql fixes and tests #1846

Bug fixes:

  • Unable to apply more than one hundred events to read-model #1853
  • NPM audit reports vulnerabilities #1848
  • Environment variable is not updated after subsequent deploys #1833

Documentation:

  • Add document descriptions #1841

V0.30.1 (2021-04-29)

Full Changelog

New features:

  • Eventstore replicator implemented as a read-model #1843

Enhancements:

  • Normalize read-model Store API. Add functional tests. #1837

Bug fixes:

  • Store.update() with $inc operator works incorrectly #1794
  • Store.update() with $set operator works incorrectly in some cases #1782

Documentation:

  • Revise API handler documentation #1832
  • Update testing tools documentation #1831

V0.30.0 (2021-04-28)

Full Changelog

New features:

  • Automatic changelog generation #1835
  • Performance monitoring #1829
  • Advanced testing tools #1793

Enhancements:

  • Monitoring improvements #1834
  • Advanced testing tools: improvements #1816
  • Improve cold start #1815
  • Implement fast CTE for eventstore adapter #1800

Bug fixes:

  • Unable to get read-models and sagas list using module-admin #1807
  • Error collecting is broken in read model (and saga) projection #1797
  • with-angular example does not work #1795
  • After local app launch, module-admin returns "invalid date" error for some time #1765
  • The store.update function works incorrectly when the $set fields contain only null values. #1758

Documentation:

  • Describe view model resolver configuration #1824
  • Fix saga codesample #1821
  • Describe encryption #1810
  • Reference for adapters #1809
  • Fix links to the PostgreSQL schema article #1796
  • Update module-admin readme #1787
  • Fix readme badges #1786

V0.29.0

Breaking Changes

Cloud config

  • deploymentId and encryptedDeploymentId removed from uploadAdapter options

Added

resolve runtime

  • clientIp in request object

V0.27.0

Breaking Changes

Scoped packages

  • reSolve packages are now published under the @resolve-js scope. You need to update reSolve package names in the dependecies and imports by replacing 'resolve-' with '@resolve-js/'. For example, change resolve-client to @resolve-js/client.

Removed packages

  • resolve-command
  • resolve-query
  • resolve-saga

Testing tools

  • When querying read model resolvers from testing tools, the resolver results are returned unwrapped, the data property was removed.

Local config

  • Removed the eventBroker section

Cloud config

  • Runtime env RESOLVE_ES_SECRET_ARN renamed to RESOLVE_USER_SECRET_ARN
  • Runtime env RESOLVE_ES_CLUSTER_ARN renamed to RESOLVE_EVENT_STORE_CLUSTER_ARN
  • Runtime env RESOLVE_ES_DATABASE renamed to RESOLVE_EVENT_STORE_DATABASE_NAME
  • Runtime env RESOLVE_READMODEL_SECRET_ARN renamed to RESOLVE_USER_SECRET_ARN
  • Runtime env RESOLVE_ES_SECRET_ARN renamed to RESOLVE_USER_SECRET_ARN
  • Runtime env RESOLVE_ES_EVENTS_TABLE removed
  • Runtime env RESOLVE_ES_SECRETS_TABLE removed

Added

Local config

  • Added the name option. By default, it shares its value with the "name" field from package.json.

Changed

Folder structure

  • Packages folder structure has been changed. The core folder contains packages related to framework's core functionality. The runtime folder contains runtime-specific adapters, brokers etc. The tools folder contains basic scripts and testing tools.

@resolve-js/scripts

  • Replaced the reset mode's dropEventBus option with dropEventSubscriber

Previously:

await reset(resolveConfig, {
  dropEventStore: false,
  dropEventBus: true,
  dropReadModels: true,
  dropSagas: true,
})

Now:

await reset(resolveConfig, {
  dropEventStore: false,
  dropEventSubscriber: true,
  dropReadModels: true,
  dropSagas: true,
})

V0.25.0

Breaking Changes

resolve-client

  • The timestamp query response field is now located in the meta object

resolve-react-hooks

  • The useViewModel hook state callback is initially invoked with the state value of the view model's Init handler and the second argument (initial) set to true. On further state changes, initial is set false.

resolve-redux

  • All action types have been moved to internal namespace, avoid using them.
  • The internal action structure has been drastically changed and further changes are to be expected. Avoid directly using this actions.
  • Custom redux saga context has changed:
    • The api object has been removed and a client object (from the resolve-client package) has been added.
  • React native support has been temporary suspended.

resolve-runtime

  • executeQuery in API handlers now returns a data object containing view or read model data and a meta object containing query meta data

resolve-scripts

  • subscribeAdapter option has been removed from config

Removed packages

  • resolve-subscribe-mqtt
  • resolve-subscribe-socket.io

Added

  • Incremental import module (packages/modules/resolve-module-incremental-import/) provides out-of-the-box api-handlers that allow you to implement incremental import in any application..

  • Eventstore incremental import API (packages/adapters/eventstore-adapters/)

    • beginIncrementalImport - begin accumulate events for incremental import
    • pushIncrementalImport - accumulate events for incremental import
    • commitIncrementalImport - commit accumulated events to eventstore
    • rollbackIncrementalImport - drop accumulated events
  • resolve-client

    • meta object in query response containing meta data
  • resolve-redux

    • New redux hook API
    • Added serializedState parameter to createStore

Changed

  • resolve-client
    • url and cursor params in the subscribe function

Removed

* This Changelog was automatically generated by github_changelog_generator