All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
1.4.0
please see the [Releases Tab](https://github.com/skovy/cooky-cutter/releases. semantic-release
is now used
- Add
resetSequence()
to all factories to allow resetting the sequence #24
1.3.1 - 2019-06-01
- An incorrect warning about hard-coded values when using an override value with
derive
#17 - Invoking a function more than once when computing dependencies for a value needed for
derive
#19
1.3.0 - 2019-05-18
- Update dependencies with vulnerabilities reported via
npm audit
vianpm audit fix --force
#11
- By default, warnings will now be show for hard-coded objects and arrays #12
- A
configure
function was added to globally configure factories #12 - A configuration option
errorOnHardCodedValues
will throw (rather than warn) about hard-coded values #12 - Properly ignore
.vscode
config when publishing to npm in #9
- The
array
type definitions now match theextend
type definitions #12
1.2.0 - 2018-11-10
- Upgrade to
[email protected]
and update the internals to use proper function properties in #7
- Run
npm audit fix
to resolvedevDependency
vulnerabilities in #8
1.1.0 - 2018-08-08
- Add
array
for creating an array of objects (from a factory) in #2 by @kijowski - Add
derive
for deriving values dependent on other attributes in #5
- Update internal version of TypeScript to
3.0.1
in #3
1.0.3 - 2018-07-15
CHANGELOG
with current changes and (most) retroactive changes
- Allow overriding factory by passing a "falsy" value (eg:
0
orfalse
)
1.0.2 - 2018-07-14
- Add another badge for types
- Update the homepage URL to point to documentation
1.0.1 - 2018-07-14
- Removed unintentionally published files that increased the bundle size unnecessarily
1.0.0 - 2018-07-14
- Documentation updates
README
updates
0.0.6 - 2018-07-03
- Allow optional params in the
override
config - Allow overriding base factory attributes when extending
0.0.5 - 2018-06-25
- Add
extend
function to extend existing factories - Export types from the index
0.0.4 - 2018-06-25
create
renamed to define
0.0.3 - 2018-06-24
README
was added with basic information
- The range of the
random
helper was changed fromNumber.MAX_VALUE
to the 32-bit max for readability.
0.0.2 - 2018-06-24
- Correctly export the
create
method
create
method to define factoriesrandom
helper for a random integersequence
helper for a sequential integer