releasenotes.rst 5.7 KB

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