Skip to content

Releases: EveSunMaple/Frosti

2.9.0-rc

22 Dec 02:52
Compare
Choose a tag to compare
2.9.0-rc Pre-release
Pre-release

Pre released, document still under editing

2.8.1

04 Dec 16:54
Compare
Choose a tag to compare

[2.8.1] - 2024-12-5

Features

  • 新增 sitemap.xml 代替自动生成的 sitemap-0.xml
  • 重写 rss.xml.ts 完善了格式并在 RSS 中添加了全文内容
  • 新增可重用组件 GithubInfo 路径:src\widget\GithubInfo.astro
  • 新增卡片布局 包括 Aside / Horizontal / Vertical
  • 为博客文章内容添加了渐入效果
  • 添加了手动开关评论系统的功能

Refactored

  • 组件布局统一并修改
  • 重写了博客底部 License 组件的样式
  • 清理了全局的 ClassName 以简化代码
  • tag 路由更名为 tags

Fix

  • 可访问性修复:为必要的组件添加了 aria-label 以及由 sr-only 包裹的文本
  • 为代码框中的复制按钮添加了随机的专属的 id 与表单链接
  • 修复了分页按钮在仅有一页时出现的样式错误
  • 修复了在标签与分类页面下不显示字数与阅读时长的问题

Chore

  • 使用 iconify 代替了本地存储 svg 的方式

EN

[2.8.1] - 2024-12-5

Features

  • Added sitemap.xml to replace the automatically generated sitemap-0.xml.
  • Rewritten rss.xml.ts to improve formatting and include full content in the RSS feed.
  • Added reusable component GithubInfo located at src\widget\GithubInfo.astro.
  • Introduced card layouts including Aside, Horizontal, and Vertical.
  • Added fade-in effect to blog post content.
  • Added functionality to manually toggle the comment system.

Refactored

  • Unified and modified component layouts.
  • Rewritten styles for the blog footer License component.
  • Cleaned up global ClassNames to simplify the code.
  • Renamed tag route to tags.

Fix

  • Accessibility fixes: Added aria-label to necessary components and wrapped text with sr-only.
  • Added random unique id and form linkage to the copy button in code blocks.
  • Fixed style issues with pagination buttons when there is only one page.
  • Fixed the issue where word count and reading time were not displayed on tag and category pages.

Chore

  • Replaced local SVG storage with iconify.

What's Changed

New Contributors

  • @TNXG made their first contribution in #55

Full Changelog: v2.8.0...v2.8.1

2.8.0

09 Nov 14:40
Compare
Choose a tag to compare

[2.8.0] - 2024-11-9

Features

  • 为 Navbar 添加了操作:下滑页面收起,上滑放下
  • 重做了代码复制按钮,减少客户端代码,具体样式详见演示

Refactored

  • 整体页面调整(之前一直觉得 “贴屏幕贴得太近了” 这种感觉,现在好很多)包括宽度与字号

Fix

  • 修复了若干问题

EN

[2.8.0] - 2024-11-9

Features

  • Added an action for the Navbar: collapse when scrolling down, expand when scrolling up
  • Redesigned the code copy button, reducing client-side code, with specific styles shown in the demo

Refactored

  • Overall page adjustments (previously, it always felt "too close to the screen," but now it feels much better), including width and font size

Fix

  • Fixed several issues

Full Changelog: v2.8.0-rc...v2.8.0

2.8.0-rc

03 Nov 03:05
Compare
Choose a tag to compare
2.8.0-rc Pre-release
Pre-release

[2.8.0] - 2024-11-3

Features

  • 学习了 Astro 中自定义元素的用法,现在两个交互按钮单独分为 widget 可以重用
  • consts.ts 新增了 SITE_LANG 作为网站的语言配置
  • consts.ts 新增了 DAIYSUI_THEME 作为 DaiysUI 的主题配置,详见 https://daisyui.com/docs/themes/ (此内容需要更多适配)
  • consts.ts 新增了 CODE_THEME 作为 shiki 的主题配置

preview

b2a6078dbf0f62f98b884f31dd8469cb

085a1144b25acd793333d09065589b5e

Refactored

  • 侧边栏与导航栏修改
  • 移除了不必要的工具
  • 修改了 active 样式(选择性)

Fix

  • 修复了控制台报错
  • 补上了 ProjectCard 缺失的颜色过渡

[2.8.0] - 2024-11-3

Features

  • Learned how to use custom elements in Astro; now the two interactive buttons are separated into reusable widgets.
  • Added SITE_LANG in consts.ts as a configuration for the website's language.
  • Added DAIYSUI_THEME in consts.ts as a configuration for DaiysUI's theme. For more details, see https://daisyui.com/docs/themes/ (this content requires more adaptation).
  • Added CODE_THEME in consts.ts as a configuration for shiki's theme.

Refactored

  • Modified the sidebar and navigation bar.
  • Removed unnecessary tools.
  • Changed the active styles (selectively).

Fix

  • Fixed console errors.
  • Added the missing color transition for ProjectCard.

More

