245 Commits

Author SHA1 Message Date
Justin
b0af54b803 chore: Updating lock file 2019-06-06 12:52:50 -04:00
greenkeeper[bot]
c18cf5322c chore(package): update lockfile package-lock.json 2019-06-05 15:44:20 +00:00
greenkeeper[bot]
8ec69f21a0 chore(package): update lockfile package-lock.json 2019-06-05 14:02:16 +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
2019-06-02 05:38:49 +00:00
greenkeeper[bot]
7b6659ec6a chore(package): update lockfile package-lock.json 2019-06-01 11:19:03 +00:00
Justin
6d13df781f style: linting 2019-05-31 21:59:09 -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)
2019-05-31 20:45:14 +00: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))
2019-05-26 01:12:44 +00:00
Justin
40f5d215ac fix(package): Missing dependency 2019-05-25 20:58:38 -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'
2019-05-25 23:41:38 +00:00
Justin
d85a64edaf Merge branch 'next' 2019-05-25 19:07:39 -04:00
Justin
92467c57e6 refactor(build): Incorporating rollup in build process 2019-05-25 17:16:34 -04:00
greenkeeper[bot]
dfde038595 chore(package): update lockfile package-lock.json 2019-04-24 16:46:21 +00:00
semantic-release-bot
3dce2528d9 chore(release): 4.5.1 [skip ci]
## [4.5.1](https://github.com/jdalrymple/node-gitlab/compare/4.5.0...4.5.1) (2019-03-22)

### Bug Fixes

