Skip to content

Commit

Permalink
chore: + 14.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Dragon-Fish committed Dec 29, 2023
1 parent c721b9a commit 6ee1618
Show file tree
Hide file tree
Showing 12 changed files with 200 additions and 147 deletions.
30 changes: 30 additions & 0 deletions src/.vuepress/components/UpdateTime.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<template>
<time :datetime="computedDate.toISOString()">{{ formatedStr }}</time>
</template>

<script lang="ts" setup>
import { computed } from 'vue'
const props = withDefaults(
defineProps<{
date?: string | number | Date
}>(),
{
date: undefined,
}
)
const computedDate = computed(() => {
return props.date ? new Date(props.date) : new Date()
})
const formatedStr = computed(() => {
if (window.Intl) {
return new Intl.DateTimeFormat('default', {
dateStyle: 'medium',
timeStyle: 'medium',
}).format(computedDate.value)
} else {
return computedDate.value.toLocaleDateString()
}
})
</script>
4 changes: 4 additions & 0 deletions src/.vuepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,8 @@ export default defineUserConfig({
},
},
theme,
extendsMarkdown(md, app) {},
extendsMarkdownOptions(opt, app) {
opt.linkify = true
},
})
2 changes: 1 addition & 1 deletion src/update/14.1.0.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# 14.1.0 `StephanieDola`
# 14.1.0 `Stephanie Dola`

更新日期:2020 年 9 月 10 日 20:19:20

Expand Down
2 changes: 1 addition & 1 deletion src/update/14.3.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 14.3.0 `Tet`

更新时间:Wed Mar 16 2022 16:19:31 GMT+0800 (中国标准时间)
更新时间:<UpdateTime date='Wed Mar 16 2022 16:19:31 GMT+0800 (中国标准时间)' />

::: tip
本次更新有少量功能变更,API 有向前兼容的变更。
Expand Down
2 changes: 1 addition & 1 deletion src/update/14.3.1.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 14.3.1

更新时间:2022年6月1日 GMT+8 12:43
更新时间:<UpdateTime date='2023-06-01T12:43:00+0800' />

::: tip
本次更新有少量功能变更,API 没有变更。
Expand Down
16 changes: 8 additions & 8 deletions src/update/14.3.2.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
# 14.3.2

更新时间:2023/2/1 20:09:28 (UTC+8)
更新时间:<UpdateTime date='2023/2/1 20:09:28 (UTC+8)' />

::: tip
本次更新主要为小修复,没有新增功能。
:::

* fix(i18n): typo by @lovelyCARDINAL in [#205](<IssueLink id="205" />)
* improvement(quickEdit): change the revision link by @lovelyCARDINAL in [#202](<IssueLink id="202" />)
* fix(i18n): rename image usage to file usage by @leranjun in [#206](<IssueLink id="206" />)
* feat(articleLink.js): support section-0 link by @bhsd-harry in [#208](<IssueLink id="208" />)
* fix(articleLinks.js): fix lying wgServer by @bhsd-harry in [#209](<IssueLink id="209" />)
* perf: rewrite articleLink, close #212 by @dragon-fish in [#213](<IssueLink id="213" />)
* build: upgrade dev deps by @dragon-fish in [#214](https://github.co/inpageedit/inpageedit-v2/pull/214)
- fix(i18n): typo by @lovelyCARDINAL in <IssueLink id="205" />
- improvement(quickEdit): change the revision link by @lovelyCARDINAL in <IssueLink id="202" />
- fix(i18n): rename image usage to file usage by @leranjun in <IssueLink id="206" />
- feat(articleLink.js): support section-0 link by @bhsd-harry in <IssueLink id="208" />
- fix(articleLinks.js): fix lying wgServer by @bhsd-harry in <IssueLink id="209" />
- perf: rewrite articleLink, close #212 by @dragon-fish in <IssueLink id="213" />
- build: upgrade dev deps by @dragon-fish in <IssueLink id="214" />

**Full Changelog**: [14.3.1...14.3.2](https://github.com/inpageedit/inpageedit-v2/compare/14.3.1...14.3.2)
2 changes: 1 addition & 1 deletion src/update/14.3.3.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 14.3.3

更新时间:Feb 18, 2023, 8:25 PM GMT+8
更新时间:<UpdateTime date='Feb 18, 2023, 8:25 PM GMT+8' />

::: tip
本次更新主要为小修复,没有新增功能。
Expand Down
2 changes: 1 addition & 1 deletion src/update/14.3.4.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 14.3.4

更新时间:Jun 9, 2023, 12:02 AM GMT+8
更新时间:<UpdateTime date='Jun 9, 2023, 12:02 AM GMT+8' />

## What's Changed

Expand Down
2 changes: 1 addition & 1 deletion src/update/14.3.5.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 14.3.5

更新时间:Aug 24, 2023, 4:35 PM GMT+8
更新时间:<UpdateTime date='Aug 24, 2023, 4:35 PM GMT+8' />

## What's Changed

Expand Down
4 changes: 2 additions & 2 deletions src/update/14.4.0.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# 14.4.0 Izuna
# 14.4.0 `Hatsuse Izuna`

更新时间:Oct 18, 2023, 6:14 PM GMT+8
更新时间:<UpdateTime date='Oct 18, 2023, 6:14 PM GMT+8' />

::: tip
这是迁移到 ESM 后的首个版本。
Expand Down
21 changes: 21 additions & 0 deletions src/update/14.5.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# 14.5.0 `Chlammy Zell`

更新时间:<UpdateTime date='Fri Dec 29 2023 16:30:38 GMT+0800' />

::: tip
:::

<!-- Release notes generated using configuration in .github/release.yml at 14.5.0 -->

## What's Changed

### 🛠️ Housekeeping

- Bugfix-1108 by @AnYiEE in <IssueLink id="234" />
- Add timestamp to page diff function by @dragon-fish in <IssueLink id="239" />

## New Contributors

- @AnYiEE made their first contribution in <IssueLink id="234" />

**Full Changelog**: https://github.com/inpageedit/inpageedit-v2/compare/14.4.1...14.5.0
Loading

0 comments on commit 6ee1618

Please sign in to comment.