Old usage is still accepted but causes a deprecation warning, saying
we will remove it in v0.21. Similar to #2300. I am planning to add
an option to do wasm compilation in a subsequent PR.

I also did some cleanup from #2300 and added tests for the deprecation 
warnings.
Change extract_dir argument of unpackArchive to be a keyword argument. Old usage is still accepted but causes a deprecation warning, saying
we will remove it in v0.21. Similar to #2300. I am planning to add
an option to do wasm compilation in a subsequent PR.

I also did some cleanup from #2300 and added tests for the deprecation 
warnings.
---
name: Code improvement
about: Suggest a code improvement, i.e. refactoring, deprecation, etc.
title: ""
labels:
assignees: ""
---

## Proposed refactoring or deprecation

<!-- A clear and concise description of the code improvement -->

### Motivation

<!-- Please outline the motivation for the proposal. If this is related to another GitHub issue, please link here too -->

### Pitch

<!-- A clear and concise description of what you want to happen. -->

### Additional context

<!-- Add any other context or screenshots here. -->

---
name: Code improvement
about: Suggest a code improvement, i.e. refactoring, deprecation, etc.
title: ""
labels:
assignees: ""
---

## Proposed refactoring or deprecation

<!-- A clear and concise description of the code improvement -->

### Motivation

<!-- Please outline the motivation for the proposal. If this is related to another GitHub issue, please link here too -->

### Pitch

<!-- A clear and concise description of what you want to happen. -->

### Additional context

<!-- Add any other context or screenshots here. -->
