Skip to content

Commit

Permalink
refactor: rebase with main (#935)
Browse files Browse the repository at this point in the history
* fix: disableFieldSorting is now only preventing frontend to sort the collection

* chore(release): @forestadmin/datasource-replica@1.0.58 [skip ci]

## @forestadmin/datasource-replica [1.0.58](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.0.57...@forestadmin/datasource-replica@1.0.58) (2024-01-22)

### Dependencies

* **@forestadmin/datasource-customizer:** upgraded to 1.40.3

* chore(release): example@1.6.75 [skip ci]

## [1.6.75](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.74...example@1.6.75) (2024-01-22)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))

* chore(release): @forestadmin/agent@1.36.15 [skip ci]

## [1.36.15](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.36.14...@forestadmin/agent@1.36.15) (2024-01-22)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))

* chore(release): @forestadmin/datasource-customizer@1.40.3 [skip ci]

## [1.40.3](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.40.2...@forestadmin/datasource-customizer@1.40.3) (2024-01-22)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))

* chore(release): @forestadmin/datasource-dummy@1.0.93 [skip ci]

## [1.0.93](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.0.92...@forestadmin/datasource-dummy@1.0.93) (2024-01-22)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))

* chore(release): @forestadmin/plugin-aws-s3@1.3.57 [skip ci]

## [1.3.57](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.3.56...@forestadmin/plugin-aws-s3@1.3.57) (2024-01-22)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))

* chore(release): @forestadmin/plugin-export-advanced@1.0.69 [skip ci]

## [1.0.69](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.0.68...@forestadmin/plugin-export-advanced@1.0.69) (2024-01-22)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))

* chore(release): @forestadmin/plugin-flattener@1.0.82 [skip ci]

## [1.0.82](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.0.81...@forestadmin/plugin-flattener@1.0.82) (2024-01-22)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))

* fix(replaceFieldWriting): force customer to give a replaceFieldWriting definition to avoid emulation when null is given (#913)

* chore(release): @forestadmin/datasource-replica@1.0.59 [skip ci]

## @forestadmin/datasource-replica [1.0.59](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.0.58...@forestadmin/datasource-replica@1.0.59) (2024-01-22)

### Dependencies

* **@forestadmin/datasource-customizer:** upgraded to 1.40.4

* chore(release): example@1.6.76 [skip ci]

## [1.6.76](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.75...example@1.6.76) (2024-01-22)

### Bug Fixes

* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))

* chore(release): @forestadmin/agent@1.36.16 [skip ci]

## [1.36.16](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.36.15...@forestadmin/agent@1.36.16) (2024-01-22)

### Bug Fixes

* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))

* chore(release): @forestadmin/datasource-customizer@1.40.4 [skip ci]

## [1.40.4](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.40.3...@forestadmin/datasource-customizer@1.40.4) (2024-01-22)

### Bug Fixes

* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))

* chore(release): @forestadmin/datasource-dummy@1.0.94 [skip ci]

## [1.0.94](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.0.93...@forestadmin/datasource-dummy@1.0.94) (2024-01-22)

### Bug Fixes

* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))

* chore(release): @forestadmin/plugin-aws-s3@1.3.58 [skip ci]

## [1.3.58](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.3.57...@forestadmin/plugin-aws-s3@1.3.58) (2024-01-22)

### Bug Fixes

* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))

* chore(release): @forestadmin/plugin-export-advanced@1.0.70 [skip ci]

## [1.0.70](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.0.69...@forestadmin/plugin-export-advanced@1.0.70) (2024-01-22)

### Bug Fixes

* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))

* chore(release): @forestadmin/plugin-flattener@1.0.83 [skip ci]

## [1.0.83](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.0.82...@forestadmin/plugin-flattener@1.0.83) (2024-01-22)

### Bug Fixes

* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))

