Skip to content

Releases: Clumsy-Coder/exercise-tracker

v1.1.0-development.3

07 Nov 04:06
Compare
Choose a tag to compare
v1.1.0-development.3 Pre-release
Pre-release

1.1.0-development.3 (2024-11-07)

✨ Features

  • actions: add server action for adding an exercise activity entry (fe0dac5)
  • api:exercises:[exerciseId]:activity: add endpoint for inserting exercise data into the database (9281784)
  • components:addExerciseEntry: add component for adding exercise entry (cbaf85d)
  • components:addExerciseEntry: use react query hook to send POST request to add exercise activity entry (5f58020)
  • middleware: add middleware and use next-auth to redirect protected endpoints (2acd10a)
  • page:exercises:exerciseId: display add exercise entry button when the user's logged in (4476b22)

🐛 Bug Fixes

  • components:addExerciseEntry: update the time property when opening dialog (c4ffaf3)

📚 Documentation

  • docs:images: add screenshot for adding exercise entry (aa199a9)
  • readme: display screenshot for adding exercise entry (ce6587a)

💄 Styles

  • components:addExerciseEntry: add placeholder in weight unit and distance unit dropdown (779356d)
  • components:addExerciseEntry: remove unused code (8626a97)

🐙 Miscellaneous Chores

♻️ Code Refactoring

  • components:addExerciseEntry: use component DateTimePicker and TimePicker for setting date and time (2f15a52)
  • schema: change properties in exerciseEntry from .nullish() to optional() (4604192)
  • schema: use regex to validate the duration property (ded67c8)
  • shadcn: update component Calendar props (9bda388)

