Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Releases: ipetkov/conch-runtime

v0.1.5

22 Sep 17:30
v0.1.5
bbec4c3
Compare
Choose a tag to compare

0.1.5 - 2018-09-22

Changed

  • The Pipeline future now avoids reallocating memory during each poll, and
    instead reuses a scratch buffer which is allocated once for the lifetime of the
    future.

Fixed

  • Tests now avoid the "ambiguous macro name" error, and can build on 1.30

v0.1.4

27 Jan 23:29
v0.1.4
4f93bbf
Compare
Choose a tag to compare

0.1.4 - 2018-01-27

Changed

  • Removed usage of nightly features on Windows. Windows builds now work on stable!

v0.1.3

26 Jan 04:22
v0.1.3
51055a2
Compare
Choose a tag to compare

0.1.3 - 2018-01-25

Fixed

  • Fixed nightly windows builds by updating the unstable feature unique to ptr_internals

v0.1.2

04 Jan 02:47
v0.1.2
fc30139
Compare
Choose a tag to compare

0.1.2 - 2018-01-03

Added

  • Added a EvalRedirectOrVarAssig2 implementation which behaves similar to its predecessor,
    except it applies variables directly into the environment and provide a VarRestorer when finished
  • Added eval_redirects_or_var_assignments_with_restorers which allows evaluating any
    RedirectOrVarAssig with a specified RedirectEnvRestorer and VarEnvRestorer instances
  • Added VarEnvRestorer2 trait as a correction to the VarEnvRestorer interface in a
    backwards compatible manner.
  • Added ShiftArgumentsEnvironment as an interface for shifting positional arguments.
  • Added a spawn::builtin module for hosting shell-builtin command implementations
  • Added a builtin implementations for the following shell commands:
  • shift
  • :
  • true
  • false
  • cd
  • pwd
  • echo
  • Added a NormalizedPath wrapper for working with logically or physically normalized paths
  • Added builder-like methods to EnvConfig to facilitate replacing the type of any environment
    implementation without having to specify all other values again
  • Added FileDescExt::into_evented2 which gracefully handles regular files (which cannot be
    registered with tokio)
  • Added a spawn::function_body method for spawning a function without having to look it up
    from the environment

Changed

  • Reduced required bounds for implementing VarEnvRestorer to just E: VariableEnvironment
  • Spawning a simple command now (more) correctly evaluates variable assignments where one
    assignment depends on an earlier one (e.g. var1=foo var2=${bar:-$var1} env)
  • Removed aggressive redirect restorer pre-allocations when evaluating redirects: most shell
    scripts will not apply redirects to the majority of commands, nor will they have obscene
    amounts of redirects when they do occur, so we can avoid allocating memory until we really need it.

Deprecated

  • Deprecated eval_redirects_or_var_assignments, eval_redirects_or_cmd_words_with_restorer
    and EvalRedirectOrVarAssig: the existing implementation does not handle referencing earlier
    variable assignments (e.g. var1=foo var2=${bar:-$var1} env) but cannot be ammended without
    introducing breaking changes
  • Deprecated FileDescExt::into_evented since it does not handle regular files gracefully

Fixed

  • EventedAsyncIoEnv gracefully handles regular files by not registering them with tokio
    (since epoll/kqueue do not support registering regular files)
  • Fixed the behavior of an unset $PATH variable to behave like other shells (i.e. raises command
    not found errors) instead of using the PATH env variable of the current process

v0.1.1

22 Oct 22:40
v0.1.1
896baab
Compare
Choose a tag to compare

0.1.1 - 2017-09-13

Added

  • Added RedirectEnvRestorer trait to abstract over RedirectRestorer and other implementations
  • Added spawn_with_local_redirections_and_restorer to allow specifying a specific RedirectEnvRestorer implementation
  • Added VarEnvRestorer trait to abstract over VarRestorer and other implementations

Changed

  • eval_redirects_or_cmd_words_with_restorer is now generic over a RedirectEnvRestorer
  • EvalRedirectOrCmdWordError is also generic over any RedirectEnvRestorer, but defaults to RedirectRestorer for backward compatibility
  • eval_redirects_or_var_assignments_with_restorer is now generic over a RedirectEnvRestorer
  • EvalRedirectOrVarAssig is also generic over any RedirectEnvRestorer, but defaults to RedirectRestorer for backward compatibility
  • LocalRedirections is also generic over any RedirectEnvRestorer, but defaults to RedirectRestorer for backward compatibility

Deprecated

  • Deprecated most of the direct methods on RedirectRestorer in favor of the RedirectEnvRestorer trait
  • Deprecated most of the direct methods on VarRestorer in favor of the VarEnvRestorer trait

v0.1.0

22 Oct 22:41
v0.1.0
3e6afc5
Compare
Choose a tag to compare

First release!