# Changelog

All notable changes to this project will be documented in this file.
This project follows [SemVer 2.0.0](http://www.semver.org).

## 6.3.0

- Added support for `format: 'decimal'` in `JSONSchemaFactory`

## 6.2.1

- Fix rare edge case that would generate out-of-range number
- Restrict default range of `format: 'date'` and `format: 'date-time'` in `JSONSchemaFactory` to a
  smaller, more reasonable range (approx. 1001-01-01 to 9999-01-01).
- Upgrade internal dependencies

## 6.1.0

- Added support for `minItems` and `maxItems` on array properties in `JSONSchemaFactory`
  - This is not a breaking change; however, previously array properties by default were always
    generated with exactly two elements. This was not documented, so it is not considered a breaking
    change. However, you may have tests that were accidentally relying on this behavior.

## 6.0.0

### Breaking
- Dropped support for Node 4 and Node 6

## 5.0.0

### Breaking
- Factories now generate negative numbers and integers

### Added
- Added support for JSON schema exclusive maximum

## 2.7.0

### Added
- Optionally define and instantiate factories synchronously with `.json()`
- Allow inheriting from multiple ancestors (not just parent)

## 2.6.0

### Added
- Ability to define factories that create objects with arrays. These arrays can
  be overridden in various ways (i.e., you can decide how long the array will be
  without specifying individual array items; you can override individual array
  indices or even subpaths within individual array indices). Optionally, the
  arrays can consist of other embedded factories.
- Independent from outside modules! Unionized no longer requires `lodash` or
  `dot-component`. This means that now you can browserify this module if you'd
  like.

### Deprecated
- Nothing.

### Removed
- Nothing.

### Fixed
- Now you can override an entire embedded factory!
