releasenotes.rst 3.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. Release notes
  2. =============
  3. Version 1.5
  4. -----------
  5. * New ``exclude`` option to cut unnecessary files out of directories and
  6. packages that are copied into the installer.
  7. * The ``installer.nsi`` script is now built using `Jinja <http://jinja.pocoo.org/>`_
  8. templates instead of a custom templating system. If you have specify a custom
  9. ``nsi_template`` file, you will need to update it to use Jinja syntax.
  10. * GUI applications (running under :program:`pythonw`) have stdout and stderr
  11. written to a log file in ``%APPDATA%``. This should catch all ``print``,
  12. warnings, uncaught errors, and avoid the program freezing if it tries to
  13. print.
  14. * Applications run in a console (under :program:`python`) now show the traceback
  15. for an uncaught error in the console as well as writing it to the log file.
  16. * Install :program:`pynsist` command on Windows.
  17. * :program:`pynsist` now takes a :option:`--no-makensis` option, which stops it
  18. before running :program:`makensis` for debugging.
  19. Version 1.0
  20. -----------
  21. * New ``extra_preamble`` option to specify a snippet of Python code to run
  22. before your main application.
  23. * Packages used in the specified entry points no longer need to be listed
  24. under the Include section; they are automatically included.
  25. * Write the crash log to a file in ``%APPDATA%``, not in the installation
  26. directory - on modern Windows, the application can't normally write to its
  27. install directory.
  28. * Added an example application using pygtk.
  29. * :doc:`installers` documentation added.
  30. * Install Python into ``Program Files\Common Files`` or ``Program Files (x86)\Common Files``,
  31. so that if both 32- and 64-bit Pythons of the same version are installed,
  32. neither replaces the other.
  33. * When using 64-bit Python, the application files now go in ``Program Files`` by
  34. default instead of ``Program Files (x86)``.
  35. * Fixed a bug in finding the NSIS install directory on 64-bit Windows.
  36. * Fixed a bug that prevented using multiprocessing in installed applications.
  37. * Fixed a bug where the ``py.exe`` launcher was not included if you built a
  38. Python 2 installer using Python 3.
  39. * Better error messages for some invalid input.
  40. Version 0.3
  41. -----------
  42. * Extra files can now be installed into locations other than the installation
  43. directory.
  44. * Shortcuts can have non-Python commands, e.g. to create a start menu shortcut
  45. to a help file.
  46. * The Python API has been cleaned up, and there is some :doc:`documentation
  47. <api/index>` for it.
  48. * Better support for modern versions of Windows:
  49. * Uninstall shortcuts correctly on Windows Vista and above.
  50. * Byte compile Python modules at installation, because the ``.pyc`` files
  51. can't be written when the application runs.
  52. * The Python installers are now downloaded over HTTPS instead of using GPG to
  53. validate them.
  54. * Shortcuts now launch the application with the working directory set to the
  55. user's home directory, not the application location.
  56. Version 0.2
  57. -----------
  58. * Python 2 support, thanks to `Johannes Baiter <https://github.com/jbaiter>`_.
  59. * Ability to define multiple shortcuts for one application.
  60. * Validate config files to produce more helpful errors, thanks to
  61. `Tom Wallroth <https://github.com/devsnd>`_.
  62. * Errors starting the application, such as missing libraries, are now written
  63. to a log file in the application directory, so you can work out what
  64. happened.