- Add
updateHeader
method to the papi core
- BREAKING Change library name to papi
- Add method validation to
PapiEndpoint.constructor()
- Change how
PapiEndpoint.hasParams
andPapiEndpoint.params
are set inPapiEndpoint.constructor()
- Change
if
statement inPapiEndpoint.getEndpoint()
to aswitch
statement - Change file structure for tests
- Refactor
Mapi.registerService()
to not directly changeargs
- Fix build test failing issue
- Add minification to build process
- Add
babel-plugin-istanbul
for more accurate coverage reporting - Add npm script for generating HTML coverage reports
- Add npm script for running bundlesize
- Change bundlesize max size to 3kb
- Remove unneccessary index check in
MapiEndpoint.getEndpoint()
- Remove unsed code from
Mapi.registerService()
- Update tests
- Breaking Remove functionality to generate parameters even if
MapiEndpoint.hasParams
is set to false - Breaking Export factory instead of a class
- Add
MapiService.registerEndpoint
method - Add
.editorconfig
file - Add code coverage reporting to npm script
test:default
- Add error handling to endpoints
- Add default header support to Mapi
- Add ability to register a service with just a string
- Change file structure for
./src
- Change default MapiEndpoint endpoint to
'/'
- Fix endpoint building
- Refactor
MapiEndpoint.call()
- Refactor
MapiEndpoint.getEndpoint()
- Update tests
- Add Travis-CI integration
- Add Coveralls.io integration
- Create inital unit tests
- Add error checks to
Mapi.constructor()
andMapi.registerService()
- Change Mapi property name for base url to
._base
- Change default healthcheck endpoint to
'/health'
- Add inital build