Phase out `Database::prepareStatement()`
Maintainer thường phản hồi trong vòng 1 ngày
@Cyperghost đang làm issue này rồi.
Từ ngày 18/10/2024.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Version 5.4 added Database::prepare() as a convenient alternative that performs the replacement based on WCF_N and has proven to prevent a lot of runtime errors for legacy setups with WCF_N !== 1.
The next step is to deprecate prepareStatement() and make it an alias of prepare() in 7.0. For some situations, most important exporters, we need to preserve the previous behavior by introducing prepareUnmanaged() which behaves exactly as prepareStatement() but represents an explicit opt-in.
- WoltLab Suite 6.2
-
prepareUnmanaged()is introduced and is identical to theprepareStatement()in version 6.1. -
prepareStatement()is marked as deprecated and forwards all calls toprepareUnmanaged(). -
prepare()is updated to useprepareUnmanaged()instead ofprepareStatement(). - All uses of
prepareStatement()in the exporters are migrated toprepareUnmanaged()orprepare(). - All remaining uses of
prepareStatement()in the software are rewritten to useprepare()instead. This includes rewriting the queries to no longer useWCF_Ndirectly.
-
- WoltLab Suite 7.0
prepareStatement()is being removed.
- Ngôn ngữ chính
- PHP
- Star
- 248
- Fork
- 147
- Merge trung bình
- 17 phút
- Pull request đã merge (30 ngày)
- 21
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của WoltLab/WCF
-
Problems with button inputSuffixĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 75/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Breadcrumb colors are confusingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 58/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 30/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
WoltLab/WCF#6771 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
LinkNacional/woo-rede#367 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Translation is missing for sw-app.component.sw-app-shop-id-change-modal.error.shop-id-change-failedĐang mởneeds-triage Platform(Default)
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Configuration consistency enhancement
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 72/100
novalo-dev/Prestashop-MCP-Server#405 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
OpenRouter errors returned in a 200 body are thrown as a plain AiExceptionCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 80/100
Maintainer thường phản hồi trong vòng 2 ngày