Skip to content

Releases: RakuJa/BYBE

v2.4.0

15 Dec 16:38
30dfab0
Compare
Choose a tag to compare

Added

  • Add senses data (range, acuity, vision) (#82)

Feature

  • Align bestiary list api with shop (#83)
  • Improve encounter random generator filters (#85)
  • Allow ternary operator for attack filter (Optional bool) (#87)

Fixed

  • Persistent startup not loading roles (#86)

v2.3.0

13 Nov 16:06
9374b36
Compare
Choose a tag to compare

Refactor

  • Revamp build system, to allow cross compile and smooth compile inside other projects (BYBE-Portable);
  • Improve logs;
  • Revamp swagger, adding more consistent data.

Added

  • Custom number of workers and not only actix-web default. This is done in order to lessen the burden on BYBE-Portable;
  • Allow custom env location and db path, in order to allow BYBE-Portable custom settings and location

v2.2.0

02 Oct 11:50
e7c757e
Compare
Choose a tag to compare

Refactor

  • Template refactor:
    • future-proof templates, move away from random quantities and into specific set of quantities for each template;
    • scale percentages with the total (ex: 10%, 0%, 0%, 0% of 40 items becomes 100% of 40). when all percentages are 0, return 4 values of 25% each;
  • remove curl dependency for swagger build, move to reqwest feature flag.

Fixes

  • solve shop swagger pointing at bestiary.

Added

  • trait filter on randomize and listing;
  • sort traits and sources alphabetically;
  • sort items by trait;
  • new endpoint to give the user all the data regarding default item shop templates;
  • tests for checking correct math of template equippables percentages.

v2.1.0

26 Aug 14:29
fd2af54
Compare
Choose a tag to compare

Added

  • quick adventure groups

Minor features

  • update libraries, switch to fastrand, security update of sqlx library

Fix

  • improve random creature fetching, ensuring at least one creature for each level.
    To explain the bug, analyze the previous behaviour:
    • Generate all the possible combinations of levels for an encounter given the encounter difficulty and range level;
    • fetch N (20) random creatures that matched the given filters (one of which were levels);
    • remove all the combinations that do not contain the fetched creature levels.

With the adventure group this bug is too evident. Since only one level combination is the requested one, if we have the only combination be (4,2,2,2) and we fetched 20 creature of level 2 and none of level 4 we would throw away the only combination and be left with nothing.
To fix this we assure that at least one creature for each required level gets fetched (for a maximum of -1:26 => 28 + N (20) creature fetched for each random batch). This should also improve the randomness and variety

v2.0.1

23 Jul 13:07
4842904
Compare
Choose a tag to compare

Fix

  • Solve encounter generation regression (#67)
  • do not modify (increase/decrease) essential level in variant logic
  • rename essential.level to essential.base_level to avoid future mistakes

v2.0.0

23 Jul 12:52
1880f54
Compare
Choose a tag to compare

Added

  • Add item endpoint (#61)
  • Add in creature endpoint PWL and refactor creature variant by (#64)

Minor features

  • introduce possibility to filter with pathfinder versions
  • introduce dice structure
  • add total item and creature count for pagination
  • allow upper and lower case alternative for encounter difficulty and pathfinder version
  • fix ranged/melee bug

Code QOL improvements

  • reorganize code structure
  • split raw query in sub methods
  • add safe guarantees around n of forged items range gen, now it is formally proved that it will not panic and isolated in a method to reduce redundancy
  • get avg now is implemented in dice and can handle a weapon with multiple damage sources

v1.3.0

01 Jun 14:01
69b4bce
Compare
Choose a tag to compare

Added

  • Add pf version filter, remove alignment from trait list (#56)
  • Add changelog and changelog CI (#58)

Feature

  • Introduce pwl, remove lazy static where used. (#47)
  • Refactor Creature response according to new db and remastered (#48)
  • Introduce Creature Role (#49)
  • Refactor DB communication, remove moka cache (#51)

1.2.0

18 Jan 00:48
935087f
Compare
Choose a tag to compare

Purged 1.1.0 version, as it was incomplete and with critical bugs fixed in this release

  • Support variants
  • Change balancing logic to allow for exp range, not just single exp value
  • Default value for alignment is now No alignment, instead of any

1.0.0

16 Nov 16:58
6a6a050
Compare
Choose a tag to compare

First stable release, remove all the python code and moving to SQLite