Back

Changelog for Template-NEXT: Version 0.2.4

September 09, 2024
1mo ago

You're viewing the changelog for an older version (v0.2.4) of this package. For the latest updates and improvements, please refer to the changelog for the current version (v0.2.6).

In this changelog, we'll dive into the updates and improvements made in version 0.2.4 of Template-NEXT. This template is designed to provide developers with a clean starting point for Next.js projects using TypeScript, TailwindCSS, and more.

Version 0.2.4 - Updates and Improvements

Dependency Updates

In this version, several dependencies were updated to ensure compatibility with the latest features and improvements:

  • clsx: Updated from ^2.1.0 to ^2.1.1.

    • This version provides minor bug fixes and performance improvements, keeping the utility class names management smoother.
  • lucide-react: Updated from ^0.358.0 to ^0.439.0.

    • This update brings a broader set of icons, along with some enhancements to existing ones.
  • next: Updated from 14.1.3 to 14.2.8.

    • Improved overall performance, including optimizations in the build process and runtime for better developer experience.
  • tailwind-merge: Updated from ^2.2.2 to ^2.5.2.

    • Enhanced merging of TailwindCSS class names, ensuring the removal of conflicting utility classes.

DevDependency Updates

Several development dependencies were updated to improve the development workflow and toolchain:

  • eslint-config-next: Updated from 14.1.3 to 14.2.8.

    • This ensures you have the latest linting rules and best practices aligned with Next.js.
  • prettier: Updated from ^3.2.5 to ^3.3.3.

    • The latest version comes with improved formatting, especially for newer JavaScript and TypeScript syntax.
  • prettier-plugin-tailwindcss: Updated from ^0.5.11 to ^0.6.6.

    • Ensures better formatting for TailwindCSS within your codebase, aligning class names in an optimized way.
  • tailwindcss: Updated from ^3.3.0 to ^3.4.1.

    • This version brings a host of new features and improvements, including extended customization options and performance boosts in the build process.

Directory Structure Change

The directory structure has been updated:

  • From: /app
  • To: /src/app

This change aligns with the recommended directory structure for Next.js projects, providing a clearer organization for your application's source files.

Removals

Some dependencies were removed in this version to simplify the project and keep the template lightweight:

  • @radix-ui/react-slot: Removed as it was no longer necessary for the core template functionality.
  • framer-motion: Removed to keep the template minimalistic. You can always add it back based on your project requirements.

Summary of Changes

DependencyOld VersionNew Version
clsx^2.1.0^2.1.1
lucide-react^0.358.0^0.439.0
next14.1.314.2.8
tailwind-merge^2.2.2^2.5.2
eslint-config-next14.1.314.2.8
prettier^3.2.5^3.3.3
prettier-plugin-tailwindcss^0.5.11^0.6.6
tailwindcss^3.3.0^3.4.1

Removed Packages

  • @radix-ui/react-slot
  • framer-motion

Conclusion

Version 0.2.4 of Template-NEXT brings necessary updates to keep the template compatible with the latest releases of Next.js, TypeScript, TailwindCSS, and other crucial tools. It also removes unneeded dependencies, updates the directory structure to /src/app, and ensures a lightweight, flexible foundation for developers to start their projects.

Feel free to clone the updated version and start building amazing applications with a streamlined setup. If you have any feedback or suggestions for future updates, reach out!