Skip to content

Deprecation zh HK

JustArchi edited this page Feb 18, 2019 · 9 revisions

ๆฃ„็”จ

ๅพž ASF V3.1.2.2 ้–‹ๅง‹๏ผŒๆˆ‘ๅ€‘ๅฐ‡้ตๅพชไธ€่‡ด็š„ๆฃ„็”จ็ญ–็•ฅ๏ผŒไปฅไฝฟ้–‹็™ผๅ’Œไฝฟ็”จๆ›ดๅŠ ไธ€่‡ดใ€‚


ไป€้บผๆ˜ฏๆฃ„็”จ๏ผŸ

ๆฃ„็”จๆ˜ฏ้‡ๅคงๆ›ดๆ”น๏ผˆๅขžๅˆช๏ผ‰็š„้Ž็จ‹๏ผŒ้€™ไบ›ๆ›ดๆ”นไฝฟไปฅๅ‰ไฝฟ็”จ็š„ไธ€ไบ›้ธ้ …ใ€ๅƒๆ•ธใ€ๅŠŸ่ƒฝๆˆ–ไฝฟ็”จๆ–นๅผ้Žๆ™‚ใ€‚ ๆฃ„็”จ้€šๅธธๆ„ๅ‘ณ่‘—็ตฆๅฎš็š„ๅ…งๅฎน่ขซ็ฐกๅ–ฎๅœฐ้‡ๅฏซ็‚บๅฆไธ€ๅ€‹๏ผˆ้กžไผผ๏ผ‰่กจๅ–ฎ, ๆ‚จๆ‡‰่ฉฒๅŠๆ™‚็ขบไฟๆ‚จๅฐๅ…ถ้€ฒ่กŒ้ฉ็•ถ็š„ๅˆ‡ๆ›ใ€‚ ๅœจ้€™็จฎๆƒ…ๆณไธ‹๏ผŒๅฎƒๅชๆ˜ฏๅฐ‡็ตฆๅฎš็š„ๅŠŸ่ƒฝ็งปๅ‹•ๅˆฐๆ›ดๅˆ้ฉ็š„ไฝ็ฝฎใ€‚

ASF ็‰ˆๆœฌ่ฟญไปฃ่ฟ…้€Ÿ๏ผŒ็ธฝๆ˜ฏ่ฟฝๆฑ‚ๅ“่ถŠใ€‚ ้บๆ†พ็š„ๆ˜ฏ๏ผŒ้€™ๆ„ๅ‘ณ่‘—ๆˆ‘ๅ€‘ๅฏ่ƒฝๆœƒๆ›ดๆ”นๆˆ–ๅฐ‡ไธ€ไบ›็พๆœ‰ๅŠŸ่ƒฝ็งปๅ‹•ๅˆฐ็จ‹ๅผ็š„ๅฆไธ€ๅ€‹้ƒจๅˆ†๏ผŒไปฅไพฟๅฎƒๅพžๆ–ฐๅŠŸ่ƒฝใ€็›ธๅฎนๆ€งๆˆ–็ฉฉๅฎšๆ€งไธญๅ—็›Šใ€‚ ๆญฃๅ› ๅฆ‚ๆญค๏ผŒๆˆ‘ๅ€‘ไธ้œ€่ฆๅ …ๆŒๆˆ‘ๅ€‘ๅคšๅนดๅ‰ๅšๅ‡บ็š„้Žๆ™‚ๆˆ–้Œฏ่ชค็š„็™ผๅฑ•ๆฑบๅฎšใ€‚ ๆˆ‘ๅ€‘ไธ€็›ดๅœจๅŠชๅŠ›ๆไพ›ๅˆ็†็š„ๆ›ฟๆ›ๆ–นๆกˆ๏ผŒไปฅๅ…ผๅฎนไปฅๅ‰ๅฏ็”จ็š„ๅŠŸ่ƒฝ๏ผŒ้€™ๅฐฑๆ˜ฏ็‚บไป€้บผๆฃ„็”จๅคงๅคšๆ˜ฏ็„กๅฎณ็š„๏ผŒๅƒ…้œ€่ฆๅฐไปฅๅ‰็š„้‚่ผฏ้€ฒ่กŒๅฐ็š„ไฟฎๅพฉใ€‚


