Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
kraih committed May 12, 2014
1 parent deaa1be commit 901e4b1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 4 additions & 0 deletions Changes
@@ -1,4 +1,8 @@

5.0 2014-05-13
- Code name "Beer Mug", this is a major release.
- Removed deprecated support for "X-Forwarded-HTTPS".

4.99 2014-05-12
- Added support for performing blocking and non-blocking requests at the
same time with Mojo::UserAgent.
Expand Down
8 changes: 1 addition & 7 deletions lib/Mojo/Message/Request.pm
Expand Up @@ -2,7 +2,7 @@ package Mojo::Message::Request;
use Mojo::Base 'Mojo::Message';

use Mojo::Cookie::Request;
use Mojo::Util qw(b64_encode b64_decode deprecated);
use Mojo::Util qw(b64_encode b64_decode);
use Mojo::URL;

has env => sub { {} };
Expand Down Expand Up @@ -174,12 +174,6 @@ sub parse {
$base->scheme('https')
if ($headers->header('X-Forwarded-Proto') // '') eq 'https';

# DEPRECATED in Top Hat!
$base->scheme('https')
and deprecated
'X-Forwarded-HTTPS is DEPRECATED in favor of X-Forwarded-Proto'
if $headers->header('X-Forwarded-HTTPS');

return $self;
}

Expand Down
6 changes: 4 additions & 2 deletions lib/Mojolicious.pm
Expand Up @@ -42,8 +42,8 @@ has static => sub { Mojolicious::Static->new };
has types => sub { Mojolicious::Types->new };
has validator => sub { Mojolicious::Validator->new };

our $CODENAME = 'Top Hat';
our $VERSION = '4.99';
our $CODENAME = 'Beer Mug';
our $VERSION = '5.0';

sub AUTOLOAD {
my $self = shift;
Expand Down Expand Up @@ -692,6 +692,8 @@ L<http://www.apache.org/licenses/LICENSE-2.0>.
Every major release of L<Mojolicious> has a code name, these are the ones that
have been used in the past.
5.0, C<Beer Mug> (u1F37A)
4.0, C<Top Hat> (u1F3A9)
3.0, C<Rainbow> (u1F308)
Expand Down

0 comments on commit 901e4b1

Please sign in to comment.