1784 Commits

Author SHA1 Message Date
semantic-release-bot
a3022486c6 chore: Release 🚀 15.0.0 [skip ci]
# [15.0.0](https://github.com/jdalrymple/gitbeaker/compare/14.2.2...15.0.0) (2020-03-22)

### Bug Fixes

* **gitbeaker-core:** 🐛 Notification Settings API special PUT requests ([6c748ec](6c748eceb4))
* **gitbeaker-core:** 🐛 ResourceTemplate.show was using the wrong http method ([e068e6a](e068e6a0e2))

### Code Refactoring

* **gitbeaker-core:** 💡 Adjusted the argument order for ResourceAwardEmojis ([348f6c1](348f6c1870))
* **gitbeaker-core:** 💡 Updated the function header for Group.create ([4a3906a](4a3906ad35))
* **gitbeaker-core:** 💡 Updated the License API ([2e9e580](2e9e58013b))
* 💡 Migrated to a monorepo structure ([d9cd4c9](d9cd4c9a91))

### Features

* **gitbeaker-cli:** 🎸 Added support for GITBEAKER_[Property] env variable ([6851800](6851800ca8))

### BREAKING CHANGES

* **gitbeaker-core:** 🧨 The order of arguments that include both the awardId and noteId has changed. It is now projectId, resourceId, noteId, and then awardId. This affects the award, remove and show functions.
* **gitbeaker-core:** 🧨 Changed the spelling of the License API from Licence to License. Additionally the license.create method has been replaced with license.add and has a required first parameter that is the license. The license.all method now returns all licenses and no longer the license
for the current user. This is now done by license.show.
* **gitbeaker-core:** 🧨 Group.create takes an additional argument
* 🧨 This migration requires users to import specific subpackages. For NodeJS
usage, that would be @gitbeaker/node.
15.0.0
2020-03-22 14:31:20 +00:00
Justin
1fe6b54372 Merge branch 'gitbeaker-release' 2020-03-22 15:17:07 +01:00
Justin
f48006ce26 chore: ✏️ Updating package versions and README 2020-03-22 15:13:46 +01:00
Justin
cedba55151 ci: 🤖 Adding missing publish configuration 2020-03-22 15:11:32 +01:00
Justin
3e49ab98cc chore: ✏️ Updating release configuration and commit linting 2020-03-22 15:09:25 +01:00
Justin Dalrymple
31a1662a9f test(gitbeaker-node): 💍 Adding test for GotRequester 2020-02-02 16:53:54 +01:00
Justin Dalrymple
b8c23d3279 test(gitbeaker-core): 💍 Added tests for all template files 2020-02-02 16:53:54 +01:00
Justin Dalrymple
172394837d ci: 🤖 Updated the test docker scripts 2020-02-02 16:53:54 +01:00
Justin Dalrymple
ecc7890001 test(gitbeaker-core): 💍 Removed integration tests and old unit tests
Integration tests have been showing odd behaviour in the CI pipelines. Until this behaviour is solved, they will be removed temporarily.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
156a9dce73 test(gitbeaker-cli): 💍 Moved CLI tests into the integration folder 2020-02-02 16:53:54 +01:00
Justin Dalrymple
348f6c1870 refactor(gitbeaker-core): 💡 Adjusted the argument order for ResourceAwardEmojis
BREAKING CHANGE: 🧨 The order of arguments that include both the awardId and noteId has changed. It is now projectId, resourceId, noteId, and then awardId. This affects the award, remove and show functions.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
e068e6a0e2 fix(gitbeaker-core): 🐛 ResourceTemplate.show was using the wrong http method 2020-02-02 16:53:54 +01:00
Justin Dalrymple
6c748eceb4 fix(gitbeaker-core): 🐛 Notification Settings API special PUT requests
The Notification Settings API requires the HTTP arguments to be sent in a query parameter instead of a body parameter for the PUT request.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
2e9e58013b refactor(gitbeaker-core): 💡 Updated the License API
Updated the spelling of License and standardized internal functions to be more consistent.

