1784 Commits

Author SHA1 Message Date
semantic-release-bot
f47cb3cc2e chore(release): 6.1.0 [skip ci]
# [6.1.0](https://github.com/jdalrymple/node-gitlab/compare/6.0.0...6.1.0) (2019-06-06)

### Bug Fixes

* Make the options argument optional [#336](https://github.com/jdalrymple/node-gitlab/issues/336) ([cf3c17e](https://github.com/jdalrymple/node-gitlab/commit/cf3c17e))

### Features

* Adding support for ReleaseLinks API ([d6a2248](https://github.com/jdalrymple/node-gitlab/commit/d6a2248))
* Adding support for Releases API [#295](https://github.com/jdalrymple/node-gitlab/issues/295) ([7191e81](https://github.com/jdalrymple/node-gitlab/commit/7191e81))
6.1.0
2019-06-06 18:56:33 +00:00
Justin
0c39a14d3c style(lint): Linting .md and jest config files 2019-06-06 14:35:32 -04:00
Justin
165f50041f test(jest): Detect open handles to determine where async calls are not fulfilling. 2019-06-06 14:31:55 -04:00
Justin Dalrymple
9391f3559c
Merge pull request #337 from jdalrymple/336-showjobs-optional
fix: Make the options argument optional #336
2019-06-06 14:26:00 -04:00
Justin Dalrymple
535fd423a5
Merge pull request #334 from jdalrymple/295-releases
feat: Adding support for Releases API #295
2019-06-06 14:09:26 -04:00
Justin Dalrymple
fb2f0e8830
Merge branch 'master' into 295-releases 2019-06-06 14:07:16 -04:00
Justin Dalrymple
0107db4f2d
Merge pull request #335 from jdalrymple/295-release-links
feat: Adding support for ReleaseLinks API
2019-06-06 14:05:33 -04:00
Justin
cf3c17e1f6 fix: Make the options argument optional #336 2019-06-06 13:33:22 -04:00
Justin
7191e81cd8 feat: Adding support for Releases API #295 2019-06-06 13:29:57 -04:00
Justin
d6a2248d36 feat: Adding support for ReleaseLinks API 2019-06-06 13:29:38 -04:00
Justin
b0af54b803 chore: Updating lock file 2019-06-06 12:52:50 -04:00
Justin Dalrymple
adf048f29d
Merge pull request #333 from jdalrymple/greenkeeper/rollup-1.14.3
chore(package): update rollup to version 1.14.3
2019-06-06 12:13:05 -04:00
greenkeeper[bot]
c2e0444e41 chore(package): update rollup to version 1.14.3 2019-06-06 13:04:42 +00:00
Justin
88589f5d3c Merge branch 'greenkeeper/rollup-1.14.2' 2019-06-05 12:03:07 -04:00
greenkeeper[bot]
c18cf5322c chore(package): update lockfile package-lock.json 2019-06-05 15:44:20 +00:00
greenkeeper[bot]
8d65bd7dc2 chore(package): update rollup to version 1.14.2 2019-06-05 15:44:10 +00:00
Justin
4320213a60 Merge remote-tracking branch 'origin/greenkeeper/rollup-1.14.1' 2019-06-05 11:39:09 -04:00
greenkeeper[bot]
8ec69f21a0 chore(package): update lockfile package-lock.json 2019-06-05 14:02:16 +00:00
greenkeeper[bot]
df1ba1ec0e chore(package): update rollup to version 1.14.1 2019-06-05 14:02:06 +00:00
Justin
09c7dff59b Merge remote-tracking branch 'origin/greenkeeper/rollup-1.13.1' 2019-06-03 11:59:47 -04:00
semantic-release-bot
28e72b7a28 chore(release): 6.0.0 [skip ci]
# [6.0.0](https://github.com/jdalrymple/node-gitlab/compare/5.0.2...6.0.0) (2019-06-02)

### Code Refactoring

* **RepositoryFiles:** Missing a required argument from the function headers ([e13c593](https://github.com/jdalrymple/node-gitlab/commit/e13c593))

### BREAKING CHANGES

* **RepositoryFiles:** create, edit and remove functions now require the commitMessage function argument
6.0.0
2019-06-02 05:38:49 +00:00
Justin Dalrymple
4b51a11925
Merge pull request #323 from jdalrymple/refactor-repositoryfiles
refactor(RepositoryFiles): Missing a required argument from the function headers
2019-06-02 01:18:08 -04:00
Justin Dalrymple
b16f1ca9dc
Merge pull request #327 from rkrasiuk/fix-global-types
fix: Include path to typings dir in src/index
2019-06-01 13:01:38 -04:00
Justin
29a6e3d753 test(lint): Temporarily remove markdown files from linter
Until https://github.com/conventional-changelog/conventional-changelog/issues/473 is resolved, prettier conflicts with the default changelog template.
2019-06-01 12:56:03 -04:00
rkrasiuk
c270939f6e run prettier command 2019-06-01 10:12:43 -05:00
rkrasiuk
28d3211d73 include path to typings dir in src/index 2019-06-01 10:05:11 -05:00
greenkeeper[bot]
7b6659ec6a chore(package): update lockfile package-lock.json 2019-06-01 11:19:03 +00:00
greenkeeper[bot]
f4356936b3 chore(package): update rollup to version 1.13.1 2019-06-01 11:18:58 +00:00
Justin
6d13df781f style: linting 2019-05-31 21:59:09 -04:00
Justin
e13c593c1c refactor(RepositoryFiles): Missing a required argument from the function headers
Commit messages are required for most of the RepositoryFile functions and was missing.

BREAKING CHANGE: create, edit and remove functions now require the commitMessage function argument
2019-05-31 21:58:24 -04:00
semantic-release-bot
9b779a0b0a chore(release): 5.0.2 [skip ci]
## [5.0.2](https://github.com/jdalrymple/node-gitlab/compare/5.0.1...5.0.2) (2019-05-31)

### Bug Fixes

* Properly handling the response bodies returned from gitlab ([881b87b](https://github.com/jdalrymple/node-gitlab/commit/881b87b)), closes [#320](https://github.com/jdalrymple/node-gitlab/issues/320)
5.0.2
2019-05-31 20:45:14 +00:00
jdalrymple
d3fef9ba5e
Merge pull request #322 from jdalrymple/fixes-320
fix: Properly handling the response bodies returned from gitlab
2019-05-31 16:24:50 -04:00
Justin
881b87b828 fix: Properly handling the response bodies returned from gitlab
Gitlab occasionally sends non json responses, and this was being lost in the current implementation of the RequestHelper KyRequester.

fixes: #320
2019-05-31 15:28:41 -04:00
Justin
e2235776b4 refactor(config): Moved the noEmit option to the tsconfig 2019-05-29 09:58:07 -04:00
Justin
f4c735be3c build: Keep only the declaration files 2019-05-28 14:10:16 -04:00
Justin
77fec4ce09 style(docs): Linting tslint config 2019-05-27 15:49:15 -04:00
Justin
7b884dbc7f ci(codeclimate): Modifying the thresholds 2019-05-27 15:13:24 -04:00
Justin
ffc085bc9b ci(codeclimate): Switching to tslint.json for codeclimate support 2019-05-27 14:30:04 -04:00
Justin Dalrymple
0061231c8e ci(travis): Updating coverage directory to be cached 2019-05-26 12:25:00 -04:00
Justin Dalrymple
b80d49346c style(docs): Linting travis yaml 2019-05-26 12:05:57 -04:00
Justin
b68dc4147a Merge remote-tracking branch 'origin/master' 2019-05-26 11:55:34 -04:00
Justin Dalrymple
c23f353d42 ci(travis): Caching coverage reports to be handled by the coverage step 2019-05-26 11:54:53 -04:00
semantic-release-bot
01fb996d1d chore(release): 5.0.1 [skip ci]
## [5.0.1](https://github.com/jdalrymple/node-gitlab/compare/5.0.0...5.0.1) (2019-05-26)

### Bug Fixes

* **package:** Making lint-staged a dev dependency ([5c949b2](https://github.com/jdalrymple/node-gitlab/commit/5c949b2))
* **package:** Missing dependency ([40f5d21](https://github.com/jdalrymple/node-gitlab/commit/40f5d21))
5.0.1
2019-05-26 01:12:44 +00:00
Justin
40f5d215ac fix(package): Missing dependency 2019-05-25 20:58:38 -04:00
Justin
b969687589 style(docs): Linting changelog 2019-05-25 20:24:28 -04:00
Justin
5c949b2d17 fix(package): Making lint-staged a dev dependency 2019-05-25 19:51:10 -04:00
semantic-release-bot
c1806845a9 chore(release): 5.0.0 [skip ci]
# [5.0.0](https://github.com/jdalrymple/node-gitlab/compare/4.5.1...5.0.0) (2019-05-25)

### Bug Fixes

* [#227](https://github.com/jdalrymple/node-gitlab/issues/227) Fixing array syntax thanks to Lukas Eipert (https://github.com/leipert) ([aa6acb1](https://github.com/jdalrymple/node-gitlab/commit/aa6acb1))
* Fixing Todos support. If todoId was not passed, an undefined value would be introduced into the url ([cea5a2b](https://github.com/jdalrymple/node-gitlab/commit/cea5a2b))
* Fixing typing structure and configuration ([a79dabe](https://github.com/jdalrymple/node-gitlab/commit/a79dabe))
* Merge Request Approvals API did not match official API ([e4ba731](https://github.com/jdalrymple/node-gitlab/commit/e4ba731))
* Removed xhr library in favour of ky, and switched request for got for a smaller package size and retry functionality ([ee4730f](https://github.com/jdalrymple/node-gitlab/commit/ee4730f))
* ResourceAwardEmojis API wasn't properly filtering based on awardId ([a7b29c1](https://github.com/jdalrymple/node-gitlab/commit/a7b29c1))

### Code Refactoring

* Expose optional parameters for the NotiicationSettings API ([1ba9126](https://github.com/jdalrymple/node-gitlab/commit/1ba9126))
* Removed Fs dependency for better browser support ([037f4ed](https://github.com/jdalrymple/node-gitlab/commit/037f4ed))
* Removed inconsistent export strategies ([03e85ef](https://github.com/jdalrymple/node-gitlab/commit/03e85ef))
* Removed the confusing url parameter from BaseService ([26e2e52](https://github.com/jdalrymple/node-gitlab/commit/26e2e52))
* Requiring content for the Note related APIs ([7453779](https://github.com/jdalrymple/node-gitlab/commit/7453779))
* Similar to the RepositoryFiles API changes ([97dd060](https://github.com/jdalrymple/node-gitlab/commit/97dd060))
* SystemHooks API function header updates ([6ea90d3](https://github.com/jdalrymple/node-gitlab/commit/6ea90d3))
* Triggers API required arguments exposed as optional ([62e032b](https://github.com/jdalrymple/node-gitlab/commit/62e032b))
* Updating the MergeRequest API's pipeline function header ([46a541b](https://github.com/jdalrymple/node-gitlab/commit/46a541b))

### Features

* Added LDAP support to the Groups API ([3f6d409](https://github.com/jdalrymple/node-gitlab/commit/3f6d409))
* Added the ability to add sudo to specific requests ([18effa2](https://github.com/jdalrymple/node-gitlab/commit/18effa2))
* Added the missing edit function to the Groups API ([ee6d490](https://github.com/jdalrymple/node-gitlab/commit/ee6d490))
* Adding the option to conditionally camelize response body ([5f97193](https://github.com/jdalrymple/node-gitlab/commit/5f97193))

### BREAKING CHANGES

* Triggers API pipeline function requires the ref and token
* Notes now require a body argument
* NotificationSettings API edit function now takes one parameter, `options`
* MergeRequest Pipelines require the mergeRequestId
* Updated Approvals API support to match https://docs.gitlab.com/ee/api/merge_request_approvals.html
* Removed dependency on FS. Now the Projects API takes in two arguments `projectId` and `content` as well as an option fileName argument
* Removed projectId from System Hooks API since it wasn't required
* Added content as a required parameter for RepositoryFiles
* Changing everything to named exports for simplicity
* Switching required initialization argument from 'url' to 'host'
5.0.0
2019-05-25 23:41:38 +00:00
Justin
356f056e5f chore(merge): Fixing some merge conflicts 2019-05-25 19:25:07 -04:00
Justin
d85a64edaf Merge branch 'next' 2019-05-25 19:07:39 -04:00
Justin
06593705f8 refactor: Updating typings on all functions to include additional options (ie sudo) 2019-05-25 19:05:28 -04:00