Changelog

All notable changes to this project, based on Keep a Changelog.

Version 1.2.0
2025-08-30

Changed

  • Improved the UI of the resize handles to have rounded corners and a more prominent hover effect.
  • The image border is now thin and grey by default, becoming thicker and primary-colored on handle hover for a cleaner look.

Fixed

  • Corrected a bug where dragging the top resize handles caused the image to resize in the wrong direction.
Version 1.1.0
2025-08-28

Added

  • Implemented a dark/light mode theme toggle using `next-themes`.
  • Added a `ThemeProvider` and a `ThemeToggle` button component.
  • Placed the theme toggle in the header of all pages for easy access.
  • Added an "Open Source" link to the main page footer.

Changed

  • Updated the introductory text on the homepage for clarity and conciseness.
  • Updated documentation (`README.md`, `CHANGELOG.md`) to reflect the latest changes.
  • Incremented the project version to `1.1.0`.
Version 1.0.3
2025-08-28

Changed

  • Refactored image editor event handling to support both mouse and touch events, fixing mobile Safari compatibility.
  • Corrected image resizing logic to strictly maintain aspect ratio and prevent distortion.
  • Fixed a bug preventing the image from appearing on desktop after mobile fixes were implemented.
  • Corrected the cropping logic to ensure the output image is properly cropped to the canvas boundaries.

Fixed

  • Resolved a console error caused by an incorrect prop name (`onValueValueChange`) in the `Slider` component.
Version 1.0.2
2025-08-28

Added

  • Comprehensive legal pages: `Terms of Service`, `Privacy Policy`, `DMCA Policy`, `Cookie Policy`, `Disclaimer`, and `UGC Disclaimer`.
  • New `legal-page.tsx` component to provide a consistent layout for all legal documents.
  • Added `@tailwindcss/typography` plugin for improved content formatting on legal pages.
  • Added favicon, apple-touch-icon, and web manifest links to the main layout.

Changed

  • Updated the footer to include a dedicated section with links to all legal pages.
  • Updated project documentation (`README.md`, `CHANGELOG.md`) to reflect the latest changes and dependencies.
  • Incremented the version number in the footer and documentation to `v1.0.2`.
Version 1.0.1
2025-08-28

Added

  • Created a new changelog page at `/changelog` to dynamically display project updates.
  • Updated all links to point to the new `/changelog` route.

Changed

  • Updated documentation (`README.md`, `CHANGELOG.md`) to reflect recent changes.
  • Incremented the version number in the footer to `v1.0.1`.

Removed

  • Deleted the static `public/changelog.html` file in favor of the new dynamic page.
Version 1.0.0
2024-08-01

Added

  • Initial release of Canvas Crop.
  • Core functionality: image upload, resize, pan, and zoom.
  • Ability to download the cropped image as a PNG.
  • Ability to copy the cropped image to the clipboard.
  • User interface built with Next.js, ShadCN, and Tailwind CSS.
  • Docker support for both development and production environments.
  • Comprehensive `README.md` for setup and deployment.

Changed

  • Simplified image resizing logic for better performance and maintainability.
  • Refined cursor behavior to indicate resize and pan actions more clearly.

Removed

  • Removed unused UI components and hooks to streamline the project.
  • Stripped out initial AI and upscaling-related features to focus on a simple, fast resizer.