BREAKING CHANGE: 🧨 Changed the spelling of the License API from Licence to License. Additionally the license.create method has been replaced with license.add and has a required first parameter that is the license. The license.all method now returns all licenses and no longer the license
for the current user. This is now done by license.show.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
4a3906ad35 refactor(gitbeaker-core): 💡 Updated the function header for Group.create
Group creation now takes three parameters since the path property was required but not included in the non-optional parameters.

BREAKING CHANGE: 🧨 Group.create takes an additional argument
2020-02-02 16:53:54 +01:00
Justin Dalrymple
6851800ca8 feat(gitbeaker-cli): 🎸 Added support for GITBEAKER_[Property] env variable
This also includes a gb prefix for command line arguments. See README for example usage.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
d9cd4c9a91 refactor: 💡 Migrated to a monorepo structure
Gitbeaker has been split up into 5 subpackages: gitbeaker-core, gitbeaker-node, gitbeaker-cli, gitbeaker-browser and gitbeaker-requester-utils.

gitbeaker-[node,cli,browser] are enviroment
specific sub packages. For example, if you want to use gitbeaker in a NodeJS environment, use gitbeaker-node. gitbeaker-core is where all the
base logic exists, and gitbeaker-requester-utils is a collection of utility functions for making custom requester libraries.

BREAKING CHANGE: 🧨 This migration requires users to import specific subpackages. For NodeJS
usage, that would be @gitbeaker/node.
2020-02-02 16:53:54 +01:00
Justin Dalrymple
a66d708c8f ci: Moved from Travis CI to GitLab-CI 2020-02-02 16:53:54 +01:00
Justin Dalrymple
e16962e7f6 chore: 🤖 Switching from npm to yarn, and updating global deps 2020-02-02 16:53:54 +01:00
Justin Dalrymple
cd619d678a docs: ✏️ Cleaning up style of changelog and updating license 2020-02-01 10:26:45 +01:00
Justin Dalrymple
1fcbbcfef0 chore: 🤖 Adding lerna config and updating semantic release 2020-02-01 10:25:58 +01:00
Justin Dalrymple
ca9b66f096 chore: 🤖 Updating jest configuration
Included types for jest-extended and exceptions for es module tests
2020-02-01 10:25:04 +01:00
Justin Dalrymple
ff9e7878ec chore: 🤖 Updating global tsconfig and removing tsconfig.elint 2020-02-01 10:22:43 +01:00
Justin Dalrymple
28007124a9 chore: 🤖 Updating gitignore to ignore yarn logs 2020-02-01 10:20:35 +01:00
Justin Dalrymple
f5f92ccb62 chore: 🤖 Updating eslint configuration
Removed confusing configuration in the linting process
2020-02-01 09:14:56 +01:00
Justin Dalrymple
d88f87652a docs: ✏️ Updating README to match new functionality 2020-02-01 09:13:23 +01:00
Justin Dalrymple
3116b365aa chore: 🤖 Fixing codecov configuration
Needed to remove the '.' prefix from the config file name
2020-02-01 09:11:44 +01:00
semantic-release-bot
d807eed238 chore(release): 14.2.2 [skip ci]
## [14.2.2](https://github.com/jdalrymple/node-gitlab/compare/14.2.1...14.2.2) (2020-01-30)

### Bug Fixes