ๆฃ„็”จ้šŽๆฎต

ASF ็š„ๆฃ„็”จๅˆ†็‚บๅ…ฉๅ€‹้šŽๆฎต๏ผŒไฝฟ้Žๆธกๆ›ดๅฎนๆ˜“ไธฆๆธ›ๅฐ‘้บป็…ฉใ€‚

็ฌฌ1้šŽๆฎต

ไธ€ๆ—ฆ็ตฆๅฎš็š„ๅŠŸ่ƒฝ่ขซๆฃ„็”จ๏ผŒๅฐฑๆœƒ้€ฒๅ…ฅ็ฌฌ1้šŽๆฎต๏ผŒไธฆ็ซ‹ๅณๅฐๆญคๅŠŸ่ƒฝๆไพ›ๅฆไธ€ๅ€‹่งฃๆฑบๆ–นๆกˆ๏ผˆๅฆ‚ๆžœๆฒ’ๆœ‰้‡ๆ–ฐๅผ•ๅ…ฅ็š„่จˆ็•ซ๏ผŒๅ‰‡ไธๆไพ›๏ผ‰ใ€‚

ๅœจๆญค้šŽๆฎต๏ผŒASF ๅฐ‡ๅœจไธๆŽจ่–ฆไฝฟ็”จ็š„ๅ‡ฝๆ•ธ่ขซ่ชฟ็”จๆ™‚ๅˆ—ๅฐๆฐ็•ถ็š„่ญฆๅ‘Šใ€‚ ๅช่ฆๆœ‰ๅฏ่ƒฝ๏ผŒASF ๅฐฑๆœƒๅ˜—่ฉฆๆจกไปฟไน‹ๅ‰็š„่กŒ็‚บ๏ผŒไธฆ็นผ็บŒ่ˆ‡ไน‹็›ธๅฎนใ€‚ ่‡ณๅฐ‘ๅœจไธ‹ไธ€ๅ€‹็ฉฉๅฎš็‰ˆๆœฌ็™ผไฝˆไน‹ๅ‰๏ผŒASF ๅฐ‡็นผ็บŒ่™•ๆ–ผ็ฌฌ1้šŽๆฎตใ€‚ ๅœจ้€™ๅ€‹ๆ™‚ๅˆป๏ผŒๅธŒๆœ›ๆ‚จๅœจไธ็ ดๅฃž็›ธๅฎนๆ€ง็š„ๆƒ…ๆณไธ‹๏ผŒๅฏไปฅๅœจๆ‰€ๆœ‰็š„ๅทฅๅ…ทๅ’Œๆจกๅผไธญ้€ฒ่กŒ้ฉ็•ถ็š„ๅˆ‡ๆ›๏ผŒไปฅๆปฟ่ถณๆ–ฐ็š„่กŒ็‚บใ€‚ ็•ถๆ‚จไธๅ†็œ‹ๅˆฐๆฃ„็”จ่ญฆๅ‘Š๏ผŒ้€™่กจ็คบๆ‚จ้€ฒ่กŒไบ†ๆ‰€ๆœ‰้ฉ็•ถ็š„ๆ›ดๆ”นใ€‚

็ฌฌ2้šŽๆฎต

็ฌฌ2้šŽๆฎตๅฎ‰ๆŽ’ๅœจไธŠ้ข่งฃ้‡‹็š„็ฌฌ1้šŽๆฎต็™ผ็”ŸๅพŒ๏ผŒไธฆๅœจ็ฉฉๅฎš็š„็‰ˆๆœฌไธญ็™ผไฝˆใ€‚ ๆญค้šŽๆฎตๅฐ‡ๅฎŒๅ…จๅˆช้™คไน‹ๅ‰ไธๆŽจ่–ฆไฝฟ็”จ็š„ๅŠŸ่ƒฝ๏ผŒ้€™ๆ„ๅ‘ณ่‘— ASF ็”š่‡ณไธๆœƒๆ‰ฟ่ชๆ‚จๆญฃๅœจๅ˜—่ฉฆไฝฟ็”จไธๆŽจ่–ฆไฝฟ็”จ็š„ๅŠŸ่ƒฝ๏ผŒๆ›ดไธ็”จ่ชช่€ƒๆ…ฎๅฎƒไบ†๏ผŒๅ› ็‚บๅฎƒๆ นๆœฌไธๅญ˜ๅœจๆ–ผ็•ถๅ‰ไปฃ็ขผไธญใ€‚ ASF ๅฐ‡ไธๅ†ๅˆ—ๅฐไปปไฝ•่ญฆๅ‘Š๏ผŒๅ› ็‚บๅฎƒไธๅ†่ญ˜ๅˆฅๆ‚จๅ˜—่ฉฆๅŸท่กŒ็š„ๆ“ไฝœใ€‚


ๆฆ‚่ฆ

ๆ‚จๆœ‰่‡ณๅฐ‘ไธ€ๅ€‹ๆœˆ ไพ†ๅˆ‡ๆ›ไธฆ้ฉๆ‡‰๏ผŒ้€™ๅฐๆ–ผไธ€ๅ€‹ๆ™ฎ้€š็š„ ASF ไฝฟ็”จ่€…ไพ†่ชชๆ‡‰่ถณๅค ไบ†ใ€‚ ๅœจ้€™ๆฎตๆ™‚้–“ไน‹ๅพŒ๏ผŒASF ไธๅ†ไฟ่ญ‰่ˆŠ่จญ็ฝฎๅฐ‡็”ข็”Ÿไปปไฝ•ๆ•ˆๆžœ๏ผˆ็ฌฌ2้šŽๆฎต๏ผ‰๏ผŒๅœจๆ‚จๅฏŸ่ฆบไธๅˆฐ็š„ๆƒ…ๆณไธ‹ไฝฟๆŸไบ›ๅŠŸ่ƒฝๅฎŒๅ…จๅœๆญข้‹่กŒใ€‚ ๅฆ‚ๆžœๆ‚จๅœจไธ€ๅ€‹ๅคšๆœˆ้›ข็ทšๅพŒๅ•Ÿๅ‹• ASF๏ผŒๅปบ่ญฐๆ‚จ**ๅพž้ ญไพ†้Ž**ไปฅๅ•Ÿๅ‹• ASF๏ผŒๆˆ–่€…ๅ†ๆฌก้–ฑ่ฎ€ๆ‚จ้Œฏ้Ž็š„ๆ‰€ๆœ‰ๆ›ดๆ”น๏ผŒไธฆๆ‰‹ๅ‹•่ชฟๆ•ดๆ‚จ็š„ไฝฟ็”จๆ–นๅผไปฅ้ฉๆ‡‰็•ถๅ‰็š„ๆ›ดๆ”นใ€‚

ๅœจๅคงๅคšๆ•ธๆƒ…ๆณไธ‹๏ผŒ็„ก่ฆ–ๆฃ„็”จ่ญฆๅ‘Šไธฆไธๆœƒไฝฟ ASF ็š„ๅธธ่ฆๅŠŸ่ƒฝไธๅฏ็”จ๏ผŒๅƒ…ๆœƒ้€€ๅ›žๅˆฐ้ ่จญ่กŒ็‚บ๏ผˆ้€™ๅฏ่ƒฝ่ˆ‡ๆ‚จ็š„ๅ€‹ไบบๅๅฅฝ็›ธ็ฌฆๅˆ๏ผŒไนŸๅฏ่ƒฝไธ็ฌฆๅˆ๏ผ‰ใ€‚


็ฏ„ไพ‹

We moved pre-V3.1.2.2 --server command-line argument into IPC global configuration property.

็ฌฌ1้šŽๆฎต

Stage 1 happened in version V3.1.2.2 where we added appropriate warning to usage of --server. Now-obsolete --server argument was automatically mapped into IPC: true global config property, effectively acting exactly the same as old --server switch for time being. This allowed everybody to do appropriate switch before ASF stops accepting old argument.

็ฌฌ2้šŽๆฎต

Stage 2 happened in version V3.1.3.0, right after V3.1.2.9 stable with stage 1 explained above. Stage 2 caused ASF to stop recognizing the --server argument at all, treating it like every other invalid argument being passed, which no longer has any effect on the program. For people that still didn't change their usage of --server into IPC: true, it caused IPC to stop functioning altogether, as ASF no longer did appropriate mapping.

Clone this wiki locally