Skip to content

Commit

Permalink
- publish v8.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
czy0729 committed May 21, 2024
1 parent 82c2db1 commit c4d8b1a
Show file tree
Hide file tree
Showing 11 changed files with 94 additions and 73 deletions.
26 changes: 12 additions & 14 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -74,29 +74,27 @@ iOS 和安卓都做了兼容,并最大限度保持一致

# 版本

## v8.9.0 - 2024/05/01
## v8.10.0 - 2024/05/21

### 新增

- [x] [条目] 实装了网页端游戏条目「不同版本」关系的改变
- [x] [条目] 实装了网页端吐槽筛选观看状态
- [x] [发现] 新增了几种由网站用户维护数据的月刊入口

### 优化

- [x] [空间] 时间线支持了选择类型
- [x] [空间] 现在会把「关于」、「番剧」的最后访问时机作为进入页面的默认位置
- [x] [空间] 「番剧」展开折叠现在可配置
- [x] [条目] 不再筛掉过多的标签,改成折叠
- [x] [条目] 吐槽中特别关注的用户的昵称、头像,现在会在进入该用户空间后更新
- [x] [设置] 优化了代码,减少了在设置的一瞬间卡住整个客户端
- [x] 部分页面流畅性优化,部分地方新增了动画,不详细叙述
- [x] 优化了片假名显示多个罗马音的位置
- [x] [条目] 评分右侧菜单合并了跳转按钮使其更简洁,使用菜单跳转
- [x] [设置] 百度翻译支持了自定义账号
- [x] [自定义源头] 更新了数据

### 修复

