40 lines
1.8 KiB
Markdown
40 lines
1.8 KiB
Markdown
# Changelog
|
|
|
|
## 2026-02-28 - 1.2.0 - feat(giteaclient)
|
|
add deleteRepo method to delete a repository via Gitea API
|
|
|
|
- Implements deleteRepo(owner: string, repo: string): Promise<void>
|
|
- Uses DELETE /api/v1/repos/{owner}/{repo} and encodes owner and repo with encodeURIComponent
|
|
|
|
## 2026-02-28 - 1.1.0 - feat(orgs)
|
|
add organization and organization-repository APIs: getOrg, getOrgRepos, createOrg, createOrgRepo
|
|
|
|
- Added getOrg(orgName): fetch a single organization by name
|
|
- Added getOrgRepos(orgName, opts?): list repositories in an organization with pagination, sorting by updated, and optional search query
|
|
- Added createOrg(name, opts?): create a new organization with fullName, description, and visibility (defaults to public)
|
|
- Added createOrgRepo(orgName, name, opts?): create a repository within an organization; description optional and private defaults to true
|
|
- Endpoints use encodeURIComponent for orgName in URLs to ensure safe requests
|
|
|
|
## 2026-02-24 - 1.0.3 - fix(gitea)
|
|
no changes detected in the diff; no code or doc updates
|
|
|
|
- No files changed in this commit (empty diff).
|
|
- Current package version in package.json is 1.0.2; no version bump required.
|
|
|
|
## 2026-02-24 - 1.0.2 - fix()
|
|
no code changes to commit — repository unchanged
|
|
|
|
- No files were modified according to the provided diff.
|
|
- No version bump is required; keep current version.
|
|
|
|
## 2026-02-24 - 1.0.1 - fix(repo)
|
|
no changes
|
|
|
|
- No files changed in the provided diff; no code or dependency updates to release.
|
|
|
|
## 2026-02-24 - 1.0.0 - core
|
|
Initial release of the @apiclient.xyz/gitea TypeScript client and packaging/publishing fix.
|
|
|
|
- Initial implementation of @apiclient.xyz/gitea TypeScript client (GiteaClient).
|
|
- Provides methods for repositories, organizations, secrets, and action runs.
|
|
- fix(core): add npm release registry configuration to ensure correct publishing. |