Nâng cấp expo-calendar từ 57.x lên 58.x
So sánh API công khai của expo-calendar 57.0.5 và 58.0.6, được tính tự động từ kiểu TypeScript. Chữ ký thay đổi là thay đổi có thể không tương thích, không phải điều chắc chắn.
Tóm tắt
| Đường dẫn import bị xóa | 2 |
|---|---|
| Export bị xóa | 0 |
| Chữ ký thay đổi | 0 |
| Thành viên lớp hoặc interface bị xóa | 0 |
| Thành viên lớp hoặc interface thay đổi | 2 |
| Mới bị ngừng hỗ trợ | 0 |
| Thay đổi yêu cầu (engines, phụ thuộc peer) | 0 |
| Export mới | 0 |
Đường dẫn import bị xóa
| Đường dẫn import bị xóa |
|---|
expo-calendar/next |
expo-calendar/legacy |
Export bị xóa
Không phát hiện.
Chữ ký thay đổi
Không phát hiện.
Thành viên lớp hoặc interface bị xóa
Không phát hiện.
Thành viên lớp hoặc interface thay đổi
| member | Trước | Sau |
|---|---|---|
ExpoCalendarEvent.editInCalendar | (params?: CalendarDialogParamsNext | null | undefined): Promise<DialogEventResult> | (params?: CalendarDialogParamsNext | undefined): Promise<DialogEventResult> |
ExpoCalendarEvent.openInCalendar | (params?: CalendarDialogOpenParamsNext | null | undefined): Promise<OpenEventDialogResult> | (params?: CalendarDialogOpenParamsNext | undefined): Promise<OpenEventDialogResult> |
Mới bị ngừng hỗ trợ
Không phát hiện.
Thay đổi yêu cầu (engines, phụ thuộc peer)
Không phát hiện.
Changelog giữa các phiên bản này
Văn bản do tác giả gói công bố, hiển thị nguyên trạng.
58.0.6
### Patch Changes
- Bump precompiled artifacts due to ABI breakage in expo-modules-jsi@58.0.6. ([#50881](https://github.com/expo/expo/pull/50881) by [@kitten](https://github.com/kitten))58.0.5
### Patch Changes
- Force-bump all packages, due to migration to changesets. ([#50762](https://github.com/expo/expo/pull/50762) by [@kitten](https://github.com/kitten))58.0.4
_This version does not introduce any user-facing changes._58.0.3
### 🐛 Bug fixes
- [Android] Fix the sign of alarm `relativeOffset` in the `next` API so that negative values fire before the event start, matching iOS and the legacy API.58.0.2
### 🐛 Bug fixes
- [iOS] Allow `getDefaultCalendarSync`, `getCalendars` and `ExpoCalendar.get` to work with write-only calendar access. ([#48186](https://github.com/expo/expo/pull/48186) by [@Wenszel](https://github.com/Wenszel))58.0.1
### 🛠 Breaking changes
- The `params` argument of `openInCalendar()` and `editInCalendar()` no longer accepts `null`. Call the methods with no arguments instead. ([#50158](https://github.com/expo/expo/pull/50158) by [@Wenszel](https://github.com/Wenszel))58.0.0
### 🐛 Bug fixes
- [android] Fix `createEventAsync` and `updateEventAsync` failing with "Event could not be saved" in minified release builds. `EventInputBase` now implements `Record`, so the `expo-modules-core` ProGuard rule keeps its `@Field` property names and `startDate`/`endDate` reach the calendar provider. ([#49837](https://github.com/expo/expo/pull/49837) by [@expo-bot](https://github.com/expo-bot))
- [android] Fix `openInCalendar()` throwing when called without params, which the type declares as optional. ([#50146](https://github.com/expo/expo/pull/50146) by [@hknakn](https://github.com/hknakn))
- [ios] Fix a crash when reading `calendarId` on an event or reminder whose `EKCalendarItem.calendar` is nil. The property is `null_unspecified` in the EventKit headers, so the bare access was an implicit force-unwrap that trapped the JS thread. ([#48445](https://github.com/expo/expo/pull/48445) by [@cvburgess](https://github.com/cvburgess))
- [ios] Fix typo in the internal permissions exception name (`MissionPermissionsException` -> `MissingPermissionsException`), which corrects the error code surfaced to JS from `ERR_MISSION_PERMISSIONS` to `ERR_MISSING_PERMISSIONS`. ([#47804](https://github.com/expo/expo/pull/47804) by [@conanm](https://github.com/conanm))Cung cấp dữ liệu này cho tác tử AI của bạn
Vigia là máy chủ MCP miễn phí: tác tử lập trình của bạn kiểm tra phiên bản, thay đổi phá vỡ tương thích và lỗ hổng trước khi viết mã. Không cần đăng ký, không cần khóa API.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Thêm vào CursorThêm vào VS Code★ Gắn sao trên GitHub
Mọi ứng dụng MCP khác
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Kỹ năng cho tác tử (SKILL.md): cho tác tử biết khi nào dùng Vigia · GitHub Action cho pull request
Câu hỏi thường gặp
Nâng cấp expo-calendar từ 57 lên 58 có những thay đổi không tương thích nào?
Giữa expo-calendar 57.0.5 và 58.0.6, Vigia tìm thấy 0 export bị xóa, 0 chữ ký thay đổi và 2 thành viên lớp hoặc interface bị xóa hay thay đổi.
Những gì bị ngừng hỗ trợ trong expo-calendar 58?
0 export hoặc thành viên mới bị đánh dấu ngừng hỗ trợ trong expo-calendar 58.0.6.
Dành cho tác tử
GET https://vigia.coredls.cloud/v1/packages/npm/expo-calendar/upgrade?from=57.0.5&to=58.0.6