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

feat(events-subscription): allow to instantly refresh customizations when they change #704

Merged

Conversation

Thenkei
Copy link
Contributor

@Thenkei Thenkei commented May 25, 2023

Definition of Done

General

  • Write an explicit title for the Pull Request, following Conventional Commits specification
  • Test manually the implemented changes
  • Validate the code quality (indentation, syntax, style, simplicity, readability)

Security

  • Consider the security impact of the changes made

@Thenkei Thenkei force-pushed the feat/agent-restart-to-refresh-customization branch from 350087c to 08f2025 Compare May 25, 2023 12:53
@Thenkei Thenkei force-pushed the feat/agent-restart-to-refresh-customization branch from aafc1c5 to 590a00d Compare May 25, 2023 13:51
@@ -77,4 +81,8 @@ export default class ForestAdminClientWithCache implements ForestAdminClient {
public async subscribeToServerEvents() {
await this.eventsSubscription.subscribeEvents();
}

public onRefreshCustomizations(handler: () => void | Promise<void>) {
this.eventsHandler.on('RefreshCustomizations', handler);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line does not seem to be tested in this PR

@@ -77,4 +81,8 @@ export default class ForestAdminClientWithCache implements ForestAdminClient {
public async subscribeToServerEvents() {
await this.eventsSubscription.subscribeEvents();
}

public onRefreshCustomizations(handler: () => void | Promise<void>) {
this.eventsHandler.on('RefreshCustomizations', handler);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a way to declare the events we can listen on, in typescript? It seems to be very free.

Or maybe the emitter could not inherit from EventEmitter but have an internal event emitter instead, and we could call a specific function onRefreshCustomization(handler) instead, to make things explicit.

@Thenkei Thenkei force-pushed the feat/agent-restart-to-refresh-customization branch from d019939 to 46f76b8 Compare May 26, 2023 11:01
@Thenkei Thenkei force-pushed the feat/agent-restart-to-refresh-customization branch from 6b862bd to 6c8d77d Compare May 29, 2023 12:26
@Thenkei Thenkei requested a review from ghusse May 29, 2023 13:28
@Thenkei Thenkei force-pushed the feat/agent-restart-to-refresh-customization branch from 81a1991 to 34942bd Compare May 30, 2023 10:30
Copy link
Contributor

@ghusse ghusse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • ✅ Code review
    • ✅  Use pure functions when possible
    • ✅  Performance concerns
    • ✅  Security concerns
    • ✅  The PR tackle one subject only
  • ✅ Automatic tests
    • ✅  Unit tests
    • ✖️  Integration tests
  • ✅ Manual tests
  • ✅ PR title
  • ✅ Destination branch
  • ✅ PR linked to the clickup task

@Thenkei Thenkei merged commit 8f4704e into alpha-webhook-custom-actions May 31, 2023
@Thenkei Thenkei deleted the feat/agent-restart-to-refresh-customization branch May 31, 2023 08:28
forest-bot added a commit that referenced this pull request May 31, 2023
…ustom-actions.2 [skip ci]

# @forestadmin/forestadmin-client [1.3.0-alpha-webhook-custom-actions.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forestadmin-client@1.3.0-alpha-webhook-custom-actions.1...@forestadmin/forestadmin-client@1.3.0-alpha-webhook-custom-actions.2) (2023-05-31)

### Features

* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
forest-bot added a commit that referenced this pull request May 31, 2023
## [1.3.10-alpha-webhook-custom-actions.2](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.3.10-alpha-webhook-custom-actions.1...example@1.3.10-alpha-webhook-custom-actions.2) (2023-05-31)

### Features

* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
forest-bot added a commit that referenced this pull request May 31, 2023
…s.2 [skip ci]

# [1.10.0-alpha-webhook-custom-actions.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.10.0-alpha-webhook-custom-actions.1...@forestadmin/agent@1.10.0-alpha-webhook-custom-actions.2) (2023-05-31)

### Features

* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
forest-bot added a commit that referenced this pull request Jun 7, 2023
…k-custom-actions.2 [skip ci]

# [1.8.0-alpha-webhook-custom-actions.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.8.0-alpha-webhook-custom-actions.1...@forestadmin/datasource-customizer@1.8.0-alpha-webhook-custom-actions.2) (2023-06-07)

### Bug Fixes

* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** export missing type ([#691](#691)) ([885de9e](885de9e))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* **ds-sql:** close the proxy when sequelize instance closes ([#694](#694)) ([d31276c](d31276c))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **in-app-onboarding:** do not force skipLibCheck on customers TS configuration ([#680](#680)) ([c374117](c374117))
* **typings:** allow incomplete records to be passed to collection.create ([#700](#700)) ([95483e2](95483e2))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* **datasource-sql:** enable to proxify the tcp connection by a socks5 proxy ([#690](#690)) ([971a712](971a712))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
forest-bot added a commit that referenced this pull request Jun 7, 2023
…stom-actions.1 [skip ci]

## [1.0.31-alpha-webhook-custom-actions.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.0.30...@forestadmin/datasource-dummy@1.0.31-alpha-webhook-custom-actions.1) (2023-06-07)

### Bug Fixes

* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 7, 2023
…-actions.1 [skip ci]

## [1.2.1-alpha-webhook-custom-actions.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.2.0...@forestadmin/plugin-aws-s3@1.2.1-alpha-webhook-custom-actions.1) (2023-06-07)

### Bug Fixes

* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 7, 2023
…ok-custom-actions.1 [skip ci]

## [1.0.8-alpha-webhook-custom-actions.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.0.7...@forestadmin/plugin-export-advanced@1.0.8-alpha-webhook-custom-actions.1) (2023-06-07)

### Bug Fixes

* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 7, 2023
…stom-actions.1 [skip ci]

## [1.0.21-alpha-webhook-custom-actions.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.0.20...@forestadmin/plugin-flattener@1.0.21-alpha-webhook-custom-actions.1) (2023-06-07)

### Bug Fixes

* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.8.0-alpha-webhook-custom-actions.2 🎉

The release is available on npm package (@alpha-webhook-custom-actions dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.0.31-alpha-webhook-custom-actions.1 🎉

The release is available on npm package (@alpha-webhook-custom-actions dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.2.1-alpha-webhook-custom-actions.1 🎉

The release is available on npm package (@alpha-webhook-custom-actions dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.0.8-alpha-webhook-custom-actions.1 🎉

The release is available on npm package (@alpha-webhook-custom-actions dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.0.21-alpha-webhook-custom-actions.1 🎉

The release is available on npm package (@alpha-webhook-custom-actions dist-tag)

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Jun 8, 2023
## [1.3.14](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.3.13...example@1.3.14) (2023-06-08)

### Bug Fixes

* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 8, 2023
# [1.10.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.9.2...@forestadmin/agent@1.10.0) (2023-06-08)

### Bug Fixes

* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 8, 2023
# [1.8.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.7.2...@forestadmin/datasource-customizer@1.8.0) (2023-06-08)

### Bug Fixes

* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 8, 2023
## [1.0.31](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.0.30...@forestadmin/datasource-dummy@1.0.31) (2023-06-08)

### Bug Fixes

* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 8, 2023
# [1.3.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forestadmin-client@1.2.1...@forestadmin/forestadmin-client@1.3.0) (2023-06-08)

### Bug Fixes

* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 8, 2023
## [1.2.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.2.0...@forestadmin/plugin-aws-s3@1.2.1) (2023-06-08)

### Bug Fixes

* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 8, 2023
## [1.0.21](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.0.20...@forestadmin/plugin-flattener@1.0.21) (2023-06-08)

### Bug Fixes

* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.0.8 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.3.14 🎉

The release is available on example@1.3.14

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.10.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.8.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.0.31 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.3.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.2.1 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.0.21 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@forest-bot
Copy link
Member

🎉 This PR is included in version 1.6.5 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Jun 29, 2023
## [1.4.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-mongoose@1.4.0...@forestadmin/datasource-mongoose@1.4.1) (2023-06-29)

### Bug Fixes

* add a timeout on superagent call ([#741](#741)) ([3b85766](3b85766))
* **agent:** add request identifier to context.caller ([#753](#753)) ([19a8618](19a8618))
* **agent:** handle json field in csv export ([#746](#746)) ([8437f02](8437f02))
* **agent:** improve error message when validating projections ([#683](#683)) ([5e1baa9](5e1baa9))
* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **customizer:** crash at startup when using collections with native actions ([#681](#681)) ([abe3edf](abe3edf))
* **customizer:** validate fields on user facing collection interface ([#731](#731)) ([56d4278](56d4278))
* **datasource-dummy:** correct relation definition ([#682](#682)) ([2ff0c9e](2ff0c9e))
* **datasource-sql:** add proxy configuration when computing ssl ([#740](#740)) ([3ca8a5d](3ca8a5d))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** export missing type ([#691](#691)) ([885de9e](885de9e))
* **datasource-sql:** export missing types ([#737](#737)) ([4fa72e3](4fa72e3))
* **datasource-sql:** fix worker crash on authentication testing ([#736](#736)) ([e81f101](e81f101))
* **datasource-sql:** improve management of literal values to avoid bugs when introspection is stringified ([#720](#720)) ([615dcda](615dcda))
* **datasource-sql:** improve the connect management errors ([#721](#721)) ([1128e49](1128e49))
* **datasource-sql:** repair sqlite support ([#733](#733)) ([a1e1a86](a1e1a86))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* **ds-sql:** close the proxy when sequelize instance closes ([#694](#694)) ([d31276c](d31276c))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **in-app-onboarding:** do not force skipLibCheck on customers TS configuration ([#680](#680)) ([c374117](c374117))
* **rename field decorator:** throw when put space inside fieldName ([#748](#748)) ([5793eff](5793eff))
* **security:** patch semver dependency vulnerabilities ([#749](#749)) ([b0617c1](b0617c1))
* **typings:** allow incomplete records to be passed to collection.create ([#700](#700)) ([95483e2](95483e2))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* **agent:** allow to create update record custom actions from the frontend ([#729](#729)) ([e06ac79](e06ac79))
* **agent:** no-code update record should handle errors correctly ([#747](#747)) ([6c5e344](6c5e344))
* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **datasource-sql:** create a ssh tunnel when a user provide ssh options ([#730](#730)) ([a188765](a188765))
* **datasource-sql:** enable to proxify the tcp connection by a socks5 proxy ([#690](#690)) ([971a712](971a712))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* handle field names containing underscores on update record actions ([#735](#735)) ([d5d7661](d5d7661))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 29, 2023
## [1.3.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sequelize@1.3.1...@forestadmin/datasource-sequelize@1.3.2) (2023-06-29)

### Bug Fixes

* add a timeout on superagent call ([#741](#741)) ([3b85766](3b85766))
* **agent:** add request identifier to context.caller ([#753](#753)) ([19a8618](19a8618))
* **agent:** handle json field in csv export ([#746](#746)) ([8437f02](8437f02))
* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **customizer:** validate fields on user facing collection interface ([#731](#731)) ([56d4278](56d4278))
* **datasource-sql:** add proxy configuration when computing ssl ([#740](#740)) ([3ca8a5d](3ca8a5d))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** export missing type ([#691](#691)) ([885de9e](885de9e))
* **datasource-sql:** export missing types ([#737](#737)) ([4fa72e3](4fa72e3))
* **datasource-sql:** fix worker crash on authentication testing ([#736](#736)) ([e81f101](e81f101))
* **datasource-sql:** improve management of literal values to avoid bugs when introspection is stringified ([#720](#720)) ([615dcda](615dcda))
* **datasource-sql:** improve the connect management errors ([#721](#721)) ([1128e49](1128e49))
* **datasource-sql:** repair sqlite support ([#733](#733)) ([a1e1a86](a1e1a86))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* **ds-sql:** close the proxy when sequelize instance closes ([#694](#694)) ([d31276c](d31276c))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **rename field decorator:** throw when put space inside fieldName ([#748](#748)) ([5793eff](5793eff))
* **security:** patch semver dependency vulnerabilities ([#749](#749)) ([b0617c1](b0617c1))
* **typings:** allow incomplete records to be passed to collection.create ([#700](#700)) ([95483e2](95483e2))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* **agent:** allow to create update record custom actions from the frontend ([#729](#729)) ([e06ac79](e06ac79))
* **agent:** no-code update record should handle errors correctly ([#747](#747)) ([6c5e344](6c5e344))
* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **datasource-sql:** create a ssh tunnel when a user provide ssh options ([#730](#730)) ([a188765](a188765))
* **datasource-sql:** enable to proxify the tcp connection by a socks5 proxy ([#690](#690)) ([971a712](971a712))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* handle field names containing underscores on update record actions ([#735](#735)) ([d5d7661](d5d7661))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
forest-bot added a commit that referenced this pull request Jun 29, 2023
## [1.5.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-toolkit@1.5.0...@forestadmin/datasource-toolkit@1.5.1) (2023-06-29)

### Bug Fixes

* add a timeout on superagent call ([#741](#741)) ([3b85766](3b85766))
* **agent:** add request identifier to context.caller ([#753](#753)) ([19a8618](19a8618))
* **agent:** handle json field in csv export ([#746](#746)) ([8437f02](8437f02))
* **agent:** improve error message when validating projections ([#683](#683)) ([5e1baa9](5e1baa9))
* **agent:** make sure that triggered actions from the frontend execute the right code even after an addition or removal of custom actions ([#706](#706)) ([9581036](9581036))
* **customizer:** crash at startup when using collections with native actions ([#681](#681)) ([abe3edf](abe3edf))
* **customizer:** validate fields on user facing collection interface ([#731](#731)) ([56d4278](56d4278))
* **datasource-dummy:** correct relation definition ([#682](#682)) ([2ff0c9e](2ff0c9e))
* **datasource-sql:** add proxy configuration when computing ssl ([#740](#740)) ([3ca8a5d](3ca8a5d))
* **datasource-sql:** do not crash at connection time when using proxy without providing port ([#705](#705)) ([c3d7d60](c3d7d60))
* **datasource-sql:** export missing type ([#691](#691)) ([885de9e](885de9e))
* **datasource-sql:** export missing types ([#737](#737)) ([4fa72e3](4fa72e3))
* **datasource-sql:** fix worker crash on authentication testing ([#736](#736)) ([e81f101](e81f101))
* **datasource-sql:** improve management of literal values to avoid bugs when introspection is stringified ([#720](#720)) ([615dcda](615dcda))
* **datasource-sql:** improve the connect management errors ([#721](#721)) ([1128e49](1128e49))
* **datasource-sql:** repair sqlite support ([#733](#733)) ([a1e1a86](a1e1a86))
* **datasource-sql:** send proper server name indication on tls connections through socks proxy ([#708](#708)) ([b072cee](b072cee))
* **ds-sql:** close the proxy when sequelize instance closes ([#694](#694)) ([d31276c](d31276c))
* improve errors from webhook endpoints ([#713](#713)) ([7e4f11f](7e4f11f))
* **in-app-onboarding:** do not force skipLibCheck on customers TS configuration ([#680](#680)) ([c374117](c374117))
* **rename field decorator:** throw when put space inside fieldName ([#748](#748)) ([5793eff](5793eff))
* **security:** patch semver dependency vulnerabilities ([#749](#749)) ([b0617c1](b0617c1))
* **typings:** allow incomplete records to be passed to collection.create ([#700](#700)) ([95483e2](95483e2))
* **webhook-custom-actions:** improve error reporting when calling a webhook ([#687](#687)) ([c3f7f9a](c3f7f9a))
* **webhook-custom-actions:** register webhook actions configured from the frontend ([#686](#686)) ([fd9334a](fd9334a))

### Features

* **agent:** allow to create update record custom actions from the frontend ([#729](#729)) ([e06ac79](e06ac79))
* **agent:** no-code update record should handle errors correctly ([#747](#747)) ([6c5e344](6c5e344))
* allow to create webhook actions from the frontend ([#712](#712)) ([750a218](750a218))
* **datasource-sql:** create a ssh tunnel when a user provide ssh options ([#730](#730)) ([a188765](a188765))
* **datasource-sql:** enable to proxify the tcp connection by a socks5 proxy ([#690](#690)) ([971a712](971a712))
* **events-subscription:** allow to instantly refresh customizations when they change ([#704](#704)) ([8f4704e](8f4704e))
* **events-subscription:** allow to instantly refresh permissions when they change ([#692](#692)) ([e108183](e108183))
* handle field names containing underscores on update record actions ([#735](#735)) ([d5d7661](d5d7661))
* **plugin-aws-s3:** add S3Client endpoint option ([#718](#718)) ([f725bbe](f725bbe))
* **webhook-custom-actions:** use webhook nocode smart actions configured in the frontend ([#671](#671)) ([7629699](7629699))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants