releasenotes.rst 4.1 KB

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