Skip to content

Conversation

@QuentinRousselet
Copy link
Contributor

@QuentinRousselet QuentinRousselet commented Jul 7, 2025

What this PR does ?

This PR refont the assetsGroups into Groups.
Groups don't have parents and children anymore but a path containing it's ancestors.

{
  name: string;
  model?: string | null;
  path: string;
  lastUpdate: number;
  metadata?: TMetadata;
}
groupId = group-electric-boltzmann-70376
{
  "lastUpdate": 1752227458910,
  "metadata": {
    "geolocation": {
      "lat": 12,
      "lon": 12
    },
    "width": 25,
    "zone": "mall"
  },
  "model": "Parking",
  "name": "Odysseum",
  "path": "group-milky-yeats-33653.group-boundless-carpenter-45429.group-electric-boltzmann-70376",
}

Other changes

This PR reallign the 3.0.0 on the evolutions of the 2.0.0

thomas-mauran and others added 30 commits December 5, 2024 13:45
# [2.5.0-dev.3](v2.5.0-dev.2...v2.5.0-dev.3) (2024-12-05)

### Features

* **softTenants:** add softTenant ids to assets measures documents ([#383](#383)) ([1b36fe0](1b36fe0))
# [2.5.0-dev.4](v2.5.0-dev.3...v2.5.0-dev.4) (2024-12-05)

### Features

* add editor hint support ([#386](#386)) ([a9b62df](a9b62df))
# [2.5.0-dev.5](v2.5.0-dev.4...v2.5.0-dev.5) (2024-12-05)

### Bug Fixes

* **assetservice:** can't replace metadata if not present in asset ([#384](#384)) ([eb65c0a](eb65c0a))
# [2.5.0](v2.4.4...v2.5.0) (2024-12-05)

### Bug Fixes

* **assetservice:** can't replace metadata if not present in asset ([#384](#384)) ([eb65c0a](eb65c0a))
* backport fix ([#380](#380)) ([5392b56](5392b56))

### Features

* add editor hint support ([#386](#386)) ([a9b62df](a9b62df))
* **measure:** allow measures to be pushed on Assets via API (no devices) ([#344](#344)) ([c1073c1](c1073c1))
* **softTenants:** add softTenant ids to assets measures documents ([#383](#383)) ([1b36fe0](1b36fe0))
…s et par groupes (#388)

* feat: add optional type for asset group

* fix: set type optional

* fix: change allow null for type
# [2.6.0-beta.1](v2.5.0...v2.6.0-beta.1) (2025-01-08)

### Features

* trigger release ([9c82581](9c82581))
## [2.5.1](v2.5.0...v2.5.1) (2025-01-09)

### Bug Fixes

* **measure:** add mutex to asset update to prevent race condition ([#389](#389)) ([53371f4](53371f4))
Co-authored-by: rolljee <n.riquelmebareiro@gmail.com>
## [2.6.0-dev.1](v2.5.1...v2.6.0-dev.1) (2025-01-22)

### Features

* update deps ([#393](#393)) ([1b9b936](1b9b936))
* fix(measure): add mutex to asset update to prevent race condition (#389)

* chore(release): 2.5.1 [skip ci]

## [2.5.1](v2.5.0...v2.5.1) (2025-01-09)

### Bug Fixes

* **measure:** add mutex to asset update to prevent race condition ([#389](#389)) ([53371f4](53371f4))

* docs: add since badges to ingestMeasure(s) method (#390)

Co-authored-by: rolljee <n.riquelmebareiro@gmail.com>

* feat: update deps (#393)

* chore: update deps

* chore(release): 2.6.0-dev.1 [skip ci]

## [2.6.0-dev.1](v2.5.1...v2.6.0-dev.1) (2025-01-22)

### Features

* update deps ([#393](#393)) ([1b9b936](1b9b936))

* fix: typo in packages/package.json

* chore(release): 2.6.0-dev.2 [skip ci]

## [2.6.0-dev.2](v2.6.0-dev.1...v2.6.0-dev.2) (2025-01-22)

### Features

* trigger release ([9c82581](9c82581))

### Bug Fixes

* conflict between ([adf8d0f](adf8d0f))
* typo in packages/package.json ([9b6c495](9b6c495))

---------

Co-authored-by: Sébastien Rodriguez <sebtiz13@gmail.com>
Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net>
Co-authored-by: Juiced66 <80784430+Juiced66@users.noreply.github.com>
## [2.6.0-beta.2](v2.6.0-beta.1...v2.6.0-beta.2) (2025-01-22)

### Bug Fixes

* Trigger release ([5025a0f](5025a0f))
## [2.6.0](v2.5.1...v2.6.0) (2025-01-22)

### Features

* trigger release ([9c82581](9c82581))
* Trigger release ([a800c54](a800c54))

### Bug Fixes

* Trigger release ([5025a0f](5025a0f))
## [2.7.0-dev.1](v2.6.0...v2.7.0-dev.1) (2025-01-22)

### Features

* update deps ([#393](#393)) ([1b9b936](1b9b936))

### Bug Fixes

* conflict between ([adf8d0f](adf8d0f))
* typo in packages/package.json ([9b6c495](9b6c495))
Juiced66 and others added 9 commits July 9, 2025 17:33
* Revert "fix: engines name"

This reverts commit 9cf6da3.

* Revert "fix(ModelService): twin types"

This reverts commit 7d4fc85.

* fix: revert wrong solution, fix deviceManagerEngine
* feat!: remove KDM measure declaration
BREAKING CHANGES
KDM now will not import basics measure and let responsibility to users

* fixup! feat!: remove KDM measure declaration BREAKING CHANGES KDM now will not import basics measure and let responsibility to users

* fix: init measures for test app

* fixup! fix: init measures for test app
@QuentinRousselet QuentinRousselet force-pushed the KZLPRD-806-refont-asset-groups branch from fd554d5 to b3d6ada Compare July 10, 2025 09:57
@QuentinRousselet QuentinRousselet changed the title chore: configure next branch feat(groups): refont groups Jul 11, 2025
@QuentinRousselet QuentinRousselet self-assigned this Jul 11, 2025
@QuentinRousselet QuentinRousselet marked this pull request as ready for review July 11, 2025 11:48
Base automatically changed from 3-dev to next July 17, 2025 10:21
@inkedsquid inkedsquid changed the base branch from next to 3-dev July 17, 2025 13:06
Copy link
Contributor

@Juiced66 Juiced66 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, hard to review but

  • test are passing in ci and locally
  • no v3 changes has been overwrote

For the feature itself it's ok, for the UX we should have a migration guide (or script ideally) at least for people that will need to migrate their groups to the new format in the new collection.

@inkedsquid inkedsquid changed the title feat(groups): refont groups feat(groups): rework asset groups into broader groups Jul 18, 2025
@inkedsquid inkedsquid merged commit 6cfcede into 3-dev Jul 18, 2025
11 checks passed
@inkedsquid inkedsquid deleted the KZLPRD-806-refont-asset-groups branch July 18, 2025 08:19
github-actions bot pushed a commit that referenced this pull request Jul 18, 2025
## [3.0.0-next.4](v3.0.0-next.3...v3.0.0-next.4) (2025-07-18)

### Features

* **groups:** rework asset groups into broader groups ([#424](#424)) ([6cfcede](6cfcede))

### Bug Fixes

* restore next version releasing ([9bebc53](9bebc53))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.