Skip to content

feat: improve error message in case of invalid token#1083

Merged
realSpok merged 1 commit intomainfrom
feat/improve-error-message-in-case-of-invalid-token
Mar 27, 2024
Merged

feat: improve error message in case of invalid token#1083
realSpok merged 1 commit intomainfrom
feat/improve-error-message-in-case-of-invalid-token

Conversation

@realSpok
Copy link
Contributor

@realSpok realSpok commented Mar 27, 2024

Definition of Done

you can test with the following token:

eJraWQiOiJvd1ZNUExBckJtcXlSRGh1WGlNaXUwQXFpTW8tVE9EZHRQcUFkU0lxSEw0IiwiYWxnIjoiUlMyNTYifQ.eyJkYXRhIjp7ImRhdGEiOnsidHlwZSI6InVzZXJzIiwiaWQiOiIyODQiLCJhdHRyaWJ1dGVzIjp7ImZpcnN0X25hbWUiOiJEZW1vIiwibGFzdF9uYW1lIjoiVXNlciIsImVtYWlsIjoiaGVsbG9AZm9yZXN0YWRtaW4uY29tIn19fSwiaXNBcHBsaWNhdGlvblRva2VuIjp0cnVlLCJhdWQiOiJGT1JFU1RfVVNFUlMiLCJpc3MiOiJGT1JFU1RfQVVUSEVOVElDQVRJT05fU1lTVEVNIiwiaWF0IjoxNzExNDY3NTQ2LCJleHAiOjQ4NjcyMjc1NDZ9.Vs0nJuPC75u-Mu0VX96-RgK4i2tf8gjTYDC61gtfe3_VQch_R1IieFrVQStaKDyHsZTK8Iy0WbVS7qTdX6aZYyJO_DZurOvYUc2Rcj36oS8WzPYWQFwhIw9fVXxkDGOGbNo5iIw3ZVvgzdiTnEamC0AN7chwAfhJjz--Ulx9CbOXu1UTcdcE2FMbjGVjS1AZh5Il7_YVOpWcMjLu5GXQWBfwsNURY5sDGUIojHRMYlQNkSNb1P7faHjGjApPXfMK9IpnQ1lmmOJXltPgpx2FQbG7KhSmyoX16SP0453Teoaek84eD9aLylwaLrgUk3q746aX37E-Gi_ax6akEZyRVQ

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

@qlty-cloud-legacy
Copy link

Code Climate has analyzed commit b7dc793 and detected 1 issue on this pull request.

Here's the issue category breakdown:

Category Count
Complexity 1

The test coverage on the diff in this pull request is 100.0% (98% is the threshold).

This pull request will bring the total coverage in the repository to 97.4%.

View more on Code Climate.

@realSpok realSpok merged commit f03d5c7 into main Mar 27, 2024
@realSpok realSpok deleted the feat/improve-error-message-in-case-of-invalid-token branch March 27, 2024 09:38
forest-bot added a commit that referenced this pull request Mar 27, 2024
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.7.0 🎉

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

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Mar 28, 2024
## [1.7.16](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.7.15...example@1.7.16) (2024-03-28)

### Features

* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.0.5 🎉

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.7.16 🎉

The release is available on example@1.7.16

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Mar 28, 2024
## [1.2.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.2.0...@forestadmin/datasource-replica@1.2.1) (2024-03-28)

### Bug Fixes

* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))

### Features

* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
forest-bot added a commit that referenced this pull request Mar 28, 2024
# [1.11.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sql@1.10.0...@forestadmin/datasource-sql@1.11.0) (2024-03-28)

### Bug Fixes

* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))

### Features

* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
@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.11.0 🎉

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

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Apr 2, 2024
## [1.38.8](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.38.7...@forestadmin/agent@1.38.8) (2024-04-02)

### Bug Fixes

* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
forest-bot added a commit that referenced this pull request Apr 2, 2024
# [1.8.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sequelize@1.7.1...@forestadmin/datasource-sequelize@1.8.0) (2024-04-02)

### Bug Fixes

* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
forest-bot added a commit that referenced this pull request Apr 2, 2024
# [1.26.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forestadmin-client@1.25.12...@forestadmin/forestadmin-client@1.26.0) (2024-04-02)

### Bug Fixes

* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.38.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.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.26.0 🎉

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

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Apr 5, 2024
# [1.44.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.43.6...@forestadmin/datasource-customizer@1.44.0) (2024-04-05)

### Bug Fixes

* change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0))
* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df))
* **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7))
* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
forest-bot added a commit that referenced this pull request Apr 5, 2024
## [1.1.10](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.1.9...@forestadmin/datasource-dummy@1.1.10) (2024-04-05)

