v2.0.0
What's Changed
This major release introduces ✨ Watchlists ✨:
Stocks noteworthy to a user can be organized in watchlists. A dedicated Favorites watchlist is provided by default and can easily be maintained by clicking the star icon for a stock.
Users can subscribe to a watchlist, so they receive notifications when a stock’s rating is updated.
Breaking changes
- With this release, a new naming convention for Prisma Migrations has been introduced to ensure all future migrations will be applied in the correct order. On existing Rating Tracker instances, a manual database patch is required:
- Log into your PostgreSQL instance.
- In your Rating Tracker schema, open the table
_prisma_migrations
; in which one row should exist.- Change its
migration_name
attribute from209-switch-to-relational-database
to00-209-switch-to-relational-database
and save the change, leaving all other attributes unchanged.
- This release changes the Prisma Schema. On existing Rating Tracker instances, a database migration is necessary:
Although not officially recommended, a quick, easy and fairly safe way to initialize a new database with the required tables, constraints and indexes is to
- Clone the repository and run
yarn
from within thepackages/backend
folder.- Store the database URL (e.g.
postgresql://rating-tracker:********@127.0.0.1:5432/rating-tracker?schema=rating-tracker
) in the shell environment variableDATABASE_URL
.- Run
yarn pnpify prisma migrate deploy
.
Major features
- Add Watchlists by @marvinruder in #284
Tweaks and fixes
- Add
wasm
package’spackage.json
by @marvinruder in #279 - Fix fetching from Morningstar by @marvinruder in #283
Notable dependency updates
- Update prisma monorepo to v4.15.0
- Update Yarn to v3.6.0
- Update dependency typescript to v5.1.3
Full Changelog: v1.0.2...v2.0.0