@forestadmin/agent 1.0.0-beta.3 → 1.0.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +413 -0
- package/package.json +2 -2
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,413 @@
|
|
|
1
|
+
# @forestadmin/agent [1.0.0-beta.4](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.0.0-beta.3...@forestadmin/agent@1.0.0-beta.4) (2022-04-15)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
### Dependencies
|
|
8
|
+
|
|
9
|
+
* **@forestadmin/datasource-toolkit:** upgraded to 1.0.0-beta.4
|
|
10
|
+
|
|
11
|
+
# @forestadmin/agent [1.0.0-beta.3](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.0.0-beta.2...@forestadmin/agent@1.0.0-beta.3) (2022-04-15)
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* correct versions in package.json of all datasources ([540d395](https://github.com/ForestAdmin/agent-nodejs/commit/540d395bc5e42bdd7edb3dce5806ade8554f3d7a))
|
|
17
|
+
|
|
18
|
+
# @forestadmin/agent [1.0.0-beta.2](https://github.com/ForestAdmin/agent-nodejs/compare/@forestadmin/agent@1.0.0-beta.1...@forestadmin/agent@1.0.0-beta.2) (2022-04-15)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Dependencies
|
|
25
|
+
|
|
26
|
+
* **@forestadmin/datasource-toolkit:** upgraded to 1.0.0-beta.3
|
|
27
|
+
|
|
28
|
+
# @forestadmin/agent 1.0.0-beta.1 (2022-04-15)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Bug Fixes
|
|
32
|
+
|
|
33
|
+
* action "select all + apply" are applied only on the related data ([#209](https://github.com/ForestAdmin/agent-nodejs/issues/209)) ([974054c](https://github.com/ForestAdmin/agent-nodejs/commit/974054c431700c98a73177dfe5cbd0d1bf564e9c))
|
|
34
|
+
* actions & delete ignored filters, search and segment ([#172](https://github.com/ForestAdmin/agent-nodejs/issues/172)) ([c0877a2](https://github.com/ForestAdmin/agent-nodejs/commit/c0877a26ad8b63721184f5fbe33922d30637d59c))
|
|
35
|
+
* actions needs an id to serialize properly ([#136](https://github.com/ForestAdmin/agent-nodejs/issues/136)) ([6da7fb2](https://github.com/ForestAdmin/agent-nodejs/commit/6da7fb26fe3913a95237ec3c4b8bcaaab8796d9f))
|
|
36
|
+
* add error message inside logger ([#143](https://github.com/ForestAdmin/agent-nodejs/issues/143)) ([54492e8](https://github.com/ForestAdmin/agent-nodejs/commit/54492e8beb7d748e9689ac6746f26be45474b7f5))
|
|
37
|
+
* **agent:** ignore nulls when striping undefined values in serializer ([#68](https://github.com/ForestAdmin/agent-nodejs/issues/68)) ([8fc4828](https://github.com/ForestAdmin/agent-nodejs/commit/8fc4828f70d2739f080e8f2a1e8db10ec9ff7b3e))
|
|
38
|
+
* **agent:** properly handle missing pagination values ([#61](https://github.com/ForestAdmin/agent-nodejs/issues/61)) ([cd9b6ca](https://github.com/ForestAdmin/agent-nodejs/commit/cd9b6caa18ce2bf800194836b46eb0e8b647355e))
|
|
39
|
+
* bugs in count and delete ([#93](https://github.com/ForestAdmin/agent-nodejs/issues/93)) ([f806fa2](https://github.com/ForestAdmin/agent-nodejs/commit/f806fa270d26933ac45c90f6da07f4f9e7f85a90))
|
|
40
|
+
* chaining methods on the collection builder ([#199](https://github.com/ForestAdmin/agent-nodejs/issues/199)) ([d9042a1](https://github.com/ForestAdmin/agent-nodejs/commit/d9042a161bc67c2d43debe4a58369d1b1dbf7ba3))
|
|
41
|
+
* **charts:** permission issue when aggregating by a relation ([#150](https://github.com/ForestAdmin/agent-nodejs/issues/150)) ([9ffec08](https://github.com/ForestAdmin/agent-nodejs/commit/9ffec0838d60d47969566853d4d04b038ae91fbd))
|
|
42
|
+
* creation of record with relationship ([#148](https://github.com/ForestAdmin/agent-nodejs/issues/148)) ([fae54a9](https://github.com/ForestAdmin/agent-nodejs/commit/fae54a960267c04810f6a1eff72f9ee999cd26d4))
|
|
43
|
+
* **datasource:** properly set column FilterOperator values ([#117](https://github.com/ForestAdmin/agent-nodejs/issues/117)) ([92174a5](https://github.com/ForestAdmin/agent-nodejs/commit/92174a5f9016e8e54bed854979b0d7c408f11cae))
|
|
44
|
+
* decorator ordering in builder ([#216](https://github.com/ForestAdmin/agent-nodejs/issues/216)) ([31843f9](https://github.com/ForestAdmin/agent-nodejs/commit/31843f9ce3e50d3cff2a3e8a72adc1bbc3f810f8))
|
|
45
|
+
* enable npm, git and github distribution ([bd91825](https://github.com/ForestAdmin/agent-nodejs/commit/bd91825f4d185874a259da28b0f7a6c7f557196d))
|
|
46
|
+
* fail to update records from collection with relations ([#95](https://github.com/ForestAdmin/agent-nodejs/issues/95)) ([5643d2a](https://github.com/ForestAdmin/agent-nodejs/commit/5643d2a021e3ef6571a446ad27522741244d4d6e))
|
|
47
|
+
* fix one to one relation creation ([#231](https://github.com/ForestAdmin/agent-nodejs/issues/231)) ([2b21bb9](https://github.com/ForestAdmin/agent-nodejs/commit/2b21bb9cf9afd71b54a7645316edbac1a8af6ab3))
|
|
48
|
+
* fix semantic release ([3a2fa73](https://github.com/ForestAdmin/agent-nodejs/commit/3a2fa738af84a50b9563db6ac039c922b77f55cc))
|
|
49
|
+
* improve relation schema creation ([#238](https://github.com/ForestAdmin/agent-nodejs/issues/238)) ([cf9bfbf](https://github.com/ForestAdmin/agent-nodejs/commit/cf9bfbf83ea27c56eadbeb87a2d16cb1b66b355e))
|
|
50
|
+
* isFilterable apimap generation ([#218](https://github.com/ForestAdmin/agent-nodejs/issues/218)) ([3e9e579](https://github.com/ForestAdmin/agent-nodejs/commit/3e9e579c3882cdcf68fa35402ba7dc09b740fa7c))
|
|
51
|
+
* mark relations as filterable when relevant ([#113](https://github.com/ForestAdmin/agent-nodejs/issues/113)) ([2d064b2](https://github.com/ForestAdmin/agent-nodejs/commit/2d064b2e8f67b2a293ccfb7dedc5e9d40f57909c))
|
|
52
|
+
* **pagination:** default page should be one ([#90](https://github.com/ForestAdmin/agent-nodejs/issues/90)) ([4284417](https://github.com/ForestAdmin/agent-nodejs/commit/428441793bd25db47108e992f1c192d5207263c7))
|
|
53
|
+
* **release:** set bump policy to override patch ([e70c03d](https://github.com/ForestAdmin/agent-nodejs/commit/e70c03df0daecbd87ebf3a120e4dcee7585a934c))
|
|
54
|
+
* renderingId is a number ([#112](https://github.com/ForestAdmin/agent-nodejs/issues/112)) ([8f0166a](https://github.com/ForestAdmin/agent-nodejs/commit/8f0166ae83d66f0999057c8938bbb0d51212bf4f))
|
|
55
|
+
* route update returns record ([#174](https://github.com/ForestAdmin/agent-nodejs/issues/174)) ([95d2349](https://github.com/ForestAdmin/agent-nodejs/commit/95d23491f31abce121b3c2e369017792ab50445d))
|
|
56
|
+
* **route-update:** build projection correctly when there are relations ([#190](https://github.com/ForestAdmin/agent-nodejs/issues/190)) ([f8b83d0](https://github.com/ForestAdmin/agent-nodejs/commit/f8b83d0ac62f8353bbafdba76ff5a4aae7556015))
|
|
57
|
+
* **search:** stop generating invalid condition trees ([#109](https://github.com/ForestAdmin/agent-nodejs/issues/109)) ([9a2bf38](https://github.com/ForestAdmin/agent-nodejs/commit/9a2bf3858b8f9309947f68ce7717c288a8072edc))
|
|
58
|
+
* **serialization:** workaround lost reference while schemas are not cached ([#82](https://github.com/ForestAdmin/agent-nodejs/issues/82)) ([87f1bc6](https://github.com/ForestAdmin/agent-nodejs/commit/87f1bc6d19c93e3d55781d79311ef412c7efcaa0))
|
|
59
|
+
* tests were not compiled ([#7](https://github.com/ForestAdmin/agent-nodejs/issues/7)) ([9f2525d](https://github.com/ForestAdmin/agent-nodejs/commit/9f2525dfe6753471b13296899038df27ca1f28be))
|
|
60
|
+
* **unpack:** throw error when the column schema has not the same type of the value ([#134](https://github.com/ForestAdmin/agent-nodejs/issues/134)) ([f6db66c](https://github.com/ForestAdmin/agent-nodejs/commit/f6db66cfc9ca45c638a1b2078bc8fb767b858048))
|
|
61
|
+
* warning at installation ([#94](https://github.com/ForestAdmin/agent-nodejs/issues/94)) ([2a79baf](https://github.com/ForestAdmin/agent-nodejs/commit/2a79baf8767ec7161478b2b3e2be42c7c969ed4b))
|
|
62
|
+
* wrong collection targeted in count-related ([#115](https://github.com/ForestAdmin/agent-nodejs/issues/115)) ([e1459f0](https://github.com/ForestAdmin/agent-nodejs/commit/e1459f0f884c2fcaff3e5b98c772de39b617734b))
|
|
63
|
+
* wrong http status in logs and add support for printing the request body ([#141](https://github.com/ForestAdmin/agent-nodejs/issues/141)) ([70fb7ee](https://github.com/ForestAdmin/agent-nodejs/commit/70fb7eecd3d1ce60a1620f653eb5453be8f73dad))
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
### Features
|
|
67
|
+
|
|
68
|
+
* add action routes and decorator ([#149](https://github.com/ForestAdmin/agent-nodejs/issues/149)) ([ebf27ff](https://github.com/ForestAdmin/agent-nodejs/commit/ebf27ffb439f5f2c983fe8873a515fe2802a9a17))
|
|
69
|
+
* add chart route ([#120](https://github.com/ForestAdmin/agent-nodejs/issues/120)) ([2310510](https://github.com/ForestAdmin/agent-nodejs/commit/2310510d545672cf18ccbe956a1d5c716b17cff7))
|
|
70
|
+
* add default and validation to agent options ([#98](https://github.com/ForestAdmin/agent-nodejs/issues/98)) ([50f7b22](https://github.com/ForestAdmin/agent-nodejs/commit/50f7b2262f3ed1d1236326f20cacf8c36fee9a56))
|
|
71
|
+
* add get one route ([#53](https://github.com/ForestAdmin/agent-nodejs/issues/53)) ([3115336](https://github.com/ForestAdmin/agent-nodejs/commit/311533674edf4e467f1da49f298fd7578b706730))
|
|
72
|
+
* add new shared utils ([#44](https://github.com/ForestAdmin/agent-nodejs/issues/44)) ([4c67f9e](https://github.com/ForestAdmin/agent-nodejs/commit/4c67f9ea8b72b5f76286ad15f31fb9b41d77b980))
|
|
73
|
+
* add record serializer ([#14](https://github.com/ForestAdmin/agent-nodejs/issues/14)) ([5ddeb30](https://github.com/ForestAdmin/agent-nodejs/commit/5ddeb306c8758d5533f406f8134b53ccd3a380b8))
|
|
74
|
+
* agent builder ([#146](https://github.com/ForestAdmin/agent-nodejs/issues/146)) ([678a8f7](https://github.com/ForestAdmin/agent-nodejs/commit/678a8f7b9b3204c811a5c1f2ee46287efdc84dd6))
|
|
75
|
+
* **agent:** handle leaderboard chart ([#142](https://github.com/ForestAdmin/agent-nodejs/issues/142)) ([e20744b](https://github.com/ForestAdmin/agent-nodejs/commit/e20744b22d00252636f04cfe70d9eb523b190b57))
|
|
76
|
+
* bootstrap agent package ([#12](https://github.com/ForestAdmin/agent-nodejs/issues/12)) ([182c858](https://github.com/ForestAdmin/agent-nodejs/commit/182c858b6d912dba37fe821cc6baaad75b80c59d))
|
|
77
|
+
* **builder:** add emulateFieldFiltering method and simplify addField ([#227](https://github.com/ForestAdmin/agent-nodejs/issues/227)) ([bbb7603](https://github.com/ForestAdmin/agent-nodejs/commit/bbb7603b3e9847e8f4e9788dca67e0a3cf2d1e83))
|
|
78
|
+
* **collections:** add list and count routes ([#42](https://github.com/ForestAdmin/agent-nodejs/issues/42)) ([5584f08](https://github.com/ForestAdmin/agent-nodejs/commit/5584f08e16d84447ba6fdeb960c9776d49424c55))
|
|
79
|
+
* **condition-tree:** implement user filters and better emulation ([#76](https://github.com/ForestAdmin/agent-nodejs/issues/76)) ([e425704](https://github.com/ForestAdmin/agent-nodejs/commit/e4257046853b2b165f4190daa0d953d7f79ed837))
|
|
80
|
+
* **decorator:** write emulate ([#157](https://github.com/ForestAdmin/agent-nodejs/issues/157)) ([6c7f5f6](https://github.com/ForestAdmin/agent-nodejs/commit/6c7f5f6daed7e9f51b3068ebca5ac49a9a6e01d8))
|
|
81
|
+
* **example,live:** update example package to use Live DataSource ([#69](https://github.com/ForestAdmin/agent-nodejs/issues/69)) ([340d2a0](https://github.com/ForestAdmin/agent-nodejs/commit/340d2a08ea945169dd8c7547a5995bb7dd531fc5))
|
|
82
|
+
* handle pagination parameters in list and count routes ([#57](https://github.com/ForestAdmin/agent-nodejs/issues/57)) ([13bddb9](https://github.com/ForestAdmin/agent-nodejs/commit/13bddb948e6fadb6c963b4834a8d12a5d92882f6))
|
|
83
|
+
* handle sort parameters in list and count routes ([#58](https://github.com/ForestAdmin/agent-nodejs/issues/58)) ([c17744b](https://github.com/ForestAdmin/agent-nodejs/commit/c17744b52f98262014f025e26119167123684d3d))
|
|
84
|
+
* highlight search values ([#240](https://github.com/ForestAdmin/agent-nodejs/issues/240)) ([40d05a9](https://github.com/ForestAdmin/agent-nodejs/commit/40d05a9b556df27aed8b5a06f637545e775bb4aa))
|
|
85
|
+
* implement relations using any unique key ([#159](https://github.com/ForestAdmin/agent-nodejs/issues/159)) ([b6be495](https://github.com/ForestAdmin/agent-nodejs/commit/b6be495d93ae03a67c6dc9b4ffbb0ae9f4cbc0bc))
|
|
86
|
+
* implement roles restrictions ([#135](https://github.com/ForestAdmin/agent-nodejs/issues/135)) ([62f4328](https://github.com/ForestAdmin/agent-nodejs/commit/62f4328e8bfbc01ff6bd908c2164ec69f9c2da5d))
|
|
87
|
+
* implement schema conversion ([#16](https://github.com/ForestAdmin/agent-nodejs/issues/16)) ([d641263](https://github.com/ForestAdmin/agent-nodejs/commit/d6412636950370a4189a746888dca0b02247df3a))
|
|
88
|
+
* implement schema sender ([#36](https://github.com/ForestAdmin/agent-nodejs/issues/36)) ([89a7203](https://github.com/ForestAdmin/agent-nodejs/commit/89a72032a11c74cd41566862ac6d971003db0fd0))
|
|
89
|
+
* implement scopes ([#114](https://github.com/ForestAdmin/agent-nodejs/issues/114)) ([39f7748](https://github.com/ForestAdmin/agent-nodejs/commit/39f77485c436b9c083984a73aa3330b698f33380))
|
|
90
|
+
* parse query params for list and count services ([#51](https://github.com/ForestAdmin/agent-nodejs/issues/51)) ([a72b8a3](https://github.com/ForestAdmin/agent-nodejs/commit/a72b8a3eb831f9ac21161000c3a40d744198d42d))
|
|
91
|
+
* remove toolkit from customer code ([#229](https://github.com/ForestAdmin/agent-nodejs/issues/229)) ([1421c6d](https://github.com/ForestAdmin/agent-nodejs/commit/1421c6d8798ff92aada3fbfdfa2c95ee2429714b))
|
|
92
|
+
* **route:** add count-related route ([#87](https://github.com/ForestAdmin/agent-nodejs/issues/87)) ([4dfedea](https://github.com/ForestAdmin/agent-nodejs/commit/4dfedeadf8e19fb10466d42bb6d270a3745717d5))
|
|
93
|
+
* **route:** add create route ([#56](https://github.com/ForestAdmin/agent-nodejs/issues/56)) ([23c6639](https://github.com/ForestAdmin/agent-nodejs/commit/23c66397016c61f8487ac17d95d3eaf2c235afa4))
|
|
94
|
+
* **route:** add csv list and related routes ([#152](https://github.com/ForestAdmin/agent-nodejs/issues/152)) ([7c30a3c](https://github.com/ForestAdmin/agent-nodejs/commit/7c30a3c534d25184a6f897aab51434d0b93bbccb))
|
|
95
|
+
* **route:** add delete and dissociate routes ([#138](https://github.com/ForestAdmin/agent-nodejs/issues/138)) ([f228aac](https://github.com/ForestAdmin/agent-nodejs/commit/f228aaca0db144abd1d4fc952b8f215b96e29b3b))
|
|
96
|
+
* **route:** add list-related route ([#116](https://github.com/ForestAdmin/agent-nodejs/issues/116)) ([758abcd](https://github.com/ForestAdmin/agent-nodejs/commit/758abcdb7c6446b007c641e0f0f908d747162115))
|
|
97
|
+
* **route:** implement all the delete routes ([#59](https://github.com/ForestAdmin/agent-nodejs/issues/59)) ([0a46f10](https://github.com/ForestAdmin/agent-nodejs/commit/0a46f10badc3e5c33b85242377afb7f54bdf8365))
|
|
98
|
+
* **route:** implement update route ([#65](https://github.com/ForestAdmin/agent-nodejs/issues/65)) ([2aac22a](https://github.com/ForestAdmin/agent-nodejs/commit/2aac22a0b0706cb364fc8e79b3e9451b9800e137))
|
|
99
|
+
* **route:** link record from 'toMany' association ([#230](https://github.com/ForestAdmin/agent-nodejs/issues/230)) ([8900cbd](https://github.com/ForestAdmin/agent-nodejs/commit/8900cbda88afdd73b19a8e136cd964af671650bb))
|
|
100
|
+
* **route:** register the update related route ([#145](https://github.com/ForestAdmin/agent-nodejs/issues/145)) ([95ed908](https://github.com/ForestAdmin/agent-nodejs/commit/95ed908c47cf852cf891bd62eee5d72692e19005))
|
|
101
|
+
* **security:** handle oidc authentication ([#23](https://github.com/ForestAdmin/agent-nodejs/issues/23)) ([17cd48e](https://github.com/ForestAdmin/agent-nodejs/commit/17cd48eb583763975a99835ef74438f7908923ca))
|
|
102
|
+
* **whitelist:** add the whitelist route ([#30](https://github.com/ForestAdmin/agent-nodejs/issues/30)) ([3436d29](https://github.com/ForestAdmin/agent-nodejs/commit/3436d293338222f4b7585983a7edf40440709f1b))
|
|
103
|
+
|
|
104
|
+
# @forestadmin/agent 1.0.0-beta.1 (2022-04-15)
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
### Bug Fixes
|
|
108
|
+
|
|
109
|
+
* action "select all + apply" are applied only on the related data ([#209](https://github.com/ForestAdmin/agent-nodejs/issues/209)) ([974054c](https://github.com/ForestAdmin/agent-nodejs/commit/974054c431700c98a73177dfe5cbd0d1bf564e9c))
|
|
110
|
+
* actions & delete ignored filters, search and segment ([#172](https://github.com/ForestAdmin/agent-nodejs/issues/172)) ([c0877a2](https://github.com/ForestAdmin/agent-nodejs/commit/c0877a26ad8b63721184f5fbe33922d30637d59c))
|
|
111
|
+
* actions needs an id to serialize properly ([#136](https://github.com/ForestAdmin/agent-nodejs/issues/136)) ([6da7fb2](https://github.com/ForestAdmin/agent-nodejs/commit/6da7fb26fe3913a95237ec3c4b8bcaaab8796d9f))
|
|
112
|
+
* add error message inside logger ([#143](https://github.com/ForestAdmin/agent-nodejs/issues/143)) ([54492e8](https://github.com/ForestAdmin/agent-nodejs/commit/54492e8beb7d748e9689ac6746f26be45474b7f5))
|
|
113
|
+
* **agent:** ignore nulls when striping undefined values in serializer ([#68](https://github.com/ForestAdmin/agent-nodejs/issues/68)) ([8fc4828](https://github.com/ForestAdmin/agent-nodejs/commit/8fc4828f70d2739f080e8f2a1e8db10ec9ff7b3e))
|
|
114
|
+
* **agent:** properly handle missing pagination values ([#61](https://github.com/ForestAdmin/agent-nodejs/issues/61)) ([cd9b6ca](https://github.com/ForestAdmin/agent-nodejs/commit/cd9b6caa18ce2bf800194836b46eb0e8b647355e))
|
|
115
|
+
* bugs in count and delete ([#93](https://github.com/ForestAdmin/agent-nodejs/issues/93)) ([f806fa2](https://github.com/ForestAdmin/agent-nodejs/commit/f806fa270d26933ac45c90f6da07f4f9e7f85a90))
|
|
116
|
+
* chaining methods on the collection builder ([#199](https://github.com/ForestAdmin/agent-nodejs/issues/199)) ([d9042a1](https://github.com/ForestAdmin/agent-nodejs/commit/d9042a161bc67c2d43debe4a58369d1b1dbf7ba3))
|
|
117
|
+
* **charts:** permission issue when aggregating by a relation ([#150](https://github.com/ForestAdmin/agent-nodejs/issues/150)) ([9ffec08](https://github.com/ForestAdmin/agent-nodejs/commit/9ffec0838d60d47969566853d4d04b038ae91fbd))
|
|
118
|
+
* creation of record with relationship ([#148](https://github.com/ForestAdmin/agent-nodejs/issues/148)) ([fae54a9](https://github.com/ForestAdmin/agent-nodejs/commit/fae54a960267c04810f6a1eff72f9ee999cd26d4))
|
|
119
|
+
* **datasource:** properly set column FilterOperator values ([#117](https://github.com/ForestAdmin/agent-nodejs/issues/117)) ([92174a5](https://github.com/ForestAdmin/agent-nodejs/commit/92174a5f9016e8e54bed854979b0d7c408f11cae))
|
|
120
|
+
* decorator ordering in builder ([#216](https://github.com/ForestAdmin/agent-nodejs/issues/216)) ([31843f9](https://github.com/ForestAdmin/agent-nodejs/commit/31843f9ce3e50d3cff2a3e8a72adc1bbc3f810f8))
|
|
121
|
+
* enable npm, git and github distribution ([bd91825](https://github.com/ForestAdmin/agent-nodejs/commit/bd91825f4d185874a259da28b0f7a6c7f557196d))
|
|
122
|
+
* fail to update records from collection with relations ([#95](https://github.com/ForestAdmin/agent-nodejs/issues/95)) ([5643d2a](https://github.com/ForestAdmin/agent-nodejs/commit/5643d2a021e3ef6571a446ad27522741244d4d6e))
|
|
123
|
+
* fix one to one relation creation ([#231](https://github.com/ForestAdmin/agent-nodejs/issues/231)) ([2b21bb9](https://github.com/ForestAdmin/agent-nodejs/commit/2b21bb9cf9afd71b54a7645316edbac1a8af6ab3))
|
|
124
|
+
* fix semantic release ([3a2fa73](https://github.com/ForestAdmin/agent-nodejs/commit/3a2fa738af84a50b9563db6ac039c922b77f55cc))
|
|
125
|
+
* improve relation schema creation ([#238](https://github.com/ForestAdmin/agent-nodejs/issues/238)) ([cf9bfbf](https://github.com/ForestAdmin/agent-nodejs/commit/cf9bfbf83ea27c56eadbeb87a2d16cb1b66b355e))
|
|
126
|
+
* isFilterable apimap generation ([#218](https://github.com/ForestAdmin/agent-nodejs/issues/218)) ([3e9e579](https://github.com/ForestAdmin/agent-nodejs/commit/3e9e579c3882cdcf68fa35402ba7dc09b740fa7c))
|
|
127
|
+
* mark relations as filterable when relevant ([#113](https://github.com/ForestAdmin/agent-nodejs/issues/113)) ([2d064b2](https://github.com/ForestAdmin/agent-nodejs/commit/2d064b2e8f67b2a293ccfb7dedc5e9d40f57909c))
|
|
128
|
+
* **pagination:** default page should be one ([#90](https://github.com/ForestAdmin/agent-nodejs/issues/90)) ([4284417](https://github.com/ForestAdmin/agent-nodejs/commit/428441793bd25db47108e992f1c192d5207263c7))
|
|
129
|
+
* **release:** set bump policy to override patch ([e70c03d](https://github.com/ForestAdmin/agent-nodejs/commit/e70c03df0daecbd87ebf3a120e4dcee7585a934c))
|
|
130
|
+
* renderingId is a number ([#112](https://github.com/ForestAdmin/agent-nodejs/issues/112)) ([8f0166a](https://github.com/ForestAdmin/agent-nodejs/commit/8f0166ae83d66f0999057c8938bbb0d51212bf4f))
|
|
131
|
+
* route update returns record ([#174](https://github.com/ForestAdmin/agent-nodejs/issues/174)) ([95d2349](https://github.com/ForestAdmin/agent-nodejs/commit/95d23491f31abce121b3c2e369017792ab50445d))
|
|
132
|
+
* **route-update:** build projection correctly when there are relations ([#190](https://github.com/ForestAdmin/agent-nodejs/issues/190)) ([f8b83d0](https://github.com/ForestAdmin/agent-nodejs/commit/f8b83d0ac62f8353bbafdba76ff5a4aae7556015))
|
|
133
|
+
* **search:** stop generating invalid condition trees ([#109](https://github.com/ForestAdmin/agent-nodejs/issues/109)) ([9a2bf38](https://github.com/ForestAdmin/agent-nodejs/commit/9a2bf3858b8f9309947f68ce7717c288a8072edc))
|
|
134
|
+
* **serialization:** workaround lost reference while schemas are not cached ([#82](https://github.com/ForestAdmin/agent-nodejs/issues/82)) ([87f1bc6](https://github.com/ForestAdmin/agent-nodejs/commit/87f1bc6d19c93e3d55781d79311ef412c7efcaa0))
|
|
135
|
+
* tests were not compiled ([#7](https://github.com/ForestAdmin/agent-nodejs/issues/7)) ([9f2525d](https://github.com/ForestAdmin/agent-nodejs/commit/9f2525dfe6753471b13296899038df27ca1f28be))
|
|
136
|
+
* **unpack:** throw error when the column schema has not the same type of the value ([#134](https://github.com/ForestAdmin/agent-nodejs/issues/134)) ([f6db66c](https://github.com/ForestAdmin/agent-nodejs/commit/f6db66cfc9ca45c638a1b2078bc8fb767b858048))
|
|
137
|
+
* warning at installation ([#94](https://github.com/ForestAdmin/agent-nodejs/issues/94)) ([2a79baf](https://github.com/ForestAdmin/agent-nodejs/commit/2a79baf8767ec7161478b2b3e2be42c7c969ed4b))
|
|
138
|
+
* wrong collection targeted in count-related ([#115](https://github.com/ForestAdmin/agent-nodejs/issues/115)) ([e1459f0](https://github.com/ForestAdmin/agent-nodejs/commit/e1459f0f884c2fcaff3e5b98c772de39b617734b))
|
|
139
|
+
* wrong http status in logs and add support for printing the request body ([#141](https://github.com/ForestAdmin/agent-nodejs/issues/141)) ([70fb7ee](https://github.com/ForestAdmin/agent-nodejs/commit/70fb7eecd3d1ce60a1620f653eb5453be8f73dad))
|
|
140
|
+
|
|
141
|
+
|
|
142
|
+
### Features
|
|
143
|
+
|
|
144
|
+
* add action routes and decorator ([#149](https://github.com/ForestAdmin/agent-nodejs/issues/149)) ([ebf27ff](https://github.com/ForestAdmin/agent-nodejs/commit/ebf27ffb439f5f2c983fe8873a515fe2802a9a17))
|
|
145
|
+
* add chart route ([#120](https://github.com/ForestAdmin/agent-nodejs/issues/120)) ([2310510](https://github.com/ForestAdmin/agent-nodejs/commit/2310510d545672cf18ccbe956a1d5c716b17cff7))
|
|
146
|
+
* add default and validation to agent options ([#98](https://github.com/ForestAdmin/agent-nodejs/issues/98)) ([50f7b22](https://github.com/ForestAdmin/agent-nodejs/commit/50f7b2262f3ed1d1236326f20cacf8c36fee9a56))
|
|
147
|
+
* add get one route ([#53](https://github.com/ForestAdmin/agent-nodejs/issues/53)) ([3115336](https://github.com/ForestAdmin/agent-nodejs/commit/311533674edf4e467f1da49f298fd7578b706730))
|
|
148
|
+
* add new shared utils ([#44](https://github.com/ForestAdmin/agent-nodejs/issues/44)) ([4c67f9e](https://github.com/ForestAdmin/agent-nodejs/commit/4c67f9ea8b72b5f76286ad15f31fb9b41d77b980))
|
|
149
|
+
* add record serializer ([#14](https://github.com/ForestAdmin/agent-nodejs/issues/14)) ([5ddeb30](https://github.com/ForestAdmin/agent-nodejs/commit/5ddeb306c8758d5533f406f8134b53ccd3a380b8))
|
|
150
|
+
* agent builder ([#146](https://github.com/ForestAdmin/agent-nodejs/issues/146)) ([678a8f7](https://github.com/ForestAdmin/agent-nodejs/commit/678a8f7b9b3204c811a5c1f2ee46287efdc84dd6))
|
|
151
|
+
* **agent:** handle leaderboard chart ([#142](https://github.com/ForestAdmin/agent-nodejs/issues/142)) ([e20744b](https://github.com/ForestAdmin/agent-nodejs/commit/e20744b22d00252636f04cfe70d9eb523b190b57))
|
|
152
|
+
* bootstrap agent package ([#12](https://github.com/ForestAdmin/agent-nodejs/issues/12)) ([182c858](https://github.com/ForestAdmin/agent-nodejs/commit/182c858b6d912dba37fe821cc6baaad75b80c59d))
|
|
153
|
+
* **builder:** add emulateFieldFiltering method and simplify addField ([#227](https://github.com/ForestAdmin/agent-nodejs/issues/227)) ([bbb7603](https://github.com/ForestAdmin/agent-nodejs/commit/bbb7603b3e9847e8f4e9788dca67e0a3cf2d1e83))
|
|
154
|
+
* **collections:** add list and count routes ([#42](https://github.com/ForestAdmin/agent-nodejs/issues/42)) ([5584f08](https://github.com/ForestAdmin/agent-nodejs/commit/5584f08e16d84447ba6fdeb960c9776d49424c55))
|
|
155
|
+
* **condition-tree:** implement user filters and better emulation ([#76](https://github.com/ForestAdmin/agent-nodejs/issues/76)) ([e425704](https://github.com/ForestAdmin/agent-nodejs/commit/e4257046853b2b165f4190daa0d953d7f79ed837))
|
|
156
|
+
* **decorator:** write emulate ([#157](https://github.com/ForestAdmin/agent-nodejs/issues/157)) ([6c7f5f6](https://github.com/ForestAdmin/agent-nodejs/commit/6c7f5f6daed7e9f51b3068ebca5ac49a9a6e01d8))
|
|
157
|
+
* **example,live:** update example package to use Live DataSource ([#69](https://github.com/ForestAdmin/agent-nodejs/issues/69)) ([340d2a0](https://github.com/ForestAdmin/agent-nodejs/commit/340d2a08ea945169dd8c7547a5995bb7dd531fc5))
|
|
158
|
+
* handle pagination parameters in list and count routes ([#57](https://github.com/ForestAdmin/agent-nodejs/issues/57)) ([13bddb9](https://github.com/ForestAdmin/agent-nodejs/commit/13bddb948e6fadb6c963b4834a8d12a5d92882f6))
|
|
159
|
+
* handle sort parameters in list and count routes ([#58](https://github.com/ForestAdmin/agent-nodejs/issues/58)) ([c17744b](https://github.com/ForestAdmin/agent-nodejs/commit/c17744b52f98262014f025e26119167123684d3d))
|
|
160
|
+
* highlight search values ([#240](https://github.com/ForestAdmin/agent-nodejs/issues/240)) ([40d05a9](https://github.com/ForestAdmin/agent-nodejs/commit/40d05a9b556df27aed8b5a06f637545e775bb4aa))
|
|
161
|
+
* implement relations using any unique key ([#159](https://github.com/ForestAdmin/agent-nodejs/issues/159)) ([b6be495](https://github.com/ForestAdmin/agent-nodejs/commit/b6be495d93ae03a67c6dc9b4ffbb0ae9f4cbc0bc))
|
|
162
|
+
* implement roles restrictions ([#135](https://github.com/ForestAdmin/agent-nodejs/issues/135)) ([62f4328](https://github.com/ForestAdmin/agent-nodejs/commit/62f4328e8bfbc01ff6bd908c2164ec69f9c2da5d))
|
|
163
|
+
* implement schema conversion ([#16](https://github.com/ForestAdmin/agent-nodejs/issues/16)) ([d641263](https://github.com/ForestAdmin/agent-nodejs/commit/d6412636950370a4189a746888dca0b02247df3a))
|
|
164
|
+
* implement schema sender ([#36](https://github.com/ForestAdmin/agent-nodejs/issues/36)) ([89a7203](https://github.com/ForestAdmin/agent-nodejs/commit/89a72032a11c74cd41566862ac6d971003db0fd0))
|
|
165
|
+
* implement scopes ([#114](https://github.com/ForestAdmin/agent-nodejs/issues/114)) ([39f7748](https://github.com/ForestAdmin/agent-nodejs/commit/39f77485c436b9c083984a73aa3330b698f33380))
|
|
166
|
+
* parse query params for list and count services ([#51](https://github.com/ForestAdmin/agent-nodejs/issues/51)) ([a72b8a3](https://github.com/ForestAdmin/agent-nodejs/commit/a72b8a3eb831f9ac21161000c3a40d744198d42d))
|
|
167
|
+
* remove toolkit from customer code ([#229](https://github.com/ForestAdmin/agent-nodejs/issues/229)) ([1421c6d](https://github.com/ForestAdmin/agent-nodejs/commit/1421c6d8798ff92aada3fbfdfa2c95ee2429714b))
|
|
168
|
+
* **route:** add count-related route ([#87](https://github.com/ForestAdmin/agent-nodejs/issues/87)) ([4dfedea](https://github.com/ForestAdmin/agent-nodejs/commit/4dfedeadf8e19fb10466d42bb6d270a3745717d5))
|
|
169
|
+
* **route:** add create route ([#56](https://github.com/ForestAdmin/agent-nodejs/issues/56)) ([23c6639](https://github.com/ForestAdmin/agent-nodejs/commit/23c66397016c61f8487ac17d95d3eaf2c235afa4))
|
|
170
|
+
* **route:** add csv list and related routes ([#152](https://github.com/ForestAdmin/agent-nodejs/issues/152)) ([7c30a3c](https://github.com/ForestAdmin/agent-nodejs/commit/7c30a3c534d25184a6f897aab51434d0b93bbccb))
|
|
171
|
+
* **route:** add delete and dissociate routes ([#138](https://github.com/ForestAdmin/agent-nodejs/issues/138)) ([f228aac](https://github.com/ForestAdmin/agent-nodejs/commit/f228aaca0db144abd1d4fc952b8f215b96e29b3b))
|
|
172
|
+
* **route:** add list-related route ([#116](https://github.com/ForestAdmin/agent-nodejs/issues/116)) ([758abcd](https://github.com/ForestAdmin/agent-nodejs/commit/758abcdb7c6446b007c641e0f0f908d747162115))
|
|
173
|
+
* **route:** implement all the delete routes ([#59](https://github.com/ForestAdmin/agent-nodejs/issues/59)) ([0a46f10](https://github.com/ForestAdmin/agent-nodejs/commit/0a46f10badc3e5c33b85242377afb7f54bdf8365))
|
|
174
|
+
* **route:** implement update route ([#65](https://github.com/ForestAdmin/agent-nodejs/issues/65)) ([2aac22a](https://github.com/ForestAdmin/agent-nodejs/commit/2aac22a0b0706cb364fc8e79b3e9451b9800e137))
|
|
175
|
+
* **route:** link record from 'toMany' association ([#230](https://github.com/ForestAdmin/agent-nodejs/issues/230)) ([8900cbd](https://github.com/ForestAdmin/agent-nodejs/commit/8900cbda88afdd73b19a8e136cd964af671650bb))
|
|
176
|
+
* **route:** register the update related route ([#145](https://github.com/ForestAdmin/agent-nodejs/issues/145)) ([95ed908](https://github.com/ForestAdmin/agent-nodejs/commit/95ed908c47cf852cf891bd62eee5d72692e19005))
|
|
177
|
+
* **security:** handle oidc authentication ([#23](https://github.com/ForestAdmin/agent-nodejs/issues/23)) ([17cd48e](https://github.com/ForestAdmin/agent-nodejs/commit/17cd48eb583763975a99835ef74438f7908923ca))
|
|
178
|
+
* **whitelist:** add the whitelist route ([#30](https://github.com/ForestAdmin/agent-nodejs/issues/30)) ([3436d29](https://github.com/ForestAdmin/agent-nodejs/commit/3436d293338222f4b7585983a7edf40440709f1b))
|
|
179
|
+
|
|
180
|
+
# @forestadmin/agent 1.0.0-beta.1 (2022-04-15)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
### Bug Fixes
|
|
184
|
+
|
|
185
|
+
* action "select all + apply" are applied only on the related data ([#209](https://github.com/ForestAdmin/agent-nodejs/issues/209)) ([974054c](https://github.com/ForestAdmin/agent-nodejs/commit/974054c431700c98a73177dfe5cbd0d1bf564e9c))
|
|
186
|
+
* actions & delete ignored filters, search and segment ([#172](https://github.com/ForestAdmin/agent-nodejs/issues/172)) ([c0877a2](https://github.com/ForestAdmin/agent-nodejs/commit/c0877a26ad8b63721184f5fbe33922d30637d59c))
|
|
187
|
+
* actions needs an id to serialize properly ([#136](https://github.com/ForestAdmin/agent-nodejs/issues/136)) ([6da7fb2](https://github.com/ForestAdmin/agent-nodejs/commit/6da7fb26fe3913a95237ec3c4b8bcaaab8796d9f))
|
|
188
|
+
* add error message inside logger ([#143](https://github.com/ForestAdmin/agent-nodejs/issues/143)) ([54492e8](https://github.com/ForestAdmin/agent-nodejs/commit/54492e8beb7d748e9689ac6746f26be45474b7f5))
|
|
189
|
+
* **agent:** ignore nulls when striping undefined values in serializer ([#68](https://github.com/ForestAdmin/agent-nodejs/issues/68)) ([8fc4828](https://github.com/ForestAdmin/agent-nodejs/commit/8fc4828f70d2739f080e8f2a1e8db10ec9ff7b3e))
|
|
190
|
+
* **agent:** properly handle missing pagination values ([#61](https://github.com/ForestAdmin/agent-nodejs/issues/61)) ([cd9b6ca](https://github.com/ForestAdmin/agent-nodejs/commit/cd9b6caa18ce2bf800194836b46eb0e8b647355e))
|
|
191
|
+
* bugs in count and delete ([#93](https://github.com/ForestAdmin/agent-nodejs/issues/93)) ([f806fa2](https://github.com/ForestAdmin/agent-nodejs/commit/f806fa270d26933ac45c90f6da07f4f9e7f85a90))
|
|
192
|
+
* chaining methods on the collection builder ([#199](https://github.com/ForestAdmin/agent-nodejs/issues/199)) ([d9042a1](https://github.com/ForestAdmin/agent-nodejs/commit/d9042a161bc67c2d43debe4a58369d1b1dbf7ba3))
|
|
193
|
+
* **charts:** permission issue when aggregating by a relation ([#150](https://github.com/ForestAdmin/agent-nodejs/issues/150)) ([9ffec08](https://github.com/ForestAdmin/agent-nodejs/commit/9ffec0838d60d47969566853d4d04b038ae91fbd))
|
|
194
|
+
* creation of record with relationship ([#148](https://github.com/ForestAdmin/agent-nodejs/issues/148)) ([fae54a9](https://github.com/ForestAdmin/agent-nodejs/commit/fae54a960267c04810f6a1eff72f9ee999cd26d4))
|
|
195
|
+
* **datasource:** properly set column FilterOperator values ([#117](https://github.com/ForestAdmin/agent-nodejs/issues/117)) ([92174a5](https://github.com/ForestAdmin/agent-nodejs/commit/92174a5f9016e8e54bed854979b0d7c408f11cae))
|
|
196
|
+
* decorator ordering in builder ([#216](https://github.com/ForestAdmin/agent-nodejs/issues/216)) ([31843f9](https://github.com/ForestAdmin/agent-nodejs/commit/31843f9ce3e50d3cff2a3e8a72adc1bbc3f810f8))
|
|
197
|
+
* enable npm, git and github distribution ([bd91825](https://github.com/ForestAdmin/agent-nodejs/commit/bd91825f4d185874a259da28b0f7a6c7f557196d))
|
|
198
|
+
* fail to update records from collection with relations ([#95](https://github.com/ForestAdmin/agent-nodejs/issues/95)) ([5643d2a](https://github.com/ForestAdmin/agent-nodejs/commit/5643d2a021e3ef6571a446ad27522741244d4d6e))
|
|
199
|
+
* fix one to one relation creation ([#231](https://github.com/ForestAdmin/agent-nodejs/issues/231)) ([2b21bb9](https://github.com/ForestAdmin/agent-nodejs/commit/2b21bb9cf9afd71b54a7645316edbac1a8af6ab3))
|
|
200
|
+
* fix semantic release ([3a2fa73](https://github.com/ForestAdmin/agent-nodejs/commit/3a2fa738af84a50b9563db6ac039c922b77f55cc))
|
|
201
|
+
* improve relation schema creation ([#238](https://github.com/ForestAdmin/agent-nodejs/issues/238)) ([cf9bfbf](https://github.com/ForestAdmin/agent-nodejs/commit/cf9bfbf83ea27c56eadbeb87a2d16cb1b66b355e))
|
|
202
|
+
* isFilterable apimap generation ([#218](https://github.com/ForestAdmin/agent-nodejs/issues/218)) ([3e9e579](https://github.com/ForestAdmin/agent-nodejs/commit/3e9e579c3882cdcf68fa35402ba7dc09b740fa7c))
|
|
203
|
+
* mark relations as filterable when relevant ([#113](https://github.com/ForestAdmin/agent-nodejs/issues/113)) ([2d064b2](https://github.com/ForestAdmin/agent-nodejs/commit/2d064b2e8f67b2a293ccfb7dedc5e9d40f57909c))
|
|
204
|
+
* **pagination:** default page should be one ([#90](https://github.com/ForestAdmin/agent-nodejs/issues/90)) ([4284417](https://github.com/ForestAdmin/agent-nodejs/commit/428441793bd25db47108e992f1c192d5207263c7))
|
|
205
|
+
* **release:** set bump policy to override patch ([e70c03d](https://github.com/ForestAdmin/agent-nodejs/commit/e70c03df0daecbd87ebf3a120e4dcee7585a934c))
|
|
206
|
+
* renderingId is a number ([#112](https://github.com/ForestAdmin/agent-nodejs/issues/112)) ([8f0166a](https://github.com/ForestAdmin/agent-nodejs/commit/8f0166ae83d66f0999057c8938bbb0d51212bf4f))
|
|
207
|
+
* route update returns record ([#174](https://github.com/ForestAdmin/agent-nodejs/issues/174)) ([95d2349](https://github.com/ForestAdmin/agent-nodejs/commit/95d23491f31abce121b3c2e369017792ab50445d))
|
|
208
|
+
* **route-update:** build projection correctly when there are relations ([#190](https://github.com/ForestAdmin/agent-nodejs/issues/190)) ([f8b83d0](https://github.com/ForestAdmin/agent-nodejs/commit/f8b83d0ac62f8353bbafdba76ff5a4aae7556015))
|
|
209
|
+
* **search:** stop generating invalid condition trees ([#109](https://github.com/ForestAdmin/agent-nodejs/issues/109)) ([9a2bf38](https://github.com/ForestAdmin/agent-nodejs/commit/9a2bf3858b8f9309947f68ce7717c288a8072edc))
|
|
210
|
+
* **serialization:** workaround lost reference while schemas are not cached ([#82](https://github.com/ForestAdmin/agent-nodejs/issues/82)) ([87f1bc6](https://github.com/ForestAdmin/agent-nodejs/commit/87f1bc6d19c93e3d55781d79311ef412c7efcaa0))
|
|
211
|
+
* tests were not compiled ([#7](https://github.com/ForestAdmin/agent-nodejs/issues/7)) ([9f2525d](https://github.com/ForestAdmin/agent-nodejs/commit/9f2525dfe6753471b13296899038df27ca1f28be))
|
|
212
|
+
* **unpack:** throw error when the column schema has not the same type of the value ([#134](https://github.com/ForestAdmin/agent-nodejs/issues/134)) ([f6db66c](https://github.com/ForestAdmin/agent-nodejs/commit/f6db66cfc9ca45c638a1b2078bc8fb767b858048))
|
|
213
|
+
* warning at installation ([#94](https://github.com/ForestAdmin/agent-nodejs/issues/94)) ([2a79baf](https://github.com/ForestAdmin/agent-nodejs/commit/2a79baf8767ec7161478b2b3e2be42c7c969ed4b))
|
|
214
|
+
* wrong collection targeted in count-related ([#115](https://github.com/ForestAdmin/agent-nodejs/issues/115)) ([e1459f0](https://github.com/ForestAdmin/agent-nodejs/commit/e1459f0f884c2fcaff3e5b98c772de39b617734b))
|
|
215
|
+
* wrong http status in logs and add support for printing the request body ([#141](https://github.com/ForestAdmin/agent-nodejs/issues/141)) ([70fb7ee](https://github.com/ForestAdmin/agent-nodejs/commit/70fb7eecd3d1ce60a1620f653eb5453be8f73dad))
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
### Features
|
|
219
|
+
|
|
220
|
+
* add action routes and decorator ([#149](https://github.com/ForestAdmin/agent-nodejs/issues/149)) ([ebf27ff](https://github.com/ForestAdmin/agent-nodejs/commit/ebf27ffb439f5f2c983fe8873a515fe2802a9a17))
|
|
221
|
+
* add chart route ([#120](https://github.com/ForestAdmin/agent-nodejs/issues/120)) ([2310510](https://github.com/ForestAdmin/agent-nodejs/commit/2310510d545672cf18ccbe956a1d5c716b17cff7))
|
|
222
|
+
* add default and validation to agent options ([#98](https://github.com/ForestAdmin/agent-nodejs/issues/98)) ([50f7b22](https://github.com/ForestAdmin/agent-nodejs/commit/50f7b2262f3ed1d1236326f20cacf8c36fee9a56))
|
|
223
|
+
* add get one route ([#53](https://github.com/ForestAdmin/agent-nodejs/issues/53)) ([3115336](https://github.com/ForestAdmin/agent-nodejs/commit/311533674edf4e467f1da49f298fd7578b706730))
|
|
224
|
+
* add new shared utils ([#44](https://github.com/ForestAdmin/agent-nodejs/issues/44)) ([4c67f9e](https://github.com/ForestAdmin/agent-nodejs/commit/4c67f9ea8b72b5f76286ad15f31fb9b41d77b980))
|
|
225
|
+
* add record serializer ([#14](https://github.com/ForestAdmin/agent-nodejs/issues/14)) ([5ddeb30](https://github.com/ForestAdmin/agent-nodejs/commit/5ddeb306c8758d5533f406f8134b53ccd3a380b8))
|
|
226
|
+
* agent builder ([#146](https://github.com/ForestAdmin/agent-nodejs/issues/146)) ([678a8f7](https://github.com/ForestAdmin/agent-nodejs/commit/678a8f7b9b3204c811a5c1f2ee46287efdc84dd6))
|
|
227
|
+
* **agent:** handle leaderboard chart ([#142](https://github.com/ForestAdmin/agent-nodejs/issues/142)) ([e20744b](https://github.com/ForestAdmin/agent-nodejs/commit/e20744b22d00252636f04cfe70d9eb523b190b57))
|
|
228
|
+
* bootstrap agent package ([#12](https://github.com/ForestAdmin/agent-nodejs/issues/12)) ([182c858](https://github.com/ForestAdmin/agent-nodejs/commit/182c858b6d912dba37fe821cc6baaad75b80c59d))
|
|
229
|
+
* **builder:** add emulateFieldFiltering method and simplify addField ([#227](https://github.com/ForestAdmin/agent-nodejs/issues/227)) ([bbb7603](https://github.com/ForestAdmin/agent-nodejs/commit/bbb7603b3e9847e8f4e9788dca67e0a3cf2d1e83))
|
|
230
|
+
* **collections:** add list and count routes ([#42](https://github.com/ForestAdmin/agent-nodejs/issues/42)) ([5584f08](https://github.com/ForestAdmin/agent-nodejs/commit/5584f08e16d84447ba6fdeb960c9776d49424c55))
|
|
231
|
+
* **condition-tree:** implement user filters and better emulation ([#76](https://github.com/ForestAdmin/agent-nodejs/issues/76)) ([e425704](https://github.com/ForestAdmin/agent-nodejs/commit/e4257046853b2b165f4190daa0d953d7f79ed837))
|
|
232
|
+
* **decorator:** write emulate ([#157](https://github.com/ForestAdmin/agent-nodejs/issues/157)) ([6c7f5f6](https://github.com/ForestAdmin/agent-nodejs/commit/6c7f5f6daed7e9f51b3068ebca5ac49a9a6e01d8))
|
|
233
|
+
* **example,live:** update example package to use Live DataSource ([#69](https://github.com/ForestAdmin/agent-nodejs/issues/69)) ([340d2a0](https://github.com/ForestAdmin/agent-nodejs/commit/340d2a08ea945169dd8c7547a5995bb7dd531fc5))
|
|
234
|
+
* handle pagination parameters in list and count routes ([#57](https://github.com/ForestAdmin/agent-nodejs/issues/57)) ([13bddb9](https://github.com/ForestAdmin/agent-nodejs/commit/13bddb948e6fadb6c963b4834a8d12a5d92882f6))
|
|
235
|
+
* handle sort parameters in list and count routes ([#58](https://github.com/ForestAdmin/agent-nodejs/issues/58)) ([c17744b](https://github.com/ForestAdmin/agent-nodejs/commit/c17744b52f98262014f025e26119167123684d3d))
|
|
236
|
+
* highlight search values ([#240](https://github.com/ForestAdmin/agent-nodejs/issues/240)) ([40d05a9](https://github.com/ForestAdmin/agent-nodejs/commit/40d05a9b556df27aed8b5a06f637545e775bb4aa))
|
|
237
|
+
* implement relations using any unique key ([#159](https://github.com/ForestAdmin/agent-nodejs/issues/159)) ([b6be495](https://github.com/ForestAdmin/agent-nodejs/commit/b6be495d93ae03a67c6dc9b4ffbb0ae9f4cbc0bc))
|
|
238
|
+
* implement roles restrictions ([#135](https://github.com/ForestAdmin/agent-nodejs/issues/135)) ([62f4328](https://github.com/ForestAdmin/agent-nodejs/commit/62f4328e8bfbc01ff6bd908c2164ec69f9c2da5d))
|
|
239
|
+
* implement schema conversion ([#16](https://github.com/ForestAdmin/agent-nodejs/issues/16)) ([d641263](https://github.com/ForestAdmin/agent-nodejs/commit/d6412636950370a4189a746888dca0b02247df3a))
|
|
240
|
+
* implement schema sender ([#36](https://github.com/ForestAdmin/agent-nodejs/issues/36)) ([89a7203](https://github.com/ForestAdmin/agent-nodejs/commit/89a72032a11c74cd41566862ac6d971003db0fd0))
|
|
241
|
+
* implement scopes ([#114](https://github.com/ForestAdmin/agent-nodejs/issues/114)) ([39f7748](https://github.com/ForestAdmin/agent-nodejs/commit/39f77485c436b9c083984a73aa3330b698f33380))
|
|
242
|
+
* parse query params for list and count services ([#51](https://github.com/ForestAdmin/agent-nodejs/issues/51)) ([a72b8a3](https://github.com/ForestAdmin/agent-nodejs/commit/a72b8a3eb831f9ac21161000c3a40d744198d42d))
|
|
243
|
+
* remove toolkit from customer code ([#229](https://github.com/ForestAdmin/agent-nodejs/issues/229)) ([1421c6d](https://github.com/ForestAdmin/agent-nodejs/commit/1421c6d8798ff92aada3fbfdfa2c95ee2429714b))
|
|
244
|
+
* **route:** add count-related route ([#87](https://github.com/ForestAdmin/agent-nodejs/issues/87)) ([4dfedea](https://github.com/ForestAdmin/agent-nodejs/commit/4dfedeadf8e19fb10466d42bb6d270a3745717d5))
|
|
245
|
+
* **route:** add create route ([#56](https://github.com/ForestAdmin/agent-nodejs/issues/56)) ([23c6639](https://github.com/ForestAdmin/agent-nodejs/commit/23c66397016c61f8487ac17d95d3eaf2c235afa4))
|
|
246
|
+
* **route:** add csv list and related routes ([#152](https://github.com/ForestAdmin/agent-nodejs/issues/152)) ([7c30a3c](https://github.com/ForestAdmin/agent-nodejs/commit/7c30a3c534d25184a6f897aab51434d0b93bbccb))
|
|
247
|
+
* **route:** add delete and dissociate routes ([#138](https://github.com/ForestAdmin/agent-nodejs/issues/138)) ([f228aac](https://github.com/ForestAdmin/agent-nodejs/commit/f228aaca0db144abd1d4fc952b8f215b96e29b3b))
|
|
248
|
+
* **route:** add list-related route ([#116](https://github.com/ForestAdmin/agent-nodejs/issues/116)) ([758abcd](https://github.com/ForestAdmin/agent-nodejs/commit/758abcdb7c6446b007c641e0f0f908d747162115))
|
|
249
|
+
* **route:** implement all the delete routes ([#59](https://github.com/ForestAdmin/agent-nodejs/issues/59)) ([0a46f10](https://github.com/ForestAdmin/agent-nodejs/commit/0a46f10badc3e5c33b85242377afb7f54bdf8365))
|
|
250
|
+
* **route:** implement update route ([#65](https://github.com/ForestAdmin/agent-nodejs/issues/65)) ([2aac22a](https://github.com/ForestAdmin/agent-nodejs/commit/2aac22a0b0706cb364fc8e79b3e9451b9800e137))
|
|
251
|
+
* **route:** link record from 'toMany' association ([#230](https://github.com/ForestAdmin/agent-nodejs/issues/230)) ([8900cbd](https://github.com/ForestAdmin/agent-nodejs/commit/8900cbda88afdd73b19a8e136cd964af671650bb))
|
|
252
|
+
* **route:** register the update related route ([#145](https://github.com/ForestAdmin/agent-nodejs/issues/145)) ([95ed908](https://github.com/ForestAdmin/agent-nodejs/commit/95ed908c47cf852cf891bd62eee5d72692e19005))
|
|
253
|
+
* **security:** handle oidc authentication ([#23](https://github.com/ForestAdmin/agent-nodejs/issues/23)) ([17cd48e](https://github.com/ForestAdmin/agent-nodejs/commit/17cd48eb583763975a99835ef74438f7908923ca))
|
|
254
|
+
* **whitelist:** add the whitelist route ([#30](https://github.com/ForestAdmin/agent-nodejs/issues/30)) ([3436d29](https://github.com/ForestAdmin/agent-nodejs/commit/3436d293338222f4b7585983a7edf40440709f1b))
|
|
255
|
+
|
|
256
|
+
# @forestadmin/agent 1.0.0-beta.1 (2022-04-15)
|
|
257
|
+
|
|
258
|
+
|
|
259
|
+
### Bug Fixes
|
|
260
|
+
|
|
261
|
+
* action "select all + apply" are applied only on the related data ([#209](https://github.com/ForestAdmin/agent-nodejs/issues/209)) ([974054c](https://github.com/ForestAdmin/agent-nodejs/commit/974054c431700c98a73177dfe5cbd0d1bf564e9c))
|
|
262
|
+
* actions & delete ignored filters, search and segment ([#172](https://github.com/ForestAdmin/agent-nodejs/issues/172)) ([c0877a2](https://github.com/ForestAdmin/agent-nodejs/commit/c0877a26ad8b63721184f5fbe33922d30637d59c))
|
|
263
|
+
* actions needs an id to serialize properly ([#136](https://github.com/ForestAdmin/agent-nodejs/issues/136)) ([6da7fb2](https://github.com/ForestAdmin/agent-nodejs/commit/6da7fb26fe3913a95237ec3c4b8bcaaab8796d9f))
|
|
264
|
+
* add error message inside logger ([#143](https://github.com/ForestAdmin/agent-nodejs/issues/143)) ([54492e8](https://github.com/ForestAdmin/agent-nodejs/commit/54492e8beb7d748e9689ac6746f26be45474b7f5))
|
|
265
|
+
* **agent:** ignore nulls when striping undefined values in serializer ([#68](https://github.com/ForestAdmin/agent-nodejs/issues/68)) ([8fc4828](https://github.com/ForestAdmin/agent-nodejs/commit/8fc4828f70d2739f080e8f2a1e8db10ec9ff7b3e))
|
|
266
|
+
* **agent:** properly handle missing pagination values ([#61](https://github.com/ForestAdmin/agent-nodejs/issues/61)) ([cd9b6ca](https://github.com/ForestAdmin/agent-nodejs/commit/cd9b6caa18ce2bf800194836b46eb0e8b647355e))
|
|
267
|
+
* bugs in count and delete ([#93](https://github.com/ForestAdmin/agent-nodejs/issues/93)) ([f806fa2](https://github.com/ForestAdmin/agent-nodejs/commit/f806fa270d26933ac45c90f6da07f4f9e7f85a90))
|
|
268
|
+
* chaining methods on the collection builder ([#199](https://github.com/ForestAdmin/agent-nodejs/issues/199)) ([d9042a1](https://github.com/ForestAdmin/agent-nodejs/commit/d9042a161bc67c2d43debe4a58369d1b1dbf7ba3))
|
|
269
|
+
* **charts:** permission issue when aggregating by a relation ([#150](https://github.com/ForestAdmin/agent-nodejs/issues/150)) ([9ffec08](https://github.com/ForestAdmin/agent-nodejs/commit/9ffec0838d60d47969566853d4d04b038ae91fbd))
|
|
270
|
+
* creation of record with relationship ([#148](https://github.com/ForestAdmin/agent-nodejs/issues/148)) ([fae54a9](https://github.com/ForestAdmin/agent-nodejs/commit/fae54a960267c04810f6a1eff72f9ee999cd26d4))
|
|
271
|
+
* **datasource:** properly set column FilterOperator values ([#117](https://github.com/ForestAdmin/agent-nodejs/issues/117)) ([92174a5](https://github.com/ForestAdmin/agent-nodejs/commit/92174a5f9016e8e54bed854979b0d7c408f11cae))
|
|
272
|
+
* decorator ordering in builder ([#216](https://github.com/ForestAdmin/agent-nodejs/issues/216)) ([31843f9](https://github.com/ForestAdmin/agent-nodejs/commit/31843f9ce3e50d3cff2a3e8a72adc1bbc3f810f8))
|
|
273
|
+
* enable npm, git and github distribution ([bd91825](https://github.com/ForestAdmin/agent-nodejs/commit/bd91825f4d185874a259da28b0f7a6c7f557196d))
|
|
274
|
+
* fail to update records from collection with relations ([#95](https://github.com/ForestAdmin/agent-nodejs/issues/95)) ([5643d2a](https://github.com/ForestAdmin/agent-nodejs/commit/5643d2a021e3ef6571a446ad27522741244d4d6e))
|
|
275
|
+
* fix one to one relation creation ([#231](https://github.com/ForestAdmin/agent-nodejs/issues/231)) ([2b21bb9](https://github.com/ForestAdmin/agent-nodejs/commit/2b21bb9cf9afd71b54a7645316edbac1a8af6ab3))
|
|
276
|
+
* fix semantic release ([3a2fa73](https://github.com/ForestAdmin/agent-nodejs/commit/3a2fa738af84a50b9563db6ac039c922b77f55cc))
|
|
277
|
+
* improve relation schema creation ([#238](https://github.com/ForestAdmin/agent-nodejs/issues/238)) ([cf9bfbf](https://github.com/ForestAdmin/agent-nodejs/commit/cf9bfbf83ea27c56eadbeb87a2d16cb1b66b355e))
|
|
278
|
+
* isFilterable apimap generation ([#218](https://github.com/ForestAdmin/agent-nodejs/issues/218)) ([3e9e579](https://github.com/ForestAdmin/agent-nodejs/commit/3e9e579c3882cdcf68fa35402ba7dc09b740fa7c))
|
|
279
|
+
* mark relations as filterable when relevant ([#113](https://github.com/ForestAdmin/agent-nodejs/issues/113)) ([2d064b2](https://github.com/ForestAdmin/agent-nodejs/commit/2d064b2e8f67b2a293ccfb7dedc5e9d40f57909c))
|
|
280
|
+
* **pagination:** default page should be one ([#90](https://github.com/ForestAdmin/agent-nodejs/issues/90)) ([4284417](https://github.com/ForestAdmin/agent-nodejs/commit/428441793bd25db47108e992f1c192d5207263c7))
|
|
281
|
+
* **release:** set bump policy to override patch ([e70c03d](https://github.com/ForestAdmin/agent-nodejs/commit/e70c03df0daecbd87ebf3a120e4dcee7585a934c))
|
|
282
|
+
* renderingId is a number ([#112](https://github.com/ForestAdmin/agent-nodejs/issues/112)) ([8f0166a](https://github.com/ForestAdmin/agent-nodejs/commit/8f0166ae83d66f0999057c8938bbb0d51212bf4f))
|
|
283
|
+
* route update returns record ([#174](https://github.com/ForestAdmin/agent-nodejs/issues/174)) ([95d2349](https://github.com/ForestAdmin/agent-nodejs/commit/95d23491f31abce121b3c2e369017792ab50445d))
|
|
284
|
+
* **route-update:** build projection correctly when there are relations ([#190](https://github.com/ForestAdmin/agent-nodejs/issues/190)) ([f8b83d0](https://github.com/ForestAdmin/agent-nodejs/commit/f8b83d0ac62f8353bbafdba76ff5a4aae7556015))
|
|
285
|
+
* **search:** stop generating invalid condition trees ([#109](https://github.com/ForestAdmin/agent-nodejs/issues/109)) ([9a2bf38](https://github.com/ForestAdmin/agent-nodejs/commit/9a2bf3858b8f9309947f68ce7717c288a8072edc))
|
|
286
|
+
* **serialization:** workaround lost reference while schemas are not cached ([#82](https://github.com/ForestAdmin/agent-nodejs/issues/82)) ([87f1bc6](https://github.com/ForestAdmin/agent-nodejs/commit/87f1bc6d19c93e3d55781d79311ef412c7efcaa0))
|
|
287
|
+
* tests were not compiled ([#7](https://github.com/ForestAdmin/agent-nodejs/issues/7)) ([9f2525d](https://github.com/ForestAdmin/agent-nodejs/commit/9f2525dfe6753471b13296899038df27ca1f28be))
|
|
288
|
+
* **unpack:** throw error when the column schema has not the same type of the value ([#134](https://github.com/ForestAdmin/agent-nodejs/issues/134)) ([f6db66c](https://github.com/ForestAdmin/agent-nodejs/commit/f6db66cfc9ca45c638a1b2078bc8fb767b858048))
|
|
289
|
+
* warning at installation ([#94](https://github.com/ForestAdmin/agent-nodejs/issues/94)) ([2a79baf](https://github.com/ForestAdmin/agent-nodejs/commit/2a79baf8767ec7161478b2b3e2be42c7c969ed4b))
|
|
290
|
+
* wrong collection targeted in count-related ([#115](https://github.com/ForestAdmin/agent-nodejs/issues/115)) ([e1459f0](https://github.com/ForestAdmin/agent-nodejs/commit/e1459f0f884c2fcaff3e5b98c772de39b617734b))
|
|
291
|
+
* wrong http status in logs and add support for printing the request body ([#141](https://github.com/ForestAdmin/agent-nodejs/issues/141)) ([70fb7ee](https://github.com/ForestAdmin/agent-nodejs/commit/70fb7eecd3d1ce60a1620f653eb5453be8f73dad))
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
### Features
|
|
295
|
+
|
|
296
|
+
* add action routes and decorator ([#149](https://github.com/ForestAdmin/agent-nodejs/issues/149)) ([ebf27ff](https://github.com/ForestAdmin/agent-nodejs/commit/ebf27ffb439f5f2c983fe8873a515fe2802a9a17))
|
|
297
|
+
* add chart route ([#120](https://github.com/ForestAdmin/agent-nodejs/issues/120)) ([2310510](https://github.com/ForestAdmin/agent-nodejs/commit/2310510d545672cf18ccbe956a1d5c716b17cff7))
|
|
298
|
+
* add default and validation to agent options ([#98](https://github.com/ForestAdmin/agent-nodejs/issues/98)) ([50f7b22](https://github.com/ForestAdmin/agent-nodejs/commit/50f7b2262f3ed1d1236326f20cacf8c36fee9a56))
|
|
299
|
+
* add get one route ([#53](https://github.com/ForestAdmin/agent-nodejs/issues/53)) ([3115336](https://github.com/ForestAdmin/agent-nodejs/commit/311533674edf4e467f1da49f298fd7578b706730))
|
|
300
|
+
* add new shared utils ([#44](https://github.com/ForestAdmin/agent-nodejs/issues/44)) ([4c67f9e](https://github.com/ForestAdmin/agent-nodejs/commit/4c67f9ea8b72b5f76286ad15f31fb9b41d77b980))
|
|
301
|
+
* add record serializer ([#14](https://github.com/ForestAdmin/agent-nodejs/issues/14)) ([5ddeb30](https://github.com/ForestAdmin/agent-nodejs/commit/5ddeb306c8758d5533f406f8134b53ccd3a380b8))
|
|
302
|
+
* agent builder ([#146](https://github.com/ForestAdmin/agent-nodejs/issues/146)) ([678a8f7](https://github.com/ForestAdmin/agent-nodejs/commit/678a8f7b9b3204c811a5c1f2ee46287efdc84dd6))
|
|
303
|
+
* **agent:** handle leaderboard chart ([#142](https://github.com/ForestAdmin/agent-nodejs/issues/142)) ([e20744b](https://github.com/ForestAdmin/agent-nodejs/commit/e20744b22d00252636f04cfe70d9eb523b190b57))
|
|
304
|
+
* bootstrap agent package ([#12](https://github.com/ForestAdmin/agent-nodejs/issues/12)) ([182c858](https://github.com/ForestAdmin/agent-nodejs/commit/182c858b6d912dba37fe821cc6baaad75b80c59d))
|
|
305
|
+
* **builder:** add emulateFieldFiltering method and simplify addField ([#227](https://github.com/ForestAdmin/agent-nodejs/issues/227)) ([bbb7603](https://github.com/ForestAdmin/agent-nodejs/commit/bbb7603b3e9847e8f4e9788dca67e0a3cf2d1e83))
|
|
306
|
+
* **collections:** add list and count routes ([#42](https://github.com/ForestAdmin/agent-nodejs/issues/42)) ([5584f08](https://github.com/ForestAdmin/agent-nodejs/commit/5584f08e16d84447ba6fdeb960c9776d49424c55))
|
|
307
|
+
* **condition-tree:** implement user filters and better emulation ([#76](https://github.com/ForestAdmin/agent-nodejs/issues/76)) ([e425704](https://github.com/ForestAdmin/agent-nodejs/commit/e4257046853b2b165f4190daa0d953d7f79ed837))
|
|
308
|
+
* **decorator:** write emulate ([#157](https://github.com/ForestAdmin/agent-nodejs/issues/157)) ([6c7f5f6](https://github.com/ForestAdmin/agent-nodejs/commit/6c7f5f6daed7e9f51b3068ebca5ac49a9a6e01d8))
|
|
309
|
+
* **example,live:** update example package to use Live DataSource ([#69](https://github.com/ForestAdmin/agent-nodejs/issues/69)) ([340d2a0](https://github.com/ForestAdmin/agent-nodejs/commit/340d2a08ea945169dd8c7547a5995bb7dd531fc5))
|
|
310
|
+
* handle pagination parameters in list and count routes ([#57](https://github.com/ForestAdmin/agent-nodejs/issues/57)) ([13bddb9](https://github.com/ForestAdmin/agent-nodejs/commit/13bddb948e6fadb6c963b4834a8d12a5d92882f6))
|
|
311
|
+
* handle sort parameters in list and count routes ([#58](https://github.com/ForestAdmin/agent-nodejs/issues/58)) ([c17744b](https://github.com/ForestAdmin/agent-nodejs/commit/c17744b52f98262014f025e26119167123684d3d))
|
|
312
|
+
* highlight search values ([#240](https://github.com/ForestAdmin/agent-nodejs/issues/240)) ([40d05a9](https://github.com/ForestAdmin/agent-nodejs/commit/40d05a9b556df27aed8b5a06f637545e775bb4aa))
|
|
313
|
+
* implement relations using any unique key ([#159](https://github.com/ForestAdmin/agent-nodejs/issues/159)) ([b6be495](https://github.com/ForestAdmin/agent-nodejs/commit/b6be495d93ae03a67c6dc9b4ffbb0ae9f4cbc0bc))
|
|
314
|
+
* implement roles restrictions ([#135](https://github.com/ForestAdmin/agent-nodejs/issues/135)) ([62f4328](https://github.com/ForestAdmin/agent-nodejs/commit/62f4328e8bfbc01ff6bd908c2164ec69f9c2da5d))
|
|
315
|
+
* implement schema conversion ([#16](https://github.com/ForestAdmin/agent-nodejs/issues/16)) ([d641263](https://github.com/ForestAdmin/agent-nodejs/commit/d6412636950370a4189a746888dca0b02247df3a))
|
|
316
|
+
* implement schema sender ([#36](https://github.com/ForestAdmin/agent-nodejs/issues/36)) ([89a7203](https://github.com/ForestAdmin/agent-nodejs/commit/89a72032a11c74cd41566862ac6d971003db0fd0))
|
|
317
|
+
* implement scopes ([#114](https://github.com/ForestAdmin/agent-nodejs/issues/114)) ([39f7748](https://github.com/ForestAdmin/agent-nodejs/commit/39f77485c436b9c083984a73aa3330b698f33380))
|
|
318
|
+
* parse query params for list and count services ([#51](https://github.com/ForestAdmin/agent-nodejs/issues/51)) ([a72b8a3](https://github.com/ForestAdmin/agent-nodejs/commit/a72b8a3eb831f9ac21161000c3a40d744198d42d))
|
|
319
|
+
* remove toolkit from customer code ([#229](https://github.com/ForestAdmin/agent-nodejs/issues/229)) ([1421c6d](https://github.com/ForestAdmin/agent-nodejs/commit/1421c6d8798ff92aada3fbfdfa2c95ee2429714b))
|
|
320
|
+
* **route:** add count-related route ([#87](https://github.com/ForestAdmin/agent-nodejs/issues/87)) ([4dfedea](https://github.com/ForestAdmin/agent-nodejs/commit/4dfedeadf8e19fb10466d42bb6d270a3745717d5))
|
|
321
|
+
* **route:** add create route ([#56](https://github.com/ForestAdmin/agent-nodejs/issues/56)) ([23c6639](https://github.com/ForestAdmin/agent-nodejs/commit/23c66397016c61f8487ac17d95d3eaf2c235afa4))
|
|
322
|
+
* **route:** add csv list and related routes ([#152](https://github.com/ForestAdmin/agent-nodejs/issues/152)) ([7c30a3c](https://github.com/ForestAdmin/agent-nodejs/commit/7c30a3c534d25184a6f897aab51434d0b93bbccb))
|
|
323
|
+
* **route:** add delete and dissociate routes ([#138](https://github.com/ForestAdmin/agent-nodejs/issues/138)) ([f228aac](https://github.com/ForestAdmin/agent-nodejs/commit/f228aaca0db144abd1d4fc952b8f215b96e29b3b))
|
|
324
|
+
* **route:** add list-related route ([#116](https://github.com/ForestAdmin/agent-nodejs/issues/116)) ([758abcd](https://github.com/ForestAdmin/agent-nodejs/commit/758abcdb7c6446b007c641e0f0f908d747162115))
|
|
325
|
+
* **route:** implement all the delete routes ([#59](https://github.com/ForestAdmin/agent-nodejs/issues/59)) ([0a46f10](https://github.com/ForestAdmin/agent-nodejs/commit/0a46f10badc3e5c33b85242377afb7f54bdf8365))
|
|
326
|
+
* **route:** implement update route ([#65](https://github.com/ForestAdmin/agent-nodejs/issues/65)) ([2aac22a](https://github.com/ForestAdmin/agent-nodejs/commit/2aac22a0b0706cb364fc8e79b3e9451b9800e137))
|
|
327
|
+
* **route:** link record from 'toMany' association ([#230](https://github.com/ForestAdmin/agent-nodejs/issues/230)) ([8900cbd](https://github.com/ForestAdmin/agent-nodejs/commit/8900cbda88afdd73b19a8e136cd964af671650bb))
|
|
328
|
+
* **route:** register the update related route ([#145](https://github.com/ForestAdmin/agent-nodejs/issues/145)) ([95ed908](https://github.com/ForestAdmin/agent-nodejs/commit/95ed908c47cf852cf891bd62eee5d72692e19005))
|
|
329
|
+
* **security:** handle oidc authentication ([#23](https://github.com/ForestAdmin/agent-nodejs/issues/23)) ([17cd48e](https://github.com/ForestAdmin/agent-nodejs/commit/17cd48eb583763975a99835ef74438f7908923ca))
|
|
330
|
+
* **whitelist:** add the whitelist route ([#30](https://github.com/ForestAdmin/agent-nodejs/issues/30)) ([3436d29](https://github.com/ForestAdmin/agent-nodejs/commit/3436d293338222f4b7585983a7edf40440709f1b))
|
|
331
|
+
|
|
332
|
+
# @forestadmin/agent 1.0.0-beta.1 (2022-04-15)
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
### Bug Fixes
|
|
336
|
+
|
|
337
|
+
* action "select all + apply" are applied only on the related data ([#209](https://github.com/ForestAdmin/agent-nodejs/issues/209)) ([974054c](https://github.com/ForestAdmin/agent-nodejs/commit/974054c431700c98a73177dfe5cbd0d1bf564e9c))
|
|
338
|
+
* actions & delete ignored filters, search and segment ([#172](https://github.com/ForestAdmin/agent-nodejs/issues/172)) ([c0877a2](https://github.com/ForestAdmin/agent-nodejs/commit/c0877a26ad8b63721184f5fbe33922d30637d59c))
|
|
339
|
+
* actions needs an id to serialize properly ([#136](https://github.com/ForestAdmin/agent-nodejs/issues/136)) ([6da7fb2](https://github.com/ForestAdmin/agent-nodejs/commit/6da7fb26fe3913a95237ec3c4b8bcaaab8796d9f))
|
|
340
|
+
* add error message inside logger ([#143](https://github.com/ForestAdmin/agent-nodejs/issues/143)) ([54492e8](https://github.com/ForestAdmin/agent-nodejs/commit/54492e8beb7d748e9689ac6746f26be45474b7f5))
|
|
341
|
+
* **agent:** ignore nulls when striping undefined values in serializer ([#68](https://github.com/ForestAdmin/agent-nodejs/issues/68)) ([8fc4828](https://github.com/ForestAdmin/agent-nodejs/commit/8fc4828f70d2739f080e8f2a1e8db10ec9ff7b3e))
|
|
342
|
+
* **agent:** properly handle missing pagination values ([#61](https://github.com/ForestAdmin/agent-nodejs/issues/61)) ([cd9b6ca](https://github.com/ForestAdmin/agent-nodejs/commit/cd9b6caa18ce2bf800194836b46eb0e8b647355e))
|
|
343
|
+
* bugs in count and delete ([#93](https://github.com/ForestAdmin/agent-nodejs/issues/93)) ([f806fa2](https://github.com/ForestAdmin/agent-nodejs/commit/f806fa270d26933ac45c90f6da07f4f9e7f85a90))
|
|
344
|
+
* chaining methods on the collection builder ([#199](https://github.com/ForestAdmin/agent-nodejs/issues/199)) ([d9042a1](https://github.com/ForestAdmin/agent-nodejs/commit/d9042a161bc67c2d43debe4a58369d1b1dbf7ba3))
|
|
345
|
+
* **charts:** permission issue when aggregating by a relation ([#150](https://github.com/ForestAdmin/agent-nodejs/issues/150)) ([9ffec08](https://github.com/ForestAdmin/agent-nodejs/commit/9ffec0838d60d47969566853d4d04b038ae91fbd))
|
|
346
|
+
* creation of record with relationship ([#148](https://github.com/ForestAdmin/agent-nodejs/issues/148)) ([fae54a9](https://github.com/ForestAdmin/agent-nodejs/commit/fae54a960267c04810f6a1eff72f9ee999cd26d4))
|
|
347
|
+
* **datasource:** properly set column FilterOperator values ([#117](https://github.com/ForestAdmin/agent-nodejs/issues/117)) ([92174a5](https://github.com/ForestAdmin/agent-nodejs/commit/92174a5f9016e8e54bed854979b0d7c408f11cae))
|
|
348
|
+
* decorator ordering in builder ([#216](https://github.com/ForestAdmin/agent-nodejs/issues/216)) ([31843f9](https://github.com/ForestAdmin/agent-nodejs/commit/31843f9ce3e50d3cff2a3e8a72adc1bbc3f810f8))
|
|
349
|
+
* enable npm, git and github distribution ([bd91825](https://github.com/ForestAdmin/agent-nodejs/commit/bd91825f4d185874a259da28b0f7a6c7f557196d))
|
|
350
|
+
* fail to update records from collection with relations ([#95](https://github.com/ForestAdmin/agent-nodejs/issues/95)) ([5643d2a](https://github.com/ForestAdmin/agent-nodejs/commit/5643d2a021e3ef6571a446ad27522741244d4d6e))
|
|
351
|
+
* fix one to one relation creation ([#231](https://github.com/ForestAdmin/agent-nodejs/issues/231)) ([2b21bb9](https://github.com/ForestAdmin/agent-nodejs/commit/2b21bb9cf9afd71b54a7645316edbac1a8af6ab3))
|
|
352
|
+
* fix semantic release ([3a2fa73](https://github.com/ForestAdmin/agent-nodejs/commit/3a2fa738af84a50b9563db6ac039c922b77f55cc))
|
|
353
|
+
* improve relation schema creation ([#238](https://github.com/ForestAdmin/agent-nodejs/issues/238)) ([cf9bfbf](https://github.com/ForestAdmin/agent-nodejs/commit/cf9bfbf83ea27c56eadbeb87a2d16cb1b66b355e))
|
|
354
|
+
* isFilterable apimap generation ([#218](https://github.com/ForestAdmin/agent-nodejs/issues/218)) ([3e9e579](https://github.com/ForestAdmin/agent-nodejs/commit/3e9e579c3882cdcf68fa35402ba7dc09b740fa7c))
|
|
355
|
+
* mark relations as filterable when relevant ([#113](https://github.com/ForestAdmin/agent-nodejs/issues/113)) ([2d064b2](https://github.com/ForestAdmin/agent-nodejs/commit/2d064b2e8f67b2a293ccfb7dedc5e9d40f57909c))
|
|
356
|
+
* **pagination:** default page should be one ([#90](https://github.com/ForestAdmin/agent-nodejs/issues/90)) ([4284417](https://github.com/ForestAdmin/agent-nodejs/commit/428441793bd25db47108e992f1c192d5207263c7))
|
|
357
|
+
* renderingId is a number ([#112](https://github.com/ForestAdmin/agent-nodejs/issues/112)) ([8f0166a](https://github.com/ForestAdmin/agent-nodejs/commit/8f0166ae83d66f0999057c8938bbb0d51212bf4f))
|
|
358
|
+
* route update returns record ([#174](https://github.com/ForestAdmin/agent-nodejs/issues/174)) ([95d2349](https://github.com/ForestAdmin/agent-nodejs/commit/95d23491f31abce121b3c2e369017792ab50445d))
|
|
359
|
+
* **route-update:** build projection correctly when there are relations ([#190](https://github.com/ForestAdmin/agent-nodejs/issues/190)) ([f8b83d0](https://github.com/ForestAdmin/agent-nodejs/commit/f8b83d0ac62f8353bbafdba76ff5a4aae7556015))
|
|
360
|
+
* **search:** stop generating invalid condition trees ([#109](https://github.com/ForestAdmin/agent-nodejs/issues/109)) ([9a2bf38](https://github.com/ForestAdmin/agent-nodejs/commit/9a2bf3858b8f9309947f68ce7717c288a8072edc))
|
|
361
|
+
* **serialization:** workaround lost reference while schemas are not cached ([#82](https://github.com/ForestAdmin/agent-nodejs/issues/82)) ([87f1bc6](https://github.com/ForestAdmin/agent-nodejs/commit/87f1bc6d19c93e3d55781d79311ef412c7efcaa0))
|
|
362
|
+
* tests were not compiled ([#7](https://github.com/ForestAdmin/agent-nodejs/issues/7)) ([9f2525d](https://github.com/ForestAdmin/agent-nodejs/commit/9f2525dfe6753471b13296899038df27ca1f28be))
|
|
363
|
+
* **unpack:** throw error when the column schema has not the same type of the value ([#134](https://github.com/ForestAdmin/agent-nodejs/issues/134)) ([f6db66c](https://github.com/ForestAdmin/agent-nodejs/commit/f6db66cfc9ca45c638a1b2078bc8fb767b858048))
|
|
364
|
+
* warning at installation ([#94](https://github.com/ForestAdmin/agent-nodejs/issues/94)) ([2a79baf](https://github.com/ForestAdmin/agent-nodejs/commit/2a79baf8767ec7161478b2b3e2be42c7c969ed4b))
|
|
365
|
+
* wrong collection targeted in count-related ([#115](https://github.com/ForestAdmin/agent-nodejs/issues/115)) ([e1459f0](https://github.com/ForestAdmin/agent-nodejs/commit/e1459f0f884c2fcaff3e5b98c772de39b617734b))
|
|
366
|
+
* wrong http status in logs and add support for printing the request body ([#141](https://github.com/ForestAdmin/agent-nodejs/issues/141)) ([70fb7ee](https://github.com/ForestAdmin/agent-nodejs/commit/70fb7eecd3d1ce60a1620f653eb5453be8f73dad))
|
|
367
|
+
|
|
368
|
+
|
|
369
|
+
### Features
|
|
370
|
+
|
|
371
|
+
* add action routes and decorator ([#149](https://github.com/ForestAdmin/agent-nodejs/issues/149)) ([ebf27ff](https://github.com/ForestAdmin/agent-nodejs/commit/ebf27ffb439f5f2c983fe8873a515fe2802a9a17))
|
|
372
|
+
* add chart route ([#120](https://github.com/ForestAdmin/agent-nodejs/issues/120)) ([2310510](https://github.com/ForestAdmin/agent-nodejs/commit/2310510d545672cf18ccbe956a1d5c716b17cff7))
|
|
373
|
+
* add default and validation to agent options ([#98](https://github.com/ForestAdmin/agent-nodejs/issues/98)) ([50f7b22](https://github.com/ForestAdmin/agent-nodejs/commit/50f7b2262f3ed1d1236326f20cacf8c36fee9a56))
|
|
374
|
+
* add get one route ([#53](https://github.com/ForestAdmin/agent-nodejs/issues/53)) ([3115336](https://github.com/ForestAdmin/agent-nodejs/commit/311533674edf4e467f1da49f298fd7578b706730))
|
|
375
|
+
* add new shared utils ([#44](https://github.com/ForestAdmin/agent-nodejs/issues/44)) ([4c67f9e](https://github.com/ForestAdmin/agent-nodejs/commit/4c67f9ea8b72b5f76286ad15f31fb9b41d77b980))
|
|
376
|
+
* add record serializer ([#14](https://github.com/ForestAdmin/agent-nodejs/issues/14)) ([5ddeb30](https://github.com/ForestAdmin/agent-nodejs/commit/5ddeb306c8758d5533f406f8134b53ccd3a380b8))
|
|
377
|
+
* agent builder ([#146](https://github.com/ForestAdmin/agent-nodejs/issues/146)) ([678a8f7](https://github.com/ForestAdmin/agent-nodejs/commit/678a8f7b9b3204c811a5c1f2ee46287efdc84dd6))
|
|
378
|
+
* **agent:** handle leaderboard chart ([#142](https://github.com/ForestAdmin/agent-nodejs/issues/142)) ([e20744b](https://github.com/ForestAdmin/agent-nodejs/commit/e20744b22d00252636f04cfe70d9eb523b190b57))
|
|
379
|
+
* bootstrap agent package ([#12](https://github.com/ForestAdmin/agent-nodejs/issues/12)) ([182c858](https://github.com/ForestAdmin/agent-nodejs/commit/182c858b6d912dba37fe821cc6baaad75b80c59d))
|
|
380
|
+
* **builder:** add emulateFieldFiltering method and simplify addField ([#227](https://github.com/ForestAdmin/agent-nodejs/issues/227)) ([bbb7603](https://github.com/ForestAdmin/agent-nodejs/commit/bbb7603b3e9847e8f4e9788dca67e0a3cf2d1e83))
|
|
381
|
+
* **collections:** add list and count routes ([#42](https://github.com/ForestAdmin/agent-nodejs/issues/42)) ([5584f08](https://github.com/ForestAdmin/agent-nodejs/commit/5584f08e16d84447ba6fdeb960c9776d49424c55))
|
|
382
|
+
* **condition-tree:** implement user filters and better emulation ([#76](https://github.com/ForestAdmin/agent-nodejs/issues/76)) ([e425704](https://github.com/ForestAdmin/agent-nodejs/commit/e4257046853b2b165f4190daa0d953d7f79ed837))
|
|
383
|
+
* **decorator:** write emulate ([#157](https://github.com/ForestAdmin/agent-nodejs/issues/157)) ([6c7f5f6](https://github.com/ForestAdmin/agent-nodejs/commit/6c7f5f6daed7e9f51b3068ebca5ac49a9a6e01d8))
|
|
384
|
+
* **example,live:** update example package to use Live DataSource ([#69](https://github.com/ForestAdmin/agent-nodejs/issues/69)) ([340d2a0](https://github.com/ForestAdmin/agent-nodejs/commit/340d2a08ea945169dd8c7547a5995bb7dd531fc5))
|
|
385
|
+
* handle pagination parameters in list and count routes ([#57](https://github.com/ForestAdmin/agent-nodejs/issues/57)) ([13bddb9](https://github.com/ForestAdmin/agent-nodejs/commit/13bddb948e6fadb6c963b4834a8d12a5d92882f6))
|
|
386
|
+
* handle sort parameters in list and count routes ([#58](https://github.com/ForestAdmin/agent-nodejs/issues/58)) ([c17744b](https://github.com/ForestAdmin/agent-nodejs/commit/c17744b52f98262014f025e26119167123684d3d))
|
|
387
|
+
* highlight search values ([#240](https://github.com/ForestAdmin/agent-nodejs/issues/240)) ([40d05a9](https://github.com/ForestAdmin/agent-nodejs/commit/40d05a9b556df27aed8b5a06f637545e775bb4aa))
|
|
388
|
+
* implement relations using any unique key ([#159](https://github.com/ForestAdmin/agent-nodejs/issues/159)) ([b6be495](https://github.com/ForestAdmin/agent-nodejs/commit/b6be495d93ae03a67c6dc9b4ffbb0ae9f4cbc0bc))
|
|
389
|
+
* implement roles restrictions ([#135](https://github.com/ForestAdmin/agent-nodejs/issues/135)) ([62f4328](https://github.com/ForestAdmin/agent-nodejs/commit/62f4328e8bfbc01ff6bd908c2164ec69f9c2da5d))
|
|
390
|
+
* implement schema conversion ([#16](https://github.com/ForestAdmin/agent-nodejs/issues/16)) ([d641263](https://github.com/ForestAdmin/agent-nodejs/commit/d6412636950370a4189a746888dca0b02247df3a))
|
|
391
|
+
* implement schema sender ([#36](https://github.com/ForestAdmin/agent-nodejs/issues/36)) ([89a7203](https://github.com/ForestAdmin/agent-nodejs/commit/89a72032a11c74cd41566862ac6d971003db0fd0))
|
|
392
|
+
* implement scopes ([#114](https://github.com/ForestAdmin/agent-nodejs/issues/114)) ([39f7748](https://github.com/ForestAdmin/agent-nodejs/commit/39f77485c436b9c083984a73aa3330b698f33380))
|
|
393
|
+
* parse query params for list and count services ([#51](https://github.com/ForestAdmin/agent-nodejs/issues/51)) ([a72b8a3](https://github.com/ForestAdmin/agent-nodejs/commit/a72b8a3eb831f9ac21161000c3a40d744198d42d))
|
|
394
|
+
* remove toolkit from customer code ([#229](https://github.com/ForestAdmin/agent-nodejs/issues/229)) ([1421c6d](https://github.com/ForestAdmin/agent-nodejs/commit/1421c6d8798ff92aada3fbfdfa2c95ee2429714b))
|
|
395
|
+
* **route:** add count-related route ([#87](https://github.com/ForestAdmin/agent-nodejs/issues/87)) ([4dfedea](https://github.com/ForestAdmin/agent-nodejs/commit/4dfedeadf8e19fb10466d42bb6d270a3745717d5))
|
|
396
|
+
* **route:** add create route ([#56](https://github.com/ForestAdmin/agent-nodejs/issues/56)) ([23c6639](https://github.com/ForestAdmin/agent-nodejs/commit/23c66397016c61f8487ac17d95d3eaf2c235afa4))
|
|
397
|
+
* **route:** add csv list and related routes ([#152](https://github.com/ForestAdmin/agent-nodejs/issues/152)) ([7c30a3c](https://github.com/ForestAdmin/agent-nodejs/commit/7c30a3c534d25184a6f897aab51434d0b93bbccb))
|
|
398
|
+
* **route:** add delete and dissociate routes ([#138](https://github.com/ForestAdmin/agent-nodejs/issues/138)) ([f228aac](https://github.com/ForestAdmin/agent-nodejs/commit/f228aaca0db144abd1d4fc952b8f215b96e29b3b))
|
|
399
|
+
* **route:** add list-related route ([#116](https://github.com/ForestAdmin/agent-nodejs/issues/116)) ([758abcd](https://github.com/ForestAdmin/agent-nodejs/commit/758abcdb7c6446b007c641e0f0f908d747162115))
|
|
400
|
+
* **route:** implement all the delete routes ([#59](https://github.com/ForestAdmin/agent-nodejs/issues/59)) ([0a46f10](https://github.com/ForestAdmin/agent-nodejs/commit/0a46f10badc3e5c33b85242377afb7f54bdf8365))
|
|
401
|
+
* **route:** implement update route ([#65](https://github.com/ForestAdmin/agent-nodejs/issues/65)) ([2aac22a](https://github.com/ForestAdmin/agent-nodejs/commit/2aac22a0b0706cb364fc8e79b3e9451b9800e137))
|
|
402
|
+
* **route:** link record from 'toMany' association ([#230](https://github.com/ForestAdmin/agent-nodejs/issues/230)) ([8900cbd](https://github.com/ForestAdmin/agent-nodejs/commit/8900cbda88afdd73b19a8e136cd964af671650bb))
|
|
403
|
+
* **route:** register the update related route ([#145](https://github.com/ForestAdmin/agent-nodejs/issues/145)) ([95ed908](https://github.com/ForestAdmin/agent-nodejs/commit/95ed908c47cf852cf891bd62eee5d72692e19005))
|
|
404
|
+
* **security:** handle oidc authentication ([#23](https://github.com/ForestAdmin/agent-nodejs/issues/23)) ([17cd48e](https://github.com/ForestAdmin/agent-nodejs/commit/17cd48eb583763975a99835ef74438f7908923ca))
|
|
405
|
+
* **whitelist:** add the whitelist route ([#30](https://github.com/ForestAdmin/agent-nodejs/issues/30)) ([3436d29](https://github.com/ForestAdmin/agent-nodejs/commit/3436d293338222f4b7585983a7edf40440709f1b))
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
### Dependencies
|
|
412
|
+
|
|
413
|
+
* **@forestadmin/datasource-toolkit:** upgraded to 1.0.0-beta.2
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forestadmin/agent",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.4",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"license": "GPL-3.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@fast-csv/format": "^4.3.5",
|
|
16
|
-
"@forestadmin/datasource-toolkit": "1.0.0-beta.
|
|
16
|
+
"@forestadmin/datasource-toolkit": "1.0.0-beta.4",
|
|
17
17
|
"@koa/cors": "^3.1.0",
|
|
18
18
|
"@koa/router": "^10.1.1",
|
|
19
19
|
"forest-ip-utils": "^1.0.1",
|