|
1 | 1 | # Changelog |
2 | 2 |
|
3 | | -## Latest Updates - Smart Path Detection & Robustness Improvements |
| 3 | +All notable changes to Fallout76CreateCustomIni are documented here. |
4 | 4 |
|
5 | | -### Path Detection Enhancement |
6 | | -- **Smart Directory Finding**: Added `find_fallout76_directory()` function that automatically detects Fallout 76 directory location |
7 | | -- **OneDrive Support**: Now supports multiple OneDrive configurations: |
| 5 | +--- |
| 6 | + |
| 7 | +## [Latest] - 2025-10-23 - Documentation Overhaul |
| 8 | + |
| 9 | +### Changed |
| 10 | +- **Complete README.md Rewrite** |
| 11 | + - Restructured with clearer sections and professional layout |
| 12 | + - Added comprehensive "Quick Start" guide for new users |
| 13 | + - Expanded "Key Features" section with detailed subsections |
| 14 | + - Added "Usage Examples" with practical command-line scenarios |
| 15 | + - New "How It Works" section explaining the process flow |
| 16 | + - Enhanced "Troubleshooting" section with common issues and solutions |
| 17 | + - Added "Technical Details" section for developers |
| 18 | + - Improved formatting with better use of code blocks and lists |
| 19 | + - More user-friendly language and organization throughout |
| 20 | + |
| 21 | +--- |
| 22 | + |
| 23 | +## [Previous] - 2025 - Major Overhaul: Smart Detection & Robustness |
| 24 | + |
| 25 | +### Added |
| 26 | +- **Smart Path Detection System** |
| 27 | + - `find_fallout76_directory()` function automatically locates Fallout 76 directory |
| 28 | + - Multi-location search algorithm checks common installation paths |
| 29 | + - Console feedback showing which directory was detected/used |
| 30 | + |
| 31 | +- **Comprehensive OneDrive Support** |
8 | 32 | - OneDrive Personal (`OneDrive\Documents\My Games\Fallout 76`) |
9 | | - - OneDrive Business (`OneDrive - Business\Documents\My Games\Fallout 76`) |
| 33 | + - OneDrive Business (`OneDrive - Business\Documents\My Games\Fallout 76`) |
10 | 34 | - OneDrive with redirected Documents folder |
11 | | - - Standard Documents location as fallback |
12 | | -- **User Feedback**: Added console output showing which directory was found/used |
| 35 | + - Alternative OneDrive path structures |
| 36 | + - Automatic fallback to standard Documents location |
13 | 37 |
|
14 | | -### Error Handling & Robustness |
15 | | -- **Input Validation**: Added validation to check if data folder exists before processing |
16 | | -- **Permission Handling**: Better error messages for permission issues with suggestion to use `--runasadmin` |
17 | | -- **UTF-8 Encoding**: Explicit UTF-8 encoding for file operations to handle international characters |
18 | | -- **Import File Validation**: Check if import file exists before attempting to read it |
19 | | -- **Graceful Error Handling**: Comprehensive try-catch blocks with informative error messages |
| 38 | +- **Enhanced Error Handling** |
| 39 | + - Data folder existence validation before processing |
| 40 | + - Permission error detection with `--runasadmin` suggestion |
| 41 | + - Import file validation before reading |
| 42 | + - Comprehensive try-catch blocks with descriptive messages |
| 43 | + - Graceful error handling with appropriate exit codes |
20 | 44 |
|
21 | | -### User Experience Improvements |
22 | | -- **Progress Feedback**: Added console output showing scan progress and file creation status |
23 | | -- **Better Error Messages**: More descriptive error messages with actionable suggestions |
24 | | -- **Success Confirmation**: Clear confirmation when ini file is successfully created |
| 45 | +- **Improved User Experience** |
| 46 | + - Progress feedback during mod scanning |
| 47 | + - File creation status confirmation |
| 48 | + - Success messages with file paths |
| 49 | + - Warning messages for missing import files |
| 50 | + - Clear, actionable error messages |
| 51 | + |
| 52 | +### Changed |
| 53 | +- **File Encoding**: Explicit UTF-8 encoding for all file operations |
| 54 | + - Supports international characters in mod names |
| 55 | + - Prevents encoding-related crashes |
| 56 | + |
| 57 | +- **Error Messages**: More descriptive and actionable |
| 58 | + - Specific suggestions for common issues |
| 59 | + - Clear indication of what went wrong and how to fix it |
| 60 | + |
| 61 | +### Fixed |
| 62 | +- Permission issues when writing to protected directories |
| 63 | +- Crashes when data folder doesn't exist |
| 64 | +- Encoding errors with non-ASCII characters in mod names |
| 65 | +- Missing import file handling |
25 | 66 |
|
26 | 67 | --- |
27 | 68 |
|
28 | | -## Previous Updates - Formatting and Styling |
29 | | -- Reformatted docstring for consistency. |
30 | | -- Replaced single quotes with double quotes for string literals. |
31 | | -- Improved readability by reorganizing the argument parser setup. |
| 69 | +## [Previous] - Code Quality & Formatting Improvements |
| 70 | + |
| 71 | +### Changed |
| 72 | +- **Code Style Standardization** |
| 73 | + - Reformatted docstrings for consistency |
| 74 | + - Replaced single quotes with double quotes throughout |
| 75 | + - Improved overall code readability |
32 | 76 |
|
33 | | -## Argument Parsing |
34 | | -- Renamed the parser variable to lowercase (`parser`). |
35 | | -- Enhanced descriptions and help texts for the arguments. |
36 | | -- Reformatted the addition of arguments for better readability. |
| 77 | +- **Argument Parser Refactoring** |
| 78 | + - Renamed parser variable to lowercase for PEP 8 compliance |
| 79 | + - Enhanced argument descriptions and help texts |
| 80 | + - Reorganized argument definitions for better readability |
37 | 81 |
|
38 | | -## Removed Unused Imports |
39 | | -- Removed `errno` and `walk` imports which were not used. |
| 82 | +- **Variable Naming Conventions** |
| 83 | + - Consistent naming style across the codebase |
| 84 | + - Changed `IMPORT_INI` to `import_ini` for consistency |
| 85 | + - More descriptive variable names |
40 | 86 |
|
41 | | -## Variable Naming |
42 | | -- Changed variable names to follow a more consistent style (e.g., `IMPORT_INI` to `import_ini`). |
| 87 | +- **Loop and Logic Optimization** |
| 88 | + - Reorganized loop structures for clarity |
| 89 | + - Simplified list comprehensions |
| 90 | + - More pythonic string concatenation methods |
43 | 91 |
|
44 | | -## Logic and Loop Adjustments |
45 | | -- Reorganized the loop structure to enhance readability. |
46 | | -- Simplified list comprehensions and conditions. |
47 | | -- Used a more pythonic way to concatenate strings. |
| 92 | +- **File Handling Improvements** |
| 93 | + - Consistent use of `with open` context managers |
| 94 | + - Enhanced INI file writing logic |
| 95 | + - Removed leading comma issues in generated output |
| 96 | + |
| 97 | +### Removed |
| 98 | +- Unused imports (`errno`, `walk`) |
| 99 | +- Redundant code blocks and comments |
| 100 | +- Unnecessary complexity in file operations |
| 101 | + |
| 102 | +### Technical Debt |
| 103 | +- Consolidated code blocks for better efficiency |
| 104 | +- Improved maintainability through cleaner structure |
| 105 | +- Better separation of concerns |
| 106 | + |
| 107 | +--- |
48 | 108 |
|
49 | | -## File Handling |
50 | | -- Improved file opening logic using `with open` context managers. |
51 | | -- Enhanced the logic for writing to the INI file, ensuring no leading commas. |
| 109 | +## Format |
52 | 110 |
|
53 | | -## General Code Cleanup |
54 | | -- Removed redundant lines and comments. |
55 | | -- Consolidated code blocks where possible for better efficiency. |
| 111 | +This changelog follows [Keep a Changelog](https://keepachangelog.com/) principles: |
| 112 | +- **Added** for new features |
| 113 | +- **Changed** for changes in existing functionality |
| 114 | +- **Deprecated** for soon-to-be removed features |
| 115 | +- **Removed** for now removed features |
| 116 | +- **Fixed** for bug fixes |
| 117 | +- **Security** for vulnerability fixes |
0 commit comments