release

You are currently browsing articles tagged release.

2.6 Release

Tarski 2.6 brings support for new WordPress features, improves the API, and makes the theme far more amenable to customisation via child themes. A detailed list of changes is available in the changelog. Please note that WordPress 2.9 is required for this release.

Download Tarski 2.6

You can also get this version as a Git tag.

We strongly recommend following the upgrade guide. Always back up your files and database before running a WordPress or Tarski upgrade. Please ensure that you upgrade WordPress before installing the new version of Tarski.

Better child themes

Child themes can now support their own custom headers and stylesheets. Simply create your child theme and add your new header images to the headers/ directory in the child theme, rather than in your version of Tarski. The same applies to custom stylesheets. This makes Tarski child themes far more powerful, and allows you to keep all your Tarski customisations in a child theme rather than having to worry about backing up files stored in your Tarski directory as well.

Post thumbnails & image captions

Tarski now supports the post thumbnails added in WordPress 2.9, as well as properly styling the captions added to images in WordPress 2.6.

More customisable navbar

For those of you using the Tarski API to modify the navbar, a couple of enhancements have been added. Firstly, the ‘Home’ and page links are now added to the navbar via the tarski_navbar filter, making it much easier to remove them if need be. Secondly, page and external links added to the navbar now have more meaningful array keys when they are passed to that filter, making them easier to manipulate programmatically.

Now in HTML5

HTML5 is the future of HTML, and using the HTML5 DOCTYPE in Tarski will make it easier to incorporate powerful new features in the future. There was a discussion of where this will lead in the comments on the 2.6 release candidates post.

As usual, there are many more tweaks, bug fixes and new features in Tarski 2.6 than I can go into here. Hope you enjoy the new version.

Please post bug reports, suggestions etc. on the forum.

Tags: , , , , ,

Tarski 2.1.4 contains a vital compatibility fix for anyone upgrading to WordPress 2.6. If you’re planning on installing WordPress 2.6, install this update immediately, before you upgrade your WordPress installation. Following the upgrade guide is generally a good idea.

Always back up your files and database before running a WordPress or Tarski upgrade.

It appears that options are now being automatically unserialised, which means that when Tarski attempts to unserialise the already-unserialised tarski_options object, an error gets thrown which breaks a bunch of stuff. All of which means, upgrade now, or you might potentially lose your Tarski options.

Tarski 2.2 is still in production, and will add some nice functionality as well as some performance improvements and a fair bit of tidying. I’ve backported a couple of bug-fixes from 2.2 to 2.1.4, so you don’t have to wait for them.

Issues with this release should be posted on the forum.

Tags: , , , , ,

2.0.5 Release

Tarski 2.0.5 was initially slated as a pure bugfix release, but as with most things, it grew in the making. Details are in the changelog.

However, the most major features are the bugs fixed. To begin with, the navbar now reorders correctly, and no longer needs to save that order when pages are saved; more efficient and better-written code makes it all happen dynamically.

A problem with Tarski’s options saving and updating code was exposed by the new multiple authors checking instituted in 2.0.3, with the result that the save-and-restore no longer worked properly: restoring one’s options after deleting them would merely save the defaults to the database. The underlying issues have now been fixed.

On the new features front is one I know I’ll appreciate as I continue to improve Tarski: the code behind the version check is now a lot smarter. It used to just check whether the version grabbed from the stylesheet and the one in the database—now it can tell whether any given version is newer or older than the installed version, which lets us do things like show a notice on the Dashboard notifying the user that they’re using a development version.

Lastly, I appropriated some WordPress widget code to rewrite the recent articles section, with the result that it’s now added via an action hook, th_fmain, and can consequently be removed by a plugin as well as through the Options page. The recent articles’ excerpts also have WordPress’ excerpt filters applied to them too, so any plugin which adds or removes those filters will now work as expected on Tarski’s excerpts.

Enjoy the new version; all being well, it’ll be the last before Tarski 2.1, but I wouldn’t bet my life on it.

Please post bugs and suggestions on the forum.

Tags: , , , , , , , ,

2.0.3 Release

There are a few more tweaks and bug fixes in Tarski 2.0.3, all of which are detailed in the changelog.

