Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
101 changes: 101 additions & 0 deletions packages/preview/modernpro-cv/2.1.2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
# Changelog

## [2.1.2] - 2026-09-29

### Fixed

- Center contact icons by their visible glyph bounds within the first text line,
preventing Font Awesome metrics and legacy baseline overrides from changing
alignment or row spacing.
- Let the first-page header grow beyond its minimum height so additional or
wrapped contacts do not overlap, including inline and photo layouts.
- Wrap long contact labels without changing link destinations, keep icons at
the first line, and bound photo-rail width to preserve space for the name.
- Top-align tall headers while preserving the alignment of compact headers.

### Documentation

- Clarified minimum header height, contact wrapping, photo layouts, and matching
headers across documents. Added configuration recipes and local regression
commands for the header fixes.

## [2.1.1] - 2026-09-06

### Fixed

- Corrected body leading and list spacing in every density preset so wrapped
lines and adjacent list items keep a consistent visual rhythm.
- Made entry and section separators weak so their spacing collapses to one
rhythm token, keeping every section transition consistent.

### Changed

- Opened the default and relaxed line and section rhythm for more readable CVs.
- Replaced example, starter, legacy, bibliography, and preview content with
explicitly fictional Exampleland data and reserved `.invalid` addresses.

## [2.1.0] - 2026-08-27

### Added

- Added optional `profile.photo` content for single- and double-column CVs, with
configurable `theme.photo-width` and `theme.photo-height` dimensions.
- Added documented flat, material, glass, harmonious, and classic photo-header
examples while preserving the text-only, ATS-first default.

### Fixed

- Fixed `_first-filled` so explicit configuration values take precedence over
defaults.
- Fixed legacy optional-field checks, contacts without links, contextual page
counters, and caller-resolved bibliography paths.

### Changed

- Extended release validation to compile the legacy CV and cover-letter
examples alongside the current templates.

## [2.0.0] - 2026-07-30

Visual redesign. The configuration API stays backward compatible: every 1.x
parameter, dictionary key, and function alias still resolves. Documents rebuilt
on 2.0.0 will look different, which is the point of the release.

### Changed

- Rebuilt the visual system around a single serif family in two weights, a restrained 8.4-18pt size ladder, and four colours. Body text now defaults to 10pt for more comfortable academic reading. 1.x mixed PT Sans and PT Serif across titles, dates, institutions, and descriptions, which reads as noise at CV sizes.
- 视觉体系重建为单一衬线字族、两种字重、8.4-18pt 的克制字号阶与四个颜色;正文默认提升到 10pt,以改善学术材料的连续阅读。1.x 在标题、日期、机构、描述之间混用 PT Sans 与 PT Serif,在 CV 的小字号下形成视觉噪音。
- Fixed the header: the name and role lines physically overlapped, because Typst measures a line box down to the baseline and leaves descenders outside it. The identity block now extends its bottom edge.
- 修复页眉重叠:Typst 的行盒下沿默认止于基线,降部落在盒外,导致姓名与职称物理重叠。身份区块现在扩展下沿边界。
- Replaced the four-corner entry grid with a left content block and a right date rail. Location joins the institution line instead of occupying the bottom-right corner, so the right edge stays a single clean column.
- 将四角网格改为「左侧内容块 + 右侧日期轨」。地点并入机构行,不再占据右下角,右缘保持为单一整齐的列。
- Corrected the hierarchy inversion where a description rendered larger and darker than the institution line above it. Institution and description now share one size; weight and restrained colour establish the hierarchy without another italic layer.
- 修正层级倒置:此前描述文字比其上方的机构行更大更深。现在机构与描述同字号,并通过字重与克制的颜色建立层级,不再增加一层斜体。
- A smaller date beside a larger title now shares its baseline instead of aligning on cap-height, and the alignment survives a title that wraps.
- 标题旁的小号日期现在与标题共享基线,而非按字母高度顶对齐;标题折行时对齐依然成立。
- Page margins are 2.2cm left and right with a fixed 2cm top margin, matching modernpro-coverletter. Continuation settings no longer move the first-page masthead.
- 左右页边距统一为 2.2cm、顶部固定为 2cm,与 modernpro-coverletter 一致;开启续页页眉不再改变第一页的位置。
- Institution and degree metadata now use regular text, while locations move to the muted colour. This removes a full italic layer from dense pages.
- 机构与学位信息改用常规体,地点使用弱化颜色,减少密集页面中的整层斜体纹理。
- Single-column CVs enable a compact continuation header by default. Later pages show the candidate name, document label, and page count without duplicating the name in the footer.
- 单栏 CV 默认启用紧凑续页页眉;后续页面显示姓名、文档类型和页码,不再在页脚重复姓名。
- Reference entries put the name and role on separate lines so every block has the same line count and the columns stay aligned.
- 推荐人条目将姓名与职务分行,使每个区块行数一致、双列始终对齐。
- Opened the default entry rhythm further: section headings, entry titles, institution lines, descriptions, and following entries now have clearer visual separation while retaining the compact preset for one-page summaries.
- 进一步放松默认条目节奏:章节标题、条目标题、机构行、描述与下一条目之间具有更清晰的视觉分隔,同时保留适合一页式摘要的紧凑预设。
- Replaced public sample identities and bibliography records with explicitly fictional data, reserved domains, and placeholder identifiers.
- Expanded the README into a complete workflow covering layout selection, first edits, common recipes, accessibility, ATS guidance, and troubleshooting.
- Modernized the release workflow to validate the package version, compile both examples, build core and legacy archives, and publish with the repository-scoped GitHub token.

### Added

- A single `cv` entry point takes `profile`, `preset`, `accent`, and `columns`. A typical document now configures one key. `cv-single` and `cv-double` remain available.
- 新增统一入口 `cv`,接受 `profile`、`preset`、`accent`、`columns`。常规文档只需配置一个键。`cv-single` 与 `cv-double` 继续可用。
- `preset: "compact" | "default" | "relaxed"` replaces `layout: (density: ...)`, which still works.
- `preset: "compact" | "default" | "relaxed"` 取代 `layout: (density: ...)`,后者仍可使用。
- Each starter keeps its editable profile dictionary inline, so every generated CV is self-contained and can be managed as one file.
- 每个起始模板都将可编辑的个人资料字典直接放在正文文件中,使生成的 CV 自包含并可用单文件管理。
- Added optional contact icons with a fixed alignment column while keeping the core template independent of icon libraries and preserving text-only defaults.
- 增加可选联系方式图标与固定对齐列;核心模板不依赖图标库,并继续保留纯文字默认方案。
- Introduced `section-block` and `render-sections` helpers for composing section content once and reordering it declaratively in templates and examples.
- 增加了 `section-block` 和 `render-sections` 助手,便于在编写内容中方便排序和组合。
21 changes: 21 additions & 0 deletions packages/preview/modernpro-cv/2.1.2/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2023 Academic Template Collective

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Loading
Loading