Skip to content

Releases: GoComply/metaschema

v0.1.4

30 Nov 12:26
Compare
Choose a tag to compare

Changelog

a0cc24a Always export non-empty value of the field to json
4f729fd Assembly names in JSON are no longer camelized
a63e939 Bump github.com/urfave/cli from 1.22.4 to 1.22.5
f163c65 Compile metaschema content in situ and avoid unnecessary copying
21116f0 Do not marshal name to the JSON
ce8817b Expand XmlGroupping also for Assemblies that are not wrapped by Model
2c43df7 Extract JsonAnnotation method on DefineField as well
caa01e0 Implement MarshalJSON for multiplexed models
e7c0e40 Implement context based parsing
f8cef8a Implement field/@in-xml="UNWRAPPED"
3eba2f2 Introduce IndexBy() and groupAs methods on field
98cabe7 Merge pull request #4 from GoComply/dependabot/go_modules/github.com/urfave/cli-1.22.5
eb650c1 Parse element within
85398c5 Refactor: Extract method
c10fbbe Refactor: Extract method JsonAnnotation
580ab18 Refactor: Extract method: XmlAnnotation
526b8a2 Refactor: Extract method: XmlAnnotation
68df5f7 Refactor: Fields should be considered GoStructItems
1e7fe9f Refactor: Merge datatype and AsType types
ae68a73 Refactor: Move assembly related stuff to separate file
d40f256 Refactor: item compilation details should be encapsulated within the object
600a6c3 Refactor: move as-type related stuff to separate file
5254991 Refactor: move field related stuff to separate file
204cc66 Refactor: move flag related stuff to separate file
0ce56a8 Remove show-docs handling
b40012f Remove unused MarshalXML method
20cffb1 Remove unused model field
033d9f9 Support marshaling of nested multiplexers
c7b5372 Support multiplexed field
68f88cf Update README.md
49ea87a field/@as-type="markup-line" needs to be classified as markup
98ed45c typo fix

v0.1.3

22 Sep 13:38
Compare
Choose a tag to compare

Changelog

062d3e7 Do no longer camelcase field names in json
18c5f77 Flag names in JSON are no longer camelized
3b9eaaa Implement json-value-key from NIST's Metaschema
ab69faf Minor: remove extra new-line between comment and type definition
78cba63 Refactor: Extract method
a400958 Refactor: Extract method
39da9bd Remove dead / left-over code
7d589ea Some of the fields do not come with the content
2f83b20 Support group-as/@in-xml on assemblies
879b7e9 run gofmt

v0.1.2

15 Sep 14:50
Compare
Choose a tag to compare

Changelog

127d116 Implement group-as/@in-json=SINGLETON_OR_ARRAY
83f41ab Refactor: Extract method

v0.1.1

07 Sep 14:23
0250377
Compare
Choose a tag to compare

Changelog

d70a1e4 Allocate whole array upfront
a55a99d Automated make vendor
e146496 Be little bit more explicit
bd55595 Bring in multiplexers defined in dependent packages
16b5334 Bump github.com/markbates/pkger from 0.16.0 to 0.17.0
b1d8a93 Bump github.com/markbates/pkger from 0.17.0 to 0.17.1
be36f16 Calculate Multiplexers only once
7d16919 De-duplicate multiplexers already defined in dependent metaschemas
c404e22 Do not generate multiplexors if there ain't any
3055774 Drop assembly/@nAmed attribute
cff3d05 Drop field/@nAmed, it is no longer used
14a42bb Duplicate types to make them "defined types"
3b6dc30 Implement first version of generated_multiplexers
f74f94a Introduce new template to be autogenerated by gocomply_metaschema
3af199c List of multiplexed models should be stable
bfa2385 Merge pull request #1 from GoComply/dependabot/go_modules/github.com/markbates/pkger-0.17.0
583128e Merge pull request #2 from GoComply/make-vendor-a55a99d
0250377 Merge pull request #3 from GoComply/dependabot/go_modules/github.com/markbates/pkger-0.17.1
cce45a5 Move requiresMultiplexer() method to the multiplexers.go
56a00c2 Multiplexed models do not need to respond to GoName()
e773341 Multiplexers do not yet need Name variable
283688f Refactor: Extract GoName methods
84413f6 Refactor: Extract method and move it up the caller stack
1527658 Refactor: Extract method: Compile()
0c79f0b Refactor: Move metaschema compilation to a separate file
66d9ea0 Refactor: Open of bundled template needs to be dynamic
4abe5c8 Refactor: Rename method
e1b9140 Refactor: Rename method
67c0150 Refactor: Rename module
9d26339 Refactor: Rename template to generated_models.tmpl
bd75ccf Refactor: Rename variable
20bf109 Refactor: Simplify local logic
d473925 Refactor: privatize a method
1fcbb79 Refactor: rewrite main loop to allow for more templates being added
42f3229 Reflect fork of oscalkit at https://github.com/GoComply/oscalkit
0e9daac Remove GroupAs attribute from DefineAssembly
ffc983b Remove GroupAs attribute from DefineField
a27f7b4 Rename generated files to be constant and thus always consistent
bddf0dc Start referring to the multiplexers
d5a58db Thou shall not push before compiling
f97699a Update README.md
5c252ff Update README.md
7979633 auto generate UnmarshalJSON for special cases
bea4140 fix goreleaser metadata
add455e lets try dependabot
f54101d make vendor
21860f5 make vendor

v0.1.0

25 Aug 14:35
Compare
Choose a tag to compare

Changelog

656c191 Add usage instructions
4e7f03c Assume that explicit type is string
96b6bc8 Bundle types.tmpl into the resulting binary
1aef874 Create make vendor target
3079ef9 Create missing directories automatically
78fc548 Do not hardcode ../types/oscal as output directory
8cfe760 Do not hardcode golang module path
b30a3c0 Do not omit oscal_assessment module
a0733e3 Extract input directory to be command-line argument
22d45cb Fix generic metaschema path manipulation
1eb496c Fix the build failure
aa80766 Initial code commit
34b9845 Initiate .gitignore
e933b95 Let's try this goreleaser magic
5ce9464 Make metaschema parsing little bit more generic
5307550 Make the outputDir configurale
bc37976 Makefile target for rebuilding pkged.go
0c86125 Move main module under gocomply_metaschema
14eec39 Move metaschema parser to separate module
f269458 Move templating to a separate module
cdfe6be Package latest metaschema template
0c0e4b1 Publish auto generated file that includes metaschema/template/types.tmpl
11ca18e Remove obsoleted go hint
15c8a77 Remove subproject
0aac42c Simplify template processing
ed39f24 Start supporting as-type="uuid"
a4b8f2e Take and profit
6d5f94f Update README.md
19e0e93 Update README.md
087fc4a Update the header of generated code
0708be6 Vendor dependencies
716c4cc Workflow for processing upstream OSCAL
5d9425a add gh actions
44ba118 readme