Releases: Lukasdotcom/fantasy-manager
v1.13.3
Update Information
#512 fixed a bug that could cause colliding playeruids. Before upgrading you can run the command below to find all offenders and then manually fix the data from that player. There were no examples found so no upgrade script is given. If you find one make a discussion for help fixing it.
SELECT * FROM players WHERE NOT EXISTS (SELECT * FROM clubs WHERE clubs.club=players.club AND clubs.league=players.league);
What's Changed
- Fixes the size of pictures for the detailed player view by @Lukasdotcom in #511
- Fixes colliding playeruids by @Lukasdotcom in #512
- Fixes showing undefined on username by @Lukasdotcom in #513
- Does not show bad player data while the data is being updated by @Lukasdotcom in #516
- Fix cache edge case for when the game will start soon but not soon enough by @Lukasdotcom in #517
- Has the price filter use the sale price by default by @Lukasdotcom in #518
- Fixes bug that does not allow you to buy players on sale if you do not have enough money for normal price by @Lukasdotcom in #519
Dependency Changes
- Update typescript-eslint monorepo to v6.6.0 by @renovate in #504
- Update dependency @types/node to v18.17.14 by @renovate in #510
- Update dependency cypress to v13.1.0 by @renovate in #509
- Update dependency @mui/material to v5.14.8 by @renovate in #515
- Update actions/checkout action to v4 by @renovate in #514
Full Changelog: 1.13.2...1.13.3
1.13.2
What's Changed
- Adds a max-age cache to the analytics by @Lukasdotcom in #501
- Makes sure that the max-age can not be a decimal value by @Lukasdotcom in #502
- Moves eslint to dev dependencies by @Lukasdotcom in #508
Dependency Changes
- Update dependency cypress to v13 by @renovate in #507
- Update dependency prettier to v3.0.3 by @renovate in #506
- Update dependency @types/node to v18.17.12 by @renovate in #503
- Update dependency @mui/material to v5.14.7 by @renovate in #505
Full Changelog: 1.13.1...1.13.2
v1.13.1
What's Changed
- Fixes bug in the calculation of isBeforeGame by @Lukasdotcom in #500
Dependency Changes
Full Changelog: 1.13.0...1.13.1
v1.13.0
Update Information
Note that the environmental variable DOWNLOAD_PICTURES has been moved to the admin UI and will now do nothing except be used as the preference during the update #497. Same thing with MIN_UPDATE_TIME_TRANSFER and MIN_UPDATE_TIME #488.
What's Changed
- Fixes bug that says ending matchday instead of starting by @Lukasdotcom in #482
- Fixes bug for while the game has not started when no average or total points are passed by @Lukasdotcom in #484
- Fixes bug with archived leagues that overwrites the last matchday points when new points are calculated by @Lukasdotcom in #485
- Fixes bug that shows newest player information for the last matchday in an archived league if it is not transfer period by @Lukasdotcom in #486
- Adds a max time to the update and does not wait when updating by @Lukasdotcom in #488
- Makes the analytics only load the needed data in admin panel by @Lukasdotcom in #489
- Fixes bug that creates null sale price for historical player data by @Lukasdotcom in #495
- Has api say if fallback image is needed by @Lukasdotcom in #496
- Moves the download picture option to the admin panel by @Lukasdotcom in #497
- Gives a description to the picture downloading in the admin panel by @Lukasdotcom in #498
Dependency Changes
- Update dependency typescript to v5.2.2 by @renovate in #494
- Update dependency chart.js to v4.4.0 by @renovate in #493
- Update dependency @mui/material to v5.14.6 by @renovate in #492
- Update dependency @types/node to v18.17.11 by @renovate in #483
- Update typescript-eslint monorepo to v6.4.1 by @renovate in #487
- Update dependency csv-stringify to v6.4.2 by @renovate in #491
- Update dependency @types/react to v18.2.21 by @renovate in #490
Full Changelog: 1.12.3...1.13.0
v1.12.3
Update Information
Note that the saved pictures from DOWNLOAD_PICTURES is reset and will have to redownload all the pictures due to #480
What's Changed
- Fixes the version check for using old analytics data by @Lukasdotcom in #479
- Makes the picture downloading much more resilient, and changes the folder organization of the pictures by @Lukasdotcom in #480
- Adds a filter for sales on the transfer page by @Lukasdotcom in #481
Full Changelog: 1.12.2...1.12.3
v1.12.2
What's Changed
- Fixes bug where the league data is never updated and removes validLeagues function due to confusion by @Lukasdotcom in #469
- Makes the downloaded files use the new fields and give a valid url for the pictures by @Lukasdotcom in #470
- Makes showHidden do a different search to the api that hides all players that are in no unarchived squads by @Lukasdotcom in #474
- Makes the downloads page static and also shows leagues that don't recieve updates anymore in page by @Lukasdotcom in #475
- Adds an error to the league creation screen when no plugin is enabled and adds a help page for that by @Lukasdotcom in #476
- Fixes bug where league data is missing in the analytics by @Lukasdotcom in #477
- Makes the username loading look instant when cached by @Lukasdotcom in #478
Dependency Changes
- Update dependency prettier to v3.0.2 by @renovate in #468
- Update dependency next-auth to v4.23.1 by @renovate in #473
- Update dependency sharp to v0.32.5 by @renovate in #472
- Update dependency cypress to v12.17.4 by @renovate in #471
Full Changelog: 1.12.1...1.12.2
v1.12.1
What's Changed
- Fixes bug with pictures being redownloaded over and over when DOWNLOAD_PICTURES=yes by @Lukasdotcom in #467
Full Changelog: 1.12.0...1.12.1
v1.12.0
Update Information
Note that this switched the plugins to be changed in the web-ui settings. This means that the enviromental variables like ENABLE_EPL do nothing now. Note that these variables will be used during the update to auto enable those plugins. Also now pictures are downloaded to disk to allow for custom plugins. This means that the new environmental variable DOWNLOAD_PICTURE exists. For more info on DOWNLOAD_PICTURE go to env.md.
What's Changed
- Adds a default locale in the html for SEO by @Lukasdotcom in #368
- Fixes german translation in tutorial using Player instead of Spieler by @Lukasdotcom in #369
- First simple beta plugin system made by @Lukasdotcom in #411
- fixes warning with Critical dependency and 0s showing up in announcements by @Lukasdotcom in #414
- Allows for the adding and removing of custom plugins by @Lukasdotcom in #426
- Makes the eslint rules stricter by @Lukasdotcom in #428
- Makes it so that pictures are downloaded/streamed through an api route to prevent domain restrictions from affecting plugins by @Lukasdotcom in #441
- Drops node 19 from testing by @Lukasdotcom in #444
- Adds a game_end_time to the plugin response and gives the plugins more information by @Lukasdotcom in #457
- Fixes the db upgrade script for 1.12 by @Lukasdotcom in #460
- Added support for sales by @Lukasdotcom in #461
- Does not update some data when the game has been finished by @Lukasdotcom in #462
- Fixes a bug with analytics that causes data duplication by @Lukasdotcom in #463
- Adds a way to optout of analytics and gives a central file that describes every env variable by @Lukasdotcom in #464
Dependency Changes
- Bump http-cache-semantics from 4.1.0 to 4.1.1 by @dependabot in #380
- Bump @sideway/formula from 3.0.0 to 3.0.1 by @dependabot in #385
- Update dependency sqlite3 to v5.1.6 by @renovate in #398
- Bump webpack from 5.73.0 to 5.76.2 by @dependabot in #404
- Update dependency csv-stringify to v6.4.0 by @renovate in #418
- Update emotion monorepo to v11.11.0 by @renovate in #422
- Update dependency prettier to v3 by @renovate in #451
- Update dependency typescript to v5.1.6 by @renovate in #431
- Update dependency cypress to v12.17.3 by @renovate in #437
- Update dependency eslint-plugin-cypress to v2.14.0 by @renovate in #450
- Update dependency sqlite to v5 by @renovate in #452
- Update nextjs monorepo to v13.4.13 by @renovate in #449 Note this was downgraded to v13.4.12. Look at #458 for details
- Update dependency dotenv to v16.3.1 by @renovate in #430
- Update dependency sharp to v0.32.4 by @renovate in #448
- Update dependency node-downloader-helper to v2.1.9 by @renovate in #447
- Update dependency chart.js to v4.3.3 by @renovate in #445
- Update dependency @emotion/react to v11.11.1 by @renovate in #436
- Update dependency @types/react to v18.2.20 by @renovate in #432
- Update dependency @types/node to v18.17.5 by @renovate in #456
- Update dependency eslint to v8.47.0 by @renovate in #455
- Update typescript-eslint monorepo to v6.4.0 by @renovate in #435
- Update dependency next-auth to v4.23.0 by @renovate in #454
- Update dependency @mui/material to v5.14.5 by @renovate in #459
- Update dependency @typescript-eslint/parser to v6.4.0 by @renovate in #466
Full Changelog: 1.11.0...1.12.0
v1.11.0
Update Information
Matomo analytics support has been completely dropped and will not do anything anymore.
What's Changed
- Allows to search player in a non enabled league by @Lukasdotcom in #343
- Adds multi language support and german by @Lukasdotcom in #344
- Removes bug with flashing login status when changing page by @Lukasdotcom in #352
- Adds support for changing locales and syncing preferences based on account by @Lukasdotcom in #354
- Adds support for themes and locales in analytics by @Lukasdotcom in #358
- Adds all the analytics data to the admin panel by @Lukasdotcom in #360
- Fixes google and github login logos by @Lukasdotcom in #363
- Adds a better tutorial by @Lukasdotcom in #366
- Removes matomo support completly by @Lukasdotcom in #367
Dependency Changes
- Update dependency @types/node to v18.11.15 by @renovate in #335
- Update dependency eslint to v8.30.0 by @renovate in #341
- Update dependency @types/node to v18.11.16 by @renovate in #340
- Update dependency @types/node to v18.11.17 by @renovate in #342
- Update dependency wait-on to v7 by @renovate in #339
- Update dependency chart.js to v4.1.1 by @renovate in #338
- Update nextjs monorepo to v13.0.7 by @renovate in #337
- Update dependency @mui/material to v5.11.0 by @renovate in #336
- Update dependency cypress to v12.1.0 by @renovate in #334
- Update dependency react-chartjs-2 to v5.1.0 by @renovate in #345
- Update dependency next-auth to v4.18.6 by @renovate in #325
- Update dependency @types/node to v18.11.18 by @renovate in #351
- Update nextjs monorepo to v13.1.1 by @renovate in #350
- Update dependency next-auth to v4.18.7 by @renovate in #349
- Update dependency @mui/material to v5.11.2 by @renovate in #346
- Update dependency sharp to v0.31.3 by @renovate in #348
- Update dependency cypress to v12.2.0 by @renovate in #347
- Update dependency eslint to v8.31.0 by @renovate in #353
- Update dependency @mui/material to v5.11.3 by @renovate in #355
- Update dependency cypress to v12.3.0 by @renovate in #356
- Update dependency chart.js to v4.1.2 by @renovate in #357
- Update dependency prettier to v2.8.2 by @renovate in #362
- Update dependency next-auth to v4.18.8 by @renovate in #361
- Update dependency @mui/material to v5.11.4 by @renovate in #364
- Update dependency react-chartjs-2 to v5.2.0 by @renovate in #365
Full Changelog: 1.10.3...1.11.0
v1.10.3
What's Changed
- Fixes formatting for player purchase screen by @Lukasdotcom in #314
- Fixes the latest matchday historical data screen showing the wrong info by @Lukasdotcom in #315
- Fixes caching for league data and moves it to seperate file by @Lukasdotcom in #316
- Fixes bad start and end times for the world cup transfer periods by @Lukasdotcom in #330
- Fixes bug with bad cache for hidden players by @Lukasdotcom in #331
- Prevents the making of an empty username and or password by @Lukasdotcom in #332
- Adds missing href attribute to links by @Lukasdotcom in #333
Dependency Changes
- Update dependency @types/node to v18.11.10 by @renovate in #313
- Update dependency csv-stringify to v6.2.3 by @renovate in #312
- Update dependency @types/react to v18.0.26 by @renovate in #318
- Update dependency eslint to v8.29.0 by @renovate in #319
- Update nextjs monorepo to v13.0.6 by @renovate in #317
- Update dependency next-auth to v4.18.0 by @renovate in #320
- Update dependency @types/node to v18.11.11 by @renovate in #321
- Update dependency prettier to v2.8.1 by @renovate in #324
- Update dependency typescript to v4.9.4 by @renovate in #326
- Update dependency @types/node to v18.11.12 by @renovate in #327
- Update dependency @types/node to v18.11.13 by @renovate in #328
- Update dependency @mui/material to v5.10.17 by @renovate in #322
- Update dependency cypress to v12 by @renovate in #323
- Update dependency sqlite3 to v5.1.4 by @renovate in #329
Full Changelog: 1.10.2...1.10.3