# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [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 ### Changed 1. Fixed typo in CHANGELOG.md 2. Models subpackage: - User class: * get_bookings() method renamed to get_visits() * get_bookings_history() method renamed to get_visit_history() * removed redundent import from get_visit_history() method 3. 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 4. Views package: - Users dashboard route: * Update User model object usage to reflect renamed methods * Renamed variable user_dogs to user_pets ## [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: - User dashboard: * Pets overview table [subtemplate](/accounts/templates/users/dashboard/pets_overview.html) ### Changed 1. Models subpackage: - back_populates replaced backref parameter to explicitly define table relationships - Dog class moved to its own [subpackage](/accounts/models/dog/__init__py) of models - Visit class moved to its own [subpackage](/accounts/models/visit/__init__.py)) 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: * User visit overview [renamed](/accounts/templates/users/dashboard/visits_overview.html) ### Removed 1. Nix development shell: - Inlyne markdown viewer (replaced by Retext) 2. Jinja templates: - User Dashboard: * User details no longer displayed