ASP4
view release on metacpan or search on metacpan
2012-03-01 1.086
- Use of $api->get within a handler is disabled at this time.
2012-02-24 1.085
- Fixed ASP4::UserAgent to take advantage of new subrequest option.
- Use of the ASP4::API within an existing asp script, handler or request filter
is fully-functional now. Before, the behavior was unpredictable.
2012-02-24 1.084
- The Response->Redirect hack has been removed.
- Added concept of 'context->is_subrequest'
- this simplifies things a great deal.
- ->is_subrequest means that a subrequest context will not clobber ->current.
2012-02-24 1.083
- A wild Meta.json appeared in 1.082!
2012-02-24 1.082
- Response->Redirect after Response->TrapInclude was causing the redirect to fail.
- This release introduces a hack to fix it, by writing a meta tag to the client.
2012-02-13 1.081
- Updated logging of errors so that it outputs something interesting, instead
of a blank line.
- Running under mod_perl should now correctly support full RESTful interfaces.
2012-02-12 1.080
- Added support for multiple external "routes.json" files.
2012-02-07 1.079
- Errors output to the stderr are now derived directly from $@ not from any
parsed version of it.
2012-02-02 1.078
- Fixed installation problem that came up in v1.075
(compilation root was missing leading forward slash on non-windows systems).
2012-02-01 1.077
- Loath to add a mime-types-all-knowing dependency, we have a small list of
common mime-types (html, css, js, etc).
- Added mime for html and svg.
2012-02-01 1.076
- Now, the 'content-type' header is set correctly for ASP4::UserAgent responses.
- Works correctly under ASP4::PSGI (images, css, javascript all show up).
2012-02-01 1.075
- Now, works on Windows!
- eric.hayes++
2012-01-30 1.074
- Explicit calls to $Session->save() are no longer necessary.
2012-01-23 1.073
- Added $Request->Header($name)
(Somehow we've gotten along all this time without it.)
2012-01-23 1.072
- More tweaks on ASP4::SessionStateManager's default internal behavior
has resulted in some more-than-modest performance gains.
- Disabling session-state can result in 630 requests/second on a simple
master/child "content" page, and 475 requests/second on a page that
includes reading data from a database (using Class::DBI::Lite of course).
* Results from `ab` on a Dell E6510 (quad-dual-core-i7, 8GB RAM, Ubuntu 10.10)
2012-01-22 1.071
- ASP4::HTTPContext now triggers the SessionStateManager's save() method
when the context is DESTROY'd.
2012-01-22 1.070
- No longer check session's last-mod when deciding whether or not to save
session state at the end of a request.
2011-12-11 1.069
- Fixed META.yml to show the correct github url.
2011-12-10 1.068
- ASP4 is now hosted on github. https://github.com/jdrago999/ASP4
2011-12-01 1.067
- ASP4::GlobalASA is completely deprecated.
- ASP4::ErrorHandler contained a bug (cannot find method 'context'). Thanks
to ray.baksh++ for discovering it.
2011-11-16 1.066
- Fixed a POD error in ASP4::ErrorHandler::Remote.
- ASP4::ErrorHandler::Remote now correctly clones the error object before POSTing it.
2011-11-15 1.065
- Documented asp4-prep and asp4-deploy. These are deployment tools for ASP4 apps.
- Other POD updates here and there.
2011-11-15 1.064
- 1.063 was broken - please upgrade.
2011-11-15 1.063
- Stealth-mode ASP4::ErrorHandler::Remote will send your error messages to a
remote server via http.
- Added ASP4::Error
- Refactored ASP4::ErrorHandler to be more easily sub-classable.
- GlobalASA is now officially removed.
2011-11-13 1.062
- The httpd.conf produced by asphelper had an incorrect DocumentRoot. Fixed now.
2011-11-07 1.061
- asphelper now creates new ASP4 apps using the proper structure.
2011-11-06 1.060
- $Response->Include on a missing file will no longer result in a 404 on the
calling file. This goes for $Response->TrapInclude as well as <!-- #include virtual="..." -->
2011-11-05 1.059
- ASP4::API:
- No longer have to do this:
use ASP4::API;
my $api; BEGIN { $api = ASP4::API->new }
# Now load classes:
use MyApp::Foo;
- You can do this instead:
use ASP4::API;
use MyApp::Foo;
- It turns out that if you close the client socket, some browsers complain (Chrome).
Upgrade recommended.
2010-09-17 v1.034
- Non-2xx responses are more returned more correctly, albeit with empty bodies.
- HTTPHandler now caches the @ISA tree in RAM, offering a slight performance boost.
- Added missing '$r->headers_in' method to ASP4::Mock::RequestRec.
2010-05-26 v1.033
- Fixed more issues related to running multiple web applications under different
VirutalHosts on the same server. This time related to how Filters and Handlers
are cached - now not only by URL but also by $ENV{DOCUMENT_ROOT}.
2010-05-20 v1.032
- Fixed several issues related to running multiple web applications under different
VirtualHosts on the same server.
2010-05-19 v1.031
- Migrated from Ima::DBI to Ima::DBI::Contextual.
2010-05-18 v1.030
- $ENV{HTTP_HOST} is set to $r->hostname or $ENV{DOCUMENT_ROOT} in ASP4::ModPerl and ASP4::UserAgent, respectively.
2010-04-18 v1.029
- The document root was not always set properly in some very, very strange
circumstances.
- Upgrade recommended.
2010-04-18 v1.028
- $Request->Reroute($uri) no longer changes $ENV{REQUEST_URI} to $uri.
2010-04-15 v1.027
- ASP4::Request was not properly URLDecoding parameters. Now it does.
2010-04-13 v1.026
- Now both POST'ed and GET'ed parameters are added to $Form. This means that if
you...
<form action="/page/?foo=abc" method="post"><input name="bar" value="123" /></form>
...both foo=abc and bar=123 will be in $Form. Before this update, only bar=123 would
be there, and foo=abc would be lost.
2010-04-06 v1.025
- If Router::Generic is installed, ASP4::ConfigNode::Web will create $Config->web->router
based on the "routes" segment of asp4-config.json.
- No documentation about this yet.
2010-03-22 v1.024
- $Request->Reroute() with additional querystring parameters was not adding
those extra parameters to $Form. Now it does.
2010-03-08 v1.023
- ASP4::HTTPContext now checks to see if any RequestFilters match a uri before
returning a 404. This is helpful for SEO optimizations.
- New feature: $Request->Reroute("/new-uri/?foo=bar")
* Also very useful for SEO.
2010-03-08 v1.022
- asphelper's final instructions are now more clear and concise.
- Fixes a bug that caused active sessions to timeout as though inactive simply
because they were not changed before the timeout occurred. Now, $Session->save()
checks to see if it's been more than 60 seconds since the last time the __lastMod
was changed - and if it has been more than 60 seconds, the session is saved
and the __lastMod value is updated to time() - thus preventing expiry of
active sessions.
2010-03-08 v1.021
- Removed a warning that popped up now and then about the use of an uninitialized value.
- Added a more informative "Yay you're finished!" message after running asphelper.
2010-03-04 v1.020
- Now asphelper will output sbin/ddl.sql, which contains the structure of the
asp_sessions database table. This is a handy place to start describing the
database structure of a web application.
- If $Config->web->data_connections->session->session_timeout is set to '*' then
the session lasts as long as the browser keeps the cookie around.
- 20% performance increase by using Cwd::fastcwd() instead of Cwd::cwd() and a
few other minor tweaks.
2010-03-02 v1.019
- Fixed a bug in asphelper that caused some problems creating a skeleton website.
2010-03-01 v1.018
- Updated asphelper script so that the POD on CPAN is not contaminated with POD
from within one of the modules that asphelper generates.
- Now asphelper will not create a Class::DBI::Lite model class unless
Class::DBI::Lite is installed.
2010-03-01 v1.017
- Updated asphelper script to only accept options on the command-line, like "normal" scripts.
2010-02-28 v1.016
- A vestigial "use encoding 'utf8'" was removed from ASP4::Server.
- It was causing Apache to segfault on ubuntu 9.10.
2010-02-19 v1.015
- Hostnames like http://myapplication/ were not setting session cookies properly.
- $Config->data_connections->session->cookie_domain should set to "*" in these cases.
- $Response->SetCookie accepts the "*" value for domain also.
- The result is that no "domain=xyz" attribute is given to these cookies.
2010-02-18 v1.014
- $Response->ContentType now functions correctly.
- Upgrade mandatory!
2010-02-18 v1.013
- ASP4::HandlerResolver was not properly remembering timestamps on handler files.
This resulted in unnecessary reloads of handlers that had not been changed.
2010-02-18 v1.012
- MANIFEST was missing a few files that caused tests to fail.
2010-02-17 v1.011
! Upgrade Recommended !
- $Response->SetCookie and $Response->ContentType were not functioning properly.
- Added new method $Response->SetHeader.
2010-02-10 v1.010
! UPGRADE *SERIOUSLY* RECOMMENDED !
- In an environment with multiple VirtualHosts running ASP4 web applications,
ASP4::HandlerResolver's %HandlerCache and %FileTimes hashes were shared between
all VirtualHosts. This means that if you had 2 web apps (Foo and Bar) then
"/index.asp" on "Foo" might get handled by "Bar::_index_asp" or vice versa.
( run in 0.561 second using v1.01-cache-2.11-cpan-39bf76dae61 )