Fix changelog extraction

This commit is contained in:
waozi authored and Waozi committed 2026-07-11 18:49:15 -03:00
1 parent 0a4650ea03
commit 0071ae2c2a
16 files changed
+112 -29

No files matched your search

+6
View File
@@ -1,4 +1,10 @@
# Changelog
## [1.1.0] - 2026-05-28
### Added
- Tiny version bump
### Fixed
- Changelog extraction now correctly populates fastlane metadata
## [1.0.9] - 2026-05-28
### Added
- Android share sheet for data export (native Intent integration)
+6 -2
View File
@@ -34,8 +34,8 @@ android {
defaultConfig {
minSdk 19
targetSdk 35
versionCode 10
versionName "1.0.9"
versionCode 11
versionName "1.1.0"
}
@@ -64,6 +64,10 @@ android {
universalApk true
}
}
dependenciesInfo {
includeInApk = false
}
}
gradle.taskGraph.whenReady { taskGraph ->
@@ -1 +1,6 @@
### Added
- Initial release
- Breathing exercise tutorial with 5 steps
- Configurable settings: speed (1-9), rounds (1-10), breaths (15-80), pause duration (0-30s)
- Session history tracking and statistics
- Support for Linux, Windows, Android, and WebAssembly platforms
@@ -1 +1,7 @@
### Added
- Android share sheet for data export (native Intent integration)
- Direct sharing to Telegram, Downloads, or any app that handles ZIP files
- FileProvider support for secure file sharing on Android 7.0+
### Fixed
- ZIP export now uses native Android share sheet instead of saving to private storage
- JNI class loading fix for ShareHelper on native threads
@@ -0,0 +1,4 @@
### Added
- Tiny version bump
### Fixed
- Changelog extraction now correctly populates fastlane metadata
@@ -1 +1,3 @@
### Fixed
- Fixed WebAssembly local storage persistence
- Updated Android target SDK version
@@ -1 +1,7 @@
### Fixed
- Fixed "Starting in" countdown text positioning (now displays above circle)
- Fixed first round to always use 3-second countdown regardless of settings
- Fixed slider knob vertical centering (DPI scaling issue)
- Fixed slider touch hit area scaling for better mobile interaction
- Fixed speed meter position in tutorial (removed double DPI scaling)
- Fixed results screen DPI scaling for consistent appearance
@@ -1 +1,9 @@
### Fixed
- Improved DPI scaling for scrollbars (width and thumb height now scale properly)
- Fixed scrollbar not appearing on tall viewports/settings screens (content height now scales correctly)
- Fixed X icon too small on mobile (increased max size from 18px to 28px for better touch targets)
- Improved scrollbar thumb touch hit area for easier grabbing
- Fixed missing breath sounds during recovery phase (breath in at start, breath out after 15-second hold)
### Added
- Added external links in settings (Telegram, Website, Monero, Stripe donation)
- Added content-area drag scrolling for mobile (click and drag anywhere to scroll)
@@ -1 +1,9 @@
### Added
- Centralized icon size management system (SMALL, MEDIUM, LARGE)
- Standardized icon button functions for consistent sizing
### Fixed
- Improved accessibility with larger icons for older users (+25-37%)
- DPI scaling for all button padding and bevel borders on mobile
- X button positioning and scaling on high DPI screens
- Button dimensions and icon centering across all screens
- Missing icons (telegram, globe, stripe, monero, home, trash) in WebAssembly build
@@ -1 +1,8 @@
### Added
- Theme system with 8 color themes (Forest, Ocean, Sky, Sunset, Lavender - each with light/dark variants)
- Settings dropdown menu for easier navigation
- Improved fullscreen mode with better DPI scaling
### Fixed
- Touch input scaling for dropdown menus and toggle switches
- Tab bar positioning on Android (now accounts for system navbar)
- Removed toggle switch circle indicator for cleaner UI
@@ -1 +1,4 @@
### Fixed
- Bell now plays before the last breath (at maxbreaths - 1) instead of after
- Session history not loading and potential segfault due to path buffer overflow (increased HISTORY_PATH_SIZE from 96 to 256)
- Tutorial text clarified to explicitly mention Wim Hof Method
@@ -1 +1,4 @@
### Added
- F-Droid metadata (screenshots, feature graphic, icon)
- Automatic version tag generation for releases
- Fastlane changelog integration
@@ -1 +1,7 @@
### Added
- Android back button support with screen-aware behavior
- Confirmation modal when exiting active sessions (Save & Exit, Discard, or Cancel)
- Session data preservation: completed rounds can be saved before exiting
### Fixed
- Modal text word wrap to handle last word correctly
- Back button closes modal (cancel action) when pressed during confirmation
+3 -1
View File
@@ -1,4 +1,3 @@
#define RINI_IMPLEMENTATION
#include "app.h"
#include "data.h"
#include "tabs/history_tab.h"
@@ -8,6 +7,9 @@
#include "theme_meta.h"
#include "version.h"
#include "ui.h"
#if !defined(LOTUS_BUILD)
#define RINI_IMPLEMENTATION
#endif
#include "../vendor/rini/src/rini.h"
#include <dirent.h>
+3 -3
View File
@@ -2,8 +2,8 @@
#define INBE_VERSION_H
#define INBE_VERSION_MAJOR 1
#define INBE_VERSION_MINOR 0
#define INBE_VERSION_PATCH 9
#define INBE_VERSION_STRING "1.0.9"
#define INBE_VERSION_MINOR 1
#define INBE_VERSION_PATCH 0
#define INBE_VERSION_STRING "1.1.0"
#endif
+26 -13
View File
@@ -19,13 +19,19 @@ fi
# Get latest version for gradle update
LATEST_VERSION=$(echo "$VERSIONS" | head -n 1)
# versionCode = patch + 1 (since 1.0.0 = code 1)
VERSION_CODE=$(($(echo "$LATEST_VERSION" | cut -d. -f3) + 1))
# Get current versionName
# Get current gradle values
CURRENT_NAME=$(grep "versionName" "$GRADLE_FILE" | sed 's/.*"\([^"]*\)".*/\1/')
CURRENT_CODE=$(grep "versionCode" "$GRADLE_FILE" | awk '{print $2}')
# Android versionCode: just increment by 1 for new versions
# If version hasn't changed, keep the same code
if [ "$LATEST_VERSION" = "$CURRENT_NAME" ]; then
VERSION_CODE=$CURRENT_CODE
else
VERSION_CODE=$((CURRENT_CODE + 1))
fi
echo "Updating to: $LATEST_VERSION (code $VERSION_CODE)"
echo "Current: $CURRENT_NAME (code $CURRENT_CODE)"
@@ -51,10 +57,14 @@ echo "✓ Updated $VERSION_H_FILE"
# Create changelog directory
mkdir -p "$CHANGELOG_DIR"
# Generate only missing changelog files
# Generate changelog files (position-based: oldest = 1, newest = N)
# Reverse versions so oldest is processed first
TOTAL_VERSIONS=$(echo "$VERSIONS" | wc -l)
POSITION=0
while IFS= read -r VERSION; do
# versionCode = patch + 1
CODE=$(($(echo "$VERSION" | cut -d. -f3) + 1))
POSITION=$((POSITION + 1))
# Calculate position from end (newest gets highest number)
CODE=$((TOTAL_VERSIONS - POSITION + 1))
OUTPUT_FILE="$CHANGELOG_DIR/$CODE.txt"
# Skip if file already exists
@@ -63,17 +73,20 @@ while IFS= read -r VERSION; do
fi
# Extract changelog content for this version
CHANGELOG_CONTENT=$(awk -v version="[$VERSION]" '
CHANGELOG_CONTENT=$(awk -v ver="$VERSION" '
BEGIN { in_section=0 }
/^## \[/ {
if (found) exit
if ($0 ~ "\\[\\[" version "\\]\\]") {
found=1
if (in_section) exit
if (index($0, ver) > 0) {
in_section=1
next
}
}
found && /^### / { subsection=1 }
found { print }
' "$CHANGELOG_FILE" | sed '1d;/^$/d' | head -n -1)
in_section {
# Print section headers and bullet points
if (/^### / || /^- /) print
}
' "$CHANGELOG_FILE")
echo "$CHANGELOG_CONTENT" > "$OUTPUT_FILE"
echo "✓ Created $OUTPUT_FILE"