|
| 1 | +.. title: Nikola v7.8.15 and v8.0.0b1 are out! |
| 2 | +.. slug: nikola-v7815-and-v800b1-are-out |
| 3 | +.. date: 2018-05-05 19:15:31 UTC |
| 4 | +.. tags: nikola, planet, python, programming, release |
| 5 | +.. category: |
| 6 | +.. link: |
| 7 | +.. description: |
| 8 | +.. type: text |
| 9 | +.. author: Chris Warrick |
| 10 | + |
| 11 | +On behalf of the Nikola team, I am pleased to announce the immediate |
| 12 | +availability of Nikola v7.8.15 and v8.0.0b1. |
| 13 | + |
| 14 | +Nikola v7.8.15 is the last v7 maintenance release with a few more bug fixes. |
| 15 | + |
| 16 | +Nikola v8.0.0b1 (Beta 1) is the first test release of the v8 series. The v8 series adds a ton of |
| 17 | +new features and fixes bugs, while also breaking backwards compatibility. |
| 18 | + |
| 19 | +What is Nikola? |
| 20 | +=============== |
| 21 | + |
| 22 | +Nikola is a static site and blog generator, written in Python. |
| 23 | +It can use Mako and Jinja2 templates, and input in many popular markup |
| 24 | +formats, such as reStructuredText and Markdown — and can even turn |
| 25 | +Jupyter (IPython) Notebooks into blog posts! It also supports image |
| 26 | +galleries, and is multilingual. Nikola is flexible, and page builds |
| 27 | +are extremely fast, courtesy of doit (which is rebuilding only what |
| 28 | +has been changed). |
| 29 | + |
| 30 | +Find out more at the website: https://getnikola.com/ |
| 31 | + |
| 32 | +Downloads |
| 33 | +========= |
| 34 | + |
| 35 | +Install using ``pip install Nikola==7.8.15`` or ``pip install Nikola==8.0.0.beta1``. |
| 36 | + |
| 37 | +Before upgrading to Nikola v8, `make sure to read the “Upgrading” document`__. |
| 38 | + |
| 39 | +__ https://getnikola.com/blog/upgrading-to-nikola-v8.html |
| 40 | + |
| 41 | +Changes in v7.8.15 |
| 42 | +================== |
| 43 | + |
| 44 | +* Fix behavior for posts not available in default language |
| 45 | + (Issues #2956 and #3073) |
| 46 | +* Fix behavior of RSS_PATH to do what the documentation |
| 47 | + says it does (Issue #3024) |
| 48 | +* Use documented dateutil API for time zone list (Issue #3006) |
| 49 | + |
| 50 | +Changes in v8.0.0b1 |
| 51 | +=================== |
| 52 | + |
| 53 | +Important compatibility changes |
| 54 | +------------------------------- |
| 55 | + |
| 56 | +* Rename ``crumbs.tmpl`` to ``ui_helper.tmpl`` and the breadcrumbs |
| 57 | + ``bar`` function to ``breadcrumbs`` (your templates may need |
| 58 | + changing as well) |
| 59 | +* Rename ``post.is_mathjax`` to ``post.has_math``. Themes using |
| 60 | + ``post.is_mathjax`` must be updated; it is recommended that they are |
| 61 | + changed to use ``math_helper.tmpl``. |
| 62 | +* Reading reST docinfo metadata, including first heading as title, |
| 63 | + requires ``USE_REST_DOCINFO_METADATA`` now (Issue #2987) |
| 64 | +* RSS feeds might have changed their places due to ``RSS_PATH`` |
| 65 | + behavior changes (you may need to change ``RSS_PATH``, |
| 66 | + ``RSS_FILENAME_BASE``) |
| 67 | +* Atom feeds for archives and Atom pagination are no longer supported |
| 68 | + (Issue #3016) |
| 69 | +* Sections are replaced by categories (Issue #2833) |
| 70 | + |
| 71 | +Features |
| 72 | +-------- |
| 73 | + |
| 74 | +* Support hackerthemes.com themes and renamed bootswatch_theme command subtheme (Issue #3049) |
| 75 | +* Add ``DISABLE_MAIN_ATOM_FEED`` setting (Issue #3016, Issue #3039) |
| 76 | +* Add ``ATOM_FILENAME_BASE`` setting (defaults to ``index`` for |
| 77 | + existing sites, but ``feed`` for new sites) (Issue #3016) |
| 78 | +* Add ``CATEGORY_DESTPATH_AS_DEFAULT``, ``CATEGORY_DESTPATH_TRIM_PREFIX``, |
| 79 | + ``CATEGORY_DESTPATH_FIRST_DIRECTORY_ONLY`` settings, as part of |
| 80 | + replacing sections with categories (Issue #2833) |
| 81 | +* Tags ``draft``, ``private`` and ``mathjax`` are no longer treated |
| 82 | + special if ``USE_TAG_METADATA`` is set to ``False`` (default for |
| 83 | + new sites) (Issue #2761) |
| 84 | +* Replace ``draft`` and ``private`` tags with a ``status`` meta field |
| 85 | + (supports ``published``, ``featured``, ``draft``, ``private``) |
| 86 | + and ``mathjax`` with ``.. has_math: yes`` (Issue #2761) |
| 87 | +* Rename ``TAG_PAGES_TITLES`` → ``TAG_TITLES``, |
| 88 | + ``TAG_PAGES_DESCRIPTIONS`` → ``TAG_DESCRIPTIONS``. |
| 89 | +* Rename ``CATEGORY_PAGES_TITLES`` → ``CATEGORY_TITLES``, |
| 90 | + ``CATEGORY_PAGES_DESCRIPTIONS`` → ``CATEGORY_DESCRIPTIONS``. |
| 91 | +* Produce a better error message when a template referenced in another |
| 92 | + template is missing (Issue #3055) |
| 93 | +* Support captioned images and image ordering in galleries, as well as |
| 94 | + arbitrary metadata through a new ``metadata.yml`` file (Issue #3017, |
| 95 | + Issue #3050, Issue #2837) |
| 96 | +* New ``ATOM_PATH`` setting (Issue #2971) |
| 97 | +* Make ``crumbs`` available to all pages |
| 98 | +* Allowing to customize RSS and Atom feed extensions with |
| 99 | + ``RSS_EXTENSION``, ``ATOM_EXTENSION`` settings (Issue #3041) |
| 100 | +* Allowing to customize filename base appended to RSS_PATH |
| 101 | + with ``RSS_FILENAME_BASE`` setting (Issue #3041) |
| 102 | +* Use basic ipynb template by default for slightly better appearance |
| 103 | + and behavior |
| 104 | +* Fixing behavior of RSS_PATH to do what the documentation |
| 105 | + says it does (Issue #3024) |
| 106 | +* Add support for fragments in path handlers (Issue #3032) |
| 107 | +* New ``METADATA_VALUE_MAPPING`` setting to allow for flexible global |
| 108 | + modification of metadata (Issue #3025) |
| 109 | +* New ``smartjoin`` template function/filter that joins lists and |
| 110 | + leaves strings as-is (Issue #3025) |
| 111 | +* Explain index.html conflicts better (Issue #3022) |
| 112 | +* Recognize both TEASER_END and (new) END_TEASER (Issue #3010) |
| 113 | + (warning: if you perform manual splits, the regex change means new |
| 114 | + indexes must be used) |
| 115 | +* New MARKDOWN_EXTENSION_CONFIGS setting (Issue #2970) |
| 116 | +* Replace ``flowr.js`` with ``justified-layout.js`` by Flickr |
| 117 | + (does not require jQuery!) |
| 118 | +* ``bootblog4`` is the new default theme (Issue #2964) |
| 119 | +* New ``bootstrap4`` and ``bootblog4`` themes (Issue #2964) |
| 120 | +* New Thai translation by Narumol Hankrotha and Jean Jordaan |
| 121 | +* Support for Commento comment system (Issue #2773) |
| 122 | +* New PRESERVE_ICC_PROFILES option to control whether ICC profiles are |
| 123 | + preserved when copying images. |
| 124 | +* Use baguetteBox in Bootstrap theme (part of Issue #2777) |
| 125 | +* New default-config command to generate a clean configuration. |
| 126 | +* New ``thumbnail`` shortcode similar to the reStructuredText |
| 127 | + ``thumbnail`` directive (via Issue #2809) |
| 128 | +* Rewrite ``nikola auto`` with asyncio and aiohttp (Issue #2850) |
| 129 | +* New ``listings`` shortcode similar to the reStructuredText listings |
| 130 | + directive (Issue #2868) |
| 131 | +* Switch to reStructuredText’s new HTML 5 renderer (Issue #2874) |
| 132 | +* Deprecate ``html4css1.css`` in favor of ``rst_base.css`` (Issue |
| 133 | + #2874) |
| 134 | +* Add support for ``MetadataExtractor`` plugins that allow custom, |
| 135 | + extensible metadata extraction from posts (Issue #2830) |
| 136 | +* Support YAML and TOML metadata in 2-file posts (via Issue #2830) |
| 137 | +* Renamed ``UNSLUGIFY_TITLES`` → ``FILE_METADATA_UNSLUGIFY_TITLES`` |
| 138 | + (Issue #2840) |
| 139 | +* Add ``NIKOLA_SHOW_TRACEBACKS`` environment variable that shows |
| 140 | + full tracebacks instead of one-line summaries |
| 141 | +* Use ``PRETTY_URLS`` by default on all sites (Issue #1838) |
| 142 | +* Feed link generation is completely refactored (Issue #2844) |
| 143 | +* Let path handlers return absolute URLs (Issue #2876) |
| 144 | +* Add ``BLOG_EMAIL`` to global context to make it available for |
| 145 | + templates (Issue #2968) |
| 146 | + |
| 147 | +Bugfixes |
| 148 | +-------- |
| 149 | + |
| 150 | +* Fixes behavior for posts not available in default language |
| 151 | + (Issues #2956 and #3073) |
| 152 | +* Always follow ``FEED_LENGTH`` for Atom feeds |
| 153 | +* Apply filters to all Atom feeds |
| 154 | +* Read file metadata if compiler metadata exists and prefer it over |
| 155 | + compiler metadata (Issue #3008) |
| 156 | +* Rename ``DISABLE_INDEXES_PLUGIN_INDEX_AND_ATOM_FEED`` to ``DISABLE_INDEXES`` |
| 157 | + and ``DISABLE_INDEXES_PLUGIN_RSS_FEED`` to ``DISABLE_MAIN_RSS_FEED`` (Issue #3039) |
| 158 | +* Make chart shortcode its own plugin and make the reST directive |
| 159 | + depend on it. |
| 160 | +* Put post_list shortcode in its own plugin and make the reST |
| 161 | + directive depend on it. |
| 162 | +* Don’t silence syntax errors and other exceptions that occur while |
| 163 | + reading metadata |
| 164 | +* Use documented dateutil API for time zone list (Issue #3006) |
| 165 | +* Handle trailing slash redirects with query strings correctly in |
| 166 | + ``nikola serve`` (Issue #3000) |
| 167 | +* Fix w3c validation errors for itemscope entries in default themes |
| 168 | +* Hide “Incomplete language” message for overrides of complete |
| 169 | + languages |
| 170 | +* Handle '/' and other absolute paths better in POSTS / PAGES / TRANSLATIONS |
| 171 | + (Issue #2982) |
| 172 | +* Fix loading non-default languages |
| 173 | +* Support KaTeX for reST display math (Issue #2888) |
| 174 | +* Use npm for asset management instead of bower, which was deprecated |
| 175 | + (Issue #2790) |
| 176 | +* Properly handle ``SHOW_INDEX_PAGE_NAVIGATION`` with Jinja templates |
| 177 | + (Issue #2960) |
| 178 | +* Prevent crashes due to Windows-specific code in ``auto`` running on |
| 179 | + all platforms (Issue #2940) |
| 180 | +* Don’t run hyphenate on ``<pre>`` blocks (Issue #2939) |
| 181 | +* Make errors in reST display in logs again |
| 182 | +* Unquote paths given to ``link://`` magic URLs (Issue #2934) |
| 183 | +* Specify UTF-8 input encoding for Mako as default (Issue #2930) |
| 184 | +* Don't trigger rebuilds in auto mode for files it's safe to ignore |
| 185 | + (Issue #2906) |
| 186 | +* Fix padding for Jupyter code blocks (Issue #2927) |
| 187 | +* Apply ``SCHEDULE_ALL`` to posts only (Issue #2921) |
| 188 | +* Restore version number to Bootswatch URLs (Issue #2916) |
| 189 | +* Do not strip trailing slash in ``slug`` magic links |
| 190 | +* Ignore empty tags in HTML metadata reader (Issue #2890) |
| 191 | +* Do not remove doctype if ``add_header_permalinks`` or |
| 192 | + ``deduplicate_ids`` are used |
| 193 | +* Handle empty slug metadata (Issue #2887) |
| 194 | +* Fix crash when compiling empty ``.html`` posts (Issue #2851) |
| 195 | +* Make failures to get source commit hash non-fatal in |
| 196 | + ``github_deploy`` (Issue #2847) |
| 197 | +* Less cryptic error when guessing format from extension in ``new_post`` |
| 198 | + fails |
| 199 | +* Use Jupyter name more consistently in docs |
| 200 | +* Support CODE_COLOR_SCHEME in Jupyter notebooks (Issue #2093) |
| 201 | +* Language was not passed to title and link generation for page indexes |
| 202 | +* Addressed issue with snaps not allowing certain functions to work properly. |
| 203 | + |
| 204 | +Removed conf.py settings |
| 205 | +------------------------ |
| 206 | + |
| 207 | +The following settings have been removed. Nikola will now always |
| 208 | +behave as if the value was what is displayed afer the setting name. |
| 209 | + |
| 210 | +* ``FEED_PREVIEWIMAGE = True`` |
| 211 | +* ``SITEMAP_INCLUDE_FILELESS_DIRS = True`` |
| 212 | +* ``USE_OPEN_GRAPH = True`` |
| 213 | +* ``USE_BASE_TAG = False`` |
| 214 | + |
| 215 | +Removed features |
| 216 | +---------------- |
| 217 | + |
| 218 | +* Removed Colorbox, baguetteBox is used instead (Issue #2777) |
| 219 | +* Removed ``googleplus`` comments (no longer supported) (Issue #635) |
| 220 | +* Removed the slides directive for docutils, it will now be a separate plugin. |
| 221 | +* Dropped Python 2 and Python 3.3 support (oldest supported version is 3.4) |
| 222 | +* Removed ``nikola install_theme`` — use ``nikola theme`` instead |
| 223 | +* Droppped insecure post “encryption” feature |
| 224 | +* Stopped supporting all deprecated config options |
| 225 | +* Dropped annotations support (annotateit.org closed down in March 2017) |
| 226 | +* Removed taxonomy option ``also_create_classifications_from_other_languages`` |
| 227 | + (Issue #2785) and ``generate_atom_feeds_for_post_lists`` (Issue |
| 228 | + #3016) |
| 229 | +* Removed old 7-line metadata format (Issue #2839) |
| 230 | +* Atom feeds are now limited to one page (Issue #3016) |
| 231 | +* Removed sections (replaced by improved categories) (Issue #2833) |
0 commit comments