Skip to content

Commit f540da7

Browse files
authored
doc: Add change history for 0.6.0-beta4 (#311)
Adds history of change for 0.6.0-beta4, related to supporting rendering property.
1 parent 29390a9 commit f540da7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
These changes are the changes from v0.6.0-beta1 to v0.6.0-beta4.
2+
3+
The only change is the addition of the `RenderTemplate2024` and
4+
`WebRenderingTemplate2022` types and their inclusion in each of the VCs.
5+
6+
This is so that DPPs or other VCs which include a `renderMethod` property
7+
containing an object with a `template` or `url` etc., won't be rejected as
8+
invalid jsonld (due to the terms not being defined in the context).
9+
10+
Both the types have the `name` property set as an ID so that they will be blue classes and [included in the context](https://github.com/jargon-sh/issues/issues/30).
11+
12+
See https://github.com/uncefact/spec-untp/issues/309 for the issue details.
13+
14+
Each VC model had the following change:
15+
- Update the import to core 0.6.0-beta4
16+
- Added the following to the definition of the model so that the type is included in the model's context:
17+
```
18+
// The following two entities ensure that render templates
19+
// won't leave the credential as invalid jsonld
20+
RenderTemplate2024:untp.RenderTemplate2024
21+
#hideClass
22+
23+
WebRenderingTemplate2022:untp.WebRenderingTemplate2022
24+
#hideClass
25+
```
26+
- Saved the model
27+
- Released 0.6.0-beta4 for the model

0 commit comments

Comments
 (0)