163 Commits

Author SHA1 Message Date
Simon A. Eugster
70f39ab431
feat: Add typing to project and group variables (#620)
feat(gitbeaker-core): Add typing to project and group variables

Co-authored-by: Justin Dalrymple <justin.s.dalrymple@gmail.com>
2020-03-22 16:29:49 +01:00
Justin Dalrymple
f60e4375ad docs: Adding package specific README 2020-03-22 15:52:47 +01:00
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.
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
3e49ab98cc chore: ✏️ Updating release configuration and commit linting 2020-03-22 15:09:25 +01:00
Justin Dalrymple
b8c23d3279 test(gitbeaker-core): 💍 Added tests for all template files 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
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