There are still some known issues and areas for improvement in this version, which will be released as the RC version first

Full Changelog: v2.7.1...v2.8.0-rc

2.7.1

19 Oct 11:07
Compare
Choose a tag to compare

[2.7.1] - 2024-10-19

Refactored

  • 有关事件监听的部分更改

Fix

  • 修复了滚动问题
  • 修复了在站内跳转时目录中 active 保留的问题

EN

[2.7.1] - 2024-10-19

Refactored

  • Changes related to event listening

Fix

  • Fixed scrolling issue
  • Fixed the issue of retaining active in the table of contents during internal navigation

Full Changelog: v2.7.0...v2.7.1

2.7.0

12 Oct 13:46
Compare
Choose a tag to compare

[2.7.0] - 2024-10-12

Features

  • 添加昼夜转换过渡

  • 自定义了博客中的标题 ID ,当前命名格式为 heading-${headingCount} ,避免了出现同名标题无法跳转的问题

  • 为博客目录功能添加了 "聚焦" 功能,现在目录会根据您当前阅读的部分自动滚动

  • 为博客 main 中的卡片添加了逐次进入样式,使用 sass 制作:

    .fade-in-up {
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 0.5s ease forwards;
    
      @for $i from 1 through 10 {
        &:nth-child(#{$i}) {
          animation-delay: #{$i * 0.1}s;
        }
      }
    }
    
    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

Refactored

  • 修改了原网站图标
  • 修改了原不规范的文件命名
  • 修改了原不合理的布局
  • 修改了侧边栏按钮的样式,使用 join 组合元素
  • 微调 padding

Fix

  • 修复了在重名 ID 下无法跳转的问题

EN

[2.7.0] - 2024-10-12

Features

  • Added day-night transition effect.

  • Customized the title ID in the blog; the current naming format is heading-${headingCount}, which avoids issues with navigation under identical titles.

  • Added a "focus" feature to the blog directory, which now automatically scrolls according to the section you are currently reading.

  • Added sequential entry styles to the cards in the blog main, created using sass:

    .fade-in-up {
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 0.5s ease forwards;
    
      @for $i from 1 through 10 {
        &:nth-child(#{$i}) {
          animation-delay: #{$i * 0.1}s;
        }
      }
    }
    
    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

Refactored

  • Updated the original website icon.
  • Revised the original non-standard file naming.
  • Adjusted the original unreasonable layout.
  • Modified the sidebar button styles using join to combine elements.
  • Fine-tuned padding.

Fix

  • Fixed the issue of not being able to navigate under duplicate IDs.

Full Changelog: v2.6.1...v2.7.0

2.6.1

21 Sep 15:38
Compare
Choose a tag to compare

[2.6.1] - 2024-9-21

Features

  • consts.ts 中新增了 USER_SITE ,用来生成网站底部卡片的链接
  • 添加了网站加载时的进度条

Refactored

  • 修改了 swup 的配置项

Fix

  • 修复了文章在标签、分类过多时按钮溢出的问题
  • 修复了一堆拼写错误(存在于 2.6.0 的 release 中)
  • 删除了在 LinkCard 中不恰当的图片放大功能
  • 移除了 transition.scss ,改用 swup 默认主题代替(我不知道这对改善崩溃问题是否有用)

[2.6.1] - 2024-09-21

Features

  • Added USER_SITE in consts.ts to generate links for the footer card of the website.
  • Added a progress bar for the website loading.

Refactored

  • Modified Swup configuration options.

Fix

  • Fixed the issue of buttons overflowing when there are too many tags or categories in an article.
  • Corrected a number of spelling errors (existing in the 2.6.0 release).
  • Removed the inappropriate image zoom feature in LinkCard.
  • Removed transition.scss and replaced it with Swup's default theme (not sure if this helps with crash issues).

What's Changed

New Contributors

Full Changelog: v2.6.0...v2.6.1

2.6.0

15 Sep 06:27
Compare
Choose a tag to compare

[2.6.0] - 2024-9-15

Features

  • 新增了导航栏的逻辑,现在点击按钮也可以收回(🚧 此内容可能存在问题,需要收集更多信息 🚧)

  • 为每一个标题添加了按钮,您可以将指针放在标题上,点击按钮即可跳转

  • 为卡片图片添加了一个跳转样式,鼠标放上后会有一个放大的动画与箭头

  • 为链接添加了新的样式,现在它们更生动、更引人注目

  • 添加了字数统计与阅读时间计算的功能,您可以在博客中看到它们的统计结果

  • 新增分享功能,现在您可以通过文末按钮直接将文章分享到社交媒体上

  • 新增 i18n ,移除了老旧的 infoTest ,现在所有的语言都在 public/locales 文件夹中

    这意味着您可以添加多种语言并随时切换,教程如下:

    1. public/locales 文件夹中添加您的语言文件,先添加一个名为语言代码的文件夹,然后在里面添加一个 json 文件,文件名必须为 translation.json

    2. 复制已有的 translation.json 文件,然后修改其中的内容,比如:

      {
      "label": {
        "noTag": "No tags assigned",
        "tagCard": "Tags",
        "tagPage": "Tag - ",
        "noCategory": "No categories assigned",
        "categoryCard": "Categories",
        "categoryPage": "Category - ",
        "link": "Link: ",
        "prevPage": "Recent posts",
        "nextPage": "Older posts",
        "wordCount": "words",
        "readTime": "minutes"
        }
      }
    3. astro-i18next.config.mjs 中添加您的语言代码,比如:

      export default {
      defaultLocale: "en",
      locales: ['en', 'zh', 'xx'] // 这里添加您的语言代码
      };
    4. 在 'BaseLoyout.astro' 中更改为您的语言代码,比如:

      ...
      import i18next, { t, changeLanguage } from "i18next";
      
      changeLanguage("xx");
      ...

