From b542c95baa6913fd31dec884cdca71b8edfb978c Mon Sep 17 00:00:00 2001 From: Jarvis Date: Wed, 10 Sep 2025 16:56:20 +0200 Subject: [PATCH] chore: release 1.2.0 --- CHANGELOG.md | 19 +++++++++++++++++++ manifest.json | 2 +- package.json | 2 +- versions.json | 3 ++- 4 files changed, 23 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24a3d4a..df22f86 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,25 @@ All notable changes to the Obsidian Typst PDF Export plugin will be documented i The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.2.0] - 2025-01-10 + +### Changed +- **Major Refactoring**: Complete modularization of codebase for improved maintainability + - Restructured main.ts into focused modules (PluginLifecycle, CommandRegistry, EventHandlers, ExportOrchestrator, FontManager, PathResolver, etc.) + - Modularized MarkdownPreprocessor into specialized processors (FrontmatterProcessor, WikilinkProcessor, EmbedProcessor, CalloutProcessor, MetadataExtractor) + - Split PandocTypstConverter into PandocCommandBuilder, TypstVariableMapper, and ResourcePathResolver + - Separated ExportConfigModal into ModalRenderer and ModalValidator components + - Extracted PDF processing utilities (ImageOptimizer, PdfProcessor) from PdfToImageConverter + - Improved TypeScript type safety throughout the codebase + - Enhanced separation of concerns with ExecutableChecker extraction from DependencyChecker + +### Fixed +- Used Obsidian API for more robust file path resolution +- Simplified file type classification to properly handle DOCX embedding + +### Removed +- Unused metadata extraction code (tags/wordCount) for cleaner processing pipeline + ## [1.1.0] ### Added diff --git a/manifest.json b/manifest.json index 08bef44..de686aa 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "id": "typst-pdf-export", "name": "Typst PDF Export", - "version": "1.1.0", + "version": "1.2.0", "minAppVersion": "1.9.12", "description": "Exports a note or collection of notes to a pretty Typst PDF.", "author": "Alexander Kucera", diff --git a/package.json b/package.json index aaaf442..0717925 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "obsidian-typst-pdf-export", - "version": "1.1.0", + "version": "1.2.0", "description": "Exports a note or collection of notes to a pretty Typst PDF.", "main": "main.js", "scripts": { diff --git a/versions.json b/versions.json index 0606844..ce2eb48 100644 --- a/versions.json +++ b/versions.json @@ -1,5 +1,6 @@ { "1.0.0": "1.9.12", "1.0.1": "1.9.12", - "1.1.0": "1.9.12" + "1.1.0": "1.9.12", + "1.2.0": "1.9.12" } \ No newline at end of file