🚀Preview Release - v1.0.0-preview.10
Pre-release
Pre-release
github-actions
released this
15 May 11:50
·
24 commits
to preview
since this release
kd_clients Preview Release Notes - v1.0.0-preview.10
Quick Reminder
As with all software, there is always a chance for issues and bugs, especially for preview releases, so your input is greatly appreciated. 🙏🏼
New Features ✨
-
#9 - Added an error type named
AuthError
. -
#53 - Added a new data model named
AssetModel
to represent a release asset. -
#53 - Added a new property named
assets
to theReleaseModel
.type. -
#53 - Added the following functionality to the
ReleaseClient
:- A new function named
getReleaseById
was added to get a release using a release ID. - A new function named
getReleaseByTag
was added to get a release using a release tag. - A new function named
getAllAssetsByTag
was added to get all release assets using a release tag name. - A new function named
getAsset
was added to get a single asset from a release using a combination of the release ID or tag and the asset ID or tag. - A new function named
getReleaseByName
was added to return a release that matches a release name. - A new function named
uploadAssetsByReleaseName
was added to upload assets to a release that matches a release name. - A new function named
uploadAssetsByReleaseTag
was added to upload assets to a release that matches a release tag. - A new function named
downloadAssetById
was added to download a single asset using an asset ID. - A new function named
downloadAllAssetsByReleaseName
was added to download all release assets using a release name. - A new function named
downloadAllAssetsByReleaseTag
was added to download all release assets using a release tag. - A new function named
getLatestRelease
was added to get the latest release.
- A new function named
Enhancements ✨
- #9 - Updated all clients to check for authentication issues.
- These will now throw an
AuthError
if authentication has failed.
- These will now throw an
Breaking Changes 🧨
-
#9 - Introduced the following breaking changes:
- Changed the name of the 'toReleaseBy' parameter to
tagOrTitle
for theuploadAssets()
function in theReleaseClient
class. - Moved the
XError
type from theGitHubClients.Errors.mod.ts
file to theOtherClients.Errors.mod.ts
file. - Moved the
NuGetError
type from theGitHubClients.Errors.mod.ts
file to thePackageClients.Errors.mod.ts
file. - Refactored the
getPullRequests()
function return type fromPromise<[PullRequestModel[], Response]>
toPromise<PullRequestModel[]>
in thePullRequestClient
class. - Refactored the
getIssues()
function return type fromPromise<[IssueModel[], Response]>
toPromise<IssueModel[]>
in theIssueClient
class. - Refactored the
getOwnerRepos()
function return type fromPromise<[RepoModel[], Response]>
toPromise<RepoModel[]>
in theRepoClient
class. - Changed the name of the
getOwnerRepos()
function togetAllRepos()
. - Refactored the
getTags()
function return type fromPromise<[TagModel[], Response]>
toPromise<TagModel[]>
in theTagClient
class. - Refactored the
getWorkflowRuns()
function return type fromPromise<[WorkflowRunModel[], Response]>
toPromise<WorkflowRunModel[]>
in theWorkflowClient
class.
- Changed the name of the 'toReleaseBy' parameter to
-
#53 - Introduced the following breaking changes:
- Removed the
getRelease
function from theReleaseClient
.
- This has been replaced by the new function namedgetReleaseByName
. - Removed the
uploadAssets
function from theReleaseClient
.
- TheuploadAssetsByReleaseName
function has replaced this. - The GitHub token parameter for the
ReleaseClient
was changed from optional to required. - Removed the
ReleaseOptions
interface.
- Removed the
Dependency Updates 📦
- #58 - Updated the following deno standard modules:
- Updated exists from 0.203.0 to 0.224.0
- Updated extname from 0.203.0 to 0.224.0
- Updated existsSync from 0.203.0 to 0.224.0
- Updated walkSync from 0.203.0 to 0.224.0
- Updated ensureDirSync from 0.203.0 to 0.224.0
- Updated basename from 0.203.0 to 0.224.0
- Updated isAbsolute from 0.203.0 to 0.224.0
- Updated decodeBase64 from 0.203.0 to 0.224.0
- Updated encodeBase64 from 0.203.0 to 0.224.0
- Updated assert form 0.204.0 to 0.224.0
- Updated assertEquals form 0.204.0 to 0.224.0
- Updated assertThrows form 0.204.0 to 0.224.0
- Updated assertRejects form 0.204.0 to 0.224.0
- Updated equal form 0.204.0 to 0.224.0
- Updated assertSpyCall form 0.204.0 to 0.224.0
- Updated assertSpyCalls form 0.204.0 to 0.224.0
- Updated spy form 0.204.0 to 0.224.0
- Updated stub form 0.204.0 to 0.224.0
- Updated returnsNext form 0.204.0 to 0.224.0
- Updated returnsArg form 0.204.0 to 0.224.0