releasenotes.rst 4.2 KB

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