Skip to content

Releases: ATboy-web/AI_NovelWriter

v2.14.3 - Full Audit Fixes

21 Jun 17:40

Choose a tag to compare

All Code Audit Issues Fixed

Logic Bugs (7 fixes)

  • _record_conversation role mapping: PlotDesigner/WorldBuilder now correctly mapped (BUG-2)
  • _has_excessive_repetition: Fixed for Chinese text using char n-grams (BUG-3)
  • Reviewer feedback loop: Previous round feedback now passed to Reviewer (BUG-6)
  • _build_context section titles: Used variable now includes section title length (BUG-7)
  • _build_context truncation: Marker length calc fixed (BUG-8)
  • _generate_outline_batch: Safe .get(chapter) guard (BUG-9)

Error Handling (2 fixes)

  • _update_character_progression: Narrowed exception type from Exception to specific JSON/Key/Type/Value errors
  • generate_settings: Validate before saving None data

API Consistency (2 fixes)

  • blend_styles: Returns empty string instead of None
  • Filename sanitization: Safe character name handling for Windows filesystem

Code Quality

  • Removed unused ContextOptimizer/PromptOptimizer imports
  • Removed dead optimizer assignments

v2.14.2 - Bug Fixes + README Update

21 Jun 17:23

Choose a tag to compare

Bug Fixes

WorldBuilder output being discarded (Critical)

  • WorldBuilder scene description was never passed to Writer Agent
  • Now injected into context before Writer generation

finalize_chapter crash when AI returns None

  • kw.split() would crash with AttributeError
  • Added None guard: (kw or "").split()

_parse_json_response Strategy 5 type error

  • When is_list=True, Strategy 5 incorrectly returned dict instead of list
  • Now returns list(chars.values()) when is_list is True

Documentation

  • README.md fully rewritten for v2.14.2 (was outdated since v2.8.0)
  • CHANGELOG.md updated with v2.12.2 - v2.14.2 entries
  • pyproject.toml version updated to 2.14.2

Code Quality

  • Full codebase audit performed
  • 10 logic bugs, 2 resource leaks, 5 dead code issues identified

v2.14.1 - ??????

21 Jun 17:06

Choose a tag to compare

Fix: When _parse_json_response returns partial characters (3/5), fallback extraction now triggers to recover missing characters. Adds additional regex pattern matching for character names in truncated JSON.

v2.14.0 - ??BUG??: ?????+?????

21 Jun 12:05

Choose a tag to compare

Critical Bug Fixes

BUG 1: ContextOptimizer silently discards all context

  • _build_context passed {"??": "..."} but optimize() iterates COMPRESSION_RATIOS keys
  • Result: ALL context was returned as empty string
  • Writer/Reviewer/PlotDesigner all received empty context
  • Fix: bypass ContextOptimizer, direct join with head-tail truncation

BUG 2: max_tokens=2000 too low for overall outline

  • _generate_overall_outline had 2000 tokens while similar functions use 4000+
  • AI response JSON always truncated, all 3 retries failed
  • Fix: 2000 -> 4096

Other fixes

  • _generate_story_outlines max_tokens 3000 -> 4096
  • PlotDesigner log message corrected

v2.13.2 - GUI??(?????)

21 Jun 09:58

Choose a tag to compare

Built with --windowed mode. No console window.

v2.13.0 - ???????????

21 Jun 09:31

Choose a tag to compare

Core Fixes

1. Context Coherence Bug

Fixed glob pattern that only matched 1 file instead of 3 recent chapters

2. Story Outline Fallback

Dynamic fallback using concept text instead of hardcoded text

3. Character Extraction

Added Strategy 5 fallback for character name extraction

4. Crash Fix

Fixed list.items() AttributeError in _get_outlines_context

v2.12.3 - ??API????

21 Jun 09:10

Choose a tag to compare

????

  • API????:???????(??)
    • ??????:??AI API / ???????
    • API??URL??????????
    • ????????+????
    • ??????
    • ?????????
  • ??????:???API?????????
    • ????API??
    • ?????????????
    • ?????????????
  • ??AI??:??OpenAI????,?????????AI

??

  • ???"??API??"???

v2.12.2

21 Jun 07:53

Choose a tag to compare

????

  • ??APK????
  • ??:Expo Web???React Native Web bundle (1.33MB) ?Android WebView???????,@react-navigation/native-stack?createNativeStackNavigator??native API?WebView?????
  • ??:??HTML/CSS/JS?????????(~12KB),???????
  • APK??:7.64MB ? 2.4MB
  • ??:????????(????/???/???)???(????/????/???/???/???)???(?????)
  • ?????????API

v2.12.1

21 Jun 07:22

Choose a tag to compare

????

  • ??Android APK????????????
  • ??:Android aapt?????????"_"?????,??_expo????JS bundle????
  • ??:?_expo??????expo_assets???index.html??
  • APK??:7.64MB(??6.3MB????JS bundle)
  • ??:JS bundle??(1.33MB)??????APK?

v2.11.0

19 Jun 10:09

Choose a tag to compare

?? ?????\n\n**??????????,?????????!** ????????\n\n### APK ????\n\n- AI ??????? (OpenAI/DeepSeek/Ollama)\n- ????? (AsyncStorage?????)\n- ???/??/??/????????\n- ?????\n- Android ???? (? iOS API)\n- Release v1+v2+v3 ??\n- minSdkVersion: 24 (Android 7.0+)\n\n### ????\n\n- ????,?????????\n- 80MB ??(?4????native libs)