Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2.2.0 #297

Merged
merged 53 commits into from
Apr 17, 2023
Merged

Release 2.2.0 #297

merged 53 commits into from
Apr 17, 2023

Conversation

Aschen
Copy link
Contributor

@Aschen Aschen commented Apr 17, 2023

2.2.0 (2023-04-17)

Bug fixes

New features

Enhancements

Others


Aschen and others added 30 commits March 15, 2023 21:15
- Store if a payload is skipped, valid or error.
- Store the reason of the error, when a user
defined validation error occurs.
remove unnecessary call to engineConfigManager.createCollection since it's already done in AbstractEngine class from kuzzle-plugin-commons

add the asset history collection in the method return
Refactor to comply with the module architecture. Basically split classes of the core/ directory between plugin, model and decoder modules
OlivierCavadenti and others added 21 commits March 28, 2023 15:15
- When an asset is created or updated, we saved the complete paths in asset history document.
Full path nested metadata when create/update assets
Allow to specify nested metadata
Export the base mappings for the plugin collection.

This can be used to define other collection based on KDM collections.
Add an API to exports measures in CSV.

Those actions allow to export the measures history of an asset or a device.

The measures are exported as a CSV stream.

The export process have two steps:

 - execute the exportMeasures action with WebSocket or HTTP POST to prepare an export and retrieve an export link
 - GET request to the generated export link through a tag <a href="{export-link}">Download</a>
Those two steps are necessary to avoid the browser to crash when exporting a lot of data.

Export link are valid for 2 minutes.
* test(asset-history): Historize asset for each measurements

* fix: historize asset for each same measurement received

* feat: add a timestamp property to asset history content

* chore: pr comments

* fix: historize asset only if asset is not null

* fix: use a Map in order to keep insertion order

* fix: historize metadata changes only on last asset State

* fix: add metadata to last asset-history document

* chore(ci): lint

* feat: use mCreate for asset history instead of create

* fix: async function

* Update lib/modules/asset/AssetHistoryService.ts

Co-authored-by: Adrien Maret <Aschen@users.noreply.github.com>

* Update lib/modules/asset/AssetService.ts

Co-authored-by: Adrien Maret <Aschen@users.noreply.github.com>

---------

Co-authored-by: Théo Dislay <tdislay@kuzzle.io>
Co-authored-by: Adrien Maret <Aschen@users.noreply.github.com>
@Aschen Aschen added the release label Apr 17, 2023
@Aschen Aschen merged commit c11d364 into master Apr 17, 2023
@Aschen Aschen deleted the 2.2.0-proposal branch April 17, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants