Skip to content

Deprecation ko KR

JustArchi edited this page Sep 23, 2018 · 24 revisions

폐기(Deprecation)

Starting with ASF V3.1.2.2 λΆ€ν„° 개발과 μ‚¬μš©μ΄ λ”μš± μΌκ΄€λ˜λ„λ‘ μΌκ΄€λœ 폐기(deprecation) 정책을 λ”°λ₯΄κ³  μžˆμŠ΅λ‹ˆλ‹€.


νκΈ°λž€?

Deprecation is the process of doing smaller or bigger breaking changes that render previously used options, arguments, functionalities or usage cases obsolete. Deprecation usually means that given thing was simply rewritten into another (similar) form, and you should ensure in timely manner that you'll make appropriate switch to it. In this case, it's simply moving given functionality to more appropriate place.

ASF changes rapidly and always strikes for becoming better. This sadly means that we might change or move some existing functionality into another segment of the program in order for it to benefit from new features, compatibility or stability. Thanks to that we don't need to stick with obsolete or simply painfully wrong development decisions that we made years ago. We're always trying to provide reasonable replacement that fits expected usage of previously-available functionality, which is why deprecation is mostly harmless and requires small fixes to previous usage.


폐기의 단계

ASFλŠ” 폐기λ₯Ό 2λ‹¨κ³„λ‘œ ν•˜μ—¬ λ²ˆμ—­μ„ λ”μš± 쉽고 λ¬Έμ œκ°€ 덜 생기도둝 ν•©λ‹ˆλ‹€.

1단계

1λ‹¨κ³„λŠ” 기쑴에 있던 κΈ°λŠ₯을 νκΈ°ν• λ•Œλ‘œ, λ‹€λ₯Έ 해결책이 μ¦‰μ‹œ ν•„μš”ν•©λ‹ˆλ‹€.(ν˜Ήμ€ κ·Έ κΈ°λŠ₯을 λ‹€μ‹œ λ„μž…ν•  κ³„νšμ΄ μ—†λ‹€λ©΄ 해결책은 ν•„μš”μ—†μŠ΅λ‹ˆλ‹€.)

이 λ‹¨κ³„μ—μ„œ, 폐기된 κΈ°λŠ₯이 μ‚¬μš©λ˜κ³  μžˆλ‹€λ©΄ ASFλŠ” μ μ ˆν•œ κ²½κ³ λ₯Ό ν‘œμ‹œν•©λ‹ˆλ‹€. κ°€λŠ₯ν•œν•œ ASFλŠ” μ˜ˆμ „μ˜ ν–‰μœ„λ₯Ό 흉내내고 ν˜Έν™˜μ„±μ„ 가지렀고 ν•©λ‹ˆλ‹€. ASFλŠ” 적어도 λ‹€μŒ μ•ˆμ •λ²„μ „κΉŒμ§€λŠ” κ·Έ κΈ°λŠ₯에 λŒ€ν•΄ 1단계λ₯Ό μœ μ§€ν•  κ²ƒμž…λ‹ˆλ‹€. 이 λ•Œκ°€ ν˜Έν™˜μ„±μ„ 깨지 μ•Šκ³  λͺ¨λ“  도ꡬ와 νŒ¨ν„΄μ„ μƒˆ ν–‰μœ„μ— 맞게 μ μ ˆν•˜κ²Œ μ „ν™˜ν•  수 μžˆλŠ” μˆœκ°„μž…λ‹ˆλ‹€. 폐기 κ²½κ³ κ°€ μ•ˆλ³΄μΈλ‹€λ©΄ λͺ¨λ“  μ μ ˆν•œ 쑰치λ₯Ό μ·¨ν•œ κ²ƒμž…λ‹ˆλ‹€.

2단계

2λ‹¨κ³„λŠ” μœ„μ—μ„œ μ„€λͺ…ν•œ 1단계가 μΌμ–΄λ‚œ ν›„ μ•ˆμ •ν™” 버전이 λ°°ν¬λ˜λŠ” λ•Œμž…λ‹ˆλ‹€. This stage introduces complete removal of deprecated feature existence, which means that ASF will not even acknowledge that you're attempting to use a deprecated feature, let alone respect it, since it simply doesn't exist in the current code. ASF will no longer print any warning, since it no longer recognizes what you're attempting to do.


μš”μ•½

You have more or less a full month in order to make appropriate switch, which should be more than enough even if you're a casual ASF user. After that period, ASF no longer guarantees that old settings will have any effect (stage 2), effectively making certain features to stop functioning altogether without you noticing. If you're launching ASF after more than a month of inactivity, it's recommended for you to start from scratch again, or read all the changelogs that you've missed and manually adapt your usage to current one.

In most cases, disregarding deprecation warning will not render general ASF functionality unusable, but rather falling back to default behaviour (which might or might not match your personal preferences).


μ˜ˆμ‹œ

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