# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## 0.0.15 - 26-04-2019 ### Added - A QueryOptions interface, that is used on dbHandler's executeQuery #20 ### Changed - dbHandler's tests to fit into new interface ### Security - Now dbHandler's executeQuery uses parametrized query to avoid SQL injection ## 0.0.14 - 26-04-2019 ### Removed - Dummies files as Item and Collection #16 (Horstmann) ## 0.0.13 - 26-04-2019 ### Added - A route to POST a form #10 (Horstmann) - Tests on route POST (Horstmann) ### Changed - dbHandler's tests to suit with new forms and inputs insertion ## 0.0.12 - 25-04-2019 ### Added - OptHandler to standardize constructors from Forms and Inputs #19 (Horstmann) - InputOptions interface on class Input #19 (Horstmann) - FormOptions interface on class Form #19 (Horstmann) ### Changed - Tests to adapt to new standard of options - dbHandler's readInputValidationWithInputId method to return a InputOptions instead of an input - Tests to adapt to new standard of options - ErrorHandler to add a new error message ## 0.0.11 - 17-04-2019 ### Added - ErrorHandler to standardize errors message through the project #17 (Horstmann) ### Changed - TestHandler documentation title - dbHandler tests to use ErrorHandler #18 (Horstmann) ## 0.0.10 - 16-04-2019 ### Added - TestHandler to test form and inputs #18 (Horstmann) ### Changed - controller form tests to use testHandler #18 (Horstmann) - controller form to improve code coverage - dbHandler tests to use testHandler #18 (Horstmann) - ValidationType to has as arguments an array of strings - ValidationHandler to receive a string as size instead number as validation arguments - ValidationHandler to cast size to number - ValidationHandler tests to use string instead of number as validation arguments ## 0.0.9 - 10-04-2019 ### Added - Method read in Form controller to get a Form ## 0.0.8 - 10-04-2019 ### Changed - main.ts to remove more dummie class - dbHandler to include method listForms ### Added - Form controller and method to list all forms ## 0.0.7 - 10-04-2019 ### Changed - main.ts to include dbHandler Middleware and remove dummie class ### Added - Create dbHandler Middleware to be able to access by routes #15 (Horstmann) ## 0.0.6 - 01-04-2019 ### Changed - Input class to match with database model (Add id and description) (Horstmann) - Form class to match with database model (Remove version add description) (Horstmann) - enumHandler to remove sides whitespaces (Horstmann) ### Added - Create readForm method to read form from database #7 (Horstmann) - Create readInput method to read input from database #7 (Horstmann) - Create writeForm method to insert form into database (Horstmann) - Comments to coverage ignore errors that are not reached on tests. ## 0.0.5 - 19-03-2019 ### Changed - Remove tslint-stylish from package.json, package is deprecated (Horstmann) - Update yarn.lock to avoid vulnerabilities (Horstmann) - Update CI file to handle database (Horstmann) ### Added - Class config using singleton patern, to centralize all configuration in one module (Horstmann) - DbHandler to be a layer between API and database #1 (Horstmann) ## 0.0.4 - 12-02-2019 ### Added - Class Form #3 (Horstmann) ## 0.0.3 - 07-02-2019 ### Changed - Added a new type of enum ValitationType #2 (Horstmann) ### Added - ValidationHandle to valited answer given a input #2 (Horstmann) ## 0.0.2 - 05-02-2019 ### Added - EnunHandler to handle types of inputs #4 (Horstmann) ## 0.0.1 - 04-02-2019 ### Added - This CHANGELOG file to hopefully serve as an evolving example of a standardized open source project CHANGELOG. - CI file to enable Gitlab Continuous Integration. - Docker files, as Dockerfile and docker-compose, to make easy development and Deploy #6 (Horstmann). - Update Node to 10.* #6 (Horstmann).