1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
|
Changes
==================
0.8.1 (2025-05-28)
------------------
Bugfixes:
* Fix crash on Windows for Python >= 3.12, caused by
distutils module been removed from Python 3.12.
0.8 (2025-05-28)
----------------
Bugfixes:
* Fix unnecessary runtime dependency on setuptools.
High-level API:
* Explicitly require a first argument called "progname". This is to
avoid the common error not passing a progname by pointing users to it.
This is fully backward compatible
* Issue a warning if first argument looks like an option.
* Fix crash if gs.new_instance() fails.
Low-level API:
* Breaking change (only effecting the low-level API):
init_with_args() no longer catches e_Quit,
but raises an exception like for any other error except e_Info.
* Pass correct value to gslib if user_error is set.
Improved Documentation:
* Enhance documentation
* Add some doc-strings.
* Fix some linting issues.
Misc:
* Add testing with Python 3.10, 3.11, 3.12 and 3.13.
* Revise testing, packaging and CI/CD.
* Make tests independent of fonts, thus avoiding test failures.
* Enhance examples.
0.7 (2021-03-06)
----------------
* BREAKING: ``Ghostscript()`` no longer allows passing arbitrary
keyword arguments.
* The high-level interface now allows passing unicode strings as
arguments. Passing bytes as arguments is still possible, but now
deprecated.
* The high-level interface now requires ghostscript >= 9.0.8 (released
2013-08-14).
* Allow multiple Ghostscript instances. Actually using this requires
the library is compiled with -DGS_THREADSAFE.
* Ensure proper clean-up on error.
* High-level revision() now returns unicode strings instead of byte
strings.
* Add low-level interface for set_arg_encoding().
* Miscellaneous small fixes.
* Drop support for Python 2.7, 3.4 and 3.5.
Minimum required Python version is now 3.6.
0.6 (2018-01-16)
----------------
* Add support for Python 3.x (tested with Python 3.4).
Minimum required Python version is now 2.7.
* Add support for display callback and an example program
using it. Thanks to Lasse Fister.
* Add context-interface (for the ``with``-statement).
* ``GhostscriptError`` now has an attribute ``code`` holding
the numeric error-code.
* ``Ghostscript()`` now accepts keyword-arguments ``stdin``,
``stdout``, ``stderr`` for setting the respective stream. This was
already implementd in version 0.4.1, but not documented.
* Add unittest suite (using pytest).
* Several bug fixes and smaller changes.
* Switch version control to git and move project to gitlab. See
Readme-file for the new URL.
* Set up continuous integration tests.
0.5 (skipped)
-------------
* v0.5 was skipped to avoid version conflicts with fork
`python3-ghostscript`. All changes of that fork are integrated
into v0.6.
0.4.1 (2011-02-09)
------------------
* Fixed import module on Windows XP. Thanks to Akihiro Takizawa for
the patch.
0.4 (2011-01-29)
----------------
* Fixed typo in function call name ctypes.util.find_library
* (Unix) No longer try to load a specific version (version 8) of
libgs.so
* Added low-level interface for set_stdio() plus wrappers for
file handles
* (win32) Improved search for best Ghostscript installation:
Consider Aladdin and GNU Ghostscript, too; Check for existence of
DLL found in registry; take highest version available.
* Added win32 example-batch file for testing and other
improvements/fixes on examples an documentation.
0.3 (2010-08-12)
----------------
* Added support for win32: The DLL to load is searched in registry.
* On other platforms: Be more inteligent about finding Ghostscript
shared object file (fall back to ctypes.util.find_library() if
`libgs.8.so` can not be loaded
* Better error messages if lib/dll is not found.
* Removed relative imports, so older versions of Python can be used.
* Added nice project logo
0.2 (2010-08-06)
----------------
* Fixed several bugs, esp. for running strings by Ghostscript.
0.1 (2010-08-06)
----------------
* This is the first public release of the Python Ghostscript C-API
interface.
.. Emacs config:
Local Variables:
mode: rst
ispell-local-dictionary: "american"
End:
|