releasenotes.rst 3.8 KB

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