Vakai ki he CHANGELOG.md ki he lekooti kakato.
Tukuange
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 —
- Ngaahi tuʻuaki koloa kehekehe: liliu ʻaki ʻa e Azure AI Translator, AWS Translate, pe Google Cloud Translation ʻi mui ʻi ha funga API fakatahataha. Fili ha kautaha ʻe taha ʻi he lele ʻaki ʻa e input foʻ
providerfoʻou; ʻoku vahe ʻe he ngaue ki he SDK tatau ʻi mui ʻi ha fale ngaue pea ʻoku tatau pe pe ko e ha ʻa e tokotaha fakatau koloa. ʻOku fenapasi kakato ki mui — ʻoku ʻikai ke ʻi ai haproviderki heazure, ko ia ʻoku kei ngaue pe ʻa e Azure workflows lolotonga ʻo ʻikai liliu. - Kautaha foʻou ʻo e AWS Translate (
@aws-sdk/client-translate). Authenticate ʻaki ʻa e seini fakamoʻoni ʻa e AWS default (fokotuʻu atu: OIDC ʻo fakafou ʻi he aws-actions/configure-aws-credentials) pe mahino ʻa eawsAccessKeyId/awsSecretAccessKey; vahefonua ʻo fakafou ʻi heawsRegionpeAWS_REGION. - Kautaha foʻou ʻo e Google Cloud Translation (
@google-cloud/translate, v2). Fakapapauʻi ʻaki ha tohi fakamoʻoni JSON ʻi he ʻakauni ngaue (googleCredentials) pe ko ha ki API (googleApiKey); filigoogleProjectId. - Ngaahi fakamatala foʻou:
provider,awsAccessKeyId,awsSecretAccessKey,awsRegion,googleApiKey,googleCredentials,googleProjectId. - Mape ʻo e taumuʻa-specifier:
textTypemape ki heformatʻa e Google mo eprofanityActionmape ki he fakapuli ʻo e kapekape ʻa e AWS ʻi he feituʻu ʻoku ʻi ai ha meʻa tatau. ʻOku tukunoaʻi ʻe he niʻihi kehe ʻa e ngaahi kautaha kehe ʻi he Azure (categoryId,apiVersion,profanityMarker,allowFallback). - ʻOku ʻikai ke toe fakaʻilongaʻi ʻa e ngaahi input ʻo e kole Azure (
subscriptionKey,endpoint,region) ʻoku fie maʻu ʻi heaction.ymlkoeʻuhi ke lava ʻo fili ʻa e ngaahi kautaha kehe — ʻoku kei fakapapauʻi pe ʻi he runtime ʻi he taimi ʻokuazureai ʻa eprovider. - Peesi foʻou ʻo e ngaahi kautaha Liliu, tab ʻo e kautaha ʻi he Kamataʻanga, fili ʻo e kautaha ʻi he peesi Inputs, pea mo ha peesi ʻuluaki fakafoʻou ʻoku taki ʻaki ʻa e Azure, AWS, mo e Google.
3.0.2 —
- Fakaleleiʻi: ʻOku fakapipiki ʻe he ngaahi kole ʻa e Translator he taimi ni ʻa e
api-version=3.0ʻi he uaea ki he/translatemo e/languagesfakatouʻosi. ʻOku toki fakaʻapaʻapaʻi pe ʻe he Azure SDK ʻa e fili ʻo e api-version ʻi he taimi ʻoku paasi ai ha tohi fakamoʻoni; ʻoku fakamoʻoniʻi ʻe he ngaue ʻa e kole ʻo fakafou ʻi he headers, ko ia naʻe tukuange fakalongolongo ʻa e fili ko ia pea default ʻa e ngaahi kole ki ha preview API-version/translateʻa ia naʻe fakafisingaʻi ʻe he aleapau ʻa e sino ʻaki ʻa e HTTP 400 (error code400074). Fakakakato ʻa e fakaleleiʻi naʻe kamata ʻi he 3.0.1.
3.0.1 —
- Fakaleleiʻi: Ko e sino ʻo e kole ʻa e
/translateʻoku hoko ia he taimi ni ko ha fokotuʻutuʻu JSON ʻo e ngaahi meʻa ʻe{ text }kae ʻikai ko ha meʻa ʻoku{ inputs }kofukofuʻi, ʻo tatau mo e aleapau v3.0 REST. Naʻe ʻikai ke toe fakafoki mai ʻe he meʻa ni ʻiate ia pe ʻa e ngaahi liliu — vakai ki he 3.0.2.
3.0.0 —
- Bumped to
node24runtime (MAUMAUʻI). - Ngaahi input foʻou:
include,exclude,configPath,categoryId,apiVersion,dryRun,failOnError, fakataha mo e ngaahi knobs ʻo e Liliu lea maʻolungatextType,profanityAction,profanityMarker, mo eallowFallback. - ʻOku toe ʻave foki ʻa e feituʻu maʻuʻanga tokoni ki he Translator he
from=<locale>ko ia ʻoku ʻikai ke ʻiloʻi ʻa e ngaahi afo nounou. - Vilitaki: toe feinga ʻotometiki ʻi he ngaahi tali HTTP fakataimi (
408, 425, 429, 500, 502, 503, 504) ʻoku fakaʻapaʻapaʻi ai ʻa e ʻuluʻi ʻulu ʻo eRetry-Afterʻo e Azure — ʻoku foki ia ki he backoff ʻo e exponential ʻi he taimi ʻoku ʻikai ke ʻi ai. Tunable viamaxRetriesandretryBackoffMs. Tapuni #46. - Maluʻi ʻo e placeholder: ʻoku kofukofuʻi ʻa e ngaahi fakaʻilonga hange ko e
{{name}},${var},{0},{0:N2},%s,%1$smo e HTML ʻi he sentinels kimuʻa pea toki liliu pea toe fakafoki mai ʻi he hili ia, ko ia ʻoku taʻofi ʻe he Translator ʻa e mangling i18next/Mustache/Handlebars/.NET/printf placeholders. Toggle ʻo fakafou ʻi heprotectPlaceholders; fakalahi ʻaki ʻa ecustomPlaceholderPatterns. Fakamaʻu ʻa e #16. - Fili ki he kii: he input foʻou ʻo e
noTranslatePatternsʻoku ne toʻo kakato ʻa e ngaahi ki tatau mei he kole ʻa e Translator (tauhi ʻa e ngaahi mahuʻinga ʻo e maʻuʻanga tokoni ki he ngaahi hingoa ʻo e brand, ngaahi kouti fehalaaki, etc.). Fakafehoanaki ʻa e ngaahi sipinga ʻo e glob mo e ngaahi ki ʻi he tuʻunga ʻo e parser (JSON dotted path, RESXname, POmsgid, XLIFF unitid, INI/restext key). Tapuni #35. - Repo-level config ʻo fakafou ʻi he
.github/resource-translator.yml. - Tokoni ki he glossary, fakamatala fakanounou ʻo e sitepu ʻo fakafou ʻi he
core.summary. - esbuild bundler, ESLint 9 flat config, Prettier, EditorConfig.
- NPM Audit Clean (0 vulnerabilities).
- Astro + Tailwind v4 docs site with view transitions and Expressive Code.
- Malava ke maʻu ʻa e Docs: WCAG 2.1 AA pass. Naʻe liliu ʻa e glyphs ʻo e fakaʻilonga ki he ngaahi hala koeʻuhi ke ʻoua naʻa toe ʻikai ke nau lava ʻo fakafaikehekeheʻi ʻa e lanu ki he gradient stops, ʻoku fakaʻaongaʻi ʻe he meʻa lomi ʻo e
Back to topʻoku tete ʻa einertlolotonga ʻoku fufuuʻi (kae ʻikai ko ha toggle ʻo earia-hiddennaʻe tuku ke tabbable), ʻoku ʻikai ke toe fepaki ʻa e ngaahi konga mo ʻenau ID ʻuluʻi tohi ʻoku faʻu ʻe heformats.astro, ʻoku fakaʻaliʻali ʻe he kaati ʻe tolu ʻa e BCP-47-validlangattributes (nya→ny,lug→lg,run→rn), ʻoku disambiguated ʻa e ngaahi fakaʻilonga ʻoDocumentatione ngaahi fakaʻilonga ʻi he vahaʻa ʻo e sidebar mo e footer, pea ko e tepile fakamatala kotoa pe ʻi heinputs/configurationʻoku ʻi ai ha fakamatala ʻi he screen-reader. - ʻFounga ʻo e kouti ʻi he laine:
<code>ʻoku ne tui he taimi ni ʻa e accent ʻo e kaveinga mafana/ʻamipa — kehe mei he palette ʻo e brand→accent ʻoku fakaʻaongaʻi ki he ngaahi fehokotakiʻanga mo e ngaahi ʻuluʻi tohi. - 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).