* Incorrect request method in MergeRequests.approvalState() method ([#586](https://github.com/jdalrymple/node-gitlab/issues/586)) ([cb5f822](cb5f8228ca))
14.2.2
2020-01-30 12:36:49 +00:00
Dmitry Emets
cb5f8228ca
fix: Incorrect request method in MergeRequests.approvalState() method (#586) 2020-01-30 13:24:32 +01:00
semantic-release-bot
4750d320a0 chore(release): 14.2.1 [skip ci]
## [14.2.1](https://github.com/jdalrymple/node-gitlab/compare/14.2.0...14.2.1) (2020-01-20)

### Bug Fixes

* added file extension for dummy file name in project import ([#561](https://github.com/jdalrymple/node-gitlab/issues/561)) ([f45cb68](f45cb68498)), closes [/gitlab.com/gitlab-org/gitlab-foss/issues/50944#note_101737263](https://github.com//gitlab.com/gitlab-org/gitlab-foss/issues/50944/issues/note_101737263)
14.2.1
2020-01-20 18:21:15 +00:00
Sirko Schindler
f45cb68498 fix: added file extension for dummy file name in project import (#561)
According to the workaround mentioned in https://gitlab.com/gitlab-org/gitlab-foss/issues/50944#note_101737263
2020-01-20 19:09:26 +01:00
semantic-release-bot
c5975aa270 chore(release): 14.2.0 [skip ci]
# [14.2.0](https://github.com/jdalrymple/node-gitlab/compare/14.1.1...14.2.0) (2020-01-17)

### Features

* Adding support for merge_requests in the Deployments API ([911078b](911078bba3)), closes [#554](https://github.com/jdalrymple/node-gitlab/issues/554)
14.2.0
2020-01-17 16:11:48 +00:00
Alexander Schramm
911078bba3 feat: Adding support for merge_requests in the Deployments API
fix: Fixing incorrect Deployments.show HTTP method #554
2020-01-17 16:59:58 +01:00
David Regla
297878e982 docs(typings): Typings update (#525)
- Updates ProjectSchema / GroupSchema interfaces to include all fields returned by GitLab API v4
- Adds some new Interfaces: CommitSchema, RunnerSchema, UserSchema, UserDetailSchema, EnvironmentSchema, ArtifactSchema, JobSchema, PipelineSchema.
2020-01-12 23:05:30 +01:00
semantic-release-bot
f2b192b8fe chore(release): 14.1.1 [skip ci]
## [14.1.1](https://github.com/jdalrymple/node-gitlab/compare/14.1.0...14.1.1) (2020-01-03)

### Bug Fixes

* resourceDiscussions.editNote add content params, and allowed discussionId to accept a string type ([#524](https://github.com/jdalrymple/node-gitlab/issues/524)) ([22d916a](22d916a05f))
14.1.1
2020-01-03 13:38:14 +00:00
Justin Dalrymple
22d916a05f
fix: resourceDiscussions.editNote add content params, and allowed discussionId to accept a string type (#524)
Co-authored-by: Liu Jia <ldspirit0801@163.com>
2020-01-03 14:26:17 +01:00
semantic-release-bot
9ad767b235 chore(release): 14.1.0 [skip ci]
# [14.1.0](https://github.com/jdalrymple/node-gitlab/compare/14.0.1...14.1.0) (2019-12-30)

### Bug Fixes

* make ResourceMembers.all/show delivery correct options params ([#521](https://github.com/jdalrymple/node-gitlab/issues/521)) ([505b407](505b4072f3)), closes [#518](https://github.com/jdalrymple/node-gitlab/issues/518)

### Features

* Added support for the Vulnerability Findings API ([#517](https://github.com/jdalrymple/node-gitlab/issues/517)) ([497bf94](497bf948d9))
14.1.0
2019-12-30 13:13:57 +00:00
Adam Dehnel
497bf948d9 feat: Added support for the Vulnerability Findings API (#517) 2019-12-30 13:59:50 +01:00
Liu Jia
505b4072f3 fix: make ResourceMembers.all/show delivery correct options params (#521)
* fix: make ResourceMembers.all/show delivery correct options params
* Update src/core/templates/ResourceMembers.ts

Co-Authored-By: Joseph Petersen <josephp90@gmail.com>

fixes: #518
2019-12-30 13:57:58 +01:00
semantic-release-bot
c6f4c51d58 chore(release): 14.0.1 [skip ci]
## [14.0.1](https://github.com/jdalrymple/node-gitlab/compare/14.0.0...14.0.1) (2019-12-23)

### Bug Fixes

* Adding back functionality for rejectUnauthorized http option ([#502](https://github.com/jdalrymple/node-gitlab/issues/502)) ([0f17bed](0f17bedc0b))
14.0.1
2019-12-23 10:43:54 +00:00
Justin
fa7b1d9c31 Fixing version # 2019-12-23 11:30:51 +01:00
Justin Dalrymple
0f17bedc0b
fix: Adding back functionality for rejectUnauthorized http option (#502)
Assigned the correct defaults as defined in https://nodejs.org/api/tls.html#tls_tls_connect_options_callback.

closes: #502
2019-12-22 20:05:05 +01:00
Justin Dalrymple
4f46e1e49e
test: Add test to catch issue brought up by #499 (#516) 2019-12-22 18:49:02 +01:00
semantic-release-bot
7720ea9296 chore(release): 14.0.0 [skip ci]
# [14.0.0](https://github.com/jdalrymple/node-gitlab/compare/13.0.0...14.0.0) (2019-12-21)

### Bug Fixes

* Typing on GPGKey method arguments was missing ([#514](https://github.com/jdalrymple/node-gitlab/issues/514)) ([234c9a7](234c9a75db))
* Typing on Group and Project variable keys was incorrect [#512](https://github.com/jdalrymple/node-gitlab/issues/512) ([#515](https://github.com/jdalrymple/node-gitlab/issues/515)) ([c7afca5](c7afca5231))

### BREAKING CHANGES

* The title property is not required for the add method.
14.0.0
2019-12-21 11:20:28 +00:00
Justin Dalrymple
234c9a75db
fix: Typing on GPGKey method arguments was missing (#514)
BREAKING CHANGE: The title property is not required for the add method.
2019-12-21 12:07:21 +01:00
Justin Dalrymple
c7afca5231
fix: Typing on Group and Project variable keys was incorrect #512 (#515)
closes: #512
2019-12-21 12:03:49 +01:00
dependabot[bot]
481876c186 chore(deps): bump npm from 6.13.1 to 6.13.4 (#510)
Bumps [npm](https://github.com/npm/cli) from 6.13.1 to 6.13.4.
- [Release notes](https://github.com/npm/cli/releases)
- [Changelog](https://github.com/npm/cli/blob/latest/CHANGELOG.md)
- [Commits](https://github.com/npm/cli/compare/v6.13.1...v6.13.4)

Signed-off-by: dependabot[bot] <support@github.com>
2019-12-15 21:24:04 +01:00
semantic-release-bot
99e07ecb6c chore(release): 13.0.0 [skip ci]
# [13.0.0](https://github.com/jdalrymple/node-gitlab/compare/12.1.0...13.0.0) (2019-12-09)

### Features

* Adding ability to get a singular member of a project or group, including inheritedMemebrs ([#508](https://github.com/jdalrymple/node-gitlab/issues/508)) ([807171c](807171c3ff)), closes [#507](https://github.com/jdalrymple/node-gitlab/issues/507)

### BREAKING CHANGES

* Updated the Members.all function to have the inheritedMembers option to be in the optional object.
13.0.0
2019-12-09 10:35:42 +00:00
Justin Dalrymple
807171c3ff
feat: Adding ability to get a singular member of a project or group, including inheritedMemebrs (#508)
BREAKING CHANGE: Updated the Members.all function to have the inheritedMembers option to be in the optional object.

closes: #507
2019-12-09 11:22:50 +01:00
semantic-release-bot
63b11574aa chore(release): 12.1.0 [skip ci]
# [12.1.0](https://github.com/jdalrymple/node-gitlab/compare/12.0.1...12.1.0) (2019-12-05)

### Bug Fixes

* Removing required options object in a few of the API methods ([#505](https://github.com/jdalrymple/node-gitlab/issues/505)) ([b709ef6](b709ef6716))

### Features

* Add Group/File schemas ([#506](https://github.com/jdalrymple/node-gitlab/issues/506)) ([f467816](f467816070))
12.1.0
2019-12-05 14:37:11 +00:00