221 Commits

Author SHA1 Message Date
greenkeeper[bot]
e3a0ff15cd chore(package): update @types/jest to version 24.0.15 2019-06-16 06:43:01 +00:00
greenkeeper[bot]
5c2a2d612f chore(package): update lint-staged to version 8.2.1 2019-06-13 19:27:53 +00:00
greenkeeper[bot]
fb04295655 chore(package): update rollup to version 1.15.3 2019-06-13 14:45:39 +00:00
semantic-release-bot
ec90efc38e chore(release): 6.3.7 [skip ci]
## [6.3.7](https://github.com/jdalrymple/node-gitlab/compare/6.3.6...6.3.7) (2019-06-12)

### Bug Fixes

* string regex 😭 ([7e94e0b](https://github.com/jdalrymple/node-gitlab/commit/7e94e0b))
2019-06-12 21:30:06 +00:00
Justin
ba0041b06e Merge remote-tracking branch 'origin/greenkeeper/@semantic-release/git-7.0.12' 2019-06-12 16:51:21 -04:00
semantic-release-bot
9e132f1171 chore(release): 6.3.6 [skip ci]
## [6.3.6](https://github.com/jdalrymple/node-gitlab/compare/6.3.5...6.3.6) (2019-06-12)

### Bug Fixes

* Use improved pagination regex to remove service url + leaf ([2b290b5](https://github.com/jdalrymple/node-gitlab/commit/2b290b5)), closes [#352](https://github.com/jdalrymple/node-gitlab/issues/352)
2019-06-12 20:40:54 +00:00
greenkeeper[bot]
62a750f82d chore(package): update @semantic-release/git to version 7.0.12 2019-06-12 20:33:28 +00:00
semantic-release-bot
688c1f2c0f chore(release): 6.3.5 [skip ci]
## [6.3.5](https://github.com/jdalrymple/node-gitlab/compare/6.3.4...6.3.5) (2019-06-12)

### Bug Fixes

* Fix error due to Typescript 3.5.1 ([bd4e141](https://github.com/jdalrymple/node-gitlab/commit/bd4e141))
* Fix error due to Typescript 3.5.1 ([5474f06](https://github.com/jdalrymple/node-gitlab/commit/5474f06))
* Make package Typescript-conformant ([da1a8f6](https://github.com/jdalrymple/node-gitlab/commit/da1a8f6))
* Update Typescript to 3.5.1 ([8f5fec5](https://github.com/jdalrymple/node-gitlab/commit/8f5fec5))
2019-06-12 15:03:30 +00:00
Daniel Rose
8f5fec52ce fix: Update Typescript to 3.5.1
This fixes the included library definition of encodeURIComponent().
See https://github.com/Microsoft/TypeScript/issues/18159 for details.
2019-06-12 15:06:01 +02:00
Daniel Rose
da1a8f6a63 fix: Make package Typescript-conformant
Remove the typings directory.
Declare and use the types/interfaces in the various index.ts files.
This will produce a package that can be used by Typescript without
errors.

Remove the typings directory. Declare and use the types/interfaces in the various index.ts files.

This will produce a package that can be used by Typescript without errors.
2019-06-12 15:06:00 +02:00
semantic-release-bot
b811a0b917 chore(release): 6.3.4 [skip ci]
## [6.3.4](https://github.com/jdalrymple/node-gitlab/compare/6.3.3...6.3.4) (2019-06-11)

### Bug Fixes

* Wrong endpoint being passed during pagination ([a2a6126](https://github.com/jdalrymple/node-gitlab/commit/a2a6126)), closes [#344](https://github.com/jdalrymple/node-gitlab/issues/344)
2019-06-11 18:35:05 +00:00
greenkeeper[bot]
f98dd509c0 chore(package): update rollup to version 1.15.1 2019-06-11 16:47:20 +00:00
semantic-release-bot
d4382c1e61 chore(release): 6.3.3 [skip ci]
## [6.3.3](https://github.com/jdalrymple/node-gitlab/compare/6.3.2...6.3.3) (2019-06-10)

### Bug Fixes

* Handle edge cases where content-type headers are missing or the content text is null ([dabcb3d](https://github.com/jdalrymple/node-gitlab/commit/dabcb3d)), closes [#343](https://github.com/jdalrymple/node-gitlab/issues/343)
2019-06-10 21:32:14 +00:00
semantic-release-bot
f38500da39 chore(release): 6.3.2 [skip ci]
## [6.3.2](https://github.com/jdalrymple/node-gitlab/compare/6.3.1...6.3.2) (2019-06-10)

### Bug Fixes

* Moving the error wrapper for the Ky Requester to be only around the Ky function request. Also checking to see if the error contains a response before looking for an error message. ([a54a6ae](https://github.com/jdalrymple/node-gitlab/commit/a54a6ae)), closes [#343](https://github.com/jdalrymple/node-gitlab/issues/343)
2019-06-10 18:28:31 +00:00
semantic-release-bot
51e99d0b52 chore(release): 6.3.1 [skip ci]
## [6.3.1](https://github.com/jdalrymple/node-gitlab/compare/6.3.0...6.3.1) (2019-06-10)

### Bug Fixes

* Resource Discussion API was using the incorrect url to add a note ([#345](https://github.com/jdalrymple/node-gitlab/issues/345)) ([c6ff86d](https://github.com/jdalrymple/node-gitlab/commit/c6ff86d)), closes [#342](https://github.com/jdalrymple/node-gitlab/issues/342)
2019-06-10 17:38:30 +00:00
semantic-release-bot
facd53716e chore(release): 6.3.0 [skip ci]
# [6.3.0](https://github.com/jdalrymple/node-gitlab/compare/6.2.0...6.3.0) (2019-06-08)

### Features

* Add configurable request timeout ([#341](https://github.com/jdalrymple/node-gitlab/issues/341)) ([4d99902](https://github.com/jdalrymple/node-gitlab/commit/4d99902))
2019-06-08 21:32:40 +00:00
semantic-release-bot
ea36deacee chore(release): 6.2.0 [skip ci]
# [6.2.0](https://github.com/jdalrymple/node-gitlab/compare/6.1.0...6.2.0) (2019-06-07)

### Features

* Adding support for Container Registry API [#274](https://github.com/jdalrymple/node-gitlab/issues/274) ([59f9286](https://github.com/jdalrymple/node-gitlab/commit/59f9286))
2019-06-07 20:29:26 +00:00
greenkeeper[bot]
b298f5e7b6 chore(package): update rollup to version 1.14.4 2019-06-07 19:07:03 +00:00
Justin
25e1683b90 test(jest): Moving detectHandles option to cli call not the jest.config file 2019-06-06 15:04:20 -04:00
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))
2019-06-06 18:56:33 +00:00
greenkeeper[bot]
c2e0444e41 chore(package): update rollup to version 1.14.3 2019-06-06 13:04:42 +00:00
greenkeeper[bot]
8d65bd7dc2 chore(package): update rollup to version 1.14.2 2019-06-05 15:44:10 +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
2019-06-02 05:38:49 +00:00
greenkeeper[bot]
f4356936b3 chore(package): update rollup to version 1.13.1 2019-06-01 11:18:58 +00: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
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
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
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
92467c57e6 refactor(build): Incorporating rollup in build process 2019-05-25 17:16:34 -04: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
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
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
5b62707c2e Merge branch 'master' into add-types 2018-10-30 15:19:12 +01:00
Pavel Birukov
9a2f1f8061 Add test-with-token script, to simplify local testing 2018-10-30 12:16:43 +01: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
97d1886239 Improve jest config
* Specify folder for tests, otherwise it runs tests from dist/ if any
* pass --runInBand to speed up tests execution (jest compiles project as
many time as many threads it uses). MBP 2017, cold cache:

--runInBand
	11.31s user 1.91s system 83% cpu 15.914 total

8 workers
	76.28s user 8.49s system 309% cpu 27.401 total
2018-10-12 18:57:49 +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]
6c2bb50470 chore(package): update jest-extended to version 0.11.0 2018-10-03 08:43:47 +00:00