ttask_manager v1.0.0
Summary of Changes from v0.2.7 to v1.0.0
In version 1.0.0, the TaskManager
class introduces several significant improvements and new features over version 0.2.7:
- Task Storage: Tasks are now stored in dictionaries with associated priority levels, allowing for more flexible task management.
- Priority Management: Users can assign priorities to tasks (e.g., 'high', 'medium', or 'low') using either string or integer priority types.
- Task Addition: The
add_task()
method has been enhanced to accept both simple string tasks and (task, priority) tuples, giving users more control over task creation. - Improved Reporting: Users can now generate reports filtered by 'to-do', 'done', or all tasks, making the reporting process more customizable.
- Formatted Task Lists: Task lists are now displayed with improved formatting, including task numbers and their respective priorities.
- Enhanced Task Management: The methods for removing tasks and marking them as done have been refined for better performance and ease of use.
- State Handling: Saving and loading the task manager's state via JSON files remains a core feature, but it's now more robust and integrated with the new priority system.
These changes make the TaskManager
class more powerful and versatile, providing a better user experience and greater flexibility in managing tasks.