Skip to content

Commit

Permalink
2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ekzobrain committed Jul 7, 2023
1 parent 90a8a03 commit d3baeb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## [Unreleased]

## [2.0.0] - 2023-07-07

- Change XSD::XML.new(file, **options) -> XSD::XML.open(file, **options)
- Add ability to construct empty reader (reader = XSD::XML.new(**options)) and manually add schemas to it (reader.add_schema_xml(xml))
- Add ability to configure import resources resolver via options

## [1.0.0] - 2023-04-25

- Initial release
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ gem 'xsd'
require 'xsd'

# Load ruby-xsd
reader = XSD::XML.new(:xsd_file => 'some.xsd')
reader = XSD::XML.open('some.xsd')

# Get attributes
attribute = reader['NewReleaseMessage']['@MessageSchemaVersionId']
Expand Down

0 comments on commit d3baeb5

Please sign in to comment.