Skip to content

Releases: the-developer-network/tdn-api

v1.0.1

18 May 21:33

Choose a tag to compare

1.0.1 (2026-05-18)

Bug Fixes

  • ci: resolve corepack exit code 127 on node:26-alpine (#144) (01ac86e)

v1.0.0

16 May 23:37

Choose a tag to compare

1.0.0 (2026-05-16)

Bug Fixes

  • api: add optional auth to feed route to resolve isLiked state (cf24e04)
  • api: map getBookmarks response to prevent raw entity leak (cf14e76)
  • app: fix typos and correct import/naming inconsistencies (fbf3dc0)
  • auth: accept refreshToken from body as fallback to cookie (c7b5e07)
  • auth: bind recoverAccount controller method to preserve this context (36a9b23)
  • auth: fix refresh token cookie for cross-subdomain requests- Set sameSite to 'none' in production to allow cross-origin cookie sending- Set domain to '.developernetwork.net' to share cookie across subdomains- Keep strict sameSite in development for security (4b11afa)
  • auth: update cookie policies and enable trust proxy (ec1c0a3)
  • auth: use dedicated RefreshResponseSchema to fix 500 on valid refresh token (fe78883)
  • bookmarks: invalidate feed cache on save/unsave operations (5eb4805)
  • ci (fcc5b7a)
  • ci (dcd45ed)
  • ci: restrict GITHUB_TOKEN permissions to read-only (47a7df7)
  • ci: upgrade actions to v6 and set Node version to 24 for pnpm cache compatibility (2f87306)
  • comment: add fullName and isMe to comment author response (3900f8b)
  • comment: correctly map fullName in comment responses- Map fullName from author.profile in toDomainComment- Remove hardcoded fullName fallback in toResponse- Pass currentUserId to toListResponse in getPostComments- Add fullName to findTopLevelByPostId profile select (ced79ce)
  • comment: update delete usecase to use unit of work transaction (5c4d13d)
  • config: update CORS plugin to support multiple origins and credentials (17ebc0a)
  • core: relocate missing entities to domain, resolve type mismatches and implement data mappers (ece5a5d)
  • delete auto-merge.yml (778061e)
  • di: resolve awilix injection error for post use cases (eb4d1d5)
  • docker: add --ignore-scripts to prevent lifecycle errors in production build (ed060b3)
  • docker: copy patches/ folder to runner stage for pnpm patchedDependencies (5b7bb7b)
  • docker: copy patches/ to build stage before pnpm install (a3443e5)
  • docker: disable husky during build and add alpine build tools for argon2 (36a59b3)
  • docker: remove non-existent .prisma copy in runner stage (f788713)
  • docker: resolve pnpm symlink issue by running prisma generate directly in runner stage (bda7c2c)
  • domain: simplify entity factory methods and delegate ID/Date generation to DB (470d224)
  • http: resolve serialization error and align schemas with response wrapper (e2c70ec)
  • login response github, google, recovery update (8138be9)
  • mapper: resolve fullName null/undefined type mismatch in PostPrismaMapper (4a50fb0)
  • mappers: add ?v=1 cache-bust param for default avatar in post and comment responses (438c74f)
  • mappers: resolve bugs and enforce consistency across all mappers (#128) (35241e9)
  • notification: add missing issuerId and referenceId to mapper output (9512a4b)
  • notification: correct repository interface export name in follow-user usecase (42fa40d)
  • notification: resolve avatarUrl CDN URL in GET /notifications response (dc6fc85)
  • oauth: handle AccountPendingDeletionError in OAuth callbacks (0c92e49)
  • oauth: pass refresh token via url to bypass 302 cookie drop (73843f0)
  • oauth: redirect to oauth-success on AccountPendingDeletionError- Fix GitHub and Google callbacks to redirect to /oauth-success with error and recoveryToken query params instead of /recover-account- Extract frontendUrl as private getter to eliminate duplication (9efba41)
  • oauth: sanitize GitHub username in GithubAuthService (f5479de), closes #68
  • oauth: sanitize GitHub username in GithubAuthService (1c2edc3)
  • override effect to 3.20.0 to resolve security vulnerability (79dbfde)
  • post: add optional auth to post detail route and fix mapper (687b5d6)
  • post: map fullName from profile relation in toDomainPost- Add fullName to PostWithRelations Prisma type select- Map fullName from author.profile in toDomainPost mapper- Add isMe and fullName fields to PostProps author interface (509e4a1)
  • post: pass userId to mapper to resolve missing like/bookmark status- Add missing userId parameter to PostPrismaMapper.toResponse in getPost controller method- This ensures isLiked and isBookmarked fields are correctly populated when fetching a single post detail (ceb50ed)
  • post: return full post response on create instead of only id (8864aaf)
  • profile: prevent default asset deletion and add cache-bust param (f644ba6)
  • profiles: resolve 500 error on search endpoint (74dea78)
  • repository: add fullName to profile select in post queries (b434679)
  • resolve broken pnpm lockfile (9cc1031)
  • resolve hardcoded frontend redirect URL in auth controller (ad9fa3c)
  • resolve merge conflicts ([18ecc...
Read more