Releases: eXigentCoder/node-api-seed
Releases · eXigentCoder/node-api-seed
1.1.1
1.1.0
Creating this initial CHANGELOG.md file to make upgrading easier.
- #13: Upgrading the running version of node to 8.1.2, deleted and reinstalled node_modules to upgrade the
package-lock.jsonfile. - @eXigentCoder - #12: Upgrading dependencies as part of routine maintenance. - @eXigentCoder
- #11: Updating the code so that on creation of objects that use statuses you can either set some static data in the status log or get some data from the
reqobject. These rules are specified in the schema file. - @eXigentCoder- In your object's schema, on the first status in the
statusesroot property you can now add a property calledinitialData. This controls how the first status log entry will be generated. This can have bothstaticdata and data that comes from the request, specified in thefromReqproperty. If both are specified and there is a conflict merging the two objects,fromReqwill take precedence. Subproperties specified infromReqcan either be:- A string - the path to the value on the
reqobject, using lodash's get method - Array with a string and other entries - the first value is the path as above, the second is the default value if one is not found.
- A string - the path to the value on the
- In your object's schema, on the first status in the
1.0.0
- Going forward i'd like to use releases and CHANGELOG.md to keep track of things, so for now i'm putting a take in the ground and saying that this is the start point.