Skip to content

v5.13.4

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 14 Dec 14:27
· 12 commits to main since this release

Features

  • tests: 添加Jest支持,更新配置以增强测试功能 (thoulee)
  • LottieAnimation: 添加测试用例并为LottieView组件设置testID (thoulee)
  • tests: 为parseLyric函数添加单元测试以确保歌词解析正确性 (thoulee)
  • tests: 更新Jest配置并添加SongItem组件的单元测试 (thoulee)
  • tests: 更新Jest配置以支持react-native-fs并添加Lyric组件的单元测试 (thoulee)
  • tests: 更新SongItem组件测试,添加对触摸事件和专辑信息的验证,并模拟haptic反馈 (thoulee)
  • UpdateChecker: 添加更新对话框中的日期和时间显示,优化文本内容 (thoulee)
  • AlbumDescription: 将描述属性更改为接收完整专辑对象,并在对话框中显示专辑名称 (thoulee)
  • PlaylistDetailScreen: 添加国际化支持,更新菜单项和提示文本 (thoulee)
  • TrackListSheet: 添加国际化支持,更新队列为空时的提示信息和洗牌功能 (thoulee)
  • TrackItem: 使用 useMemo 优化列表样式计算,更新长按事件处理函数 (thoulee)
  • PlayControlsFAB: 添加播放控制悬浮按钮,支持播放、暂停和跳转功能 (thoulee)

Bug Fixes

  • SongItem: 修复useEffect依赖项,确保dispatch在依赖数组中 (thoulee)
  • RootStack: 禁用AppData屏幕的手势和滑动功能以增强用户体验 (thoulee)
  • DrawerItemList: 用ScrollView替换FlatList以优化渲染性能并调整样式 (thoulee)
  • UpdateChecker: 将日期格式从toLocaleString更改为toISOString以确保一致性 (thoulee)
  • UpdateChecker: 优化更新对话框中的文本格式和代码结构 (thoulee)
  • UpdateChecker: 在获取更新并重启之前隐藏对话框 (thoulee)
  • UserAttrs: 更新隐私信息变量名,优化图标样式和代码结构 (thoulee)
  • TrackListSheet: 移除动画组件,优化底部视图组件结构 (thoulee)
  • PlaylistDetail: 添加 PoweredBy 组件,优化评论按钮禁用逻辑,调整头部背景色 (thoulee)
  • PlayControlsFAB: 更新播放控制悬浮按钮图标和标签,优化缓冲状态显示 (thoulee)

Code Refactoring

  • tests: 重命名测试文件并更新导入路径以反映新的目录结构 (thoulee)
  • tests: 更新Jest配置,移除不必要的setup文件并优化导入路径 (thoulee)
  • tests: 更新Jest配置,添加模块文件扩展名和设置文件以支持新功能 (thoulee)
  • PlaylistDetailScreen: 使用useLayoutEffect优化导航头部显示,添加重试按钮并调整样式 (thoulee)
  • PlaylistDetailScreen: 重构评论按钮和菜单布局,优化代码结构 (thoulee)
  • BottomSheetPaper: 更新底部弹窗的快照点设置,调整为仅使用90%的高度 (thoulee)
  • Comments: 优化评论组件结构,移除不必要的依赖,调整样式和功能 (thoulee)
  • PlayControls: 优化代码结构,调整导入格式,简化错误处理逻辑 (thoulee)
  • UserDetail: 优化代码结构,调整组件导入格式,简化渲染逻辑 (thoulee)

Chores

  • docs: move apis.md to docs/ (thoulee)
  • workflows: 更新Yarn版本至4.5.0以确保构建环境一致性 (thoulee)

Commits

  • ac5eb0e: refactor(PlaylistDisplayItem, SearchPlaylistItem, userDetail): 更新组件属性类型定义,简化代码结构 (thoulee)