@@ -7,44 +7,41 @@ virtual environments and otherwise managing your development workflow,
7
7
making it easier to work on more than one project at a time without
8
8
introducing conflicts in their dependencies.
9
9
10
- What's New in 2.0
10
+ What's New in 2.1
11
11
=================
12
12
13
- This new version uses a significantly rewritten version of the
14
- hook/callback subsystem to make it easier to share extensions. For
15
- example, released at the same time is virtualenvwrapper-emacs-desktop _,
16
- a plugin to switch emacs project files when you switch virtualenvs.
17
-
18
- Existing user scripts should continue to work as-written. Any failures
19
- are probably a bug, so please report them on the bitbucket
20
- tracker. Documentation for the new plugin system is available in the
21
- virtualenvwrapper docs _.
22
-
23
- I also took this opportunity to change the name of the shell script
24
- containing most of the virtualenvwrapper functionality from
25
- virtualenvwrapper_bashrc to virtualenvwrapper.sh. This reflects the
26
- fact that several shells other than bash are supported (bash, sh, ksh,
27
- and zsh are all reported to work). You'll want to update your shell
28
- startup file after upgrading to 2.0.
29
-
30
- The work to create the plugin system was triggered by a couple of
31
- recent feature requests for environment templates and for a new
32
- command to create a sub-shell instead of simply changing the settings
33
- of the current shell. The new, more powerful, plugin capabilities will
34
- make it easier to develop these and similar features.
35
-
36
- I'm looking forward to seeing what the community comes up with. I
37
- especially want someone to write a plugin to start a copy of a
38
- development server for a Django project if one is found in a
39
- virtualenv. You'll get bonus points if it opens the home page of the
40
- server in a web browser.
13
+ The primary purpose of this release is a set of enhancements to
14
+ support virtualenvwrapper.project _, a new extension to manage project
15
+ work directories with templates. 2.1 also includes several smaller
16
+ changes and bug fixes.
17
+
18
+ - Add support for ksh. Thanks to Doug Latornell for doing the
19
+ research on what needed to be changed.
20
+ - Test import of virtualenvwrapper.hook_loader on startup and report
21
+ the error in a way that should help the user figure out how to fix
22
+ it (issue #33).
23
+ - Update mkvirtualenv documentation to include the
24
+ fact that a new environment is activated immediately after it is
25
+ created (issue #30).
26
+ - Added hooks around cpvirtualenv.
27
+ - Made deactivation more robust, especially under ksh.
28
+ - Use Python's ``tempfile `` module for creating temporary filenames
29
+ safely and portably.
30
+ - Fix a problem with ``virtualenvwrapper_show_workon_options `` that
31
+ caused it to show ``* `` as the name of a virtualenv when no
32
+ environments had yet been created.
33
+ - Change the hook loader so it can be told to run only a set of
34
+ named hooks.
35
+ - Add support for listing the available hooks, to be used in help
36
+ output of commands like virtualenvwrapper.project's mkproject.
37
+ - Fix mkvirtualenv -h option behavior.
38
+ - Change logging so the $WORKON_HOME/hook.log file rotates after
39
+ 10KiB.
41
40
42
41
43
42
44
43
.. _virtualenv : http://pypi.python.org/pypi/virtualenv
45
44
46
45
.. _virtualenvwrapper : http://www.doughellmann.com/projects/virtualenvwrapper/
47
46
48
- .. _virtualenvwrapper-emacs-desktop : http://www.doughellmann.com/projects/virtualenvwrapper-emacs-desktop/
49
-
50
- .. _docs : http://www.doughellmann.com/docs/virtualenvwrapper/
47
+ .. _virtualenvwrapper.project : http://www.doughellmann.com/projects/virtualenvwrapper.project/
0 commit comments