releasenotes.rst 3.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  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. * Fixed an error message caused by unnecessarily rerunning the installer for the
  18. PEP 397 ``py`` launcher, bundled with Python 2 applications.
  19. * :program:`pynsist` now takes a :option:`--no-makensis` option, which stops it
  20. before running :program:`makensis` for debugging.
  21. Version 1.0
  22. -----------
  23. * New ``extra_preamble`` option to specify a snippet of Python code to run
  24. before your main application.
  25. * Packages used in the specified entry points no longer need to be listed
  26. under the Include section; they are automatically included.
  27. * Write the crash log to a file in ``%APPDATA%``, not in the installation
  28. directory - on modern Windows, the application can't normally write to its
  29. install directory.
  30. * Added an example application using pygtk.
  31. * :doc:`installers` documentation added.
  32. * Install Python into ``Program Files\Common Files`` or ``Program Files (x86)\Common Files``,
  33. so that if both 32- and 64-bit Pythons of the same version are installed,
  34. neither replaces the other.
  35. * When using 64-bit Python, the application files now go in ``Program Files`` by
  36. default instead of ``Program Files (x86)``.
  37. * Fixed a bug in finding the NSIS install directory on 64-bit Windows.
  38. * Fixed a bug that prevented using multiprocessing in installed applications.
  39. * Fixed a bug where the ``py.exe`` launcher was not included if you built a
  40. Python 2 installer using Python 3.
  41. * Better error messages for some invalid input.
  42. Version 0.3
  43. -----------
  44. * Extra files can now be installed into locations other than the installation
  45. directory.
  46. * Shortcuts can have non-Python commands, e.g. to create a start menu shortcut
  47. to a help file.
  48. * The Python API has been cleaned up, and there is some :doc:`documentation
  49. <api/index>` for it.
  50. * Better support for modern versions of Windows:
  51. * Uninstall shortcuts correctly on Windows Vista and above.
  52. * Byte compile Python modules at installation, because the ``.pyc`` files
  53. can't be written when the application runs.
  54. * The Python installers are now downloaded over HTTPS instead of using GPG to
  55. validate them.
  56. * Shortcuts now launch the application with the working directory set to the
  57. user's home directory, not the application location.
  58. Version 0.2
  59. -----------
  60. * Python 2 support, thanks to `Johannes Baiter <https://github.com/jbaiter>`_.
  61. * Ability to define multiple shortcuts for one application.
  62. * Validate config files to produce more helpful errors, thanks to
  63. `Tom Wallroth <https://github.com/devsnd>`_.
  64. * Errors starting the application, such as missing libraries, are now written
  65. to a log file in the application directory, so you can work out what
  66. happened.