The update notifier has been the subject of a few improvements, including adding support for PHP’s own file_get_contents function for people whose servers don’t have libcurl installed. Its error handling has also been made more robust, so when required PHP components aren’t available it will let users know what the issue is and how to resolve it.

If you want to use images as links but don’t like borders, the new imagelink2 image class will let you do that simply and easily.

There are a few text changes in this version, so if people could provide updated translations (shouldn’t take long) that would be wonderful.

Bugs and suggestions to the forum please.

Tags: , , , , , , , , , , , , ,

2.0.1 Release

With any major Tarski release, I know that there are bugs which won’t rear their ugly heads until it’s in the wild. Tarski 2.0.1 fixes the ones that have shown themselves so far. Details are in the changelog.

Jordan is the man to thank for the major fixes: he’s written a new, more efficient feed parser for the update notifier that should eliminate the memory limitation issues a couple of people had, and added an increased level of robustness to the options updater.

There are also fixes for a couple of CSS bugs, one where the navbar would disappear when only title and tagline were set to not display, and another where the next/previous post navigation disappeared in Internet Explorer.

Lastly, Tarski’s stylesheets are now added via the wp_head hook, and they can now be filtered. This means if you want to replace the stylesheets entirely, and just use the markup skeleton, you can do it without editing header.php. You could also use it to, for example, add per-page stylesheets or change the URLs to point to a separate file server.

Bugs, suggestions etc. to the forum as always.

Tags: , , , , , , , , , ,

2.0 Release

Tarski’s development reflects my own view of best practice: steady, incremental improvement rather than the occasional total rewrite. Sometimes, however, a small revolution is needed, and Tarski 2 provides one.

The new version includes a raft of changes. Taking a look under the hood one might be tempted to say that it’s an entirely new theme, but the experience should remain largely the same, both for admins and users.

Tarski’s options code has been rewritten from the ground up, making all sorts of new features possible. You can now select different widgets for posts and pages than are displayed on the rest of the site. It’s also possible to delete Tarski’s options entirely; however, they’ll remain in the database for another two hours, so if you delete your options by accident, you’ll be able to restore them within that window.

People shouldn’t have to learn PHP in order to use WordPress, or Tarski, but until now a modicum of technical know-how was required in order to add links (other than WordPress pages) to Tarski’s navbar. Now you can simply designate one of your blogroll links categories, and all the links in that category will be appended to your Tarski navbar.

Several people in the forum wanted tags to display everywhere, not just on single post pages, so we’ve added an option for that to the Tarski Options pages. The same goes for reversing the order of the title: now you can have the title of a post appear before the name of your site, just by ticking a box on the Options page. Finally, you can choose to link to either Atom or RSS feeds.

WordPress has automatically generated both types for quite a while now, but Tarski hasn’t linked to them—an oversight I’m very happy to have corrected. In addition to the site feed, the following page types now have automatically generated feed link elements in the document head: category archives; tag archives; day, month and year archives; and finally, searches.

Another request was for Microformat support. A couple of things made it into Tarski 1.6, but Tarski 2 brings hCard to posts and comments, and hAtom to posts.

Tagging also gets a boost with proper support for tag intersections and unions. Templating functions for this kind of thing aren’t even in the WordPress core yet, and it’s nice to be ahead of the curve for once. To see it in action, go and have a look at what’s tagged with bugs or features, or bugs and features. Before Tarski 2, all you’d get is the first tag’s name in the title. Now the title lists all the tags, and whether it’s an intersection (and) or a union (or).

With all the rewritten code comes a new structure: the files in Tarski’s library directory have been completely reorganised. Included code libraries (right now, just the Feedparser library which does the heavy lifting for Tarski’s version checking mechanism) go into library/includes, while PHP classes (and supplementary functions) go into library/classes (right now it’s just the Version and Options classes).

All Tarski’s CSS files, apart from style.css and the alternate styles, go into library/css, while JavaScript files are in library/js. Finally, Tarski’s large functions library has ended up in library/helpers. This new structure makes development easier, since it’s easier for me to remember where everything is, and it cleans up a lot of horrible, messy code that had been hanging around (in many cases) since the first release of Tarski, back in March 2006.

