Skip to content

Latest commit

 

History

History
158 lines (111 loc) · 5.11 KB

CHANGELOG.md

File metadata and controls

158 lines (111 loc) · 5.11 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

2.4.0 - 2024-12-15

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)

2.3.0 - 2024-11-11

Added

  • Add docs endpoint, update README.md, allow passing db_path and env_path to start function

Documentation

  • Improve swagger, remove random example data. update dependencies (#76)

Feature

  • Introduce lib compiling, allow clean (slow) startup or persistent (quick but does not consider db update)
  • Revamp build system (#79)

2.2.0 - 2024-10-02

Feature

  • Filter by trait (#73)
  • Template refactor (#74)

2.1.0 - 2024-08-26

Feature

  • Adventure group and improve random creature fetching(#69)

2.0.1 - 2024-07-23

Fixed

  • Solve encounter generation regression (#67)

2.0.0 - 2024-07-22

Feature

  • Add item endpoint (#61)
  • Add in creature endpoint PWL and refactor creature variant, minor fixes (#64)

1.3.0 - 2024-06-01

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 - 2024-01-17

Feature

  • Allow variants on encounter generation (#37)

Fixed

  • Change default from any to no alignment (#39)
  • Any not converted correctly from db string (#40)

[1.0.0] - 2023-11-16

Added

  • Add gunicorn support, expand config usage, fix docker image
  • Add encounter info: encounter difficulty, exp and difficulty thresholds
  • Add endpoint to fetch creature fields (family, rarity, size, alignment), page size must be greater or equal than 1, generalize fetch_keys redis_handler method
  • Add method to procedurally create endpoints ending with or without /
  • Add weak and elite endpoints
  • Add melee, ranged, spell caster and sources fields. add melee, ranged and spell caster filters (#14)
  • Add health controller
  • Add get filter routers, use dbcache filters field, separate a little bit the cache logic and router initialization
  • Add elite and weak modifier. Complete bestiary
  • Add swagger at swagger-ui endpoint
  • Add get_encounter_info logic

Feature

  • Backend is now deployment ready using docker and fly.io
  • Implement random encounter generator, redis_handler can now fetch ids that pass filters
  • Allow encounter generation with no filter, difficulty is randomized and the rest ignored
  • Introduce get creature API, add filter name to list API
  • Add sort and label filters (#6)
  • Add level and hp (min, max) filters (#9)
  • Refactor using rust
  • Implement cache (that needs to be refactored, it's ported 1:1 from python code)
  • Implement full feature routing for bestiary list, with filters and default values.
  • Allow request without pagination
  • Implement encounter generation in rust (#16)
  • Refactor cache to make it more rusty. This has the problem that it will have a slow first call every 24hours for one unlucky user
  • Parse sources and return them correctly
  • Parse complex sources strings
  • Implement traits (#19)
  • Implement creature types (#21)
  • Implement multiple filter values (#23)
  • Implement cache control (#25)
  • Implement SQLite db (#28)
  • Implement source endpoint (#30)
  • Implement generator filtering by number of creatures (#31)

Fixed

  • Now get_bestiary returns json instead of string
  • Handle difference between negative levels when calculating encounter info
  • Next element wrong address
  • Allow CORS calls
  • Simplify calculate_encounter_difficulty, fix logical bug with trivial difficulty
  • Populate new_ids_dict correctly (#7)
  • Side effect on creature cache (#11)
  • Refactor to handle correctly json body on post
  • Use of scan instead of keys, that raised an error when the number of keys is high
  • Creature_id endpoint overriding rarities, families, size, alignment etc
  • Encounter info returning impossible on trivial encounters
  • Pagination taking more element than requested
  • Ln string not in caps
  • Encounter info broken with negative enemies
  • Set filtering was doing union operation instead of intersection
  • Filter correctly vectors containing integer with value < -1