### Bug Fixes

* change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0))
* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df))
* **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7))
* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
forest-bot added a commit that referenced this pull request Apr 5, 2024
## [1.3.69](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.3.68...@forestadmin/plugin-aws-s3@1.3.69) (2024-04-05)

### Bug Fixes

* change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0))
* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df))
* **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7))
* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
forest-bot added a commit that referenced this pull request Apr 5, 2024
## [1.0.81](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.0.80...@forestadmin/plugin-export-advanced@1.0.81) (2024-04-05)

### Bug Fixes

* change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0))
* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df))
* **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7))
* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
forest-bot added a commit that referenced this pull request Apr 5, 2024
## [1.1.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.1.0...@forestadmin/plugin-flattener@1.1.1) (2024-04-05)

### Bug Fixes

* change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0))
* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df))
* **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7))
* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.44.0 🎉

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

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Apr 9, 2024
# [1.7.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-mongoose@1.6.7...@forestadmin/datasource-mongoose@1.7.0) (2024-04-09)

### Bug Fixes

* change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0))
* **datasource-customizer:** correct confusing type when using addExternalRelation ([#1099](#1099)) ([34e27ab](34e27ab))
* **forest-cloud:** display an error on upload errors ([#1098](#1098)) ([98e0710](98e0710))
* introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df))
* **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
* support mongodb cloud customizations ([#1097](#1097)) ([65ce409](65ce409))
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.7.0 🎉

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

Your semantic-release bot 📦🚀

forest-bot added a commit that referenced this pull request Apr 10, 2024
## [1.32.3](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-toolkit@1.32.2...@forestadmin/datasource-toolkit@1.32.3) (2024-04-10)

### Bug Fixes

* change introspection type to avoid breaking change ([#1095](#1095)) ([42777a0](42777a0))
* **datasource-customizer:** correct confusing type when using addExternalRelation ([#1099](#1099)) ([34e27ab](34e27ab))
* **datasource-mongo:** auto introspection does not work ([#1078](#1078)) ([d32456b](d32456b))
* **forest-cloud:** display an error on upload errors ([#1098](#1098)) ([98e0710](98e0710))
* **forest-cloud:** remove a deprecated warning when updating the typing ([#1074](#1074)) ([7b0c0c2](7b0c0c2))
* improve error message in the case of outdated introspection ([#1101](#1101)) ([ab1bb87](ab1bb87))
* introspection format and versions ([#1094](#1094)) ([c11bc31](c11bc31))
* mangodb datasource does not generate introspection ([#1077](#1077)) ([5a06419](5a06419))
* **mongo-datasource:** should return record with empty flattened record ([#1080](#1080)) ([420fbfc](420fbfc))
* **mongo:** introspection of models with more than 30 properties (by default) ([#1088](#1088)) ([c06c064](c06c064))
* mongoose relation flattened field not showing ([#1076](#1076)) ([0a64c00](0a64c00))
* replace latesIntrospection to legacyIntrospection ([#1092](#1092)) ([e5e6c73](e5e6c73))
* **security:** patch follow-redirects dependency vulnerabilities ([#1073](#1073)) ([cfbf8be](cfbf8be))
* **sql:** fix the type of listCollectionsFromIntrospection to support previous versions of introspection ([#1089](#1089)) ([64604e0](64604e0))
* **sql:** random error on postgresql during introspection caused by left join on information_schema.element_types ([#1090](#1090)) ([2b1d1df](2b1d1df))
* **sql:** type detection for enums in schemas ([#1093](#1093)) ([49d78e3](49d78e3))
* **sql:** users should be able to use table with multiple sequences ([#1087](#1087)) ([9e8b6eb](9e8b6eb))

### Features

* **datasource-customizer:** add override decorator ([#814](#814)) ([21ffef7](21ffef7))
* **datasource-mongo:** add new datasource ([#689](#689)) ([af95276](af95276))
* **datasource-sql:** add support for views ([#903](#903)) ([1695245](1695245))
* **flattener:** allow users to flatten JSON primitive column ([#1071](#1071)) ([fd1db13](fd1db13))
* **forest-cloud:** improve a message when there is a 401 http error ([#1081](#1081)) ([358a104](358a104))
* improve error message in case of invalid token ([#1083](#1083)) ([f03d5c7](f03d5c7))
* list collections from an introspection result ([#1086](#1086)) ([2407dc9](2407dc9))
* support mongodb cloud customizations ([#1097](#1097)) ([65ce409](65ce409))
@forest-bot
Copy link
Member

🎉 This PR is included in version 1.32.3 🎉

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

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants