Bheka CHANGELOG.md ukuze uthole irekhodi eliphelele.
Ukukhishwa
3.2.0 —
- Smart change detection now defaults to
smart: a compact provider-neutral state manifest (.github/resource-translator-state.json) tracks parser keys, source hashes, target hashes, and translation-affecting settings so only changed or missing keys are sent to the selected provider. UsechangeDetection=disabledorfalsefor legacy always-translate behavior,statePathto relocate the manifest, andsnapshotOnlyto bootstrap the manifest from existing target files without calling a provider. The same release adds nested {provider} blocks, AWS/Google-native behavior knobs, narrow-friendly reference cards, and official provider-doc links. Key-level audit rule codes are logged for every decision.
3.1.0 —
- Umthengisi omningi: ukuhumusha nge-Azure AI Translator, AWS Translate, noma Google Cloud Translation ngemuva kwendawo eyodwa ye-API ebumbene. Khetha umhlinzeki oyedwa nge-run ngayinye ngokufakwa okusha kwe-
provider; isenzo sidlulisela ku-SDK ehambisanayo ngemuva kwefektri futhi siziphatha ngendlela efanayo kungakhathalekile umthengisi. Ukuhambisana ngokuphelele emuva -providerokuzenzakalelayo ku-azure, ngakho-ke ukuhamba komsebenzi okukhona kwe-Azure kuyaqhubeka kusebenza kungashintshiwe. - Umhlinzeki omusha we-AWS Translate (
@aws-sdk/client-translate). Qinisekisa nge-AWS ezenzakalelayo yokuqinisekisa uchungechunge (kunconyiwe: i-OIDC nge-aws-actions/configure-aws-credentials) noma i-awsAccessKeyId/awsSecretAccessKeyecacile; Isifunda nge-awsRegionnomaAWS_REGION. - Umhlinzeki omusha we-Google Cloud Translation (
@google-cloud/translate, v2). Qinisekisa nge-akhawunti yesevisi ye-JSON credential (googleCredentials) noma ukhiye we-API (googleApiKey);googleProjectIdyokuzikhethela. - Okokufaka okusha:
provider,awsAccessKeyId,awsSecretAccessKey,awsRegion,googleApiKey,googleCredentials,googleProjectId. - Imephu yokucacisa inhloso:
textTypeamamephu ku-formatwe-Google futhiprofanityActionamamephu ku-AWS ukufihla lapho kukhona khona okulingana nakho. Izicacisi ze-Azure kuphela (categoryId,apiVersion,profanityMarker,allowFallback) azinakwa ngabanye abahlinzeki. - Okokufaka kwesicelo se-Azure (
subscriptionKey,endpoint,region) akusekho kuphawulwe ukuthi kuyadingeka ku-action.ymlukuze abanye abahlinzeki bakhethwe - basaqinisekisiwe ngesikhathi sokusebenza laphoproviderazure. - Ikhasi labahlinzeki bokuhumusha abasha, amathebhu abahlinzeki ku-Qala, ukukhethwa kwabahlinzeki ekhasini le-Inputs, kanye nekhasi lasekhaya elivuselelekile elihola nge-Azure, i-AWS, ne-Google.
3.0.2 —
- Fixed: Izicelo Translator manje pin
api-version=3.0on the wire for both/translateand/languages. I-Azure SDK ihlonipha kuphela inketho ye-api-version yezinga leklayenti lapho isitifiketi sidlulisiwe; isenzo siqinisekisa isicelo ngasinye ngezihloko, ngakho-ke leyo nketho yaphonswa buthule futhi izicelo zafakwa ku-API yokubuka kuqala inkontileka yayo/translateyenqaba umzimba nge-HTTP 400 (ikhodi yephutha400074). Qedela ukulungiswa kwaqala ku-3.0.1.
3.0.1 —
- Fixed: Umzimba wesicelo se-
/translatemanje useyi-JSON engenalutho yezinto{ text }esikhundleni sento egoqiwe{ inputs }, ehambisana nenkontileka ye-v3.0 REST. Ngokwayo lokhu akuzange kubuyisele izinguqulo — bheka 3.0.2.
3.0.0 —
- Yiba nesikhathi
node24sokugijima (UKUPHULA). - Okokufaka okusha:
include,exclude,configPath,categoryId,apiVersion,dryRun,failOnError, kanye nezinkinobho ezithuthukisiwe ze-TranslatortextType,profanityAction,profanityMarker, ne-allowFallback. - Indawo yomthombo manje nayo idluliselwe kuMhumushi njengoba
from=<locale>ngakho-ke izintambo ezimfushane azitholakali ngokuzenzakalelayo. - Ukuqina: ukuzama kabusha okuzenzakalelayo kwezimpendulo zesikhashana ze-HTTP (
408, 425, 429, 500, 502, 503, 504) ezihlonipha ikhanda le-Retry-Afterle-Azure - libuyela emuva emuva lapho lingekho. I-Tunable nge-maxRetriesne-retryBackoffMs. Vala # 46. - Ukuvikelwa kwe-placeholder: amathokheni afana ne-
{{name}}, i-${var}, i-{0}, i-{0:N2}, i-%s, i-%1$sne-HTML ihlanganiswe ngama-sentinels ngaphambi kokuhumusha futhi ibuyiselwe ngemuva kwalokho, ngakho-ke uMhumushi uyeka ukubamba i-i18next / Mustache / Handlebars / .NET / printf placeholders. Shintsha nge-protectPlaceholders; UkwandisacustomPlaceholderPatterns. Qinisa # 16. - Ukuphuma kokhiye ngamunye: okufakwa okusha kwe-
noTranslatePatternskudonsa okhiye abahambisanayo kusuka esicelweni se-Translator ngokuphelele (kulondoloza amanani omthombo wamagama omkhiqizo, amakhodi wephutha, njll.). Ifanisa amaphethini we-glob ngokumelene nokhiye bezinga le-parser (indlela yamachashazi ye-JSON, i-RESXname, i-POmsgid, iyunithi ye-XLIFFid, ukhiye we-INI / restext). Vala # 35. - Ukumiswa kwezinga le-Repo nge-
.github/resource-translator.yml. - Ukusekelwa kwe-glossary, isifinyezo sesinyathelo nge-
core.summary. - esbuild bundler, ESLint 9 flat config, Prettier, EditorConfig.
- Ukuhlolwa kwe-NPM okuhlanzekile (0 ubuthakathaka).
- I-Astro + Tailwind v4 docs site ngokubuka izinguquko kanye ne-Expressive Code.
- Ukufinyeleleka kwamadokhumenti: WCAG 2.1 AA pass. Ama-glyphs we-logo aguqulwe abe izindlela ukuze angabe esahluleka ukuqhathanisa umbala ngokumelene nezitobhi ze-gradient, inkinobho ye-
Back to topentantayo isebenzisa i-inertngenkathi ifihliwe (esikhundleni se-toggle ye-aria-hiddeneshiye i-tabbable),formats.astroizigaba azisashayisani nama-ID abo akhiqizwa ngokuzenzakalelayo, amakhadi amathathu endawo manje aveza izimfanelo ze-langze-BCP-47 ezivumelekile (nya→ny,lug→lg,run→rn), amalebula aphindwe kabiliDocumentationaphawulekayo ahlukaniswe phakathi kwebha eseceleni ne-footer, futhi itafula ngalinye ledatha ku-inputs/configurationimikhumbi enesihloko se-screen-reader. - Isitayela sekhodi ye-inline: docs prose
<code>manje igqoke ukugcizelela kwengqikithi efudumele / ye-amber - ehlukile kuphalethi ye→accent esetshenziselwa izixhumanisi nezihloko. - Dependabot auto-merge, CodeQL scanning, CI matrix.
2.2.1 —
- Security: bumped axios (1.4.0 → 1.6.0), @babel/traverse, semver, and tough-cookie/@azure/ms-rest-js to clear Dependabot alerts.
2.2.0 —
- Maintenance release (dependency and dist refresh).
2.1.9 —
- Dependency upgrades (including xml2js 0.4.23 → 0.5.0) and a refreshed dist build.
2.1.8 —
- Security: bumped follow-redirects, node-fetch, decode-uri-component, minimist, ansi-regex, jsdom, json5, minimatch, and @actions/core (1.2.6 → 1.9.1).
2.1.7 —
- Use a different delimiter when building the translation map so keys containing the previous separator are handled correctly (#36).
- Fixes #32.
2.1.6 —
- Assorted bug fixes and improved logging.
2.1.5 —
- Fix an issue with file names containing four segments.
2.1.4 —
- Added a JSON parser and .json file support.
- Fix batching bug (#18).
2.1.3 —
- Maintenance release.
2.1.2 —
- Fixes #15.
2.1.1 —
- Fix the generated step summary.
2.1.0 —
- Support for additional resource file formats beyond .resx: .ini, .po, .restext, and .xliff.
2.0.4 —
- Maintenance release.
2.0.3 —
- Fixes a batching bug and other related issues.
2.0.2 —
- File filtering to limit excessive translations.
- Batching of the translate API call to avoid rate limiting.
2.0.1 —
- New action outputs: has-new-translations, summary-title, and summary-details.
- Fix a bug where an error was logged but the action failure was not set.
2.0.0 —
- First official, fully functional and verified release.
1.0.1 —
- Build release.
1.0.0 —
- Initial release of the Azure AI Translator resource action (.resx support).
0.0.x —
- Initial prototype pre-releases (tags 0.01–0.09).