# 4.1.1 * Fix RandomSchemaGenerator.new always returning equivalent generators ([#60](https://github.com/alphagov/govuk_schemas/pull/60)) # 4.1.0 * Add `seed` parameter to `GovukSchemas::RandomExample` to make the random behaviour deterministic. Given the same seed, the same randomised outputs will be returned ([#56](https://github.com/alphagov/govuk_schemas/pull/56)). # 4.0.1 * Bump the required Ruby version to >= 2.6.x. # 4.0.0 * Change RSpec::Matchers, rename `be_valid_against_schema` to `be_valid_against_publisher_schema` and add `be_valid_against_frontend_schema` plus `be_valid_against_notification_schema`. # 3.3.0 * Support generating objects with an `oneOf` property. # 3.2.0 * Add `GovukSchemas::DocumentTypes.valid_document_types` (PR #48) # 3.1.0 * Update json-schema dependency # 3.0.1 * change order of output when validation errors occur during random example generation # 3.0.0 * Move to block based customisation of randomly generated payloads. This removes the existing methods: `customise_and_validate` and `merge_and_validate`. In addition `GovukSchemas::RandomExample.for_schema(schema)` now returns the payload hash directly. # 2.3.0 * Allow looking up examples to work with schemas stored in `formats/{format}/{schema_type}/examples/` and `examples/{format}/{schema_type}/` to allow schema examples to move. # 2.2.0 * Add RSpec test helpers * Add `customise_and_validate` to bring the functionality to remove fields from a payload which has been generated as a random example # 2.1.1 * Support for a new regex in GOV.UK content schemas # 2.1.0 * Add `Schema.schema_names` to return all schema names * Add functionality to work with examples # 2.0.0 * Change GovukSchemas::Schema.find to take { links_schema: 'detailded_guide' } * Add regex for lowercase-underscore strings # 1.0.0 * Add regex for GOV.UK campaign URLs * Improve error messages # 0.2.0 * Add a new regex for the new application validation in the schema * Add documentation for the gem * Fixes a problem with an infinite loop in a certain schema * Now tests all available schema (a problem with specialist docs has been solved) * Drops active-support dependency, pins json-schema dependency # 0.1.0 * First release. Allows random content generation.