# Changelog ## 2026-03-02 - 1.5.0 - feat(gitea) add domain model classes, helpers, and refactor GiteaClient internals; expand README with usage and docs - Introduce domain classes: GiteaOrganization, GiteaRepository, GiteaActionRun, GiteaActionRunJob (+steps), GiteaBranch, GiteaTag, GiteaSecret - Add helper utilities: autoPaginate, computeDuration, resolveGiteaStatus, extractRefFromPath, extractWorkflowIdFromPath, toGiteaApiStatus - Refactor GiteaClient: consolidate low-level request helpers, add internal request* methods for action-run/job endpoints, requestText/requestBinary support, and PATCH support - Update raw API interfaces (IGiteaActionRun, IGiteaRepository, IGiteaOrganization, IGiteaUser) to match Gitea 1.25 shapes - Export new domain classes, helpers and commit info from ts/index.ts - Revise README: Quick Start, class/method documentation, license and company info ## 2026-03-02 - 1.4.0 - feat(gitea) add Actions API support: list filters, run/job endpoints, dispatch, and richer types - Introduce IActionRunListOptions to allow filtering action runs by status, branch, event, and actor - Update getActionRuns to accept filtering options and build URL query parameters - Add new client methods: getActionRun, getJobLog, rerunAction, cancelAction, and dispatchWorkflow - Expand IGiteaActionRun and IGiteaActionRunJob shapes and add IGiteaActionRunJobStep for more detailed run/job metadata - Export new types (IActionRunListOptions, IGiteaActionRunJobStep) from the package index ## 2026-03-02 - 1.3.0 - feat(gitea) add repository branches and tags support: new IGiteaBranch/IGiteaTag interfaces and getRepoBranches/getRepoTags client methods - Added IGiteaBranch and IGiteaTag interfaces (ts/gitea.interfaces.ts). - Added getRepoBranches and getRepoTags methods with pagination support to Gitea client (ts/gitea.classes.giteaclient.ts). - Exported the new interfaces from the package index (ts/index.ts). ## 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 - 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.