Releases: FranciscoAT/saltyboy
Releases · FranciscoAT/saltyboy
Release 2.0.1 (Extension 1.8.1)
Notable Changes
- Minor tweaks and security fixes.
- Updated missing data from schemas and various other minor fixes.
What's Changed
- Feature/2.0.0 fixes by @FranciscoAT in #89
Full Changelog: 2.0.0...2.0.1
Release 2.0.0 (Extension 1.8.0)
Highlights
- Spruced up the Website.
- Spruced up the Bot.
- Spruced up the developer experience.
- Various bug fixes.
Migration to PostgreSQL
The back-end now uses PostgreSQL rather than SQLite. This does give us certain benefits of using a proper SQL database with the drawback of things not being as user friendly. I hope I have struck a good balance however by offering make
commands to make life easier for prospective developers.
If you were running SaltyBoy before and you want to migrate you'll need to do the following:
- Stop running the Bot application.
- Spin up the PostgreSQL docker image:
make docker-up-db
for local development or,docker-compose up -d postgres
for production.- If doing this path make your
.env
is setup.
- If doing this path make your
- Install
pgloader
. - Load up the PostgreSQL database:
pgloader sqlite://saltyboy.db psql://username:password@localhost:5432/dbname
. - Enter into your PostgreSQL database using your favorite DB UI or
psql
and perform the following scripts:-- Create Sequence for Match SELECT MAX(id) + 1 FROM match; CREATE SEQUENCE match_id_seq START WITH 12345; -- replace 12345 with max above ALTER TABLE match ALTER COLUMN id SET DEFAULT nextval('match_id_seq'); -- Create Sequence for Fighter SELECT MAX(id) + 1 FROM fighter; CREATE SEQUENCE fighter_id_seq START WITH 12345; -- replace 12345 with max above ALTER TABLE fighter ALTER COLUMN id SET DEFAULT nextval('fighter_id_seq');
- Since I totally reworked the Alembic migrations as the original were incompatible with PostgreSQL you'll now need to update the
alembic_version
table updating the current version with the following:beb40ff88475
. This prepares the database for subsequent revision changes.
What's Changed
- Feature/an update by @FranciscoAT in #87
Full Changelog: 1.8.0...2.0.0
Release 1.8.0 (Extension Version 1.7.0)
What's Changed
- Bump flask from 2.2.3 to 2.3.2 in /web by @dependabot in #54.
- 57 add confidence rating limiter to extension UI by @FranciscoAT in #58.
- Ran prettier on extension
src/
. - Added new confidence threshold bet setting.
- Ran prettier on extension
Full Changelog: 1.7.0...1.8.0
Release 1.7.0 (Extension version 1.6.0)
- Improved time to make call and efficiency to make calls out to SaltyBoy.
- Added new bet overlay to display the confidence of the bet.
- Reduce number of calls made to updating the Match Status for purposes of debugging, only on changes.
- Include the version number when making calls out to SaltyBoy to help any future debugging effort on the developers part.
- Now fallback to betting $1 on red no matter what in case the server is out of date / down for any reason.
- Included new upset mode that inverts the colour of who to bet on, bets with the same confidence.
- Added tooltip to overlay.
What's Changed
- Add upset mode toggle by @FranciscoAT in #49
Full Changelog: 1.6.0...1.7.0
Release 1.6.0 (Extension version 1.5.0)
Extension Version
Bumped to 1.5.0
Changes
- Refactored storage files
- Improved initialization of default values for all various storage values
- Added new app settings storage and debug settings storage
- Added ability to view what extension is doing via console logs
- Added ability to alert the extensions storage values
- Added ability to display general stats about the fights within the Salty Bet UI, reducing need to open up the Salty Boy popup
- Added ability to force the extension to re-bet based on current bet settings rather than requiring user to reload the webpage
- Changed enable betting on exhibitions of $1 to allowing the user to specify how much to bet on all exhibition matches, setting to 0 will disable betting on exhibition matches
- Added ability to selectively enable or disable betting in Matchmaking based on tier
- Various minor UI updates to the popup page
What's Changed
- Bump webpack from 5.65.0 to 5.76.0 in /extension by @dependabot in #42
- Feature/UI improvements by @FranciscoAT in #48
Full Changelog: 1.5.0...1.6.0
1.5.0
- Moved to Python Poetry
- Various minor typing updates
- Various linting / formatting changes
- Updated to use
select.select
when reading from the SSL Socket in hopes of removing hanging error - Updated to try re-connecting to the SaltyBet IRC when we haven't been able to read from the SSL Socket in over 10 minutes
What's Changed
- Rewrite using select by @FranciscoAT in #43
Full Changelog: 1.4.0...1.5.0
1.4.0
What's Changed
- Bump waitress from 2.0.0 to 2.1.1 in /web by @dependabot in #25
- Bump waitress from 2.1.1 to 2.1.2 in /web by @dependabot in #27
- Upset bet by @ReiMasa in #31
- Bump terser from 5.10.0 to 5.14.2 in /extension by @dependabot in #33
- fix timeout on SSL sock by @FranciscoAT in #35
New Contributors
- @dependabot made their first contribution in #25
- @ReiMasa made their first contribution in #31
Full Changelog: 1.3.1...1.4.0
Version 1.3.1
Version 1.3.0
Changes:
Much love to @https://github.com/disteLLL for this release.
What's Changed
- Feature/extension loop by @FranciscoAT in #14
- Add option for all in bets until threshold is reached by @disteLLL in #20
- Display match data in popup by @disteLLL in #21
Full Changelog: 1.2.1...1.3.0
Version 1.2.1
- Minor UI Tweak to displaying winning numbers
- Fixed bug where balance was not accurately calculated when balance was over $1M