CHANGELOG.md 3.93 KB
Newer Older
1 2 3 4 5
# 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).
6

7 8 9 10 11 12 13
## 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
14

15 16

## 0.0.14 - 26-04-2019
17 18 19 20
### Removed
- Dummies files as Item and Collection #16 (Horstmann)


21 22 23 24 25
## 0.0.13 - 26-04-2019
### Added
- A route to POST a form #10 (Horstmann)
- Tests on route POST (Horstmann)
### Changed
26
- dbHandler's tests to suit with new forms and inputs insertion
27 28


29 30 31 32 33 34 35 36 37 38 39 40 41
## 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



42 43 44 45 46 47
## 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)
48 49


50 51 52 53 54 55 56 57 58 59 60
## 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
61 62


63 64 65
## 0.0.9 - 10-04-2019
### Added
- Method read in Form controller to get a Form
66 67


68 69 70 71 72 73
## 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
74 75


76 77 78 79
## 0.0.7 - 10-04-2019
### Changed
- main.ts to include dbHandler Middleware and remove dummie class
### Added
80
- Create dbHandler Middleware to be able to access by routes #15 (Horstmann)
81 82


83 84 85 86 87 88 89 90 91 92
## 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.
93 94


95 96 97 98 99 100 101 102 103
## 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)

104 105 106 107 108
## 0.0.4 - 12-02-2019
### Added
- Class Form #3 (Horstmann)


109 110 111 112 113 114 115
## 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)


116 117 118 119 120
## 0.0.2 - 05-02-2019
### Added
- EnunHandler to handle types of inputs #4 (Horstmann)


121 122 123 124 125 126
## 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).