48 lines
3.7 KiB
Markdown
48 lines
3.7 KiB
Markdown
# Changelog
|
|
|
|
## 2025-11-21 - 1.2.0 - feat(maven)
|
|
Add Maven registry protocol support (storage, auth, routing, interfaces, and exports)
|
|
|
|
- Add Maven protocol to core types (TRegistryProtocol) and IRegistryConfig
|
|
- SmartRegistry: initialize Maven registry when enabled, route requests to /maven, and expose it via getRegistry
|
|
- RegistryStorage: implement Maven storage helpers (get/put/delete artifact, metadata, list versions) and path helpers
|
|
- AuthManager: add UUID token creation/validation/revocation for Maven and integrate into unified validateToken/authorize flow
|
|
- New ts/maven module: exports, interfaces and helpers for Maven coordinates, metadata, and search results
|
|
- Add basic Cargo (crates.io) scaffolding: ts/cargo exports and Cargo interfaces
|
|
- Update top-level ts/index.ts and package exports to include Maven (and cargo) modules
|
|
- Tests/helpers updated to enable Maven in test registry and add Maven artifact/checksum helpers
|
|
|
|
## 2025-11-20 - 1.1.1 - fix(oci)
|
|
Improve OCI manifest permission response and tag handling: include WWW-Authenticate header on unauthorized manifest GETs, accept optional headers in manifest lookup, and persist tags as a unified tags.json mapping when pushing manifests.
|
|
|
|
- getManifest now accepts an optional headers parameter for better request context handling.
|
|
- Unauthorized GET manifest responses now include a WWW-Authenticate header with realm/service/scope to comply with OCI auth expectations.
|
|
- PUT manifest logic no longer writes individual tag objects; it updates a consolidated oci/tags/{repository}/tags.json mapping using getTagsData and putObject.
|
|
- Simplified tag update flow when pushing a manifest: tags[reference] = digest and persist tags.json.
|
|
|
|
## 2025-11-20 - 1.1.0 - feat(oci)
|
|
Support monolithic OCI blob uploads; add registry cleanup/destroy hooks; update tests and docs
|
|
|
|
- OCI: Add monolithic upload handling in handleUploadInit — accept digest + body, verify digest, store blob and return 201 with Docker-Content-Digest and Location
|
|
- OCI: Include Docker-Distribution-API-Version header in /v2/ version check response
|
|
- Lifecycle: Persist upload session cleanup timer and provide destroy() to clear timers in OciRegistry
|
|
- Orchestrator: Add destroy() to SmartRegistry to propagate cleanup to protocol handlers
|
|
- Tests: Ensure test suites call registry.destroy() in postTask cleanup to prevent leaked timers/resources
|
|
- Package metadata: bump @git.zone/tstest dev dependency and add packageManager field
|
|
- Docs: Readme formatting and legal/trademark/company information updated
|
|
|
|
## 2025-11-20 - 1.0.2 - fix(scripts)
|
|
Increase tstest timeout from 30s to 240s in package.json test script
|
|
|
|
- Extend the tstest CLI timeout in package.json from 30 seconds to 240 seconds to accommodate longer-running tests and reduce CI timeouts.
|
|
|
|
## 2025-11-20 - 1.0.1 - registry
|
|
Release 1.0.1 brings core registry features, multi-registry support, logging integration, and performance improvements to object listing. Also includes the initial project scaffold and CI/CD setup.
|
|
|
|
- Add smartlog dependency and integrate structured logging into the NpmRegistry class for better runtime diagnostics and traceability.
|
|
- Update smartbucket dependency to 4.3.0 and refactor listObjects for improved performance and efficiency when enumerating stored objects.
|
|
- Implement multi-registry support (multiple iterations/refinements included: v2, v3) to allow managing and resolving packages across multiple registries.
|
|
- Initial project setup: TypeScript project scaffold, development tooling, and CI/CD workflows for automated testing and publishing.
|
|
- Co-authored-by: Ona <no-reply@ona.com>
|
|
|
|
- Miscellaneous housekeeping and small updates (2025-11-19 — 2025-11-20): several commits with no substantive messages; grouped as non-functional/maintenance changes. |