We’ve come quite a way since then, and I’d just like to take a moment to thank everyone who’s helped along the way. People who’ve suggested ideas and reported bugs in the forum; people who’ve helped test Tarski; people who’ve provided code, or artwork, or a critical eye. Jordan Liggitt in particular deserves a lot of gratitude for his hard work on this release. He’s helped make Tarski easier to translate; written a migration routine to carry your options over into the new system; caught various bugs in the new code; and contributed a number of thoughtful suggestions on safeguarding against CSS namespace corruption and improving Tarski’s sidebar options.

Again, thanks to everyone who’s contributed to Tarski in some way, and I hope you enjoy using the new version.

Bugs and suggestions should be posted, as always, on the forum.

Tags: , , , , , , , ,

1.7.3 Release

Tarski 1.7.3 includes two bug fixes; if you’re not affected by either of these things, it’s probably not worth the time to upgrade from 1.7.2. Translations should be unaffected by the version bump.

The first fix is to make the update notifier work on servers where allow_url_fopen is disabled, such as the popular Dreamhost. Please note that if your server has allow_url_fopen disabled, you must enable caching by setting the cache directory’s permissions to 777. Otherwise, you’ll just get a “No connection to update server” message. Thanks to janzo on the forum for pointing this issue out.

The asides selector on the Options page has also received a small tweak, to bring it in line with expected behaviour: all post categories are now selectable as asides, even if they currently don’t have any posts in. Thanks to lecrocq on the forum for noticing this one.

Work on the next version of Tarski continues apace, and as always you can keep track of major changes via a quick glance at the roadmap. The technically-minded amongst you can also browse the latest development build. The next version will probably be released in early November, depending on my other commitments.

Bugs and suggestions to the forum as always.

Tags: , , , , , ,

1.7 Release

When WordPress 2.1 was released, we made the mistake of not having a compatible version of Tarski ready. WordPress 2.3—which will be out pretty soon—includes a number of changes which will be significant for Tarski users, and consequently we were determined not to make the same mistake twice. Tarski 1.7 remains backwards-compatible with the WordPress 2.1/2.2 branch, but it’s decidedly forward-looking. You can mull over the details on the changelog.

Perhaps the biggest change is the removal of our Ultimate Tag Warrior support in favour of the new ‘core’ WordPress tags system. Unless you’re running the 2.3 release candidate, this means your tags will disappear until you upgrade your WordPress installation and import your UTW tags. Tarski’s new tags page template, which you can see in action on our tags page, uses the new WP tag cloud.

While the overall goal of 1.7 was to make Tarski compatible with the new version of WordPress, we also took it as an opportunity to polish our code a bit and add a few helpful new features. As you can see by casting an eye up to the navbar, the ‘Home’ link can now be renamed. People have been asking for this for a while now, and I decided it was time to give in. You can change that on the Tarski Options page; look for the ‘Navigation Options’ header.

Speaking of the navbar, we’ve fixed an annoying issue where one had to re-save one’s Tarski options to get the navbar to reorder. It now reorders automatically whenever you save a page (since that’s when you change the Page Order value). The navbar output has also been added to the hooks system, which means two things: firstly, the constants.php file is now fully replaced (at least as far as it’s going to be), and that you can now add links to the navbar using a plugin. I hope to use this functionality to add a more elegant, user-friendly way to include external links.

The update notifier improvements in the last release have received a boost too, as the version check is now cacheable. To enable the cache, you need to make sure permissions on library/cache/ in your Tarski directory are set to 777. More details are available on the Update Notifier page.

For those who prefer to use a header image as their website title, and hide the actual title, I’ve improved the code so the alt attribute description is the site title when the title isn’t displayed, and the image itself links home (when you’re not on the front page, of course). A pinch of CSS means things should display as before, but the way things work is a bit more closely aligned with the expected behaviour (i.e., the site title links to the home page).

Category and author archives have had their first improvement in a long while: if there’s a description associated with them, they’re now displayed instead of the boring “This is a category archive for…” or “You are currently browsing so-and-so’s articles…”. So if you view my posts, you get a brief sentence about me instead of generic filler text. In addition to this, the document body now has an id which is set depending on which page you’re viewing, so you could make a particular author or category archive display in a certain way just by adding some extra code to your custom style. We’ve also assigned HTML classes to certain elements of the post metadata, so you can style those more easily.

