Skip to content

v1.1.1 - Works on any localhost port

Choose a tag to compare

@simonro simonro released this 12 Sep 13:02
· 24 commits to main since this release

A single fix: the app failed to load when it was not on port 3010.

The bug

launch.bat offers the next free port when 3010 is taken, so the frontend can end up on 3011 or
higher. The backend only advertised http://localhost:3010 as an allowed origin, so the browser
discarded every response and the app showed "Could not load the dashboard: Network Error", with
nothing wrong on the server side.

The fix

The backend now accepts any localhost or 127.0.0.1 port. That is safe because it only ever runs
on your own machine. FRONTEND_ORIGINS still exists, and is now only needed when the frontend is
served from another host, for example another machine on your LAN.

No other change: same features, same database, same schema as v1.1.0.

Install

Download Trading-Journal-AI-v1.1.1.zip below, unzip it, then follow the Quick Start in the README.
You need Python 3.11 or newer and Node 18 or newer.

Upgrading from v1.1.0 or v1.0.0

Your trades (backend/trading_journal.db) and your keys (backend/.env) are not part of a release,
so updating never touches them.

If you cloned with git:

git pull
launch.bat

If you downloaded the ZIP: unzip this one into a new folder, copy your two files across, run
npm install in frontend/ once, then start it.

old-folder/backend/.env                 ->  new-folder/backend/.env
old-folder/backend/trading_journal.db   ->  new-folder/backend/trading_journal.db

Coming from v1.0.0? Read the v1.1.0 notes
as well: that is the release with the redesign, the Settings name library and the Sources and Tags
report.