0.1.0
Pre-release
Pre-release
β 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/clearroute now requires theDELETEhttp method - β¨ pretty logging with
chalk - ποΈ add the following fields to the database:
added_date: date added to the databasepublish_date: date article was published (same asadded_dateif null)ttr: time to read in seconds
- β¨ new
Article,ArticleCard,Button,IconButton, andTextFieldcomponents - π optional authentication using JWTs and 2 required env variables
PASSWORDandAUTH_SECRET. all authenticated routes can be authenticated using a bearer token containingPASSWORDor 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
/(/loginif logged out) - π update an article using the
PATCH /updateroute and passing article updates in the request body - ποΈ remove articles
older_thana threshold using theDELETE /articles/purgeroute and passing a threshold using theolder_thanquery parameter (the format forolder_thanis<integer>h|d|m|yfor example7d,4m,20h, etc)
β¬οΈ Pull requests
- feat: purge old articles by @jacob-shuman in #9