* fix: return more details in errors due to certificate validation to help debugging (#917)

* chore(release): @forestadmin/forestadmin-client@1.25.5 [skip ci]

## @forestadmin/forestadmin-client [1.25.5](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forestadmin-client@1.25.4...@forestadmin/forestadmin-client@1.25.5) (2024-01-23)

### Bug Fixes

* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

* chore(release): example@1.6.77 [skip ci]

## [1.6.77](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.76...example@1.6.77) (2024-01-23)

### Bug Fixes

* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

* chore(release): @forestadmin/agent@1.36.17 [skip ci]

## [1.36.17](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.36.16...@forestadmin/agent@1.36.17) (2024-01-23)

### Bug Fixes

* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

* refactor(example): fix agent typings (#920)

* refactor: bump nodejs version used in github actions (#919)

* feat(datasource-customizer): implement gmail-style search (#780)

* chore(release): @forestadmin/plugin-export-advanced@1.0.71 [skip ci]

## @forestadmin/plugin-export-advanced [1.0.71](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.0.70...@forestadmin/plugin-export-advanced@1.0.71) (2024-01-26)

### Dependencies

* **@forestadmin/datasource-customizer:** upgraded to 1.41.0
* **@forestadmin/datasource-toolkit:** upgraded to 1.30.0

* chore(release): example@1.6.78 [skip ci]

## [1.6.78](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.77...example@1.6.78) (2024-01-26)

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/agent@1.36.18 [skip ci]

## [1.36.18](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.36.17...@forestadmin/agent@1.36.18) (2024-01-26)

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/datasource-customizer@1.41.0 [skip ci]

# [1.41.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.40.4...@forestadmin/datasource-customizer@1.41.0) (2024-01-26)

### Bug Fixes

* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/datasource-dummy@1.1.0 [skip ci]

# [1.1.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.0.94...@forestadmin/datasource-dummy@1.1.0) (2024-01-26)

### Bug Fixes

* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/datasource-mongoose@1.6.0 [skip ci]

# [1.6.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-mongoose@1.5.33...@forestadmin/datasource-mongoose@1.6.0) (2024-01-26)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))
* **replaceFieldOperator:** disallow to pass null because it will emulate instead to remove the operator ([#911](#911)) ([bf0c105](bf0c105))
* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))
* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/datasource-replica@1.0.60 [skip ci]

## [1.0.60](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.0.59...@forestadmin/datasource-replica@1.0.60) (2024-01-26)

### Bug Fixes

* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/datasource-sequelize@1.6.0 [skip ci]

# [1.6.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sequelize@1.5.27...@forestadmin/datasource-sequelize@1.6.0) (2024-01-26)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))
* **replaceFieldOperator:** disallow to pass null because it will emulate instead to remove the operator ([#911](#911)) ([bf0c105](bf0c105))
* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))
* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/datasource-sql@1.7.45 [skip ci]

## [1.7.45](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-sql@1.7.44...@forestadmin/datasource-sql@1.7.45) (2024-01-26)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))
* **replaceFieldOperator:** disallow to pass null because it will emulate instead to remove the operator ([#911](#911)) ([bf0c105](bf0c105))
* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))
* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/datasource-toolkit@1.30.0 [skip ci]

# [1.30.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-toolkit@1.29.2...@forestadmin/datasource-toolkit@1.30.0) (2024-01-26)

### Bug Fixes

* disableFieldSorting is now only preventing frontend to sort the collection ([7f1481b](7f1481b))
* **replaceFieldOperator:** disallow to pass null because it will emulate instead to remove the operator ([#911](#911)) ([bf0c105](bf0c105))
* **replaceFieldWriting:** force customer to give a replaceFieldWriting definition to avoid emulation when null is given ([#913](#913)) ([b0b1862](b0b1862))
* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/forestadmin-client@1.25.6 [skip ci]

## [1.25.6](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forestadmin-client@1.25.5...@forestadmin/forestadmin-client@1.25.6) (2024-01-26)

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/plugin-aws-s3@1.3.59 [skip ci]

## [1.3.59](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.3.58...@forestadmin/plugin-aws-s3@1.3.59) (2024-01-26)

### Bug Fixes

* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

* chore(release): @forestadmin/plugin-flattener@1.0.84 [skip ci]

## [1.0.84](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.0.83...@forestadmin/plugin-flattener@1.0.84) (2024-01-26)

### Bug Fixes

* return more details in errors due to certificate validation to help debugging ([#917](#917)) ([58aaaec](58aaaec))

### Features

* **datasource-customizer:** implement gmail-style search ([#780](#780)) ([3ad8ed8](3ad8ed8))

---------

Co-authored-by: Enki <enki.pontvianne@gmail.com>
Co-authored-by: Forest Bot <arnaud+github-bot@forestadmin.com>
Co-authored-by: scra <albanbertolini@gmail.com>
Co-authored-by: Guillaume Gautreau <guillaumeg@forestadmin.com>
Co-authored-by: Romain Gilliotte <rgilliotte@gmail.com>
Co-authored-by: Nicolas Moreau <nicolas.moreau76@gmail.com>
  • Loading branch information
7 people authored Jan 30, 2024
1 parent 07f42b7 commit 4d71f9c
Show file tree
Hide file tree
Showing 102 changed files with 8,096 additions and 679 deletions.
7 changes: 4 additions & 3 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
version: '2' # required to adjust maintainability checks
version: "2" # required to adjust maintainability checks

checks:
method-complexity:
enabled: true
config:
threshold: 10
exclude_patterns:
- 'packages/_example/'
- '**/test/'
- "packages/_example/"
- "**/test/"
- "packages/datasource-customizer/src/decorators/search/generated-parser/*.ts"
10 changes: 5 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.14.0
- uses: actions/cache@v3
with:
path: |
Expand Down Expand Up @@ -78,9 +78,9 @@ jobs:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.14.0
- name: Start docker containers
if: ${{ matrix.package == 'datasource-mongoose' || matrix.package == 'datasource-sql' }}
if: ${{ matrix.package == 'datasource-mongoose' || matrix.package == 'datasource-sql' || matrix.package == 'datasource-sequelize' }}
run: docker-compose -f ./packages/${{ matrix.package }}/docker-compose.yml up -d; sleep 5
- name: Restore dependencies from cache
uses: actions/cache/restore@v3
Expand Down Expand Up @@ -145,7 +145,7 @@ jobs:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.14.0
- name: Restore dependencies from cache
uses: actions/cache/restore@v3
with:
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
persist-credentials: false # GITHUB_TOKEN must not be set for the semantic release
- uses: actions/setup-node@v3
with:
node-version: 16.14.0
node-version: 18.14.0
- name: Restore dependencies from cache
uses: actions/cache/restore@v3
with:
Expand Down
1 change: 1 addition & 0 deletions jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const config: Config.InitialOptions = {
collectCoverageFrom: [
'<rootDir>/packages/*/src/**/*.ts',
'!<rootDir>/packages/_example/src/**/*.ts',
'!<rootDir>/packages/datasource-customizer/src/decorators/search/generated-parser/*.ts',
],
testMatch: ['<rootDir>/packages/*/test/**/*.test.ts'],
setupFilesAfterEnv: ['jest-extended/all'],
Expand Down
41 changes: 39 additions & 2 deletions packages/_example/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,49 @@
## example [1.6.75-beta-cloud-customizer.1](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.74...example@1.6.75-beta-cloud-customizer.1) (2024-01-24)
## example [1.6.78](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.77...example@1.6.78) (2024-01-26)





### Dependencies

* **@forestadmin/agent:** upgraded to 1.37.0-beta-cloud-customizer.1
* **@forestadmin/agent:** upgraded to 1.36.18
* **@forestadmin/datasource-dummy:** upgraded to 1.1.0
* **@forestadmin/datasource-mongoose:** upgraded to 1.6.0
* **@forestadmin/datasource-sequelize:** upgraded to 1.6.0
* **@forestadmin/datasource-sql:** upgraded to 1.7.45
* **@forestadmin/datasource-toolkit:** upgraded to 1.30.0

## example [1.6.77](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.76...example@1.6.77) (2024-01-23)





### Dependencies

* **@forestadmin/agent:** upgraded to 1.36.17

## example [1.6.76](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.75...example@1.6.76) (2024-01-22)





### Dependencies

* **@forestadmin/agent:** upgraded to 1.36.16
* **@forestadmin/datasource-dummy:** upgraded to 1.0.94

## example [1.6.75](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.74...example@1.6.75) (2024-01-22)





### Dependencies

* **@forestadmin/agent:** upgraded to 1.36.15
* **@forestadmin/datasource-dummy:** upgraded to 1.0.93

## example [1.6.74](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.6.73...example@1.6.74) (2024-01-18)

Expand Down
14 changes: 7 additions & 7 deletions packages/_example/package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
{
"name": "example",
"version": "1.6.75-beta-cloud-customizer.1",
"version": "1.6.78",
"license": "GPL-V3",
"private": true,
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@forestadmin/agent": "1.37.0-beta-cloud-customizer.1",
"@forestadmin/datasource-dummy": "1.0.92",
"@forestadmin/datasource-mongoose": "1.5.33",
"@forestadmin/datasource-sequelize": "1.5.27",
"@forestadmin/datasource-sql": "1.7.44",
"@forestadmin/datasource-toolkit": "1.29.2",
"@forestadmin/agent": "1.36.18",
"@forestadmin/datasource-dummy": "1.1.0",
"@forestadmin/datasource-mongoose": "1.6.0",
"@forestadmin/datasource-sequelize": "1.6.0",
"@forestadmin/datasource-sql": "1.7.45",
"@forestadmin/datasource-toolkit": "1.30.0",
"@koa/router": "^12.0.0",
"@nestjs/common": "^9.2.1",
"@nestjs/core": "^9.2.1",
Expand Down
Loading

0 comments on commit 4d71f9c

Please sign in to comment.