v1.5.0
Note
The folllowing release note was automatically generated using the GitSet.dev - Tags & Releases Manager. Explore it yourself at GitSet.dev 🤖✨
v1.5.0 bcc4879: Code Decommenter and Subscription Implementation
Overview
This release introduces a new code decommenter tool and integrates subscription functionality. The code decommenter provides users with a convenient way to remove comments from their code, improving readability and potentially reducing file size. The subscription feature allows users to access premium features and support the ongoing development of the platform. This release also includes several significant updates and improvements across various components, resulting in a more robust and user-friendly experience. Users should be aware of potential compatibility issues due to updated dependencies and schema changes (see Additional Notes for details).
Release Details
- Release Date: 2025-01-23 21:29:49 UTC
- Commit: bcc4879
- Author: Iván Luna
- Branch(es): main
Changes
New Features
- Code Decommenter: A new page (
code-decommenter.astro) has been added, providing a tool to remove comments from code. This feature enhances code readability and can reduce file size.
Improvements
- Global CSS: Improvements to global CSS (
public/styles/global.css) for buttons and list items, enhancing visual consistency and user experience. - Footer: The footer (
src/components/layout/Footer.astro) now dynamically displays the current year. - Layout Components: Significant refactoring of layout components (
src/components/layout/Header.astro,src/components/layout/NavLink.astro,src/layouts/Sidebar.astro) for improved user experience and maintainability. - Middleware: The middleware (
src/middleware.ts) has been refactored to handle 404 responses more gracefully. - Various Pages: Substantial updates to numerous pages (
src/pages/commit-messages.astro,src/pages/components/theme-switch.astro,src/pages/contact.astro,src/pages/dashboard.astro,src/pages/faq.astro,src/pages/gitignore-builder.astro,src/pages/index.astro,src/pages/login.astro,src/pages/personal-ai-readme.astro,src/pages/public-ai-readme.astro,src/pages/readme-generator.astro,src/pages/repository-assessment.astro,src/pages/settings.astro,src/pages/signup.astro,src/pages/tags-releases.astro,src/pages/terms.astro) to incorporate new features and improve functionality. These changes include additions related to user plans and subscriptions. - CTA Section: Minor improvements to the call-to-action section (
src/sections/CTA.astro).
Bug Fixes
- Improved error handling and 404 response management in the middleware.
Added Dependencies
@lemonsqueezy/lemonsqueezy.js: Added for subscription management.@supabase/supabase-js: Added for integration with Supabase.
Modified Files
-
.gitignore(modified)- Changes: 3 total
- Added: 3 lines
- Removed: 0 lines
-
package-lock.json(modified)- Changes: 95 total
- Added: 93 lines
- Removed: 2 lines
-
package.json(modified)- Changes: 4 total
- Added: 3 lines
- Removed: 1 lines
-
public/styles/global.css(modified)- Changes: 5 total
- Added: 1 lines
- Removed: 4 lines
-
src/components/layout/Footer.astro(modified)- Changes: 146 total
- Added: 76 lines
- Removed: 70 lines
-
src/components/layout/Header.astro(modified)- Changes: 78 total
- Added: 39 lines
- Removed: 39 lines
-
src/components/layout/NavLink.astro(modified)- Changes: 2 total
- Added: 1 lines
- Removed: 1 lines
-
src/db/schema.ts(modified)- Changes: 28 total
- Added: 28 lines
- Removed: 0 lines
-
src/layouts/Sidebar.astro(modified)- Changes: 10 total
- Added: 7 lines
- Removed: 3 lines
-
src/middleware.ts(modified)- Changes: 30 total
- Added: 22 lines
- Removed: 8 lines
-
src/pages/api/auth/revoke-access.ts(modified)- Changes: 22 total
- Added: 18 lines
- Removed: 4 lines
-
src/pages/cli-assistant.astro(modified)- Changes: 2 total
- Added: 2 lines
- Removed: 0 lines
-
src/pages/code-decommenter.astro(modified)- Changes: 4 total
- Added: 3 lines
- Removed: 1 lines
-
src/pages/commit-messages.astro(modified)- Changes: 461 total
- Added: 278 lines
- Removed: 183 lines
-
src/pages/components/theme-switch.astro(modified)- Changes: 167 total
- Added: 147 lines
- Removed: 20 lines
-
src/pages/contact.astro(modified)- Changes: 184 total
- Added: 111 lines
- Removed: 73 lines
-
src/pages/dashboard.astro(modified)- Changes: 58 total
- Added: 54 lines
- Removed: 4 lines
-
src/pages/faq.astro(modified)- Changes: 91 total
- Added: 79 lines
- Removed: 12 lines
-
src/pages/github-status.astro(modified)- Changes: 10 total
- Added: 0 lines
- Removed: 10 lines
-
src/pages/gitignore-builder.astro(modified)- Changes: 17 total
- Added: 2 lines
- Removed: 15 lines
-
src/pages/index.astro(modified)- Changes: 22 total
- Added: 21 lines
- Removed: 1 lines
-
src/pages/login.astro(modified)- Changes: 25 total
- Added: 21 lines
- Removed: 4 lines
-
src/pages/personal-ai-readme.astro(modified)- Changes: 6 total
- Added: 3 lines
- Removed: 3 lines
-
src/pages/public-ai-readme.astro(modified)- Changes: 37 total
- Added: 34 lines
- Removed: 3 lines
-
src/pages/readme-generator.astro(modified)- Changes: 14 total
- Added: 7 lines
- Removed: 7 lines
-
src/pages/repository-assessment.astro(modified)- Changes: 4 total
- Added: 3 lines
- Removed: 1 lines
-
src/pages/settings.astro(modified)- Changes: 209 total
- Added: 126 lines
- Removed: 83 lines
-
src/pages/signup.astro(modified)- Changes: 30 total
- Added: 22 lines
- Removed: 8 lines
-
src/pages/tags-releases.astro(modified)- Changes: 39 total
- Added: 18 lines
- Removed: 21 lines
-
src/pages/terms.astro(modified)- Changes: 105 total
- Added: 92 lines
- Removed: 13 lines
-
src/sections/CTA.astro(modified)- Changes: 2 total
- Added: 1 lines
- Removed: 1 lines
Contributions
Iván Luna
Testing
Automated unit tests were run on affected components to ensure functionality. Manual testing was also performed to verify the integration of the new code decommenter and subscription features.
Instructions for Update
Update your application by pulling the latest changes from the main branch. Refer to the project's documentation for detailed instructions on updating dependencies.
Additional Notes
This release includes breaking changes due to updated dependencies and schema modifications in src/db/schema.ts. Users may need to migrate their data and adjust their code accordingly. Please review the updated schema carefully before updating. The .gitignore file has been updated to exclude migration files.
Full Changelog: v1.4.2...v1.5.0