Release Notes – Version 1.0.1
Overview
This release includes the initial setup of the calculator project and a series of enhancements, fixes, refactors, and dependency/tooling upgrades. The update focuses on improving localization support, code quality tooling, dependency management, and developer experience.
✨ New Features
- Project Initialization
- Added
package.jsonfor dependency management and project scripts. - Added
.gitignoreto exclude unnecessary files from version control.
- Added
- Localization Configuration
- Set up localization files and configuration.
- Updated import paths for localization resources.
🐛 Bug Fixes
- Fixed documentation error and updated import statement in
CalculatorRemoteDatasource. - Corrected return type documentation and used project import paths for localization.
- Updated dart import sorter pre-commit hook to correctly check and enforce sorted imports.
♻️ Refactoring & Chores
- Command and Script Updates
- Migrated derry commands from
very_goodto standardfluttercommands. - Added a
posttestcommand for coverage report generation. - Improved and updated several build and upgrade scripts.
- Migrated derry commands from
- Import Management
- Centralized and clarified import paths for localization files in app and test helpers.
- Buffer Management
- Ensured tokenization buffers are cleared to prevent calculation errors.
⬆️ Dependency & Tooling Upgrades
- Trunk and Linting Tools
- Upgraded Trunk CLI, plugins, and several static analysis and CI tools (e.g., cspell, checkov, ktlint, markdownlint, trufflehog).
- Upgraded
very_good_analysispackage and updated linting rules. - Excluded generated localization files from analysis.
- Dart & Flutter Dependencies
- Updated multiple dependencies in
pubspec.yamlandpubspec.lock, includinganalyzer,archive,connectivity_plus,coverage,flutter_bloc,http,mockito,provider, andweb_socket.
- Updated multiple dependencies in
🔧 Other Improvements
- Added a dart formatter definition to Trunk for code style consistency.
- Improved calculator logic by validating input expressions and enhancing tokenization with constants for maintainability.
- Added a pre-commit hook for automatically sorting Dart imports.
Internal
- Version incremented to
1.0.1in bothpubspec.yamlandpackage.json. - Added a changelog entry to reflect the above changes.
Thanks for using the calculator project! For any issues, feedback, or contributions, please check the repository guidelines.