• v0.3.0 92de661118

    v0.3.0 Stable

    github-actions[bot] released this 2026-03-15 15:49:25 +00:00 | 37 commits to main since this release

    Changelog

    • 56bef1fdb0 Merge pull request #2 from DocPort-io/feat/add-playwright-tests
    • 79fe1b6ca5 Merge pull request #3 from DocPort-io/feat/implement-openapi-schema-first
    • 61f73f8615 chore(api): add OpenAPI spec and oapi-codegen configuration
    • 52b9202447 chore(api): add /files endpoints and refactor file handlers
    • 152d958bc6 chore(api): add min/max constraints and defaults to OpenAPI spec
    • a071d25568 chore(api): enforce non-negative values for IDs in OpenAPI spec
    • ba55f6eaec chore(api): rename generated file from server.gen.go to api.gen.go
    • 221815ccdd chore(api): update OpenAPI spec and dependencies
    • 4351e0d933 chore(api): update OpenAPI spec and refactor version handlers
    • 92de661118 chore(api): update embedded Swagger specification and regenerate api.gen.go
    • 3509732774 chore(api): update routes to include API versioning and switch to embedded OpenAPI spec
    • 09321f6c98 chore(auth): refactor authentication middleware and update user handlers
    • cbbea8b2f8 chore(auth): rename GetToken to GetUnverifiedToken and update documentation
    • 9a899cd286 chore(ci): remove redundant Go tools caching and installation steps
    • 67cab7cca5 chore(ci): remove unused environment variables from workflows
    • b885b70e31 chore(config): simplify Playwright web server command by removing redundant coverage flag
    • 931c8218d9 chore(deps): add jwt-decode v4.0.0 to package.json and pnpm-lock.yaml
    • 1e116e5e0a chore(deps): bump pnpm to v10.32.0 in package.json
    • 0e67b5a3b5 chore(deps): remove unused dependencies from go.mod and go.sum
    • 5dab528c10 chore(deps): update @types/node to v25.4.0 and undici-types to v7.18.2 in pnpm-lock.yaml and package.json
    • 7a2e4d3e9c chore(deps): update go.sum with new and updated dependencies
    • b18605728a chore(gitignore): add cover/ directory to ignore list
    • 662365bd65 chore(handler): fix import alias and clean up unused token context code
    • e6549ee75c chore(handler): replace GetToken with GetUnverifiedToken in user handlers
    • 01f694c1eb chore(swagger): add static Swagger UI assets for API documentation
    • 3a2145feec chore(tests): fix API endpoint URL and update JSON key assertion
    • 42973f5901 chore(tools): remove unused golang.org/x/text dependency used for Swagger generation
    • 3d34975a25 chore: format files
    • 0f9c7b9b0f chore: update .gitignore for Playwright artifacts
    • 93f95e7025 ci(build): add manual trigger with workflow_dispatch to GitHub Actions
    • 80fe1756e4 ci(build): improve coverage handling and update Sonar configuration
    • ca9ea57aaf ci(build): integrate PostgreSQL service, Node.js setup, and Playwright tests
    • 3b1bb82a08 ci(build): update pnpm action and install step
    • d08bb92473 ci(build, config): expose PostgreSQL port in workflow and update test DSN
    • 54943ad4a9 ci(build, config): update Sonar coverage path and storage configuration
    • de0cb489e4 ci(config): extend Sonar exclusions and inclusions for e2e tests
    • d764034b7e ci(docker): add docker-compose file for local development setup
    • 2348fc96d1 ci(qodana): add Qodana configuration file for static code analysis
    • 6a6662ab67 ci(tests): create coverage directory and update JWKS URL in test config
    • 615d72088a ci(tests): remove standalone Playwright workflow and integrate reports into build workflow
    • 1e6608b4c1 docs(project): fix indentation in project handler comments
    • eeaddd64e9 docs(server): add newline for readability in OpenAPI security definitions
    • 5acc758489 docs(version): fix indentation in handler comments
    • e43851d8b9 feat(auth): add token-based authentication and Playwright e2e tests
    • 2b0f55796f feat(auth, user): enhance token parsing and context handling in middleware
    • 1ecc74d9be feat(files): add create, upload, download, and management fixtures and tests
    • 3075be7775 feat(user): add CreateUser and CreateExternalAuth endpoints with validation and e2e tests
    • 21234266c2 feat(users, auth): introduce external auths, enhance user handling
    • a143701738 feat(version): add required validation for Name field in UpdateVersionRequest
    • 83c1f3dfc0 feat(versions): add file attachment and detachment tests, and handle duplicate, invalid, and edge cases
    • db7db2133e feat: add clientId and clientSecret to auth config, update auth middleware to use them
    • 98b8f31e59 feat: add initial playwright setup
    • 075dec039e fix(config): correct database DSN in test config
    • 46c37e290f refactor(auth): add token validation delay using jwtDecode in authentication fixture
    • 12b84ae0c0 refactor(auth): migrate to JWKS-based authentication, update middleware and config model
    • afbd85fab6 refactor(auth): remove unnecessary logging and simplify token parsing in middleware
    • a9712ccc15 refactor(config): remove config.go and migrate configuration handling to platform/config
    • b13a614c24 refactor(config): replace issuer, clientId, and clientSecret with jwksUrl in example configs
    • 11bf9763e2 refactor(database): simplify NewDatabase function by replacing config dependency with DSN
    • 840f731384 refactor(file): restructure file domain into repository, service, and handler layers
    • 77307e9660 refactor(handler): remove request validation logic and unused validator dependency
    • 7e43ae53c4 refactor(handler): rename error field to message and simplify response handling
    • 049195733b refactor(project): restructure project domain into repository, service, and handler layers
    • 449d6142bd refactor(project): simplify response transformation and decouple API request types
    • 2c337b2a6e refactor(project): simplify service interface and handler logic
    • 5bf95a0da2 refactor(server): remove routes.go and integrate route registration into server.go
    • 4a0c0b2dce refactor(user): remove external auths functionality
    • 6977f72270 refactor(user): replace GetByProvider functionality with GetByKeycloakReference
    • db85359d1f refactor(version): restructure version domain into repository, service, and handler layers
    • e92b4f0ac9 refactor: move projects, versions and files into domain folders
    • f4e293a39d test(projects): update duplicate slug test to expect 409 response
    • 829abbb892 test(user): add e2e test for creating external auth associations
    • 3bed253a56 test(user): add e2e tests for invalid and unknown user IDs
    • 393b57efc5 test(user): add e2e tests for validation and duplicate scenarios in user and external auth APIs
    • 5be3b875a3 test(user): restructure and extend e2e tests for external auths
    • 9c0b0afc88 test(versions): expand coverage for validation and edge cases in API tests
    • 73b69339f5 test(versions, files): update tests to return 400 for invalid and non-existing IDs, add coverage for version-specific file retrieval

    Released by GoReleaser.

    Downloads