Releases: GoComply/xsd2go
v0.1.11
Changelog
- c233d1d Implement xsd:Name types
- 25ce001 Merge pull request #156 from isimluk/ci-lint-tunning
- 836aeb0 Support xsd:duration datatype
- b22e130 add support for XSD schema without explicit targetNamespace definition
- 9c92d2c ci lint: enable a few other linters
- 3c960b4 ci lint: explicitly enable/disable linters
- 79dbe15 ci: lint: close the files, rookie
- 547f027 ci: lint: enable couple other linters
- 17fc89a ci: lint: enable gocritic
- 48fb59d ci: lint: enable revive linter
- bc56021 ci: lint: indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
- 6995fd3 ci: lint: lint & fix test code
- a8577d5 ci: lint: os.MkdirTemp() could be replaced by t.TempDir() in assertConvertsFine (usetesting)
- 037c18b ci: lint: remove unneccessary empty lines
- 314a955 ci: lint: remove unused receivers
- 982bac6 ci: lint: remove unused tags (on not-exported fields)
- 018ea13 ci: lint: warn on unused whitelist rule
- 6449fc4 minor: remove unused parameter
v0.1.10
Changelog
- 4dc7888 Add docs to output
- 39b21e2 Add install to makefile
- bde1765 Add more docs
- f5e7189 Add more docs
- 5a1f715 Add more docs to output
- faeb771 Add types
- 6efdcf1 Adjust tests
- a263925 Allow annotations
- a193ea3 Demonstrate issue
- e932368 Fix #129
- 24e0458 Fix invalid order in test
- 027375f Fix whitespace
- 1566bd6 Merge pull request #130 from nettnikl/fix129
- 9e4e4c3 Merge pull request #132 from nettnikl/fix130
- 438547d Merge pull request #140 from GoComply/dependabot/go_modules/golang.org/x/net-0.29.0
- ef34c1e Merge pull request #142 from GoComply/dependabot/go_modules/github.com/urfave/cli-1.22.16
- dc13dbf Merge pull request #144 from GoComply/dependabot/go_modules/github.com/stretchr/testify-1.10.0
- 96c1e00 Merge pull request #147 from GoComply/dependabot/go_modules/golang.org/x/net-0.34.0
- 602922d Merge pull request #148 from DeliveranceTechSolutions/master
- 0af6f85 Merge pull request #149 from isimluk/bump-go-in-ci
- 4736c01 Merge pull request #150 from isimluk/bump-go
- 11a39f9 Merge pull request #151 from GoComply/dependabot/go_modules/github.com/urfave/cli-1.22.17
- 3e2a2ea Merge pull request #152 from GoComply/dependabot/go_modules/golang.org/x/net-0.41.0
- 113537e Merge pull request #154 from isimluk/pr-153
- 839092f Merge pull request #155 from isimluk/ci-fix-lint
- 55f1864 Migrate import
- 81c5193 Migrate import
- e5f6a34 build(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0
- ed218f7 build(deps): bump github.com/urfave/cli from 1.22.15 to 1.22.16
- 334d6f2 build(deps): bump github.com/urfave/cli from 1.22.16 to 1.22.17
- de7c66b build(deps): bump golang.org/x/net from 0.27.0 to 0.29.0
- 1d2ae58 build(deps): bump golang.org/x/net from 0.29.0 to 0.34.0
- 3cef2b8 build(deps): bump golang.org/x/net from 0.34.0 to 0.41.0
- 7eb1e5b build(deps): bump golangci/golangci-lint-action from 6 to 8
- 55c5753 bump go
- f14ec2e ci: bump go versions
- f1bd0a3 ci: convert golangci-lint config to the latest greatest
- 0228aa0 ci: fix formatting
- 27b743e ci: golangci-lint-action version 8
- 088e21c ci: with without with wouldn't work
- d42cb46 fix lint: ST1005
- 7977829 fix lint: ST1005: error strings should not be capitalized (staticcheck)
- 44950e9 improve error reporting of the schema parser
- 6676f75 improve tests experience, show details on fail
- ed9df22 label our goreleaser config as version 2 compliant
- 420b1bd lint: ST1005: error strings should not end with punctuation or newlines (staticcheck)
- 1aeb28d lint: disable ST1003 check
- b0d60c4 lint: fix ST1016
- 8d1afd0 one more
- f0e7a18 wrap errors when applicable
- c8c9e70 ¯_(ツ)_/¯
v0.1.9
Changelog
- 0d03d0f Add unsignedLong and hexBinary static types
- 86b6fca Bring back CRLF fix
- f4e0833 Bump actions/setup-go from 4 to 5
- 4eada8b Bump github.com/stretchr/testify from 1.8.4 to 1.9.0
- 93a2aec Bump golang.org/x/net from 0.18.0 to 0.19.0
- 0b8adaa Bump golang.org/x/net from 0.19.0 to 0.20.0
- c92bdab Bump golang.org/x/net from 0.20.0 to 0.21.0
- 938cb21 Bump golang.org/x/net from 0.21.0 to 0.22.0
- 4ea9893 Bump golang.org/x/net from 0.22.0 to 0.23.0
- 6722c7f Bump golangci/golangci-lint-action from 3 to 4
- 7924658 Merge pull request #105 from isimluk/fix-windows
- 2dc8dcf Merge pull request #106 from GoComply/dependabot/go_modules/golang.org/x/net-0.19.0
- 5fabe6c Merge pull request #107 from GoComply/dependabot/github_actions/actions/setup-go-5
- c0fa9ed Merge pull request #108 from GoComply/dependabot/go_modules/golang.org/x/net-0.20.0
- b04ace8 Merge pull request #110 from GoComply/dependabot/go_modules/golang.org/x/net-0.21.0
- 2f9c1fc Merge pull request #112 from GoComply/dependabot/go_modules/github.com/stretchr/testify-1.9.0
- cbdd4b1 Merge pull request #113 from GoComply/dependabot/github_actions/golangci/golangci-lint-action-4
- 0fb87cf Merge pull request #114 from GoComply/dependabot/go_modules/golang.org/x/net-0.22.0
- 993d981 Merge pull request #116 from GoComply/dependabot/go_modules/golang.org/x/net-0.23.0
- 376cdcd Merge pull request #117 from GoComply/dependabot/go_modules/golang.org/x/net-0.24.0
- 58e244c Merge pull request #119 from GoComply/dependabot/go_modules/github.com/urfave/cli-1.22.15
- 28c2a86 Merge pull request #120 from GoComply/dependabot/github_actions/golangci/golangci-lint-action-5
- e360fc9 Merge pull request #122 from GoComply/dependabot/github_actions/golangci/golangci-lint-action-6
- bef25fc Merge pull request #127 from GoComply/dependabot/github_actions/goreleaser/goreleaser-action-6
- c369c52 Merge pull request #128 from GoComply/dependabot/go_modules/golang.org/x/net-0.27.0
- 674717a Merge pull request #139 from tealeg/implement-hex-binary
- c46f93f build(deps): bump github.com/urfave/cli from 1.22.14 to 1.22.15
- 014a9dc build(deps): bump golang.org/x/net from 0.23.0 to 0.24.0
- ab0484a build(deps): bump golang.org/x/net from 0.24.0 to 0.27.0
- 794cc6a build(deps): bump golangci/golangci-lint-action from 4 to 5
- e516391 build(deps): bump golangci/golangci-lint-action from 5 to 6
- 5938d27 build(deps): bump goreleaser/goreleaser-action from 5 to 6
- 59c2bee goreleaser: drop archives
- 328fb40 improve CI badge
- 13d2b41 ublish my runtesh.sh and acknowledge the scap test outputs
v0.1.8
v0.1.6
v0.1.5
What's Changed
- Maintenance: Fix gosec warnings by @isimluk in #41
- Implement xsd:all within xsd:ComplexType by @isimluk in #43
- Refactor: Extact method: isElementInlined by @isimluk in #44
- Fix gosec failure: filepath pseudo sanitization by @isimluk in #47
- Bump github.com/stretchr/testify from 1.7.0 to 1.7.1 by @dependabot in #46
- Implement few missing types by @isimluk in #49
- Bump github.com/urfave/cli from 1.22.5 to 1.22.7 by @dependabot in #50
- Bump github.com/urfave/cli from 1.22.7 to 1.22.8 by @dependabot in #52
- Bump github.com/stretchr/testify from 1.7.1 to 1.7.2 by @dependabot in #55
- Bump github.com/stretchr/testify from 1.7.2 to 1.7.3 by @dependabot in #56
- Bump github.com/stretchr/testify from 1.7.3 to 1.7.4 by @dependabot in #57
- Bump github.com/urfave/cli from 1.22.8 to 1.22.9 by @dependabot in #54
- Bump github.com/stretchr/testify from 1.7.4 to 1.7.5 by @dependabot in #58
- Bump github.com/stretchr/testify from 1.7.5 to 1.8.0 by @dependabot in #59
- Bump github.com/stretchr/testify from 1.8.0 to 1.8.1 by @dependabot in #62
- Bump github.com/urfave/cli from 1.22.9 to 1.22.11 by @dependabot in #64
- Bump github.com/urfave/cli from 1.22.11 to 1.22.12 by @dependabot in #66
- Bugfix/handle iso8859 1 encoded xmls by @elahmo in #69
- Bump github.com/iancoleman/strcase from 0.0.0-20191112232945-16388991a334 to 0.2.0 by @dependabot in #67
- Bump github.com/stretchr/testify from 1.8.1 to 1.8.2 by @dependabot in #68
- Chores: maintenance by @isimluk in #71
- Bump actions/checkout from 2 to 3 by @dependabot in #74
- Bump golangci/golangci-lint-action from 2 to 3 by @dependabot in #75
- Bump actions/setup-go from 1 to 4 by @dependabot in #72
- Bump goreleaser/goreleaser-action from 2 to 4 by @dependabot in #73
- Chores: drop go 1.15 and go 1.16 support by @isimluk in #77
- Bump golang.org/x/net from 0.8.0 to 0.9.0 by @dependabot in #76
- chores: remove dead badge by @isimluk in #78
New Contributors
Full Changelog: v0.1.4...v0.1.5
v0.1.4
Changelog
3f17ffd Add OVAL XSD test to CI
bfd512a Add SCAP DataStream XSDs to CI
208ac6b Add SCAP XSD2Go generation to the CI
8f74d5c Add SCAP/XCCDF generation to the CI
58321e2 Add goreportcard badge
30feed3 Add gosec to the CI
00b13c5 Amend the readme to better reflect the current realities
d1a8d65 Assert for the duplicate shorthand xmlns in the XSD workspace
441e85e Avoid unnecessary assignment
279debe Bump go version
18ca570 Bump go versions in CI
89d5c8a CI: Add golangci-lint
95cf05a CI: Ensure clean git repo
061de1e CI: go vet ./...
76ad36f CLI tool should check for arg parse errors
68c81ab Correct foreign module manipulation
103cf82 Fix go vet unreachable code
3f61c7d Fix gopath/pkger manipulation
ed7e6a1 Implement ability to explicitly set --xmlns-override(s)
cd91092 Improve error reporting
8e7fa82 Improve golangci-lint action output
59a9fc5 Make sure to format pkg/template after refresh
a02f371 Merge pull request #31 from isimluk/maintenance
94dcf46 Merge pull request #32 from isimluk/bump-go-version
44e8a6a Merge pull request #33 from isimluk/ci-lint
03285be Merge pull request #34 from isimluk/fix-20
ad463de Merge pull request #35 from isimluk/misc-improvemtns
b1709e5 Merge pull request #36 from isimluk/goreportcard
9407f6d Merge pull request #37 from isimluk/scap-xsd-integration
1c27e68 Merge pull request #38 from isimluk/scap-xsd-integration
0dd9bbe Merge pull request #39 from isimluk/oval-xsd-integration
f8ea01a Merge pull request #40 from isimluk/add-datastream-xsd-to-ci
452c16f Remove unused method
95de50e Sanitize '.' character in the package names
f96959e Simplify code as proposed by gofmt -s
5f7a2fe Simplify string manipulation of a buffer
ed17481 Support type="xs:unsignedInt"
1f8f367 Tests for swid extensions
470c68b Update README.md
ed24d4b tests: add missing assertion
v0.1.3
Changelog
9491e0a Add stock XMLDSIG schema to our test suite
2d07753 Adding XMLNmae to ComplexTypes when not explicitly defined
4def72e Adding support for attribute groups
8f04406 Adding support for enums
63530a4 All the smoke tests should compare output to pre-generated files
b8bb847 Bump github.com/stretchr/testify from 1.6.1 to 1.7.0
0f22bb7 Bump github.com/urfave/cli from 1.22.4 to 1.22.5
9d9d8da Compile Restriction for simple types
8644204 Do export schema that contains only simple types
c182902 Do not import "encoding/xml" if schema includes only simple types
546204e Don't cache included XSDs
b3beb01 Ensure that schema without elements is exported just fine
944e39e Expect int64 instead of string for SimpleType HMACOutputLengthType
ee41cf4 Fixing refs to simple types
56060ad Fixing tests
b716877 Implement missing plain types
ae679b7 Make tests more flexible: do not rely on XSD defining simple_schema/models.go
d90e951 Merge branch 'master' into master
c58dedd Merge pull request #12 from wiz-sec/master
4542678 Merge pull request #13 from wiz-sec/enums
e68609c Merge pull request #14 from isimluk/tests-to-run-go-build
51431a6 Merge pull request #16 from wiz-sec/xmlname
ce09c2b Merge pull request #17 from GoComply/dependabot/go_modules/github.com/urfave/cli-1.22.5
ce0e60e Merge pull request #18 from GoComply/dependabot/go_modules/github.com/stretchr/testify-1.7.0
fed76aa Merge pull request #24 from vvidovic/feature/xsd-include
b8b7b28 Merge pull request #25 from vvidovic/fix/quote-tag-in-xmlname
7041982 Merge pull request #28 from Vany/master
1ff4e8b Merge pull request #29 from nicoflink/bugfix/Schema-GetType
f6c28e9 Merge pull request #30 from nicoflink/bugfix/Usage-SimpleTypes
0be7909 Merge remote-tracking branch 'gocomply/master' into xmlname
c4948dd Quoting tag in XMLName field
def7266 Replace constant "string" with function parameter
7779483 Rewrite deduplication of inherited elements
a7246e1 Smoke test should assert that generated is valid golang file
ccf9bcb Test: Rename output files used for assertions
dba37a8 Use name of simple types in elements
b68d35d XSD include implementation
0d2d7a8 fixing some enums casing
f75f0b0 fixing tests
9b63e00 fixing tests
566ce5c fixing xmlnames
78771a5 forgot pkg/xsd/enum.go
d25df79 implement long and double
171e069 more enums fixes
a7cf97c update pkged.go
v0.1.2
Changelog
b69a246 Allow multiple elements within element
ac7b5f0 Always add InnerXml to ComplexType
f9010e2 Avoid duplicate elements within xsd:choice/xsd:sequence structure
eb8f0b4 Do not import plain string from foreign module
430a5a8 Fixing handling sequences within choices
662f8f4 Introduce Choice.Elements() method
04b6332 Introduce instance variable allElements to Choice similarly to Sequence
1939d6d Merge pull request #10 from wiz-sec/master
f8241d5 Merge pull request #8 from wiz-sec/master
14cc411 Refactor: Extract method
fa29313 Replace if-else with a map
9290e0b Types defined in a given schema shall take precedence over stock XML types
067ed63 Updated pkg/template/pkged.go
5b1f9a3 Use existing (pseudo)constant to determine whether it is a static type
aad9022 When element references simple type it should still be considered to be "string"
ebed1e9 fixing tests on windows
v0.1.1
Changelog
c45ce70 Add make vendor
Makefile target
5fedd10 Bump github.com/markbates/pkger from 0.16.0 to 0.17.1
56f6a51 Bump github.com/stretchr/testify from 1.4.0 to 1.6.1
6ddd148 Implement xsd:int and xsd:integer
ffbb2d2 Introduce first test and test harness
2d830ce Let's have bot manage dependencies as they grow
9ec4dc9 Merge pull request #4 from GoComply/dependabot/go_modules/github.com/stretchr/testify-1.6.1
6afa965 Merge pull request #5 from GoComply/dependabot/go_modules/github.com/markbates/pkger-0.17.1
b0882a5 Recognize optional attributes correctly
fc997ab Refactor: Extract method: Modifiers()
2773bd9 Remove redundant word
f34a52c Update README.md
da68c85 Update README.md
b5e46a0 Update README.md
5dcc04b make vendor
bd6f8c4 make vendor
70e492a vendor dependencies