feat(orgs): add organization and organization-repository APIs: getOrg, getOrgRepos, createOrg, createOrgRepo

This commit is contained in:
2026-02-28 10:23:51 +00:00
parent 4c48a07ef7
commit ffc644cab4
3 changed files with 60 additions and 1 deletions

View File

@@ -1,5 +1,14 @@
# Changelog
## 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