Skip to content

Conversation

@Aschen
Copy link
Contributor

@Aschen Aschen commented Dec 27, 2018

What does this PR do?

The host param is now mandatory for protocols. The new constructor signature include mandatory host param and optional options param.

Documentation: kuzzleio/documentation#208

How should this be manually tested?

  • Step 1 : Run tests

Other changes

  • Rename Websocket to WebSocket
  • Update README:
    • link to doc v2
    • fix examples

@Aschen Aschen self-assigned this Dec 27, 2018
@Aschen Aschen changed the base branch from master to 6-dev December 27, 2018 08:53
@Aschen Aschen changed the title Protocol host param mandatory Have host param mandatory for protocols Dec 27, 2018
@codecov-io
Copy link

codecov-io commented Dec 27, 2018

Codecov Report

Merging #350 into 6-dev will not change coverage.
The diff coverage is 72.72%.

Impacted file tree graph

@@           Coverage Diff           @@
##            6-dev     #350   +/-   ##
=======================================
  Coverage   96.56%   96.56%           
=======================================
  Files          27       27           
  Lines        1397     1397           
=======================================
  Hits         1349     1349           
  Misses         48       48
Impacted Files Coverage Δ
src/protocols/abstract/common.js 91.89% <100%> (ø) ⬆️
src/protocols/abstract/realtime.js 100% <100%> (ø) ⬆️
src/protocols/socketio.js 94.64% <66.66%> (ø) ⬆️
src/protocols/http.js 92.77% <66.66%> (ø) ⬆️
src/protocols/websocket.js 98.07% <66.66%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7390dfb...9858dd7. Read the comment docs.

@Njuelle Njuelle merged commit 6d0104c into 6-dev Dec 27, 2018
etrousset pushed a commit to kuzzleio/documentation that referenced this pull request Dec 27, 2018
Protocols host param is now mandatory and Websocket is renamed to WebSocket

Depends on: kuzzleio/sdk-javascript#350
@Aschen Aschen mentioned this pull request Jan 7, 2019
Aschen added a commit that referenced this pull request Jan 7, 2019
#### Bug fixes

- [ [#349](#349) ] [build] Update webpack build config to fix raw web usage   ([Njuelle](https://github.com/Njuelle))
- [ [#345](#345) ] Fix 343 unhandled rejection on connect   ([Aschen](https://github.com/Aschen))

#### New features

- [ [#353](#353) ] Add method to use custom controllers in the SDK   ([Aschen](https://github.com/Aschen))

#### Enhancements

- [ [#350](#350) ] Have host param mandatory for protocols   ([Aschen](https://github.com/Aschen))

#### Others

- [ [#348](#348) ] Put document:create optional args in last position   ([Aschen](https://github.com/Aschen))
---
@scottinet scottinet mentioned this pull request Jan 17, 2019
scottinet pushed a commit that referenced this pull request Jan 17, 2019
The host param is now mandatory for protocols. The new constructor signature include mandatory host param and optional options param.
@scottinet scottinet mentioned this pull request Jan 17, 2019
@scottinet scottinet deleted the protocol-host-param-mandatory branch February 25, 2019 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants