Skip to content

0.1.0

Pre-release
Pre-release

Choose a tag to compare

@jacob-shuman jacob-shuman released this 12 Sep 22:03
· 31 commits to main since this release
4035580

❓ What's Changed

  • πŸ₯ feed icon hover styles
  • πŸ—„οΈ add kysely for schema generation and database migrations
  • πŸ—‘οΈ delete article by id route (DELETE /articles/:id)
  • πŸ“ update the README with all new features and api changes
  • πŸ“ get article by id route (GET /articles/:id)
  • πŸ—‘οΈ /articles/clear route now requires the DELETE http method
  • ✨ pretty logging with chalk
  • πŸ—„οΈ add the following fields to the database:
    • added_date: date added to the database
    • publish_date: date article was published (same as added_date if null)
    • ttr: time to read in seconds
  • ✨ new Article, ArticleCard, Button, IconButton, and TextField components
  • πŸ”’ optional authentication using JWTs and 2 required env variables PASSWORD and AUTH_SECRET. all authenticated routes can be authenticated using a bearer token containing PASSWORD or a cookie with a JWT using the login page.
  • πŸ”’ new auth routes include:
    • /logout: removes the JWT cookie and redirects you to /login
    • /login: a ui login page that will redirect you to '/` when successful and assign an auth cookie valid for the next 30 days
  • πŸ”’ a logout button was added next to the feed buttons at the top right of the home page
  • πŸ”§ fixed the text selection styles for light and dark mode so the text now selected text contrasts it's background well enough
  • πŸ—‘οΈ each article now has a trash can icon to quickly remove an article from your list
  • πŸ”§ unknown paths now redirect to / (/login if logged out)
  • πŸ“ update an article using the PATCH /update route and passing article updates in the request body
  • πŸ—‘οΈ remove articles older_than a threshold using the DELETE /articles/purge route and passing a threshold using the older_than query parameter (the format for older_than is <integer>h|d|m|y for example 7d, 4m, 20h, etc)

⬇️ Pull requests