From 8e2776925b6999c967c050c23cc7d63d76c87228 Mon Sep 17 00:00:00 2001 From: "Nicolas M." Date: Fri, 24 Jan 2025 15:28:30 +0100 Subject: [PATCH 01/11] fix: do not override view default sorting ordrer (#1245) * fix: do not override view default sorting ordrer * chore: fix lint error * test: fix tests * chore: force ci with empty commit * chore: force ci with empty commit --------- Co-authored-by: Nicolas Moreau --- packages/agent/src/utils/query-string.ts | 5 ++--- packages/agent/test/routes/access/list-related.test.ts | 4 ++-- packages/agent/test/routes/access/list.test.ts | 4 ++-- packages/agent/test/utils/context-filter-factory.test.ts | 4 ++-- packages/agent/test/utils/query-string.test.ts | 7 ++----- 5 files changed, 10 insertions(+), 14 deletions(-) diff --git a/packages/agent/src/utils/query-string.ts b/packages/agent/src/utils/query-string.ts index 3c6e3a9c8e..0e476a2611 100644 --- a/packages/agent/src/utils/query-string.ts +++ b/packages/agent/src/utils/query-string.ts @@ -10,7 +10,6 @@ import { ProjectionValidator, SchemaUtils, Sort, - SortFactory, SortValidator, UnprocessableError, ValidationError, @@ -197,9 +196,9 @@ export default class QueryStringParser { const sortString = body?.data?.attributes?.all_records_subset_query?.sort?.toString() ?? query.sort?.toString(); - try { - if (!sortString) return SortFactory.byPrimaryKeys(collection); + if (!sortString) return new Sort(); + try { const sort = new Sort( ...sortString.split(',').map((sortChunk: string) => ({ field: sortChunk.replace(/^-/, '').replace('.', ':'), diff --git a/packages/agent/test/routes/access/list-related.test.ts b/packages/agent/test/routes/access/list-related.test.ts index 4199151be7..c9278562ef 100644 --- a/packages/agent/test/routes/access/list-related.test.ts +++ b/packages/agent/test/routes/access/list-related.test.ts @@ -113,7 +113,7 @@ describe('ListRelatedRoute', () => { search: 'aName', searchExtended: false, page: new Page(0, 15), - sort: new Sort({ field: 'id', ascending: true }), + sort: new Sort(), segment: 'a-valid-segment', liveQuerySegment: expect.toBeNil(), conditionTree: new ConditionTreeLeaf( @@ -224,7 +224,7 @@ describe('ListRelatedRoute', () => { search: 'aName', searchExtended: false, page: new Page(0, 15), - sort: new Sort({ field: 'id', ascending: true }), + sort: new Sort(), segment: 'a-valid-segment', liveQuerySegment: expect.toBeNil(), conditionTree: ConditionTreeFactory.fromPlainObject({ diff --git a/packages/agent/test/routes/access/list.test.ts b/packages/agent/test/routes/access/list.test.ts index 5049c084c2..cc39ba4a07 100644 --- a/packages/agent/test/routes/access/list.test.ts +++ b/packages/agent/test/routes/access/list.test.ts @@ -63,7 +63,7 @@ describe('ListRoute', () => { segment: expect.toBeNil(), liveQuerySegment: expect.toBeNil(), page: { limit: 15, skip: 0 }, - sort: [{ ascending: true, field: 'id' }], + sort: [], }, new Projection('id'), ); @@ -136,7 +136,7 @@ describe('ListRoute', () => { segment: expect.toBeNil(), liveQuerySegment: expect.toBeNil(), page: { limit: 15, skip: 0 }, - sort: [{ ascending: true, field: 'id' }], + sort: [], }, new Projection('id'), ); diff --git a/packages/agent/test/utils/context-filter-factory.test.ts b/packages/agent/test/utils/context-filter-factory.test.ts index cf52814d4c..3e929f21fc 100644 --- a/packages/agent/test/utils/context-filter-factory.test.ts +++ b/packages/agent/test/utils/context-filter-factory.test.ts @@ -64,7 +64,7 @@ describe('FilterFactory', () => { new ConditionTreeLeaf('id', 'Equal', '123e4567-e89b-12d3-a456-222222222222'), ]), search: 'searched argument', - sort: new Sort({ field: 'id', ascending: true }), + sort: new Sort(), page: new Page(20, 10), searchExtended: true, segment: 'a-valid-segment', @@ -84,7 +84,7 @@ describe('FilterFactory', () => { new PaginatedFilter({ conditionTree: null, search: 'searched argument', - sort: new Sort({ field: 'id', ascending: true }), + sort: new Sort(), page: new Page(20, 10), searchExtended: true, segment: 'a-valid-segment', diff --git a/packages/agent/test/utils/query-string.test.ts b/packages/agent/test/utils/query-string.test.ts index d3b7f5d699..b88cf21e56 100644 --- a/packages/agent/test/utils/query-string.test.ts +++ b/packages/agent/test/utils/query-string.test.ts @@ -545,7 +545,7 @@ describe('QueryStringParser', () => { expect(sort).toEqual([]); }); - test('should sort by pk ascending when not sort is given', () => { + test('should not sort when not sort is given', () => { const collectionWithSortablePks = factories.collection.build({ name: 'books', schema: factories.collectionSchema.build({ @@ -564,10 +564,7 @@ describe('QueryStringParser', () => { const sort = QueryStringParser.parseSort(collectionWithSortablePks, context); - expect(sort).toEqual([ - { field: 'id', ascending: true }, - { field: 'secondId', ascending: true }, - ]); + expect(sort).toEqual([]); }); test('should sort by the request field and order when given', () => { From 621b2434900f565e37fbd982dae6e82664797c37 Mon Sep 17 00:00:00 2001 From: Arnaud MONCEL Date: Fri, 24 Jan 2025 15:29:07 +0100 Subject: [PATCH 02/11] fix(lazy join): do not remove foreignkey when they are asking (#1246) --- .../src/decorators/lazy-join/collection.ts | 2 +- .../decorators/lazy-join/collection.test.ts | 21 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/packages/datasource-customizer/src/decorators/lazy-join/collection.ts b/packages/datasource-customizer/src/decorators/lazy-join/collection.ts index 6575cf113c..3290945070 100644 --- a/packages/datasource-customizer/src/decorators/lazy-join/collection.ts +++ b/packages/datasource-customizer/src/decorators/lazy-join/collection.ts @@ -28,7 +28,7 @@ export default class LazyJoinDecorator extends CollectionDecorator { record[relationName] = { [foreignKeyTarget]: record[foreignKey] }; } - delete record[foreignKey]; + if (!projection.includes(foreignKey)) delete record[foreignKey]; }); }); diff --git a/packages/datasource-customizer/test/decorators/lazy-join/collection.test.ts b/packages/datasource-customizer/test/decorators/lazy-join/collection.test.ts index 44cc0fca46..81851ad7f7 100644 --- a/packages/datasource-customizer/test/decorators/lazy-join/collection.test.ts +++ b/packages/datasource-customizer/test/decorators/lazy-join/collection.test.ts @@ -44,10 +44,12 @@ describe('LazyJoinDecorator', () => { id: factories.columnSchema.uuidPrimaryKey().build(), description: factories.columnSchema.build(), amountInEur: factories.columnSchema.build(), + card_id: factories.columnSchema.uuidPrimaryKey().build(), card: factories.manyToOneSchema.build({ foreignCollection: 'cards', foreignKey: 'card_id', }), + user_id: factories.columnSchema.uuidPrimaryKey().build(), user: factories.manyToOneSchema.build({ foreignCollection: 'users', foreignKey: 'user_id', @@ -207,6 +209,25 @@ describe('LazyJoinDecorator', () => { expect(spy).toHaveBeenCalledWith(caller, filter, new Projection('id', 'card_id')); expect(records).toStrictEqual([{ id: 1 }]); }); + + describe('when projection ask for foreign key and relation', () => { + test('it should not remove the key from the record', async () => { + const spy = jest.spyOn(transactions, 'list'); + spy.mockResolvedValue([{ id: 1, card_id: 2 }]); + + const caller = factories.caller.build(); + const filter = factories.filter.build(); + + const records = await decoratedTransactions.list( + caller, + filter, + new Projection('id', 'card:id', 'card_id'), + ); + + expect(spy).toHaveBeenCalledWith(caller, filter, new Projection('id', 'card_id')); + expect(records).toStrictEqual([{ id: 1, card: { id: 2 }, card_id: 2 }]); + }); + }); }); describe('aggregate', () => { From 5f1b9b31775840a68d40b99c6341140906ce7ddc Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:45:58 +0000 Subject: [PATCH 03/11] chore(release): @forestadmin/datasource-replica@1.5.13 [skip ci] ## @forestadmin/datasource-replica [1.5.13](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.5.12...@forestadmin/datasource-replica@1.5.13) (2025-01-24) ### Dependencies * **@forestadmin/datasource-customizer:** upgraded to 1.61.1 --- packages/datasource-replica/CHANGELOG.md | 10 ++++++++++ packages/datasource-replica/package.json | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/datasource-replica/CHANGELOG.md b/packages/datasource-replica/CHANGELOG.md index 224d19fdea..f80a459e12 100644 --- a/packages/datasource-replica/CHANGELOG.md +++ b/packages/datasource-replica/CHANGELOG.md @@ -1,3 +1,13 @@ +## @forestadmin/datasource-replica [1.5.13](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.5.12...@forestadmin/datasource-replica@1.5.13) (2025-01-24) + + + + + +### Dependencies + +* **@forestadmin/datasource-customizer:** upgraded to 1.61.1 + ## @forestadmin/datasource-replica [1.5.12](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-replica@1.5.11...@forestadmin/datasource-replica@1.5.12) (2025-01-23) diff --git a/packages/datasource-replica/package.json b/packages/datasource-replica/package.json index bcb49125cc..1cd0cd3d09 100644 --- a/packages/datasource-replica/package.json +++ b/packages/datasource-replica/package.json @@ -1,6 +1,6 @@ { "name": "@forestadmin/datasource-replica", - "version": "1.5.12", + "version": "1.5.13", "main": "dist/index.js", "license": "GPL-3.0", "publishConfig": { @@ -23,7 +23,7 @@ "test": "jest" }, "dependencies": { - "@forestadmin/datasource-customizer": "1.61.0", + "@forestadmin/datasource-customizer": "1.61.1", "@forestadmin/datasource-sequelize": "1.11.5", "@forestadmin/datasource-sql": "1.16.5", "@forestadmin/datasource-toolkit": "1.47.0", From 14f2ee53913306368b3cffc46faf9b2120d1956a Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:46:01 +0000 Subject: [PATCH 04/11] chore(release): example@1.13.3 [skip ci] ## [1.13.3](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.13.2...example@1.13.3) (2025-01-24) ### Bug Fixes * do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) --- packages/_example/CHANGELOG.md | 11 +++++++++++ packages/_example/package.json | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/_example/CHANGELOG.md b/packages/_example/CHANGELOG.md index d71bf46c0e..de29b661c0 100644 --- a/packages/_example/CHANGELOG.md +++ b/packages/_example/CHANGELOG.md @@ -1,3 +1,14 @@ +## example [1.13.3](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.13.2...example@1.13.3) (2025-01-24) + + + + + +### Dependencies + +* **@forestadmin/agent:** upgraded to 1.58.2 +* **@forestadmin/datasource-dummy:** upgraded to 1.1.48 + ## example [1.13.2](https://github.com/ForestAdmin/agent-nodejs/compare/example@1.13.1...example@1.13.2) (2025-01-23) diff --git a/packages/_example/package.json b/packages/_example/package.json index 28ca2e9ea5..8f13780142 100644 --- a/packages/_example/package.json +++ b/packages/_example/package.json @@ -1,12 +1,12 @@ { "name": "example", - "version": "1.13.2", + "version": "1.13.3", "license": "GPL-V3", "private": true, "dependencies": { "@faker-js/faker": "^7.6.0", - "@forestadmin/agent": "1.58.1", - "@forestadmin/datasource-dummy": "1.1.47", + "@forestadmin/agent": "1.58.2", + "@forestadmin/datasource-dummy": "1.1.48", "@forestadmin/datasource-mongo": "1.4.1", "@forestadmin/datasource-mongoose": "1.9.0", "@forestadmin/datasource-sequelize": "1.11.5", From 0d6bed9a723cfe18a061a233b7398445162b71d8 Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:46:04 +0000 Subject: [PATCH 05/11] chore(release): @forestadmin/agent@1.58.2 [skip ci] ## [1.58.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.58.1...@forestadmin/agent@1.58.2) (2025-01-24) ### Bug Fixes * do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) --- packages/agent/CHANGELOG.md | 15 +++++++++++++++ packages/agent/package.json | 4 ++-- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/packages/agent/CHANGELOG.md b/packages/agent/CHANGELOG.md index 4562ca5fb9..3964a46e91 100644 --- a/packages/agent/CHANGELOG.md +++ b/packages/agent/CHANGELOG.md @@ -1,3 +1,18 @@ +## @forestadmin/agent [1.58.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.58.1...@forestadmin/agent@1.58.2) (2025-01-24) + + +### Bug Fixes + +* do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) + + + + + +### Dependencies + +* **@forestadmin/datasource-customizer:** upgraded to 1.61.1 + ## @forestadmin/agent [1.58.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.58.0...@forestadmin/agent@1.58.1) (2025-01-23) diff --git a/packages/agent/package.json b/packages/agent/package.json index a79c57e441..03736b6020 100644 --- a/packages/agent/package.json +++ b/packages/agent/package.json @@ -1,6 +1,6 @@ { "name": "@forestadmin/agent", - "version": "1.58.1", + "version": "1.58.2", "main": "dist/index.js", "license": "GPL-3.0", "publishConfig": { @@ -14,7 +14,7 @@ "dependencies": { "@fast-csv/format": "^4.3.5", "@fastify/express": "^1.1.0", - "@forestadmin/datasource-customizer": "1.61.0", + "@forestadmin/datasource-customizer": "1.61.1", "@forestadmin/datasource-toolkit": "1.47.0", "@forestadmin/forestadmin-client": "1.36.4", "@koa/cors": "^5.0.0", From c480a2f7416d4acdf5dafd0dab1f38f0a700e649 Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:46:07 +0000 Subject: [PATCH 06/11] chore(release): @forestadmin/datasource-customizer@1.61.1 [skip ci] ## [1.61.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.61.0...@forestadmin/datasource-customizer@1.61.1) (2025-01-24) ### Bug Fixes * do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) --- packages/datasource-customizer/CHANGELOG.md | 7 +++++++ packages/datasource-customizer/package.json | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/datasource-customizer/CHANGELOG.md b/packages/datasource-customizer/CHANGELOG.md index 0e5114fdd3..37fca8b6a5 100644 --- a/packages/datasource-customizer/CHANGELOG.md +++ b/packages/datasource-customizer/CHANGELOG.md @@ -1,3 +1,10 @@ +## @forestadmin/datasource-customizer [1.61.1](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.61.0...@forestadmin/datasource-customizer@1.61.1) (2025-01-24) + + +### Bug Fixes + +* **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) + # @forestadmin/datasource-customizer [1.61.0](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-customizer@1.60.0...@forestadmin/datasource-customizer@1.61.0) (2025-01-23) diff --git a/packages/datasource-customizer/package.json b/packages/datasource-customizer/package.json index 506274dd61..7bc82448de 100644 --- a/packages/datasource-customizer/package.json +++ b/packages/datasource-customizer/package.json @@ -1,6 +1,6 @@ { "name": "@forestadmin/datasource-customizer", - "version": "1.61.0", + "version": "1.61.1", "main": "dist/index.js", "license": "GPL-3.0", "publishConfig": { From 29591e09295e6d4c45265db84e2283a3cf3bf171 Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:46:10 +0000 Subject: [PATCH 07/11] chore(release): @forestadmin/datasource-dummy@1.1.48 [skip ci] ## [1.1.48](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.1.47...@forestadmin/datasource-dummy@1.1.48) (2025-01-24) ### Bug Fixes * do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) --- packages/datasource-dummy/CHANGELOG.md | 10 ++++++++++ packages/datasource-dummy/package.json | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/datasource-dummy/CHANGELOG.md b/packages/datasource-dummy/CHANGELOG.md index bc20f795e9..85886d48c1 100644 --- a/packages/datasource-dummy/CHANGELOG.md +++ b/packages/datasource-dummy/CHANGELOG.md @@ -1,3 +1,13 @@ +## @forestadmin/datasource-dummy [1.1.48](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.1.47...@forestadmin/datasource-dummy@1.1.48) (2025-01-24) + + + + + +### Dependencies + +* **@forestadmin/datasource-customizer:** upgraded to 1.61.1 + ## @forestadmin/datasource-dummy [1.1.47](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/datasource-dummy@1.1.46...@forestadmin/datasource-dummy@1.1.47) (2025-01-23) diff --git a/packages/datasource-dummy/package.json b/packages/datasource-dummy/package.json index 278a95764a..d1519b9eae 100644 --- a/packages/datasource-dummy/package.json +++ b/packages/datasource-dummy/package.json @@ -1,6 +1,6 @@ { "name": "@forestadmin/datasource-dummy", - "version": "1.1.47", + "version": "1.1.48", "main": "dist/index.js", "license": "GPL-3.0", "publishConfig": { @@ -12,7 +12,7 @@ "directory": "packages/datasource-dummy" }, "dependencies": { - "@forestadmin/datasource-customizer": "1.61.0", + "@forestadmin/datasource-customizer": "1.61.1", "@forestadmin/datasource-toolkit": "1.47.0" }, "files": [ From e3842098b5d55d7ce1b555012c1b6bccde6c6718 Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:46:13 +0000 Subject: [PATCH 08/11] chore(release): @forestadmin/forest-cloud@1.12.21 [skip ci] ## [1.12.21](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forest-cloud@1.12.20...@forestadmin/forest-cloud@1.12.21) (2025-01-24) ### Bug Fixes * do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) --- packages/forest-cloud/CHANGELOG.md | 11 +++++++++++ packages/forest-cloud/package.json | 6 +++--- 2 files changed, 14 insertions(+), 3 deletions(-) diff --git a/packages/forest-cloud/CHANGELOG.md b/packages/forest-cloud/CHANGELOG.md index 1ac21769d4..b4b714e795 100644 --- a/packages/forest-cloud/CHANGELOG.md +++ b/packages/forest-cloud/CHANGELOG.md @@ -1,3 +1,14 @@ +## @forestadmin/forest-cloud [1.12.21](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forest-cloud@1.12.20...@forestadmin/forest-cloud@1.12.21) (2025-01-24) + + + + + +### Dependencies + +* **@forestadmin/agent:** upgraded to 1.58.2 +* **@forestadmin/datasource-customizer:** upgraded to 1.61.1 + ## @forestadmin/forest-cloud [1.12.20](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/forest-cloud@1.12.19...@forestadmin/forest-cloud@1.12.20) (2025-01-23) diff --git a/packages/forest-cloud/package.json b/packages/forest-cloud/package.json index f6b083586c..300895a066 100644 --- a/packages/forest-cloud/package.json +++ b/packages/forest-cloud/package.json @@ -1,10 +1,10 @@ { "name": "@forestadmin/forest-cloud", - "version": "1.12.20", + "version": "1.12.21", "description": "Utility to bootstrap and publish forest admin cloud projects customization", "dependencies": { - "@forestadmin/agent": "1.58.1", - "@forestadmin/datasource-customizer": "1.61.0", + "@forestadmin/agent": "1.58.2", + "@forestadmin/datasource-customizer": "1.61.1", "@forestadmin/datasource-mongo": "1.4.1", "@forestadmin/datasource-mongoose": "1.9.0", "@forestadmin/datasource-sequelize": "1.11.5", From 7f7a65bd2341f810287ddf9848196cdbea4c8666 Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:46:15 +0000 Subject: [PATCH 09/11] chore(release): @forestadmin/plugin-aws-s3@1.4.16 [skip ci] ## [1.4.16](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.4.15...@forestadmin/plugin-aws-s3@1.4.16) (2025-01-24) ### Bug Fixes * do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) --- packages/plugin-aws-s3/CHANGELOG.md | 10 ++++++++++ packages/plugin-aws-s3/package.json | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/plugin-aws-s3/CHANGELOG.md b/packages/plugin-aws-s3/CHANGELOG.md index 896dac9b71..89789ee07d 100644 --- a/packages/plugin-aws-s3/CHANGELOG.md +++ b/packages/plugin-aws-s3/CHANGELOG.md @@ -1,3 +1,13 @@ +## @forestadmin/plugin-aws-s3 [1.4.16](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.4.15...@forestadmin/plugin-aws-s3@1.4.16) (2025-01-24) + + + + + +### Dependencies + +* **@forestadmin/datasource-customizer:** upgraded to 1.61.1 + ## @forestadmin/plugin-aws-s3 [1.4.15](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-aws-s3@1.4.14...@forestadmin/plugin-aws-s3@1.4.15) (2025-01-23) diff --git a/packages/plugin-aws-s3/package.json b/packages/plugin-aws-s3/package.json index 161a24b70a..5e576682c6 100644 --- a/packages/plugin-aws-s3/package.json +++ b/packages/plugin-aws-s3/package.json @@ -1,6 +1,6 @@ { "name": "@forestadmin/plugin-aws-s3", - "version": "1.4.15", + "version": "1.4.16", "main": "dist/index.js", "license": "GPL-3.0", "publishConfig": { @@ -17,7 +17,7 @@ "@forestadmin/datasource-toolkit": "1.47.0" }, "devDependencies": { - "@forestadmin/datasource-customizer": "1.61.0", + "@forestadmin/datasource-customizer": "1.61.1", "@forestadmin/datasource-toolkit": "1.47.0" }, "files": [ From 9e70a482127200bc635bf79ce129aa26b10149f6 Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:46:18 +0000 Subject: [PATCH 10/11] chore(release): @forestadmin/plugin-export-advanced@1.1.22 [skip ci] ## [1.1.22](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.1.21...@forestadmin/plugin-export-advanced@1.1.22) (2025-01-24) ### Bug Fixes * do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) --- packages/plugin-export-advanced/CHANGELOG.md | 10 ++++++++++ packages/plugin-export-advanced/package.json | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/plugin-export-advanced/CHANGELOG.md b/packages/plugin-export-advanced/CHANGELOG.md index 682827e098..c3cd72411c 100644 --- a/packages/plugin-export-advanced/CHANGELOG.md +++ b/packages/plugin-export-advanced/CHANGELOG.md @@ -1,3 +1,13 @@ +## @forestadmin/plugin-export-advanced [1.1.22](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.1.21...@forestadmin/plugin-export-advanced@1.1.22) (2025-01-24) + + + + + +### Dependencies + +* **@forestadmin/datasource-customizer:** upgraded to 1.61.1 + ## @forestadmin/plugin-export-advanced [1.1.21](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-export-advanced@1.1.20...@forestadmin/plugin-export-advanced@1.1.21) (2025-01-23) diff --git a/packages/plugin-export-advanced/package.json b/packages/plugin-export-advanced/package.json index c0c1aabb3c..3b60d62825 100644 --- a/packages/plugin-export-advanced/package.json +++ b/packages/plugin-export-advanced/package.json @@ -1,6 +1,6 @@ { "name": "@forestadmin/plugin-export-advanced", - "version": "1.1.21", + "version": "1.1.22", "main": "dist/index.js", "license": "GPL-3.0", "publishConfig": { @@ -15,7 +15,7 @@ "excel4node": "^1.8.0" }, "devDependencies": { - "@forestadmin/datasource-customizer": "1.61.0", + "@forestadmin/datasource-customizer": "1.61.1", "@forestadmin/datasource-toolkit": "1.47.0" }, "files": [ From 2843dce4076e558420fa77b7afaa93bf69ef2f6d Mon Sep 17 00:00:00 2001 From: Forest Bot Date: Fri, 24 Jan 2025 14:46:23 +0000 Subject: [PATCH 11/11] chore(release): @forestadmin/plugin-flattener@1.4.6 [skip ci] ## [1.4.6](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.4.5...@forestadmin/plugin-flattener@1.4.6) (2025-01-24) ### Bug Fixes * do not override view default sorting ordrer ([#1245](https://github.com/ForestAdmin/agent-nodejs/issues/1245)) ([8e27769](https://github.com/ForestAdmin/agent-nodejs/commit/8e2776925b6999c967c050c23cc7d63d76c87228)) * **lazy join:** do not remove foreignkey when they are asking ([#1246](https://github.com/ForestAdmin/agent-nodejs/issues/1246)) ([621b243](https://github.com/ForestAdmin/agent-nodejs/commit/621b2434900f565e37fbd982dae6e82664797c37)) --- packages/plugin-flattener/CHANGELOG.md | 10 ++++++++++ packages/plugin-flattener/package.json | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/packages/plugin-flattener/CHANGELOG.md b/packages/plugin-flattener/CHANGELOG.md index 00daece83f..b33cf27ed5 100644 --- a/packages/plugin-flattener/CHANGELOG.md +++ b/packages/plugin-flattener/CHANGELOG.md @@ -1,3 +1,13 @@ +## @forestadmin/plugin-flattener [1.4.6](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.4.5...@forestadmin/plugin-flattener@1.4.6) (2025-01-24) + + + + + +### Dependencies + +* **@forestadmin/datasource-customizer:** upgraded to 1.61.1 + ## @forestadmin/plugin-flattener [1.4.5](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/plugin-flattener@1.4.4...@forestadmin/plugin-flattener@1.4.5) (2025-01-23) diff --git a/packages/plugin-flattener/package.json b/packages/plugin-flattener/package.json index 802a76cdc5..8e0b9f2e9f 100644 --- a/packages/plugin-flattener/package.json +++ b/packages/plugin-flattener/package.json @@ -1,6 +1,6 @@ { "name": "@forestadmin/plugin-flattener", - "version": "1.4.5", + "version": "1.4.6", "description": "A plugin that allows to flatten columns and relations in Forest Admin", "main": "dist/index.js", "license": "GPL-3.0", @@ -24,7 +24,7 @@ "test": "jest" }, "devDependencies": { - "@forestadmin/datasource-customizer": "1.61.0", + "@forestadmin/datasource-customizer": "1.61.1", "@types/object-hash": "^3.0.2" }, "dependencies": {