* Updating packages ([2c47d24](https://github.com/jdalrymple/node-gitlab/commit/2c47d24))
2019-03-22 02:16:48 +00:00
Justin
2c47d245d8 fix: Updating packages
qs      					   ^6.5.2  →     ^6.6.0
request-promise     		   ^4.2.2  →     ^4.2.4
request-promise-core           ^1.1.1  →     ^1.1.2
@semantic-release/changelog    ^3.0.1  →     ^3.0.2
@semantic-release/git          ^7.0.5  →     ^7.0.8
@semantic-release/npm          ^5.0.5  →     ^5.1.4
@types/jest                   ^24.0.9  →   ^24.0.11
@types/qs                      ^6.5.1  →     ^6.5.2
codecov                        ^3.1.0  →     ^3.2.0
husky                          ^1.1.3  →     ^1.3.1
jest                          ^24.1.0  →    ^24.5.0
jest-extended                 ^0.11.0  →    ^0.11.1
semantic-release             ^15.10.7  →   ^15.13.3
tslint                        ^5.11.0  →    ^5.14.0
tslint-config-airbnb          ^5.11.0  →    ^5.11.1
typescript                     ^3.1.6  →  ^3.3.4000
2019-03-21 22:06:20 -04:00
semantic-release-bot
fb6e5daaa1 chore(release): 4.5.0 [skip ci]
# [4.5.0](https://github.com/jdalrymple/node-gitlab/compare/4.4.1...4.5.0) (2019-03-19)

### Features

* Updated MergeRequests API options ([a306799](https://github.com/jdalrymple/node-gitlab/commit/a306799))
2019-03-19 00:49:59 +00:00
Justin
7c363b1148 chore: manual release 2019-03-06 23:00:20 -05:00
Carl Zogheib
d6dc30f931 283: Add support for DELETE /projects/:id/fork 2019-03-07 14:18:14 +13:00
greenkeeper[bot]
4fe04743f3 chore(package): update lockfile package-lock.json 2018-12-31 17:22:45 +00:00
semantic-release-bot
e76a231978 chore(release): 4.3.0 [skip ci]
# [4.3.0](https://github.com/jdalrymple/node-gitlab/compare/4.2.7...4.3.0) (2018-12-12)

### Features

* **services:** add protected tags ([8203830](https://github.com/jdalrymple/node-gitlab/commit/8203830))
2018-12-12 17:43:38 +00:00
semantic-release-bot
698139919f chore(release): 4.2.7 [skip ci]
## [4.2.7](https://github.com/jdalrymple/node-gitlab/compare/4.2.6...4.2.7) (2018-11-26)

### Bug Fixes

* handing the function arguments in the incorrect order ([26235ff](https://github.com/jdalrymple/node-gitlab/commit/26235ff))
2018-11-26 23:35:48 +00:00
semantic-release-bot
f40638cf52 chore(release): 4.2.6 [skip ci]
## [4.2.6](https://github.com/jdalrymple/node-gitlab/compare/4.2.5...4.2.6) (2018-11-26)

### Bug Fixes

* Update pagination docs and conditions [#238](https://github.com/jdalrymple/node-gitlab/issues/238) ([266de00](https://github.com/jdalrymple/node-gitlab/commit/266de00))
2018-11-26 20:49:04 +00:00
semantic-release-bot
f9069880af chore(release): 4.2.5 [skip ci]
## [4.2.5](https://github.com/jdalrymple/node-gitlab/compare/4.2.4...4.2.5) (2018-11-26)

### Bug Fixes

* Project variables urls were being generated incorrectly ([28b28cf](https://github.com/jdalrymple/node-gitlab/commit/28b28cf))
2018-11-26 20:34:42 +00:00
Justin Dalrymple
cce5f35c74 Merge branch '240-fix-project-variables' 2018-11-26 15:22:38 -05:00
semantic-release-bot
ccce6ceb97 chore(release): 4.2.4 [skip ci]
## [4.2.4](https://github.com/jdalrymple/node-gitlab/compare/4.2.3...4.2.4) (2018-11-26)

### Bug Fixes

* Event properties using the incorrect boolean operator ([5f21a46](https://github.com/jdalrymple/node-gitlab/commit/5f21a46))
2018-11-26 19:57:01 +00:00
Justin Dalrymple
28b28cfb21 fix: Project variables urls were being generated incorrectly 2018-11-26 14:36:37 -05:00
semantic-release-bot
993acc2d2f chore(release): 4.2.3 [skip ci]
## [4.2.3](https://github.com/jdalrymple/node-gitlab/compare/4.2.2...4.2.3) (2018-11-26)

### Bug Fixes

* Filtering all events shouldnt require an action or a target [#61](https://github.com/jdalrymple/node-gitlab/issues/61) ([cda23b8](https://github.com/jdalrymple/node-gitlab/commit/cda23b8))
2018-11-26 18:56:34 +00:00
Justin
2f697a5435 chore: Updating packages 2018-11-02 20:16:38 -04:00
Pavel Birukov
0b4c7849ce Merge branch 'master' into add-types 2018-10-30 12:00:37 +01:00
semantic-release-bot
a2a933a1a5 chore(release): 4.2.1 [skip ci]
## [4.2.1](https://github.com/jdalrymple/node-gitlab/compare/4.2.0...4.2.1) (2018-10-29)

### Bug Fixes

* Updating application settings test to match updated API ([dececa6](https://github.com/jdalrymple/node-gitlab/commit/dececa6))
2018-10-29 15:07:51 +00:00
Pavel Birukov
ba65cd288e Fix type error after rebase 2018-10-12 11:48:46 +03:00
Pavel Birukov
ce8b0b3154 Add type annotations 2018-10-12 00:22:09 +03:00
semantic-release-bot
25d368064d chore(release): 4.2.0 [skip ci]
# [4.2.0](https://github.com/jdalrymple/node-gitlab/compare/4.1.1...4.2.0) (2018-10-10)

### Bug Fixes

* jest.config file to properly run tests again. Follow up issue to fix these exceptions ([dcee7ac](https://github.com/jdalrymple/node-gitlab/commit/dcee7ac))

### Features

* Add sudo abilities [#203](https://github.com/jdalrymple/node-gitlab/issues/203) ([4bf574c](https://github.com/jdalrymple/node-gitlab/commit/4bf574c))
2018-10-10 01:25:14 +00:00
Justin
dcee7ac5a5 fix: jest.config file to properly run tests again. Follow up issue to fix these exceptions 2018-10-09 20:22:39 -04:00
Justin
496cf05d5f chore(packages): typescript 3.0.3 → 3.1.2
chore(packages): @semantic-release/git    ^7.0.3  →    ^7.0.4
chore(packages): @types/jest             ^23.3.1  →   ^23.3.5
chore(packages): semantic-release       ^15.9.12  →  ^15.9.17
chore(packages): husky                    ^1.0.0  →    ^1.1.1
chore(packages): jest                    ^23.5.0  →   ^23.6.0
chore(packages): ts-jest                 ^23.1.4  →  ^23.10.4
2018-10-09 18:57:09 -04:00
greenkeeper[bot]
8306dfced1 chore(package): update lockfile package-lock.json 2018-10-03 08:43:50 +00:00
greenkeeper[bot]
6aa334abc8 chore(package): update lockfile package-lock.json 2018-09-26 11:27:04 +00:00
semantic-release-bot
519be52ce6 chore(release): 4.1.1 [skip ci]
## [4.1.1](https://github.com/jdalrymple/node-gitlab/compare/4.1.0...4.1.1) (2018-09-25)

### Bug Fixes

* Updating ApplicationSettings test ([0d345b7](https://github.com/jdalrymple/node-gitlab/commit/0d345b7))
2018-09-25 22:31:30 +00:00
greenkeeper[bot]
1f88f1fcf8 chore(package): update lockfile package-lock.json 2018-09-23 19:36:59 +00:00
semantic-release-bot
6d55085112 chore(release): 4.1.0 [skip ci]
# [4.1.0](https://github.com/jdalrymple/node-gitlab/compare/4.0.1...4.1.0) (2018-09-19)

### Features

* Added user edit support [#186](https://github.com/jdalrymple/node-gitlab/issues/186) ([95e8999](https://github.com/jdalrymple/node-gitlab/commit/95e8999))
* Adding markdown support [#182](https://github.com/jdalrymple/node-gitlab/issues/182) ([#193](https://github.com/jdalrymple/node-gitlab/issues/193)) ([2113e8e](https://github.com/jdalrymple/node-gitlab/commit/2113e8e))
* Re-add list all project members endpoint ([#190](https://github.com/jdalrymple/node-gitlab/issues/190)) ([5b07b6a](https://github.com/jdalrymple/node-gitlab/commit/5b07b6a)), closes [/github.com/jdalrymple/node-gitlab/commit/e081a1629f33e3af172101b94977f281879539c9#diff-379104d7d595f3793c2d7380496cc3c3](e081a1629f/issues/diff-379104d7d595f3793c2d7380496cc3c3) [#141](https://github.com/jdalrymple/node-gitlab/issues/141)
2018-09-19 01:16:56 +00:00
greenkeeper[bot]
653ab0459d Update jest-extended to the latest version 🚀 (#191)
* chore(package): update jest-extended to version 0.9.0
* chore(package): update lockfile package-lock.json
2018-09-18 12:28:43 -04:00
semantic-release-bot
6feba9ddd9 chore(release): 4.0.1 [skip ci]
## [4.0.1](https://github.com/jdalrymple/node-gitlab/compare/4.0.0...4.0.1) (2018-09-06)

### Bug Fixes

* Updating the package.lock ([9b4b6f9](https://github.com/jdalrymple/node-gitlab/commit/9b4b6f9))
2018-09-06 14:40:49 +00:00
Justin
9b4b6f96fd fix: Updating the package.lock 2018-09-06 10:30:47 -04:00
Justin
ce0c1fe317 perf: Conversion to Typescript (#183)
chore(package): Updating typescript  3.0.1  →  3.0.3
chore(package): Updating @semantic-release/git   ^7.0.1  →    ^7.0.3
chore(package): Updating @semantic-release/npm   ^5.0.2  →    ^5.0.4
chore(package): Updating semantic-release       ^15.9.8  →  ^15.9.12
chore(package): Updating codecov                 ^3.0.4  →    ^3.1.0
chore(package): Updating ts-jest                ^23.1.3  →   ^23.1.4
chore(package): Updating tslint-config-airbnb    ^5.9.2  →   ^5.11.0
2018-09-05 12:17:11 -04:00
jdalrymple
6d5a4b92b0
Typescript Support (#183)
* chore: Introduce typescript 
* chore: Remove lodash.pick, use native js instead
* chore: Add tslint and extend Airbnb ruleset
* chore: Remove Babel Dependency, replace build steps with tsc
* chore: change target for modern env from es2017 to es6 (async/await should be transpiled to downlevel js)
* chore(package): Updating packages
* fix: Fix error while throwing an error in RequestHelper (#156)
* feat: Support rejectUnauthorized parameter (#164)
* feat: Adding project archive abilities
* fix(test): Application settings API updated (#177)
* fix: Removing token requirement (#176)
* chore: Removing npmignore and using files instead.
* fix: obey rate limits for all request types correctly (#170)
* fix: Camel casing broke the body params
2018-09-05 11:22:28 -04:00
semantic-release-bot
bbed973998 chore(release): 3.11.3 [skip ci]
## [3.11.3](https://github.com/jdalrymple/node-gitlab/compare/3.11.2...3.11.3) (2018-08-31)

### Bug Fixes

* Camelcasing broke the body params ([e50f588](https://github.com/jdalrymple/node-gitlab/commit/e50f588))
2018-08-31 12:13:04 +00:00
semantic-release-bot
b92dc4fb00 chore(release): 3.11.2 [skip ci]
## [3.11.2](https://github.com/jdalrymple/node-gitlab/compare/3.11.1...3.11.2) (2018-08-28)

### Bug Fixes

* obey rate limits for all request types correctly ([#170](https://github.com/jdalrymple/node-gitlab/issues/170)) ([4bc7c69](https://github.com/jdalrymple/node-gitlab/commit/4bc7c69)), closes [#165](https://github.com/jdalrymple/node-gitlab/issues/165)
* Testing negated npmignore ([86960c4](https://github.com/jdalrymple/node-gitlab/commit/86960c4))
2018-08-28 01:44:46 +00:00
Justin
86960c4282 fix: Testing negated npmignore 2018-08-27 21:30:57 -04:00