📦 Build System

  • database: add types for selecting and inserting data from activities table (6114ec2)
  • deps: bump @radix-ui/react-accordion from 1.2.0 to 1.2.1 (40ec872)
  • deps: bump @radix-ui/react-dialog from 1.1.1 to 1.1.2 (e7f36ea)
  • deps: bump @radix-ui/react-dropdown-menu from 2.1.1 to 2.1.2 (7aa6ab7)
  • deps: bump @radix-ui/react-icons from 1.3.0 to 1.3.1 (5273240)
  • deps: bump @radix-ui/react-tooltip from 1.1.2 to 1.1.3 (3206bf1)
  • deps: bump @tanstack/react-query from 5.56.2 to 5.59.0 (c36086a)
  • deps: bump @tanstack/react-query from 5.59.0 to 5.59.8 (d76dff7)
  • deps: bump @tanstack/react-query from 5.59.13 to 5.59.15 (8ca6295)
  • deps: bump @tanstack/react-query from 5.59.15 to 5.59.16 (a45313f)
  • deps: bump @tanstack/react-query from 5.59.16 to 5.59.19 (eed4080)
  • deps: bump @tanstack/react-query from 5.59.19 to 5.59.20 (81b8b5f)
  • deps: bump @tanstack/react-query from 5.59.8 to 5.59.9 (f29b55a)
  • deps: bump @tanstack/react-query from 5.59.9 to 5.59.13 (8c178d0)
  • deps: bump @tanstack/react-query-devtools from 5.56.2 to 5.58.0 (7c29981)
  • deps: bump @tanstack/react-query-devtools from 5.58.0 to 5.59.0 (2ac5d8d)
  • deps: bump @tanstack/react-query-devtools from 5.59.0 to 5.59.8 (11319a2)
  • deps: bump @tanstack/react-query-devtools from 5.59.13 to 5.59.15 (434a5f5)
  • deps: bump @tanstack/react-query-devtools from 5.59.15 to 5.59.16 (5f7511a)
  • deps: bump @tanstack/react-query-devtools from 5.59.16 to 5.59.19 (f9f6a41)
  • deps: bump @tanstack/react-query-devtools from 5.59.19 to 5.59.20 (6af9111)
  • deps: bump @tanstack/react-query-devtools from 5.59.8 to 5.59.13 (918fd11)
  • deps: bump @vercel/analytics from 1.3.1 to 1.3.2 (6f90756)
  • deps: bump drizzle-orm from 0.33.0 to 0.34.1 (249795c)
  • deps: bump drizzle-orm from 0.34.1 to 0.35.0 (dd089b6)
  • deps: bump drizzle-orm from 0.35.0 to 0.35.1 (de5f49c)
  • deps: bump drizzle-orm from 0.35.1 to 0.35.2 (349b42b)
  • deps: bump drizzle-orm from 0.35.2 to 0.35.3 (821bd93)
  • deps: bump drizzle-orm from 0.35.3 to 0.36.0 (1ef5222)
  • deps: bump drizzle-orm from 0.36.0 to 0.36.1 (12e8939)
  • deps: bump lucide-react from 0.441.0 to 0.445.0 ([48c0bb9](https://githu...
Read more

v1.1.0-development.2

22 Sep 22:50
Compare
Choose a tag to compare
v1.1.0-development.2 Pre-release
Pre-release

1.1.0-development.2 (2024-09-22)

🐛 Bug Fixes

  • page:exercises: error when navigating to /exercises/targets, /exercises/equipments or /exercises/body-parts (96bc652), closes #524

📚 Documentation

  • docs:images: add screenshot for adding ENVs (644ca9d)
  • page:exercises:bodyParts: add comment on why redirecting to /exercises page (1ce6498)
  • page:exercises:equipments: add comment on why redirecting to /exercises page (7d1d0eb)
  • page:exercises:targets: add comment on why redirecting to /exercises page (e90dc97)
  • readme:database: add docs on using command processBodyPartExercises (40ee5b2)
  • readme:database: add docs on using command processEquipmentExercises (c59640a)
  • readme:database: add docs on using command processExerciseId (9a85f49)
  • readme:database: add docs on using command processTargetExercises (f02b45e)
  • readme:processExerciseData: add README for ./database/data/ directory (6078374)
  • readme: add ENV DATABASE_URL (a8416cc)
  • readme: add ENV NEXT_PUBLIC_EXERCISE_DB_BASE_URL (e9a4cea)
  • readme: add ENV details section (7d60ebc)
  • readme: add link on how to create Google OAuth token (e07158a)
  • readme: add links to their respective ENVs (aa8a3bb)
  • readme: add section for ENVs on vercel (f759134)
  • readme: add section on adding ENVs (a960603)
  • readme: update README install npm packages to use pnpm (dc38b7c)
  • readne: add a table of ENVs used (bf5a683)
  • types: add DATABASE_URL type for ENV (a21ee52)
  • types: add type NEXT_PUBLIC_EXERCISE_DB_LOCAL_FETCH_BASE_URL for ENV (49cdc86), closes #112

💄 Styles

  • api:url: format code (bfb9c16)
  • database: format code (ce356d5)
  • format code (05a49a5)
  • loading:home: fix loading component from overlapping (653fbea)
  • page:exercises:exerciseId: format code (1a314ea)
  • page:exercises:exerciseId: reduce height of dialog content for gif (cf6e67e)
  • readme: format README (1446e1f)
  • workflows:docker-build: format code (c2011a1)

🐙 Miscellaneous Chores

  • api:exercises:[exerciseId]: move /api/exercises/[exerciseId] to /api/exercises/id/[exerciseId] (11aca81)
  • api:url: add function allExercisesUrl to get url for fetching all exercises data (fe94b3a)
  • api:url: add function baseUrl to get the base url for fetching exercise data (c33bd1c)
  • api:url: add function bodyPartListUrl to get the url for fetching body part list data (1b4db22)
  • api:url: add function bodyPartUrl to get the url for fetching a specific body part data (2c3c021)
  • api:url: add function equipmentListUrl to get the url for fetching equipment list data (c249375)
  • api:url: add function equipmentUrl to get the url for fetching a specific equipment data (2f1ce7e)
  • api:url: add function exerciseIdGifUrl to get the url for fetching exercise id gif (c3738cc)
  • api:url: add function exerciseIdUrl to get the url for fetching exercise id data (168f748)
  • api:url: add function targetListUrl to get url for fetching target list data (56d7dfe)
  • api:url: add function targetUrl to get the url for fetching a specific target data (df1a747)
  • api:url: add url for fetching exercise data (423efbd), closes #112
  • api:url: mark exercise-db fetching functions to deprecated (a6bda58)
  • components:exerciseCard: unoptimized gif images (eba083a)
  • components:exerciseCard: add property unoptimize to Image component (be6a785)
  • components:reactQueryClientProvider: prefetch all exercises on the home page (c02127a)
  • data:index: remove unused code (ae64848)
  • data: move exercise data to .database/data/ folder (61b3051), closes #112
  • data: move nodejs files to .database directory (48d3300)
  • data: rename file processExercisesData.ts to index.ts (a5b56ec)
  • env: add script to generate ENV EXERCISE_DB_LOCAL_FETCH_BASE_URL (49c167c), closes #112
  • env: add script to generate ENV for next-auth (a5fc510)
  • git:attributes: use exiftool to diff gif files (7f7a761)
  • gitignore: add !.database (fa13005)
  • move exercise gifs out of public folder ([eff8db8](https://github.com/Clumsy-Coder/...
Read more

v1.1.0-development.1

22 Sep 23:09
607907b
Compare
Choose a tag to compare
v1.1.0-development.1 Pre-release
Pre-release

1.1.0-development.1 (2024-2-28)

✨ Features

  • api:auth: add api endpoint to authenticate a user using Google (3788593), closes #99
  • components:userAuth: add UserAuthDropdown component (82894d1), closes #99
  • components:userAuth: display user's name after logging in (3267b3c)
  • layout:home: render UserAuthDropdown component on the navbar (d2ba105), closes #99

📚 Documentation

  • readme: add build instructions (c483f89)
  • readme: add markdown badges (41e416d)
  • types: add NextAuth types for ENV (db174e0)

🐙 Miscellaneous Chores

  • components: export next-auth SessionProvider as a client component (679c12b)
  • git: add regex to handle multiple keywords to ignore in generateEnvs.sh (8ab3921)
  • layout:home: use SessionProvider from next-auth (3905358)
  • markdownlint: add markdownlint config (40affc7)

📦 Build System

  • deps-dev: bump undici from 5.28.2 to 5.28.3 (5d489ab)
  • deps: bump lucide-react from 0.340.0 to 0.341.0 (21eee27)
  • devDep: bump @types/node from 20.11.20 to 20.11.21 (dfbea1c)
  • devDep: bump @types/react from 18.2.58 to 18.2.59 (db8ee3d)
  • devDep: bump @types/react from 18.2.59 to 18.2.60 (63bf1b6)
  • npm: add package next-auth (7f535c9)

👷 Continuous Integration

v1.0.0

26 Feb 17:01
Compare
Choose a tag to compare

1.0.0 (2024-2-26)

✨ Features

  • actions: add server action for fetching a single exercise using exerciseId (054de4d)
  • actions: add server action for fetching all exercises (3fad3b4), closes #22
  • actions: add server action for fetching exercise body part list (04167b5), closes #67
  • actions: add server action for fetching exercise equipment list (687cf53), closes #22
  • actions: add server action for fetching exercise target list (c040abb), closes #22
  • actions: add server action for fetching exercises by body part (4e4f789), closes #67
  • actions: add server action for fetching exercises by equipment (027d753)
  • actions: add server action for fetching exercises by target (43177b2), closes #68
  • api:exercises:bodyParts: add endpoint for fetching body part list (e5e1a9a), closes #67
  • api:exercises:bodyParts: add endpoint for fetching exercises by bodyPart (a424ff1), closes #67
  • api:exercises:equipments: add endpoint for fetching a single exercise by equipment (213fe96), closes #66
  • api:exercises:targets: add endpoint for fetching exercises by target (de5b268), closes #68
  • api: add endpoint for fetching equipment list (8195a17)
  • api: add endpoint for fetching target list (67aec4a)
  • api: add endpoint for fetching a single exercise using exerciseId (42cd880), closes #56
  • api: add endpoint for fetching all exercises (553d78c)
  • app:layout: add ThemeProvider to NextJS app (42b37b5), closes #15
  • components:exerciseGroup: add ability to search exercises (e13d98f)
  • components:exercisesGroup: add basic pagination (83dbd1f)
  • components:exercisesGroup: add clear button for search input (7b2be56)
  • components:navbar: add Drawer for smaller screens (42ebd27), closes #19
  • components:navbar: hide nav links in smaller screen (2f752b9), closes #19
  • components:theme: add component darkmode-toggle (ccf24a8), closes #15
  • components:theme: add theme-provider component (c0597ae), closes #15
  • components: add Footer component (b90cdf3)
  • components: add component ExerciseCard (12bb5ad)
  • components: add component ExercisesGroup (686ce16)
  • components: add navbar component (17756b1), closes #17
  • layout:exercises: add layout for /exercises page (461730f)
  • page:exerciseId: add error handling for invalid exerciseId (74561c9), closes #56
  • page:exerciseId: add page for /exercises/[exerciseId] (45cd5c3), closes #56
  • page:exerciseId: display gif in a model when clicking on gif (108144b), closes #56
  • page:exercises:bodyParts: add page for /exercises/body-parts/[bodyPart] (8c8c65e), closes #67
  • page:exercises:equipments: add page for /exercises/equipments/[equipment] (ca757a5)
  • page:exercises:targets: add page for /exercises/targets/[target] (8026c99), closes #68
  • page:exercises: add component to render exercises by links (ed72733)
  • page:exercises: display exercise body part list (4b62ba7), closes #67
  • page:exercises: display exercise equipment list (dcc2728), closes #22
  • page:exercises: display exercise name and id (9f649c1), closes #22
  • page:exercises: display exercise target list (92b9096), closes #22
  • page:exercises: display links for exercise by target and equipment on larger screens (93d9649)
  • page:exercises: display links for exercises by target and equipment using Accordion on smaller screens (7d8ca92)
  • page:exercises: render ExercisesGroups component (4cc99d9), closes #22
  • page:home: add content for home page (ba187e3), closes #90
  • page:home: add darkmode toggle (ffda14d), closes #15

:bug...

Read more

v1.0.0-development.11

26 Feb 15:25
Compare
Choose a tag to compare
v1.0.0-development.11 Pre-release
Pre-release

1.0.0-development.11 (2024-2-26)

✨ Features

  • page:home: add content for home page (8f4be29), closes #90

📚 Documentation

  • docs:images: add screenshots for Home page (be6b8ef)
  • readme: display screenshots of Home page (300fdc9)

💄 Styles

  • components:exerciseCard: add ability to extend ExerciseCard component (2d004ef)
  • components:exerciseCard: remove ring tailwindcss class on hover (395adc6)
  • components:navbar: format code (07ebdca)

🐙 Miscellaneous Chores

  • components:exerciseCard: remove unused code (2f338db)
  • loading:home: add Loading component for / page (916630a)
  • page:exercises:exerciseId: remove unused code (43a33b6)
  • utils: add a list of popular exercises (107e150)

♻️ Code Refactoring

  • layout:home: update metadata (3eeb26e)

📦 Build System

  • deps: bump @tanstack/react-query from 5.22.2 to 5.24.1 (b0bce13)
  • deps: bump @tanstack/react-query-devtools from 5.24.0 to 5.24.1 (e027890)
  • deps: bump lucide-react from 0.336.0 to 0.340.0 (2ce426f)
  • devDep: bump @types/react from 18.2.57 to 18.2.58 (2448fbf)
  • devDep: bump eslint from 8.56.0 to 8.57.0 (4fb0ef3)

v1.0.0-development.10

24 Feb 02:13
Compare
Choose a tag to compare
v1.0.0-development.10 Pre-release
Pre-release

1.0.0-development.10 (2024-2-24)

✨ Features

  • actions: add server action for fetching exercise body part list (544c9d5), closes #67
  • actions: add server action for fetching exercises by body part (04780c9), closes #67
  • api:exercises:bodyParts: add endpoint for fetching body part list (8580768), closes #67
  • api:exercises:bodyParts: add endpoint for fetching exercises by bodyPart (cd9a964), closes #67
  • page:exercises:bodyParts: add page for /exercises/body-parts/[bodyPart] (7cad028), closes #67
  • page:exercises: display exercise body part list (0d50e59), closes #67

🐙 Miscellaneous Chores

  • hooks: add react-query hook to fetch exercise body part list (6e77f7a), closes #67
  • hooks: add react-query hook to fetch exercises by body part (abc40ab)
  • layout:exercises:bodyParts: add layout for /exercises/body-parts/[bodyPart] page (0e277f0)
  • loading:exercises:bodyParts: add Loading component for /exercises/body-parts/[bodyPart] page (18c9cd6)
  • schema: add schema for /exercises/body-parts/[bodyPart] (847fe03)

♻️ Code Refactoring

  • page:exercises:exercised: fix url for bodyPart (3d4bce9)

📦 Build System

  • devDep: bump @types/node from 20.11.19 to 20.11.20 (981986d)

v1.0.0-development.9

22 Feb 17:31
Compare
Choose a tag to compare
v1.0.0-development.9 Pre-release
Pre-release

1.0.0-development.9 (2024-2-22)

✨ Features

  • actions: add server action for fetching exercises by target (552ca8c), closes #68
  • api:exercises:targets: add endpoint for fetching exercises by target (5660dab), closes #68
  • page:exercises:targets: add page for /exercises/targets/[target] (52d9cbf), closes #68

💄 Styles

  • components:exerciseCard: add a gap between exercise name and navigate button (0a99e5a)

🐙 Miscellaneous Chores

  • hooks: add react-query hook to fetch exercises by target (f4ba292)
  • layout:exercises:targets: add layout for /exercises/targets/[target] page (305a822)
  • loading:exercises:targets: add Loading component for /exercises/targets/[target] page (63eecc8)
  • schema: add schema for /exercises/targets/[target] (cef95f2)

♻️ Code Refactoring

  • components:exerciseCard: fix url to target and equipment page (68ed5b8)

📦 Build System

  • deps: bump lucide-react from 0.335.0 to 0.336.0 (3bbfd7e)
  • devDep: bump tailwindcss from 3.4.0 to 3.4.1 (89d6282)
  • npm: upgrade package tailwindcss to v3.4.0 (3797af8)

v1.0.0-development.8

21 Feb 23:17
Compare
Choose a tag to compare
v1.0.0-development.8 Pre-release
Pre-release

1.0.0-development.8 (2024-2-21)

✨ Features

  • actions: add server action for fetching exercises by equipment (a93fb88)
  • api:exercises:equipments: add endpoint for fetching a single exercise by equipment (5d7e4c9), closes #66
  • page:exercises:equipments: add page for /exercises/equipments/[equipment] (92a43ed)

🐙 Miscellaneous Chores

  • data: add all body part types (2d7082b)
  • data: add all equipment types (aa692d3)
  • data: add all target types (e0a1af8)
  • data: add all exercises data (aa5003d)
  • hooks: add react-query hook to fetch exercises by equipment (cc31325)
  • layout:exercises:equipments: add layout for /exercises/equipments/[equipment] page (e92fa8d)
  • page:exercises:equipments: add Loading component for /exercises/equipments/[equipment] page (a087402)
  • public: add exercise gifs (cbe8992)
  • schema: add schema for /api/exercises/equipments/[equipment] (d7a844e)

♻️ Code Refactoring

  • api:exercise:equipments: use local data to fetch equipment list (51ee3e7)
  • api:exerciseId: use local data for fetching an exercise with exerciseId (a17423a)
  • api:exercises:targets: use local data to fetch target list (f6bb281)
  • api:exercises: use local data for all exercises (08b5454)
  • use gif from public folder (38d694d)

📦 Build System

  • deps: bump @tanstack/react-query from 5.21.7 to 5.22.2 (bced85c)
  • deps: bump @tanstack/react-query-devtools from 5.21.3 to 5.21.7 (5ad4cb4)
  • deps: bump @tanstack/react-query-devtools from 5.21.7 to 5.24.0 (e1850bf)
  • deps: bump @vercel/analytics from 1.2.0 to 1.2.1 (5f1c2b5)
  • deps: bump @vercel/analytics from 1.2.1 to 1.2.2 (88a86c6)
  • deps: bump lucide-react from 0.331.0 to 0.334.0 (ed73bb7)
  • deps: bump lucide-react from 0.334.0 to 0.335.0 (fb7672c)
  • devDep: bump @types/react from 18.2.55 to 18.2.57 (a79b1c9)

v1.0.0-development.7

17 Feb 19:24
Compare
Choose a tag to compare
v1.0.0-development.7 Pre-release
Pre-release

1.0.0-development.7 (2024-2-17)

✨ Features

  • components: add Footer component (46e3942)

💄 Styles

  • layout: reorder imports (a1a70c6)

🐙 Miscellaneous Chores

  • layout: display Footer component (a70ac5b)

📦 Build System

  • deps: bump @tanstack/react-query-devtools from 5.17.21 to 5.21.3 (5c84c95)
  • deps: bump @vercel/analytics from 1.1.3 to 1.2.0 (32ff403)
  • deps: bump lucide-react from 0.330.0 to 0.331.0 (486e555)
  • devDep: bump @types/node from 20.11.17 to 20.11.19 (70bc247)
  • npm: add package moment (2358e40)

v1.0.0-development.6

17 Feb 17:03
Compare
Choose a tag to compare
v1.0.0-development.6 Pre-release
Pre-release

1.0.0-development.6 (2024-2-17)

✨ Features

  • actions: add server action for fetching a single exercise using exerciseId (247208b)
  • api: add endpoint for fetching a single exercise using exerciseId (937e9db), closes #56
  • page:exerciseId: add error handling for invalid exerciseId (5be8bee), closes #56
  • page:exerciseId: add page for /exercises/[exerciseId] (ba47dbe), closes #56
  • page:exerciseId: display gif in a model when clicking on gif (2e311cc), closes #56

📚 Documentation

  • docs:images: add screenshots for Exercise ID page (40be6d1)
  • readme: display screenshots of Exercise Id page (5beb283)

🐙 Miscellaneous Chores

  • api:url: add function to get single exercise url (5a7b6d3)
  • components:error: add Error component (17c8900)
  • hooks: add react-query hook to fetch a single exercise using exerciseId (952b15c)
  • layout:exerciseId: add layout for /exercises/[exerciseId] page (951d60f)
  • page:exerciseId: add Loading component for /exercises/[exerciseId] page (eb10031)
  • page:exerciseId: display Loading component when fetching data (b040a5e)
  • schema: add schema for /api/exercises/[exerciseId] (d307312)

📦 Build System

  • npm: add package zod (8dd74e1)
  • shadcn: add component Dialog (f182a5b)