Skip to content

Releases: FranciscoAT/saltyboy

Release 2.0.1 (Extension 1.8.1)

23 Feb 04:29
Compare
Choose a tag to compare

Notable Changes

  • Minor tweaks and security fixes.
  • Updated missing data from schemas and various other minor fixes.

What's Changed

Full Changelog: 2.0.0...2.0.1

Release 2.0.0 (Extension 1.8.0)

23 Feb 00:39
272e7b7
Compare
Choose a tag to compare

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:

  1. Stop running the Bot application.
  2. 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.
  3. Install pgloader.
  4. Load up the PostgreSQL database: pgloader sqlite://saltyboy.db psql://username:password@localhost:5432/dbname.
  5. 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');
  6. 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

Full Changelog: 1.8.0...2.0.0

Release 1.8.0 (Extension Version 1.7.0)

20 May 19:07
Compare
Choose a tag to compare

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.

Full Changelog: 1.7.0...1.8.0

Release 1.7.0 (Extension version 1.6.0)

14 Apr 20:52
cdf2b6b
Compare
Choose a tag to compare
  • 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

Full Changelog: 1.6.0...1.7.0

Release 1.6.0 (Extension version 1.5.0)

12 Apr 17:42
dafd9ce
Compare
Choose a tag to compare

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

Full Changelog: 1.5.0...1.6.0

1.5.0

04 Apr 12:31
c14b59e
Compare
Choose a tag to compare
  • 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

Full Changelog: 1.4.0...1.5.0

1.4.0

21 Jul 03:35
a0de7e2
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.3.1...1.4.0

Version 1.3.1

05 Mar 17:05
Compare
Choose a tag to compare
  • Minor UI tweaks in popup

What's Changed

  • Changed display logic and removed title by @disteLLL in #24

Full Changelog: 1.3.0...1.3.1

Version 1.3.0

25 Feb 01:32
Compare
Choose a tag to compare

Changes:

  • Display match data in popup (#21)
  • Add option for all in bets until threshold is reached (#20)

Much love to @https://github.com/disteLLL for this release.

What's Changed

Full Changelog: 1.2.1...1.3.0

Version 1.2.1

09 Jan 03:19
5652704
Compare
Choose a tag to compare
  • Minor UI Tweak to displaying winning numbers
  • Fixed bug where balance was not accurately calculated when balance was over $1M