Skip to content

Conversation

erosb
Copy link
Contributor

@erosb erosb commented Jun 17, 2018

Changing ObjectSchema to represent patternProperties as a Map<Regexp, Schema> instead of Map<Pattern, Schema>
This is a follow-up change of introducing Regexp and RegexpFactory interfaces in 1.9.0.

Keeping but deprecating existing accessor & builder methods of ObjectSchema which consume / return a Pattern, converting from/to Regexp.

In the end, changing ObjectSchemaLoader to instantiate a Regexp instance using the configured RegexpFactory instead of attempting to use RE2J directly.

Also bumping version number to 1.9.1, since it is going to be a quick bugfix release ASAP.

Changing `ObjectSchema` to represent `patternProperties` as a `Map<Regexp, Schema>` instead of `Map<Pattern, Schema>`
This is a follow-up change of introducing `Regexp` and `RegexpFactory` interfaces in `1.9.0`.

Keeping but deprecating existing accessor & builder methods of `ObjectSchema` which consume / return a `Pattern`, converting from/to `Regexp`.

In the end, changing `ObjectSchemaLoader` to instantiate a `Regexp` instance using the configured `RegexpFactory` instead of attempting to use RE2J directly.

Also bumping version number to 1.9.1, since it is going to be a quick bugfix release ASAP.
@coveralls
Copy link

coveralls commented Jun 17, 2018

Coverage Status

Coverage increased (+0.03%) to 92.568% when pulling 648d54c on patternproperties-regexp-fix into e605506 on master.

@erosb erosb merged commit 321ef08 into master Jun 18, 2018
@erosb erosb deleted the patternproperties-regexp-fix branch July 15, 2021 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants