NEWS: EAPI 5 in 2.1.11.19
[portage.git] / NEWS
1 News (mainly features/major bug fixes)
2
3 portage-2.2
4 -------------
5
6 * Add link level dependency awareness to emerge --depclean and --prune actions
7   in order to protect against uninstallation of required libraries.
8 * Add support for generic package sets (also see RELEASE-NOTES)
9 * Add support for FEATURES=preserve-libs which preserves libraries when the
10   sonames change during upgrade or downgrade, and the @preserved-rebuild
11   package set which rebuilds consumers of preserved libraries.
12
13 portage-2.1.11.19
14 -------------
15 * Add support for EAPI 5. Refer to the PMS EAPI Cheat Sheet, portage's html
16   docs installed with USE=doc, or `man 5 ebuild` for more info about EAPI 5.
17
18 portage-2.1.11
19 -------------
20
21 * Add support for experimental EAPI "4-slot-abi". Refer to the corresponding
22   html documentation that is installed with USE=doc, and also to the emerge(1)
23   man page for information about the related --ignore-built-slot-operator-deps and
24   --rebuild-if-new-slot options.
25
26 portage-2.1.10
27 -------------
28
29 * Improve handling of repositories/overlays for cases in which the same ebuild
30   is provided by multiple repositories but with different masking status, and
31   support for repository constraints on atoms (atom::repo) in configuration
32   files.
33 * Add emerge --rebuild-if-* options that trigger rebuilds of reverse
34   dependencies when packages are rebuilt or updated. Related --rebuild-exclude
35   and --rebuild-ignore options can be used to avoid rebuilds for specific
36   packages.
37 * Add emerge --reinstall-atoms, --useoldpkg-atoms, and --usepkg-exclude options
38   which can be used to alter selection rules for specific packages.
39 * Add FEATURES=parallel-install and ebuild-locks, allowing for greater
40   parallelization when installing packages (by using finer-grained locks).
41
42 portage-2.1.9.27
43 -------------
44
45 * Add support for EAPI 4. Refer to the PMS EAPI Cheat Sheet, portage's html
46   docs installed with USE=doc, or `man 5 ebuild` for more info about EAPI 4.
47   Bug #273620 tracks EAPI 4 implementation in portage.
48
49 portage-2.1.9
50 -------------
51
52 * There is a new ipc (inter-process communication) USE flag which is enabled
53   by default. This allows portage to communicate with running ebuild processes,
54   for things like best_version, has_version, and die calls in nested processes.
55   This flag should remain enabled unless it is found to be incompatible with a
56   specific profile or environment. When enabled, it fixes bug #278895,
57   bug #315615, and makes subshell die support more robust (so that repoman's
58   ebuild.nesteddie check is irrelevant).
59
60 portage-2.1.8
61 -------------
62 * The top-level __init__.py for the portage python package has been split into
63   many smaller python modules, making the code easier to navigate and allowing
64   small parts of the portage api to be imported with less overhead.
65
66 portage-2.1.7.17
67 -------------
68 * Add support for EAPI 3. This adds support for installation prefix, including
69   new EPREFIX, ED, and EROOT variables which are used by econf and einstall
70   helpers. Also, EAPI 3 adds xz extension support to the unpack helper.
71
72 portage-2.1.7
73 -------------
74
75 * Add license visibility filtering (GLEP 23)
76 * Add --accept-properties option for emerge which allows you to use
77   --accept-properties=-interactive in order to temporarily exclude
78   interactive updates.
79 * Add support for Python 3.0. At least Python 2.6 is now required in order to
80   support the new syntax which is used by Python 3.0.
81
82 portage-2.1.6
83 -------------
84
85 * Add support for a new EAPI="2" value. For more information about new EAPI
86   features, refer to the "Ebuild" chapter of the html documentation that is
87   installed with portage.
88 * Add PORTAGE_IONICE_COMMAND setting for make.conf which is called to adjust
89   IO priority on portage and it's subprocesses.
90 * Add emerge --jobs and --load-average options which specify behavior
91   for building packages in parallel or for generating metadata in parallel
92   with emerge --regen.
93 * Add emerge --keep-going option to continue as much as possible after
94   an error. When an error occurs, dependencies are recalculated for
95   remaining packages and any with unsatisfied dependencies are
96   automatically dropped. The --skipfirst option automatically drops
97   packages in the same way, and also drops any masked packages.
98 * Add git and subversion support for repoman.
99 * It is now possible to use `emerge <file>` to reinstall the package that
100   installed a particular file. Package contents entries are indexed to
101   improve performance. A command such as `emerge /lib/modules` can serve
102   as a decent substitute for module-rebuild.
103 * Namespace sanitizing: move all portage related code into portage.* namespace,
104   rename portage_foo modules to portage.foo (but keep symlinks for compability)
105 * Add support for news items (GLEP 42)
106 * Add FEATURES=protect-owned which is identical to the collision-protect
107   feature except that files may be overwritten if they are not explicitly
108   listed in the contents of a currently installed package.
109
110 portage-2.1.5
111 -------------
112
113 * For extra careful dependency handling, emerge has a new --complete-graph
114   option that causes it to consider the deep dependencies of all packages from
115   the system and world sets. With this option enabled, emerge will bail out
116   if it determines that the given operation will break any dependencies of
117   the packages that have been added to the graph. Unlike the --deep option,
118   the --complete-graph option does not cause any more packages to be updated
119   than would have otherwise been updated with the option disabled.
120 * Blockers are now resolved automatically in many more cases
121   than before.  When it's safe, blocked packages are uninstalled
122   automatically so that users are no longer inconvenienced with the
123   task. Automatically uninstalled packages are displayed in the merge
124   list, marked "uninstall" and highlighted in red. With the --tree
125   option enabled, it's possible to see which package(s) caused other
126   ones to be automatically uninstalled.
127 * The dependency resolver now has a feedback mechanism that helps make atom
128   selections more consistent with previous selections that have been added to
129   the graph. This solves some common cases of bug #1343.
130
131 portage-2.1.4
132 -------------
133
134 * After the initial setup phase, the original ebuild and eclasses are no
135   longer needed because the same ebuild environment is reused for the
136   entire lifecycle of the package, including uninstallation.
137 * The emerge --search action supports searching of both installed and binary packages
138   The --usepkg and --usepkgonly options control which repositories are searched.
139
140 portage-2.1.3
141 -------------
142
143 * Allow per-module setting of PORTAGE_ELOG_CLASSES
144 * Add new elog module "echo" to simply display messages when emerge exits
145 * Add ** as new token for package.keywords to bypass the keyword visibility layer
146 * USE_EXPAND variables such as LINGUAS support a * wildcard that will enable
147   all of the corresponding flags that are listed in IUSE for a given package.
148   USE_EXPAND wildcards such as linguas_* are supported in USE and package.use.
149 * The merge process preserves the modification timestamp of files that it
150   installs. The unmerge process will not uninstall files that are claimed by
151   another package in the same slot.
152 * PDEPEND is now installed as soon as possible so that it behaves more like
153   RDEPEND.  This makes PDEPEND more useful for breaking the dependency cycles
154   that are sometimes triggered by RDEPEND and DEPEND.
155 * Enable "echo" and "save_summary" elog modules by default
156 * Fix -* handling in package.keywords to work as intended (reset the accepted 
157   keywords list), also see RELEASE-NOTES.
158 * Make elog functionality available to python code
159
160 portage-2.1.2
161 -------------
162
163 * Ebuilds support default USE flags via +flag in IUSE.
164 * New-style virtuals are now usable for packages that depend on themselves for
165   bootstrap.
166 * Profiles support multiple inheritance and package.use.
167 * CONFIG_PROTECT and CONFIG_PROTECT_MASK both support files (not just
168   directories).
169 * Collision protection handles symlinks properly.
170 * Dependencies can be satisfied by installed packages that do not have matching
171   ebuilds in the portage tree or overlay.
172 * Emerge automatically ignores blockers that are made irrelevant by an upgrade.
173 * Emerge supports "reverse blocker detection" which means that the blockers of
174   installed packages will always be respected.
175 * Emerge builds a complete dependency graph in order to ensure correct merge
176   order and detection of circular dependencies.
177 * The world and system sets allow automatic update of all installed slots.
178 * DEPEND atoms support SLOT dependencies of the form ${CATEGORY}/${PN}:${SLOT}.
179 * Development: Extend PYTHONPATH support to allow overriding the hardcoded 
180   /usr/lib/portage/pym for development/testing purposes
181 * New "finalize" hook for elog modules enabling modules to perform actions on 
182   shutdown (like dispatching collected messages).
183 * New elog modules mail_summary and save_summary that act like the mail/save
184   modules except that they merge messages from multiple packages in a single
185   file/mail.
186 * New QA loglevel and matching eqawarn function
187 * `ebuild foo test` now always runs src_test if available
188 * If DOC_SYMLINK_DIR is set portage installs symlinks to html documention there
189 * FEATURES="test" automatically implies USE="test".
190
191 portage-2.1.1
192 -------------
193
194 * Profiles support use.force, package.use.force, and package.use.mask files.
195
196 portage-2.1 (ongoing via pre releases)
197 ------------
198
199 * FEATURES="confcache" integration; global caching to speed up configure calls, 
200   requires dev-util/confcache
201 * elog framework and accompanying modules for logging ebuild warnings, errors
202   and general notices. Collects eerror/ewarn/elog/einfo messages.
203 * New elog function (should replace einfo in many cases)
204 * version syntax enhancements allowing multiple suffixes and a new 'cvs'
205   version prefix for denoting "live sources" ebuilds.
206 * config files as directories enabling more flexible settings management.
207 * Addition of an register_die_hook method that allows ebuild/eclasses to
208   register functions to be called for better debugging on errors.
209 * Addition of pre and post user hookable functions for each ebuild phase, accessible 
210   via portage bashrc.  Example would be pre_src_unpack .
211 * cache refactoring- runtime improvement from 35% -> 65%.
212 * Intelligently handle and display USE_EXPAND-based IUSE variables.
213 * FEATURES="parallel-fetch".  Download in parallel to compilation.
214 * Include a "changed or new" USE flag output when --verbose isn't specified.
215 * Support for splitting out debug information into separate files in
216   /usr/lib{,32,64}.
217 * exec subsystem refactoring (now with less bugs!)
218 * Added sha256 and rmd160 hashes for digests/manifests
219 * Make --emptytree only apply to ${ROOT} rather than always including /.
220 * Allow packages to be upgraded that are only depended on via a
221   "|| ( =cat/pkg-1* =cat/pkg-2* )" construct.
222 * Ebuild output is no longer cut off early when using PORT_LOGDIR.
223 * Distfiles indirection- $DISTFILES access goes through a tmp dir to fail
224   access to files not listed in SRC_URI.
225 * Emerge now uses --resume to restart itself after portage upgrade.
226 * Atomic file updates via the new atomic_ofstream class.
227 * Global updates and fixpackages performance optimizations.
228 * Tests show that file locking is now more reliable.
229 * A bash call stack is printed when an ebuild dies in ebuild.sh.
230 * New rsync option handling by using a generic PORTAGE_RSYNC_EXTRA_OPTS variable
231 * Manifest2 support that will allow digest-* files to be eliminated from the tree.