Compare commits

...

3 Commits

Author SHA1 Message Date
mirdono
74327cc371 chore: release v1.34.0 2025-07-11 11:16:18 +02:00
mirdono
bfb28bb698 Merge branch 'development' 2025-07-11 11:12:57 +02:00
Kike Franssen
cc8125cb14 Migration - harmonize date formats of change events (#562) 2025-07-11 10:51:13 +02:00
2 changed files with 29 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
# Changelog
## Unreleased
## v1.34.0-0 (2025-07-10)
## v1.34.0 (2025-07-11)
### Frontend
- Bump to version [v1.33.0](https://github.com/lblod/frontend-organization-portal/releases/tag/v1.33.0)
### Backend
@@ -12,12 +12,14 @@
- Add URI to resource's organization responses
- Fix query for organizations report [OP-3636]
- Bump report-generation-service to most recent version
- Write migration to harmonize date formats of change events [OP-3559]
### Deploy notes
```
drc pull deltanotifier; drc up -d deltanotifier
drc restart migrations-triggering-indexing resource
drc pull frontend; drc up -d frontend
drc pull report-generation; drc up -d report-generation
drc restart migrations; drc logs -ft --tail=200 migrations
```
## v1.33.3 (2025-07-04)

View File

@@ -0,0 +1,26 @@
PREFIX org: <http://www.w3.org/ns/org#>
PREFIX dcterms: <http://purl.org/dc/terms/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
DELETE {
GRAPH ?g {
?s dcterms:date ?oldDate .
}
}
INSERT {
GRAPH ?g {
?s dcterms:date ?newDate .
}
}
WHERE {
GRAPH ?g {
?s a org:ChangeEvent ;
dcterms:date ?oldDate .
FILTER(DATATYPE(?oldDate) != xsd:date)
FILTER(?g IN (
<http://mu.semte.ch/graphs/administrative-unit>,
<http://mu.semte.ch/graphs/worship-service>
))
BIND(STRDT(SUBSTR(STR(?oldDate), 1, 10), xsd:date) AS ?newDate)
}
}