Skip to content

2.0.0

Compare
Choose a tag to compare
@gchtr gchtr released this 09 Nov 08:42
· 111 commits to 2.x since this release
ee467c6

Timber 2.0 is a big update. There are a lot of breaking changes. You need to thoroughly test your websites in your local development environment before update your live websites.

You can install Timber 2.0 by following the Installation Guide. When installing Timber through Composer, you need to require the 2.0.0 version:

composer require timber/timber:^2.0

Documentation

In case you find errors, please open an issue. In case you’re stuck or have questions, create a discussion.

What’s new in Timber 2.0

For information on what’s new in Timber 2.0, follow the Upgrade Guide.

Dropping plugin support

Timber 2.0 is not available as a WordPress plugin anymore, but will only be available as a Composer package. If you’re still using the plugin version of Timber 1.0, you might want to switch to the Composer version first. You can find more information about this in the following links:

The overall goals of Timber 2.0 include:

  • Making Timber’s functions and methods more consistent.
  • Making Timber easier to handle and extend.
  • Refactoring how Timber Core works under the hood to improve compatibility with WordPress Core and be ready for future challenges.
  • Making Timber more compatible with other plugins.

High-level changes include:

What’s changed since 2.0.0-rc.1

Here’s what’s changed since the last 2.0.0-rc.1 release. (Full Changelog: 2.0.0-rc.1...2.0.0)

Changes

  • 2.x Revert final constructors by @gchtr in #2827
  • Renamed the master branch to 1.x and made 2.x the default branch.

Bugfixes

Documentation

  • Add documentation and plugin notice about the end of the plugin version by @Levdbas in #2800
  • Add note about installing the release candidate by @gchtr in #2796
  • Add drop support notice to issue template by @nlemoine in #2810
  • Add note about PostsIterator and removal of timber/class/posts_iterator filter by @gchtr in #2835
  • Update v2 caching docs by @Levdbas in #2797
  • Fix Attachment size doc block by @nlemoine in #2824
  • Explained theme path, link and URI helpers in Cheatsheet by @Levdbas in #2787
  • Updated plugin support part by @Levdbas in #2805
  • Changing functions section references $filters instead of $functions by @niclm in #2799

Become a sponsor

Do you love using Timber for your projects? Consider supporting us by becoming a sponsor. Your sponsorship helps us maintain & improve Timber for everyone! 💚🌲 Join the Timber family today.