releasenotes.rst 5.0 KB

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