This “patch release” fixes the update procedure for folks running MySQL and having table names with dashes (eg joe-yourls-options … Jeez, gentlemen, underscores ftw!).
It also fixes the way YOURLS determines if a page should be publicly available or not, on private installs, for instance to have private YOURLS instances where one must log to enter the admin area but where the API or stat pages are viewable by anyone.
While I was at it, I added an interesting new hook for actions and filters : the “all” hook, to be able to attach every single action and filter that YOURLS triggers to the same function. Debugging level 9000. See the wiki page Debugging YOURLS to learn how to use this powerful hook.
To update: simply download the new release and overwrite your files. As usual this won’t affect user defined files, such as plugins, config or languages. And as usual, even if this quick update doesn’t change anything in the DB, when was the last time you made a backup? :)
First things first, in our now secular tradition to name YOURLS releases after a infamous metal vocalist, I’m dedicating this release to Mike Muir, cyco frontman from the sublime thrash punk band we all mosh to, Suicidal Tendencies. Damn I love this man. I suggest you tune in some relaxing music while reading the rest of this post and updating YOURLS.
So, YOURLS 1.8 ?
Yes, YOURLS 1.8 and a lot of reasons for you to update. Let’s list the major ones :
Much, much, very much better support for UTF8 and ᵮưȵƙƴ letters. The long running issue of “page title is weirdly encoded” should be a thing of the past, no matter the charset, the encoding or the alphabet used on the URL you’ll shorten. YOURLS also now fully support being installed on IDN domains out of the box, without the use of a plugin as it did before.
PHP compatibility : YOURLS 1.8 is of course compatible with PHP 8. We’re also dropping support for older PHP versions and are now advocating that you use at least 7.4. Although 7.2 is still supported we will probably make less efforts in the future than we did in the past to maintain compatibility with deprecated PHP.
Time and timezone management : till now, YOURLS was a happy mess of timezone “sort of” support. Now more! While the core code has been streamlined and simplified to only use UTC, we have also developed a neat timezones plugin to properly manage timezones and how date & time are displayed on your install.
Slightly updated UI and logo, all in SVG light and scalable goodness.
And of course several bug fixes and improvements under the hood – check the commit log if you are interested.
“Awesome YOURLS” is more awesome now
Awesome YOURLS is the curated list of, well, awesome things about YOURLS : plugins, translations, themes, install guides, tutorials, tools, packages for various platforms, applications and programming languages. It’s a truly amazing resource list.
The list has been improved lately : more content, more readable. More awesomeness. Be sure to check it, star it on Github and have your work featured there!
Update and tell friends to update !
As always, we advise you to update as soon as you can. And as always, we advise you to backup your DB before doing so, because, you know why.
And, as always, we’re counting on you : spread the word about this new release, share the news on Twitter, on your Facebook wall, on wherever you virtually exist and let your friends know about this.
YOURLS update : the latest release is now 1.7.9 and you will find it, as usual and only, on YOURLS release page on Github.
This release could have been nicknamed “the Quarantine Edition” since, because or thanks to the corona-lockdown (day 35 and counting) I’ve had quite some time to fix things and improve stuff, as you’ll see on the release page.
Truth be told, I’m also pushing this release as a security update. Last night, the DJ didn’t save my life, but the server hosting https://api.yourls.org was compromised. As a result, you may have seen a message in your YOURLS admin interface advertising a 1.7.8 release with an unusual download link. This was quickly noticed and fixed but a couple hundreds people still downloaded the fake archive, so I’m pushing a newer one for everyone.
Update as usual : download files and overwrite all existing files on your server (your personal files such as plugins or config will remain untouched).
Do the community a favor: stay safe, wash your hands, tweet this post and let friends know about this update!
So, in you are on Twitter and find anything you read about YOURLS useful, be sure to share it. YOURLS “official” Twitter account being removed just means that, from now on, YOURLS Twitter accounts are its users’. Share the love and help your friends!
Stay safe. Virtual and social-distanced hugs from the YOURLS team.
We’ve just released a security patch for YOURLS, so everyone is advised to update when possible.
What’s new? We’ve hardened security. All prior versions of YOURLS, up to 1.7.3, can be abused in a way that allows a script kiddy malicious user to use your API by forging a valid timestamp, and add unwanted links to your shortener.
How to update? Same and as painless as usual: download the archive and overwrite all existing files. While you’re at it, backup your database, and tell your friends and family to update too!
This year 2019 starts with a maintenance release of YOURLS, bumping its version to YOURLS 1.7.3.
What’s new? Mostly lil bug fixes and small enhancements here and there, nothing breath taking, but we thought it might be a good idea to push a release that would reflect changes committed this past months, mostly for folks who install “stable” releases, either manually or using third party tools.
How to update? Same as usual, download the archive and overwrite all existing files. While you’re at it, backup your database because this is one of your new year resolutions, and tell your friends and family to update too!
Hello World! I’ve had some free time recently to devote to your favorite URL shortener, and as a result the latest is now YOURLS 1.7.2. Update now and be sure your friends update too!
What’s new? This is a bugfix lil’ release and you will probably won’t notice much if you don’t inspect under the hood. For those interested of course the CHANGELOG keeps track of everything that has been improved, added or fixed.
The only real “major” news is that PHP 5.2 support is officially dropped. To be honest it’s been unofficially supported for quite some time now, and if you still happen to run PHP 5.2 and YOURLS works on it, cool for you, but it should be definitely broken on your side from now on. For the record, as of today less than 2.9% of all YOURLS installs still run on 5.2, while 22% are on 5.3, 28% on 5.4, 20% on 5.5, 20% on 5.6 — as you can see this is pretty even — and just above 5% of you folks running PHP 7+. Yes, in case you were unaware, YOURLS is running fine on PHP 7+.
How to update? Same business as usual. Simply download the archive and overwrite all existing files. While you’re at it, why don’t you backup your database data? I’m sure it’s been a while already since last time :)
Update and tell your friends and family to update too!
Hello world! Your favorite URL shortener just got some love and the latest is now YOURLS 1.7.1. Update and let your friends know!
What’s new? Lots of bug fixes, lots of improvements, nothing that will rock your socks in awe, but several things you won’t notice because they just work better :) See the changelog for more details.
How to update? If updating through the command line is too hardcore for you, just download the archive and overwrite your existing install. This update doesn’t contain anything scary, but of course that’s no reason not to have a proper backup of your data from time to time, right? :)
What’s next? We’ll continue our slow trip down the road map but the most noticeable change for a few of you will be that we are going to start breaking things!
we’re dropping PHP 5.2 support. As of today 3.8% of all YOURLS installs run this super deprecated PHP version: folks, please.
We’ll probably drop MySQL support as well. An overhaul of the DB stuff has been planned for long, MySQL is deprecated in newer PHP builds, so we’ll very most likely switch to PDO. Sorry for the 1.9% of you that don’t have PDO installed on their server, but that is not something that’s acceptable from a decent web host :)
Update and tell your friends and family to update too!
Last post in our series “What’s cool with YOURLS 1.7” — be sure to check previous posts dealing with SQL injections, security matters, HTTP improvements and other important subjects.
Today we’ll discuss about being social.
Bookmarklets have been polished and you have now 3 more to use. Head to the Tools page of your YOURLS install and you will discover these new buttons:
These bookmarklets will allow you to shorten a URL and share that short URL to Twitter, Facebook or Tumblr, all in one click. For extra goodness, you can also select text on the page you’re shortening before clicking the bookmarklet, and if the social site allows it, that text will serve as a highlight for your shared bit. Try it!
Oh, and of course, if you share links on social networks this way, be sure to tell your friends about YOURLS! :)
Happy shortening !
This ends the tour of new features in YOURLS 1.7. Have fun using it, shorten URLs like it’s your birthday, star the project on Github, follow @yourls for general YOURLS news and tell your friends about it.
Depending on feedback we may release a 1.7.1 if and when we feel it’s necessary. The next batch of features that will make it into 1.8 and 2.0 are currently being under development and, as usual, there is *no ETA* :)