Skip to content

Upgrading typer 0.1 to 0.2

Safe0.1.1 → 0.2.1New2Other2

SafeUpgrade verdict

Only new features and fixes in this range.

  • Nothing in this range needs changes to your code. It adds features and fixes.
Nothing to change

No breaking, platform, security or deprecated items in this range.

Nothing in this upgrade needs a code or configuration change.

Generated by DepDelta from published Python source. Not mixed with prose notes.

  • removed: function get_installable_script(prog_name: str, complete_var: str, shell: str) -> str
  • changed: function get_completion_inspect_parameters() -> Tuple[inspect.Parameter, inspect.Parameter] → function get_completion_inspect_parameters() -> Tuple[ParamMeta, ParamMeta]
  • changed: function get_completion_script(prog_name: str, complete_var: str, shell: str) -> str → function get_completion_script(*, prog_name: str, complete_var: str, shell: str) -> str
  • added: function install_bash(*, prog_name: str, complete_var: str, shell: str) -> Path
  • added: function install_fish(*, prog_name: str, complete_var: str, shell: str) -> Path
  • added: function install_powershell(*, prog_name: str, complete_var: str, shell: str) -> Path
  • added: function install_zsh(*, prog_name: str, complete_var: str, shell: str) -> Path
  • changed: function get_click_param(param: inspect.Parameter) -> Tuple[Union[click.Argument, click.Option], Any] → function get_click_param(param: ParamMeta) -> Tuple[Union[click.Argument, click.Option], Any]
  • added: class ParamMeta
  • added: constructor ParamMeta(*, name: str, default: Any=…, annotation: Any=…) -> None
  • added: field ParamMeta.empty
  • added: function get_params_from_function(func: Callable) -> Dict[str, ParamMeta]