- [x] [帖子] 修复了非「小组」类型的帖子均不能编辑自己回复的问题
- [x] [帖子] 修复了「章节」类型帖子翻译失败的问题
- [x] [空间] 修复了部分背景不显示的问题
- [x] [设置] 修复了在设置页面查看屏蔽用户时,没有及时同步网页端数据的问题
- [x] [条目] 修复了 NSFW 可能出现「看到」失效的问题 (fixed #152)
- [x] 修复了不明原因产生的 bgm 表情偏移的问题
- [x] [超展开设置] 修复了不能取消屏蔽小组的问题
- [x] [条目] 修复了部分 NSFW 条目中, 人物图片格式使用不当的问题
- [x] [小圣杯] 修复了侧边角色近况记录点击闪退的问题
- [x] [小圣杯] 资产重组页面整体修复

[所有更新 CHANGELOG](https://github.com/czy0729/Bangumi/blob/master/web/CHANGELOG.MD)

Expand Down
6 changes: 3 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"expo": {
"description": "A React Native App for https://bgm.tv, tinygrail plugin 5.0.0",
"version": "8.9.2",
"description": "A React Native App for https://bgm.tv, tinygrail plugin 5.1.0",
"version": "8.10.0",
"android": {
"versionCode": 89200,
"versionCode": 89300,
"package": "com.czy0729.bangumi",
"adaptiveIcon": {
"foregroundImage": "./src/assets/images/foreground.png",
Expand Down
20 changes: 10 additions & 10 deletions packages/android/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,21 +15,22 @@
"open:mac": "open ./android/app/build/outputs/apk/release/"
},
"resolutions": {
"define-properties": "1.2.0"
"define-properties": "1.2.0",
"react-native-reanimated": "3.6.0"
},
"dependencies": {
"@ant-design/react-native": "3.1.3",
"@expo/vector-icons": "12.0.0",
"@gorhom/portal": "^1.0.14",
"@react-native-async-storage/async-storage": "^1.19.1",
"@react-native-community/blur": "^4.3.2",
"@react-native-community/cameraroll": "^4.1.2",
"@react-native-community/blur": "4.3.2",
"@react-native-community/cameraroll": "4.1.2",
"@react-native-community/slider": "4.4.2",
"@react-native-masked-view/masked-view": "0.2.8",
"@react-navigation/bottom-tabs": "^6.5.8",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
"@react-navigation/stack": "^6.3.17",
"@react-navigation/bottom-tabs": "6.5.8",
"@react-navigation/native": "6.1.7",
"@react-navigation/native-stack": "6.9.13",
"@react-navigation/stack": "6.3.17",
"@sdcx/nested-scroll": "^0.14.0",
"aniep": "^0.6.0",
"base64-js": "^1.5.1",
Expand All @@ -49,7 +50,6 @@
"expo-keep-awake": "~12.3.0",
"expo-linear-gradient": "~12.3.0",
"expo-linking": "~5.0.2",
"expo-navigation-bar": "~2.3.0",
"expo-screen-orientation": "~6.0.3",
"expo-splash-screen": "~0.20.1",
"expo-status-bar": "~1.6.0",
Expand Down Expand Up @@ -85,12 +85,12 @@
"react-native-pager-view": "6.2.0",
"react-native-popable": "^0.4.3",
"react-native-realtimeblurview": "^1.1.3",
"react-native-reanimated": "^3.3.0",
"react-native-reanimated": "3.6.0",
"react-native-render-html": "4.1.1",
"react-native-restart": "^0.0.27",
"react-native-safe-area-context": "^4.7.1",
"react-native-safe-area-view": "^1.1.1",
"react-native-screens": "^3.22.1",
"react-native-screens": "3.22.1",
"react-native-shimmer-placeholder": "^2.0.9",
"react-native-smb": "^0.2.4",
"react-native-svg": "13.4.0",
Expand Down
63 changes: 32 additions & 31 deletions packages/ios/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@
},
"dependencies": {
"@ant-design/react-native": "3.1.3",
"@expo/vector-icons": "^13.0.0",
"@expo/vector-icons": "^14.0.1",
"@gorhom/portal": "^1.0.11",
"@react-native-async-storage/async-storage": "~1.17.3",
"@react-native-async-storage/async-storage": "1.23.1",
"@react-native-community/blur": "4.2.0",
"@react-native-community/cameraroll": "4.0.4",
"@react-native-community/slider": "4.4.2",
"@react-native-masked-view/masked-view": "0.2.8",
"@react-native-community/slider": "4.5.2",
"@react-native-masked-view/masked-view": "0.3.1",
"@react-navigation/bottom-tabs": "^6.5.8",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
Expand All @@ -46,22 +46,22 @@
"csvjson-csv2json": "^5.0.6",
"dayjs": "1.10.8",
"deepmerge": "4.2.2",
"expo": "^49.0.0",
"expo-asset": "~8.10.1",
"expo-blur": "12.0.1",
"expo-calendar": "~11.3.2",
"expo-constants": "~14.4.2",
"expo-device": "~5.4.0",
"expo-file-system": "~15.4.5",
"expo-font": "~11.4.0",
"expo-haptics": "~12.4.0",
"expo-linear-gradient": "12.0.1",
"expo-linking": "~5.0.2",
"expo-modules-core": "~1.5.12",
"expo-screen-orientation": "~6.0.6",
"expo-splash-screen": "~0.20.5",
"expo-updates": "~0.18.19",
"expo-web-browser": "~12.3.2",
"expo": "^51.0.1",
"expo-asset": "~10.0.6",
"expo-blur": "13.0.2",
"expo-calendar": "~13.0.3",
"expo-constants": "~16.0.1",
"expo-device": "~6.0.2",
"expo-file-system": "~17.0.1",
"expo-font": "~12.0.4",
"expo-haptics": "~13.0.1",
"expo-linear-gradient": "~13.0.2",
"expo-linking": "~6.3.1",
"expo-modules-core": "~1.12.10",
"expo-screen-orientation": "~7.0.4",
"expo-splash-screen": "~0.27.4",
"expo-updates": "~0.25.10",
"expo-web-browser": "~13.0.3",
"hoist-non-react-statics": "2.5.0",
"json2csv": "^5.0.7",
"lazy-aho-corasick": "^1.2.2",
Expand All @@ -79,7 +79,7 @@
"protobufjs": "^7.2.5",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-native": "0.72.5",
"react-native": "0.74.1",
"react-native-actions-shortcuts": "^1.0.1",
"react-native-android-keyboard-adjust": "1.2.0",
"react-native-calendar-events": "^2.2.0",
Expand All @@ -90,37 +90,38 @@
"react-native-expo-image-cache": "4.1.0",
"react-native-fast-image": "8.5.11",
"react-native-fs": "2.18.0",
"react-native-gesture-handler": "~2.8.0",
"react-native-gesture-handler": "~2.16.2",
"react-native-hold-menu": "0.1.3",
"react-native-image-zoom-viewer": "2.2.26",
"react-native-modal-popover": "0.0.12",
"react-native-pager-view": "6.2.3",
"react-native-pager-view": "6.3.0",
"react-native-popable": "^0.4.3",
"react-native-realtimeblurview": "^1.1.3",
"react-native-reanimated": "3.3.0",
"react-native-reanimated": "^3.10.0",
"react-native-render-html": "4.1.1",
"react-native-restart": "0.0.14",
"react-native-safe-area-context": "4.6.3",
"react-native-safe-area-context": "4.10.1",
"react-native-safe-area-view": "^1.1.1",
"react-native-screens": "~3.18.0",
"react-native-screens": "3.31.1",
"react-native-shimmer-placeholder": "^2.0.9",
"react-native-smb": "^0.2.4",
"react-native-svg": "13.4.0",
"react-native-svg": "15.2.0",
"react-native-tab-view": "3.5.2",
"react-native-text-ticker": "^1.14.0",
"react-native-webview": "13.2.2",
"react-native-webview": "13.8.6",
"react-navigation": "3.0.9",
"rn-fetch-blob": "^0.12.0",
"stream-browserify": "^3.0.0",
"webdav": "4.11.3"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/core": "^7.24.0",
"@react-native-community/eslint-config": "^3.0.1",
"@types/react": "17.0.21",
"@types/react": "~18.2.79",
"@types/react-native": "0.70.5",
"@typescript-eslint/eslint-plugin": "^5.0.0",
"@typescript-eslint/parser": "^4.33.0",
"babel-plugin-module-resolver": "^5.0.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
Expand All @@ -132,7 +133,7 @@
"string-width-cjs": "npm:string-width@^4.2.0",
"strip-ansi": "^7.0.1",
"strip-ansi-cjs": "npm:strip-ansi@^6.0.1",
"typescript": "5.1.3",
"typescript": "~5.3.3",
"wrap-ansi": "^8.1.0",
"wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0"
}
Expand Down
5 changes: 3 additions & 2 deletions src/components/cover/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
* @Author: czy0729
* @Date: 2023-12-09 16:46:36
* @Last Modified by: czy0729
* @Last Modified time: 2023-12-09 18:16:52
* @Last Modified time: 2024-05-21 21:10:37
*/
import { getCover400, matchCoverUrl } from '@utils'
import { IMG_DEFAULT, STORYBOOK } from '@constants'
import { CoverPrefix, CoverSize, Props } from './types'

/** 修正封面图地址 */
export function getCoverSrc(src: Props['src'], width: number, cdn?: boolean, noDefault?: boolean) {
if (typeof src !== 'string') return src
if (src && typeof src !== 'string') return src

const { prefix, size } = getCoverPramas(width)
return (
Expand All @@ -23,6 +23,7 @@ export function getImageViewerSrc(imageViewerSrc: Props['imageViewerSrc'], src:
if (imageViewerSrc && typeof src === 'string' && src.includes('/bgm_poster')) {
return src.replace(/\/bgm_poster_(100|200|400)/g, '/bgm_poster')
}

return imageViewerSrc
}

Expand Down
10 changes: 4 additions & 6 deletions src/components/katakana/provider/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2022-05-06 21:11:22
* @Last Modified by: czy0729
* @Last Modified time: 2024-05-18 21:36:24
* @Last Modified time: 2024-05-21 20:52:18
*/
import React from 'react'
import { LayoutChangeEvent, View } from 'react-native'
Expand Down Expand Up @@ -248,9 +248,7 @@ export const KatakanaProvider = observer(
const isLineFirst = item[0].top === 0
if (!isLineFirst && this.props.numberOfLines === 1) return null

const marginTop = Math.ceil(
IOS ? (isLineFirst ? -this.size + 1 : 0) : (-this.size - 1) * 1.1
)
const marginTop = Math.ceil((IOS ? (isLineFirst ? -this.size : -3) : -this.size - 1) * 1.1)
if (item.length === 1) {
if (
!isLineFirst &&
Expand All @@ -268,7 +266,7 @@ export const KatakanaProvider = observer(
top: item[0].top,
left: item[0].left,
minWidth: item[0].width,
marginTop
marginTop: marginTop
},
IOS && this.props.itemStyle,
IOS && !isLineFirst && this.props.itemSecondStyle
Expand All @@ -284,7 +282,7 @@ export const KatakanaProvider = observer(
top: item[0].top,
left: 0,
right: 0,
marginTop
marginTop: marginTop
},
IOS && this.props.itemStyle,
IOS && !isLineFirst && this.props.itemSecondStyle
Expand Down
4 changes: 1 addition & 3 deletions src/screens/_/base/horizontal-list/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2019-04-08 01:25:26
* @Last Modified by: czy0729
* @Last Modified time: 2024-01-14 03:18:18
* @Last Modified time: 2024-05-21 21:09:04
*/
import React from 'react'
import { Component } from '@components'
Expand Down Expand Up @@ -67,7 +67,6 @@ export const HorizontalList = ob(
counts,
width,
height,
quality,
findCn,
ellipsizeMode,
initialRenderNums,
Expand All @@ -88,7 +87,6 @@ export const HorizontalList = ob(
count={counts[item.id] || 0}
width={width}
height={height}
quality={quality}
findCn={findCn}
ellipsizeMode={ellipsizeMode}
isFirst={index === 0}
Expand Down
3 changes: 1 addition & 2 deletions src/screens/_/base/horizontal-list/item/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2023-07-03 06:53:55
* @Last Modified by: czy0729
* @Last Modified time: 2024-05-07 04:53:26
* @Last Modified time: 2024-05-21 21:10:02
*/
import React from 'react'
import { View } from 'react-native'
Expand Down Expand Up @@ -34,7 +34,6 @@ function Item({ item, count, width, height, findCn, ellipsizeMode, isFirst, onPr

const isMusic = typeCn === '音乐'
const w = _.r(isMusic ? width * 1.16 : width)

return (
<View
style={stl(
Expand Down
2 changes: 1 addition & 1 deletion src/screens/home/subject/component/staff/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2019-03-26 02:28:19
* @Last Modified by: czy0729
* @Last Modified time: 2024-01-09 16:32:10
* @Last Modified time: 2024-05-21 21:08:38
*/
import React from 'react'
import { View } from 'react-native'
Expand Down
6 changes: 5 additions & 1 deletion src/screens/web-view/versions/ds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* @Author: czy0729
* @Date: 2023-06-10 05:42:00
* @Last Modified by: czy0729
* @Last Modified time: 2024-05-01 15:06:47
* @Last Modified time: 2024-05-21 20:26:26
*/
import { Loaded } from '@types'

Expand All @@ -11,6 +11,10 @@ export const COMPONENT = 'Versions'
export const NAMESPACE = `Screen${COMPONENT}` as const

export const TABS = [
{
title: '8.10.0 - 24/05/21',
key: 'ok2l6eg8i5osetfa'
},
{
title: '8.9.0 - 24/05/01',
key: 'nmmg5vgl531da3lv'
Expand Down
22 changes: 22 additions & 0 deletions web/CHANGELOG.MD
Original file line number Diff line number Diff line change
@@ -1,5 +1,27 @@
# CHANGELOG

## v8.10.0 - 2024/05/21

### 新增

- [x] [发现] 新增了几种由网站用户维护数据的月刊入口

### 优化

- [x] 部分页面流畅性优化,部分地方新增了动画,不详细叙述
- [x] 优化了片假名显示多个罗马音的位置
- [x] [条目] 评分右侧菜单合并了跳转按钮使其更简洁,使用菜单跳转
- [x] [设置] 百度翻译支持了自定义账号
- [x] [自定义源头] 更新了数据

### 修复

- [x] 修复了不明原因产生的 bgm 表情偏移的问题
- [x] [超展开设置] 修复了不能取消屏蔽小组的问题
- [x] [条目] 修复了部分 NSFW 条目中, 人物图片格式使用不当的问题
- [x] [小圣杯] 修复了侧边角色近况记录点击闪退的问题
- [x] [小圣杯] 资产重组页面整体修复

## v8.9.0 - 2024/05/01

### 新增
Expand Down

0 comments on commit c4d8b1a

Please sign in to comment.