Note

欢迎大家为主题添加语言支持!

Refactored

  • 新增 docs 文件夹
  • 修改了 blockquote 的内边距
  • 修改标签页标题,坚持内容优先,把 ${SITE_TAB} - ${title} 改成了 ${title} - ${SITE_TAB}

Fix

  • 修复了在标题与 alert 中错误的外链 svg 样式
  • 修复了 toc 错误获取 # 的问题
  • 修复了导航栏逻辑

[2.6.0] - 2024-9-15

Features

  • Added logic to the navigation bar; you can now retract it by clicking the button as well (🚧 This content may have issues and requires further information 🚧)

  • Added buttons to each title; you can hover over a title and click the button to jump to that section

  • Added a hover style to card images, which includes a zoom animation and an arrow

  • Added new styles for links, making them more dynamic and eye-catching

  • Added word count and reading time calculation features; you can now see these statistics in the blog

  • Added a share feature, so you can now directly share articles to social media using the button at the end of the post

  • Added i18n support and removed the outdated infoTest; now all languages are located in the public/locales folder

    This means you can add multiple languages and switch between them anytime. Here’s how:

    1. Add your language files in the public/locales folder. First, create a folder named with the language code, then add a JSON file inside it named translation.json.

    2. Copy an existing translation.json file and modify its contents as needed. For example:

      {
      "label": {
        "noTag": "No tags assigned",
        "tagCard": "Tags",
        "tagPage": "Tag - ",
        "noCategory": "No categories assigned",
        "categoryCard": "Categories",
        "categoryPage": "Category - ",
        "link": "Link: ",
        "prevPage": "Recent posts",
        "nextPage": "Older posts",
        "wordCount": "words",
        "readTime": "minutes"
        }
      }
    3. Add your language codes in astro-i18next.config.mjs, for example:

      export default {
      defaultLocale: "en",
      locales: ['en', 'zh', 'xx'] // Add your language codes here
      };
    4. Change to your language code in 'BaseLayout.astro', for example:

      ...
      import i18next, { t, changeLanguage } from "i18next";
      
      changeLanguage("xx");
      ...

Note

We welcome everyone to add language support to the theme!

Refactored

  • Adjusted the padding for blockquotes
  • Updated tab titles to prioritize content, changing ${SITE_TAB} - ${title} to ${title} - ${SITE_TAB}

Fix

  • Fixed incorrect external SVG styles in titles and alerts
  • Fixed issue with incorrect retrieval of # in TOC
  • Fixed navigation bar logic

What's Changed

  • ✨ (Header.astro): replace dropdown div with details and summary eleme… by @yaotutu in #34

New Contributors

Full Changelog: v2.5.7...v2.6.0

2.5.7

07 Sep 14:25
Compare
Choose a tag to compare

[2.5.7] - 2024-9-7

Features

Refactored

Fix

  • 修复了评论系统反应表情加载不出来的问题(图床垮了)@EveSunMaple
  • 修复了 global.scss 中错误的 applt 拼写 @EveSunMaple

EN

[2.5.7] - 2024-09-07

Features

Refactored

  • Updated the styles of the ProjectCard @YaoqxCN
  • Updated the styles of the TimeLine @EveSunMaple
  • Updated the styles of the comment system @EveSunMaple
  • Modified the comment system's positioning ID to prevent it from being overwritten @EveSunMaple

Fixes

  • Fixed the issue with emoji reactions not loading in the comment system (image hosting service was down) @EveSunMaple
  • Fixed the misspelling of "applt" in global.scss @EveSunMaple

What's Changed

Full Changelog: v2.5.6...v2.5.7

2.5.6

22 Aug 14:32
Compare
Choose a tag to compare

[2.5.6] - 2024-8-22

Features

  • 添加了图片放大功能(仅对 BaseCard 中的图片有效)

Refactored

  • 根据用户反馈,回退了手机端导航栏的逻辑
  • 修改了在博客页面下标签栏的标题

[2.5.6] - 2024-8-22

Features

  • Added image zoom functionality (effective only for images within BaseCard)

Refactored

  • Reverted the logic of the mobile navigation bar based on user feedback
  • Updated the title of the tab bar on the blog page

Full Changelog: v2.5.5...v2.5.6