Skip to content

v0.6.1

Compare
Choose a tag to compare
@iuioiua iuioiua released this 12 Sep 01:10
· 90 commits to main since this release

Notice

In our efforts to make Deno SaaSKit as simple to use and easy to understand as possible, we will remove some functionality that we've realised is out-of-scope for this codebase as a SaaS template. The functionality in question includes notifications, commenting and item pages. These removals will make future maintenance smoother while not losing out on too much of what makes the Deno Hunt awesome. Thank you to those who have helped develop and implement these ideas. This release will serve as a snapshot of Deno SaaSKit for these features.

Highlights

Some key aspects of this release include:

  • The addition of the Deno SaaSKit REST API
  • Cursor-based pagination islands
  • Significant improvements in documentation clarity and test coverage
  • Improved ergonomics of error-handling
  • Various performance improvements

What's Changed

Features

  • feat: add styles for visited item links by @niklasmtj in #367
  • feat: REST API for users by @iuioiua in #440
  • feat: REST API for items and comments by @iuioiua in #441
  • feat: cursor-based pagination for comments using "Load more" button by @iuioiua in #438
  • feat: REST API and cursor-based pagination for notifications by @iuioiua in #442
  • feat: add URL validation by @mbhrznr in #443
  • feat: cursor-based pagination for users table by @iuioiua in #446
  • feat: disallow duplicate entries for users by @mbhrznr in #447
  • feat: <ItemsList /> with cursor-based pagination by @iuioiua in #445
  • feat: improved HTTP errors for REST API by @iuioiua in #444
  • feat: protect routes plugin by @iuioiua in #487
  • feat: deno task db:restore by @iuioiua in #535
  • feat: deno task cov:view by @iuioiua in #558
  • feat: fetch preload GET /api/me/votes when user is signed in by @iuioiua in #567

Fixes

Performance Improvements

Documentation

Refactors

  • refactor: /user to /users by @iuioiua in #419
  • refactor: /item to /items by @iuioiua in #420
  • refactor: icons tweaks by @iuioiua in #422
  • refactor: use async route components by @iuioiua in #424
  • refactor: use x/tabler_icons_tsx import by @JacobDanton in #430
  • refactor: move notifications REST API endpoint by @iuioiua in #451
  • refactor: consolidate HTTP-related utilities by @iuioiua in #452
  • refactor: improve "Load more" button design by @iuioiua in #453
  • refactor: remove getToggledStyles() by @iuioiua in #454
  • refactor: polish display utilities by @iuioiua in #455
  • refactor: remove submission validations and island utilities by @iuioiua in #457
  • refactor: move Deno KV OAuth (auth) logic into custom plugin by @iuioiua in #458
  • refactor: change e2e test name and point to "Writing tests" Fresh example by @iuioiua in #459
  • refactor: session middleware by @iuioiua in #486
  • refactor: move POST /submit to POST /api/items by @iuioiua in #493
  • refactor: use ULID for notifications functionality by @iuioiua in #483
  • refactor: remove getValue() by @roberto-morado in #499
  • refactor: move POST /items/[id] to POST /api/comments by @iuioiua in #494
  • refactor: rename and restructure /tools folder by @rj2704 in #503
  • refactor: use ULIDs for comment functionality by @iuioiua in #502
  • refactor: cleanup db:reset script by @iuioiua in #509
  • refactor: simplify db:dump task by @iuioiua in #511
  • refactor: cleanup Stripe logic by @iuioiua in #525
  • refactor: use npm specifier for feed package by @iuioiua in #526
  • refactor: polish posts tests and documentation by @iuioiua in #531
  • refactor: complete utils/display.ts tests and docs by @iuioiua in #532
  • refactor: use ULIDs for items by @iuioiua in #514
  • refactor: move fetchValues() by @iuioiua in #540
  • refactor: cleanup hasNotifications symbol by @iuioiua in #541
  • refactor: expand test coverage to /routes by @iuioiua in #560
  • refactor: revert #560 by @iuioiua in #561
  • refactor: error middleware and improvements by @iuioiua in #543
  • refactor: getAndDeleteNotification() by @iuioiua in #544
  • refactor: move notification logic into createComment() by @iuioiua in #568
  • refactor: tweak <NotificationsList /> design by @iuioiua in #548
  • refactor: error handling plugin by @iuioiua in #550
  • refactor: remove compareScore() by @iuioiua in #551
  • refactor: improve and document users logic by @iuioiua in #554
  • refactor: after:content for new window symbol by @iuioiua in #556
  • refactor: remove assertIsEntry() by @gaurab-khanal in #477

Chores

New Contributors

Full Changelog: v0.6.0...v0.6.1