allpawcare-accounts/CHANGELOG.md

3.3 KiB

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.

[Unreleased]

Added

  1. Models subpackage:
    • User class:
      • get_dogs() method
  2. App factory now in app_factory.py
  3. Development and testing now have different configurations.
    • development_config.py
    • tests/testing_config.py
  4. Makefile:
    • Default help target

Changed

  1. Models subpackage:
    • User class:
      • get_bookings() method renamed to get_visits()
      • get_bookings_history() method renamed to get_visit_history()
  2. Tests package:
    • conftest.py:
      • Updated to use new app_factory.py
      • client() fixture renamed to http_client()
    • test_user_model.py:
      • Updated to use new app_factory.py
      • Variables updated to reflect methods in User model
  3. Views package:
    • Users dashboard route:
      • Update User model object usage to reflect renamed methods
      • Renamed variable user_dogs to user_pets
  4. Makefile:
    • Target commands are no longer echoed when run.

Removed

  1. Models subpackage:
    • User class:
      • removed redundent import from get_visit_history() method

Fixed

  1. Fixed typo in CHANGELOG.md
  2. Makefile:
    • Comments used by help target now use correct symbol (##)

[0.0.6] - 2024-04-28

Added

  1. This changelog file. Hooray!
  2. Nix shell:
    • Retext now available to easily view markdown files
  3. Makefile targets:
    • view-readme now available for convenient README.md viewing.
    • view-changelog now available for convenient CHANGELOG.md viewing.
  4. Models subpackage:
    • Status class
    • Dog subpackage:
      • BreedSize class
      • Dog class:
        • age column
        • breed_size column
        • created_at column
        • status column
        • updated_at column
    • User class:
      • created_at column
      • name column
      • updated_at column
    • Visit subpackage:
      • VisitType class
      • Visit class:
        • created_at column
        • updated_at column
        • visit_type column
        • get_date method
        • get_time method
  5. Tests:
    • Test for User db model class (test_user_model.py)
    • testing_app.py:
      • added additional user (Real Person)
  6. Jinja templates:

Changed

  1. Models subpackage:
    • back_populates replaced backref parameter to explicitly define table relationships
    • Dog class moved to its own subpackage of models
    • Visit class moved to its own subpackage) of models
  2. Tests:
    • testing_app.py:
      • updated models to use new columns in database seeding function
      • seeded db data changed to be more unique
  3. Jinja templates:
    • User dashboard:

Removed

  1. Nix development shell:
    • Inlyne markdown viewer (replaced by Retext)
  2. Jinja templates:
    • User Dashboard:
      • User details no longer displayed