releasenotes.rst 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  1. Release notes
  2. =============
  3. Version 1.10
  4. ------------
  5. * New optional field ``publisher``, to provide a publisher name in the uninstall
  6. list.
  7. * The uninstall information in the registry now also includes ``DisplayVersion``.
  8. * The directory containing ``python.exe`` is now added to the ``%PATH%``
  9. environment variable when your application runs. This fixes a DLL loading
  10. issue for PyQt5 if you use bundled Python.
  11. * When installing a 64-bit application, the uninstall registry keys are now
  12. added to the 64-bit view of the registry.
  13. * Fixed an error when using wheels which install files into the same package,
  14. such as ``PyQt5`` and ``PyQtCharts``.
  15. Version 1.9
  16. -----------
  17. * When building an installer with Python 3.6 or above, :ref:`bundled Python
  18. <python_bundled>` is now the default. For Python up to 3.5, 'installer' remains
  19. the default format. You can override the default by specifying ``format`` in
  20. the :ref:`cfg_python` of the config file.
  21. * The C Runtime needed for bundled Python is now installed 'app-local', rather
  22. than downloading and installing Windows Update packages at install time. This
  23. is considerably simpler, but the app-local runtime will not be updated by
  24. Windows Update. A new ``include_msvcrt`` config option allows the developer to
  25. exclude the app-local runtime - their applications will then depend on the
  26. runtime being installed systemwide.
  27. Version 1.8
  28. -----------
  29. * New example applications using:
  30. - PyQt5 with QML
  31. - OpenCV and PyQt5
  32. - `Pywebview <https://github.com/r0x0r/pywebview>`__
  33. * The code to pick an appropriate wheel now considers wheels with Python version
  34. specific ABI tags like ``cp35m``, as well as the stable ABI tags like ``abi3``.
  35. * Fixed a bug with fetching a wheel when another version of the same package
  36. is already cached.
  37. * Fixed a bug in extracting files from certain wheels.
  38. * Installers using :ref:`bundled Python <python_bundled>` may need a Windows
  39. update package for the Microsoft C runtime. They now download this from the
  40. `RawGit <https://rawgit.com/>`__ CDN, rather than hitting GitHub directly.
  41. * If the Windows update package fails to install, an error message will be
  42. displayed.
  43. Version 1.7
  44. -----------
  45. * Support for downloading packages as wheels from PyPI, and new
  46. `PyQt5 <https://github.com/takluyver/pynsist/tree/master/examples/pyqt5>`__ and
  47. `Pyglet <https://github.com/takluyver/pynsist/tree/master/examples/pyglet>`__
  48. examples which use this feature.
  49. * Applications can include commands to run at the Windows command prompt. See
  50. :ref:`command_config`.
  51. Version 1.6
  52. -----------
  53. * Experimental support for creating installers that :ref:`bundle Python with the
  54. application <python_bundled>`.
  55. * Support for Python 3.5 installers.
  56. * The user agent is set when downloading Python builds, so downloads from
  57. Pynsist can be identified.
  58. * New example applications using PyGI, numpy and matplotlib.
  59. * Fixed a bug with different path separators in ``exclude`` patterns.
  60. Version 1.5
  61. -----------
  62. * New ``exclude`` option to cut unnecessary files out of directories and
  63. packages that are copied into the installer.
  64. * The ``installer.nsi`` script is now built using `Jinja <http://jinja.pocoo.org/>`_
  65. templates instead of a custom templating system. If you have specify a custom
  66. ``nsi_template`` file, you will need to update it to use Jinja syntax.
  67. * GUI applications (running under :program:`pythonw`) have stdout and stderr
  68. written to a log file in ``%APPDATA%``. This should catch all ``print``,
  69. warnings, uncaught errors, and avoid the program freezing if it tries to
  70. print.
  71. * Applications run in a console (under :program:`python`) now show the traceback
  72. for an uncaught error in the console as well as writing it to the log file.
  73. * Install :program:`pynsist` command on Windows.
  74. * Fixed an error message caused by unnecessarily rerunning the installer for the
  75. PEP 397 ``py`` launcher, bundled with Python 2 applications.
  76. * :program:`pynsist` now takes a :option:`--no-makensis` option, which stops it
  77. before running :program:`makensis` for debugging.
  78. Version 1.0
  79. -----------
  80. * New ``extra_preamble`` option to specify a snippet of Python code to run
  81. before your main application.
  82. * Packages used in the specified entry points no longer need to be listed
  83. under the Include section; they are automatically included.
  84. * Write the crash log to a file in ``%APPDATA%``, not in the installation
  85. directory - on modern Windows, the application can't normally write to its
  86. install directory.
  87. * Added an example application using pygtk.
  88. * :doc:`installers` documentation added.
  89. * Install Python into ``Program Files\Common Files`` or ``Program Files (x86)\Common Files``,
  90. so that if both 32- and 64-bit Pythons of the same version are installed,
  91. neither replaces the other.
  92. * When using 64-bit Python, the application files now go in ``Program Files`` by
  93. default instead of ``Program Files (x86)``.
  94. * Fixed a bug in finding the NSIS install directory on 64-bit Windows.
  95. * Fixed a bug that prevented using multiprocessing in installed applications.
  96. * Fixed a bug where the ``py.exe`` launcher was not included if you built a
  97. Python 2 installer using Python 3.
  98. * Better error messages for some invalid input.
  99. Version 0.3
  100. -----------
  101. * Extra files can now be installed into locations other than the installation
  102. directory.
  103. * Shortcuts can have non-Python commands, e.g. to create a start menu shortcut
  104. to a help file.
  105. * The Python API has been cleaned up, and there is some :doc:`documentation
  106. <api/index>` for it.
  107. * Better support for modern versions of Windows:
  108. * Uninstall shortcuts correctly on Windows Vista and above.
  109. * Byte compile Python modules at installation, because the ``.pyc`` files
  110. can't be written when the application runs.
  111. * The Python installers are now downloaded over HTTPS instead of using GPG to
  112. validate them.
  113. * Shortcuts now launch the application with the working directory set to the
  114. user's home directory, not the application location.
  115. Version 0.2
  116. -----------
  117. * Python 2 support, thanks to `Johannes Baiter <https://github.com/jbaiter>`_.
  118. * Ability to define multiple shortcuts for one application.
  119. * Validate config files to produce more helpful errors, thanks to
  120. `Tom Wallroth <https://github.com/devsnd>`_.
  121. * Errors starting the application, such as missing libraries, are now written
  122. to a log file in the application directory, so you can work out what
  123. happened.