Skip to content

Commit

Permalink
Merge pull request #25 from domapic/release-1.0.0-alpha.4
Browse files Browse the repository at this point in the history
Release 1.0.0 alpha.4
  • Loading branch information
javierbrea authored Dec 9, 2018
2 parents bc3f1cc + 9525fd6 commit ad98105
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 18 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,16 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Fixed
### Removed

## [1.0.0-alpha.4] - 2018-12-09
### Added
- Expose errors constructors to services

### Changed
- Upgrade domapic-base version, which expose new `getPath` method in storage.

## [1.0.0-alpha.3] - 2018-12-01
### Added
- Expose storage method to services
- Expose storage methods to services

### Changed
- Upgrade domapic-base version, which fixes a problem in Client concurrent requests.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ Returns a module instance, containing:
* `register(abilitiesData)` - Register provided abilities into the module. Read the [abilities](#abilities) chapter for further info.
* `start` - Starts the server.
* `events`- [Node.js emitter object][nodejs-events-url]. Used to emit abilities events to the controller.
* `errors` - Domapic errors constructors. Useful for rejecting abilities handlers with specific http errors. For further info read the [errors chapter in the domapic-base documentation][domapic-base-url]

### Abilities

Expand Down
1 change: 1 addition & 0 deletions lib/serviceHandlers.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ class ServiceHandler {
tracer: this.service.tracer,
config: this.service.config,
storage: this.service.storage,
errors: this.service.errors,
api: {
extendOpenApi: this.service.server.extendOpenApi,
addOperations: this.service.server.addOperations
Expand Down
28 changes: 14 additions & 14 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "domapic-service",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"description": "Base for Domapic Node.js services",
"main": "index.js",
"keywords": [
Expand Down Expand Up @@ -28,7 +28,7 @@
},
"dependencies": {
"bluebird": "3.5.1",
"domapic-base": "1.0.0-beta.17",
"domapic-base": "1.0.0-beta.18",
"is-promise": "2.1.0",
"lodash": "4.17.10",
"rand-token": "0.4.0",
Expand Down
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
sonar.organization=domapic
sonar.projectKey=domapic-service
sonar.projectVersion=1.0.0-alpha.3
sonar.projectVersion=1.0.0-alpha.4

sonar.sources=.
sonar.exclusions=node_modules/**,test/end-to-end/fixtures/**
Expand Down

0 comments on commit ad98105

Please sign in to comment.