As I detailed in my article on Tarski Plugin Integration, the support for specific plugins is now gone, so if you want to carry on using those plugins with Tarski I strongly recommend giving it a read.

Many thanks to everyone who helped me track down and fix the various bugs in Tarski 1.6; hopefully 1.7 won’t have the same problems. Enjoy the new version.

Please post bugs, suggestions and new translations on the forum.

Tags: , , , , , , , , , ,

1.6 Release

Despite only releasing the previous version a month or so ago, we decided to call this release Tarski 1.6 since there have been some fairly major changes. You can obsess over the details in the changelog as usual.

Perhaps most importantly, the header selection code in the Tarski Options page has been almost completely rewritten, although it preserves the same functionality as before. Where before it relied on JavaScript being enabled in the user’s browser, it now degrades gracefully—when JavaScript and CSS are disabled, it will still be functional, building up from an HTML skeleton rather than down from a JavaScript implementation. For this you can thank Chris Erwin, author of the Checkbox & Radio Input Replacement script that makes our new header selection code tick, and Richard Fliam who did some sterling work making our implementation compatible with Internet Explorer.

In line with other changes being phased into the WordPress admin panel, we’ve switched our required JavaScript library to jQuery, which now does the show and hide legwork for the sidebar options selection. The comments file has also been rewritten, stripping out some forty lines of code and resulting in a cleaner, leaner and more maintenance-friendly file.

We’ve also fixed several bugs, including both a recently introduced one where the ‘Author’ field in the comments form was being filled by the author link of the last commenter, and a very long-standing one where comments display was screwed up for users of the ‘Recent Articles’ sidebar widget (many thanks to Peter Cawley for providing this and other fixes).

The new update notification system will hopefully pass unnoticed, as a seamless replacement for the old one. Essentially it’s just an Atom feed, which Tarski checks whenever you visit the Dashboard or Tarski Options page (I may look into caching results for the next version). This is more secure, and allows the notification text to be translated—something that wasn’t possible with the old system. Niels Leenheer’s Feedparser does the heavy lifting.

1.5 translations have been frozen and the latest translations can be found in the translations trunk directory as usual. Just as a heads-up, this will probably be our last major release before WordPress 2.3 comes out. Enjoy the rest of your summer, and we’ll see you in September for Tarski 1.7.

Bugs, suggestions and new translations to the forum please.

Tags: , , , , , , , , , , , , , ,

As 1.2.5 turned into 1.3, so 1.3.1 has turned into Tarski 1.4. A few nice things in this release; all the details are in changelog as usual.

First, something I’m quite pleased with – Tarski now works right out-of-the-box with WordPress MU. The theme will now auto-detect WPMU and tweak its functioning accordingly; the specifics are in the changelog. We’ve been pleased to see networks like WordPress.com and Edublogs picking up Tarski, and we hope this makes it easier to implement.

Fans of custom header images will be happy to hear that we’ve plugged WordPress’s custom header functionality into Tarski, so you can upload new header images with ease.

In the interests of cleaning up the database a little bit, and making it easier to change options via the database and so on, we’ve combined all the various tarski_blahblahblah options into one array. An upgrade script is included and will run automatically (it’s also available in library/upgrade-to-1.4.php if you prefer, or wish to peruse). Note: The very first pageview after upgrading may have some SQL errors – just ignore them and refresh the page, they should disappear.

Most of the bug fixes are things we should have fixed ages ago, to do with the display of comments when the columns have been swapped. In all honesty it had just slipped our minds, so thank you to those of you who posted about this issue on the forum.

Other than that, there’s a small localisation issue fix (which again, several people pointed out on the forum), and a bit of footer triage: the default ‘About’ header has been removed and the blurb has moved above the recent articles listing. If you want the header back you can add it in via the Options page, but you don’t have to.

Thanks again to everyone who’s pointed out bugs and contributed translations; hope you enjoy the new release.

Point out bugs or add suggestions on the forum.

Tags: , , , , , , , , , , ,

« Older entries