ASP4
view release on metacpan or search on metacpan
- Marking ASP4 and its entire ecosystem "DEPRECATED" until further notice.
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;
- Blank lines in asp4-config.json no longer causes an exception to be thrown.
- Update documentation to reflect preference change from app::* to App::db::*
root namespace for database classes.
2011-08-14 1.051
[Bug Fixes]
- 'Redirect Loop' fixed! Under mod_perl, $context->send_headers() was not
called for non-200 http responses.
Now it is.
This means that if you had `return $Response->Redirect("/foo/")` in a RequestFilter
you may have gotten a "redirect loop" because although the '301 Moved' status
was set, the `location: /foo/` header was *not* set. This would result in
a redirect loop.
2011-07-11 v1.050
[Bug Fixes]
- v1.049 Caused script execution to cease after any $Response->Include or ssi
include finished.
- Upgrade required if you know what's good for you.
2011-07-09 v1.049
[Bug Fixes]
- v1.048 broke session cookies.
- Upgrade to v1.049 (quick).
2011-07-07 v1.048
[Bug Fixes]
- <% $Response->Status(404); return $Response->End; %> DID NOT WORK.
Instead it continued processing other ContentPlaceHolders. Now we check
to see if $Response->End was called before we process anything else.
- Still getting some "Content encoding error" messages from FF/Chrome/MSIE but
we're almost there.
2011-05-19 v1.047
[Bug Fixes]
- $Response->Expires("30M") wasn't documented. Now it is.
- $Response->Expires wasn't working properly. Now it is. (Always ended up with pre-epoch expiration times).
2011-05-03 v1.046
[Bug Fixes]
- $Response->Redirect(...) wasn't returning '301' - now it does.
2011-05-03 v1.045
[Bug Fixes]
- Actually it turned out that setting $Session->is_read_only(1) *DID* prevent
$Session->save() from working. This is now fixed to match the documentation.
2011-05-01 v1.044
[Bug Fixes]
- ASP4::ModPerl now does the Right Thing when a non-200 response is encountered.
- 500 response does not result in an "encoding error" in firefox.
- 200 (or 0 response) does the right thing.
- non-200 (and non-500) response does the right thing (eg: 401)
- ASP4::SessionStateManager now checks $s->is_changed *before* checking $s->{__lastMod} date
before deciding whether is should persist its changes in ->save().
[New Features]
- $Session->is_read_only(1) is new. Setting it to a true value (eg: 1) will prevent
the default behavior of calling $Session->save() at the end of each successful request.
2011-04-08 v1.043
- Documentation overhaul.
2011-03-23 v1.042
- Fixed sporadic error in master pages that looks like this:
Can't call method "Write" on an undefined value at /tmp/PAGE_CACHE/BStat/_masters_global_asp.pm line 1.
- Apparently $s->init_asp_objects($context) was not getting called before the
master page's run() method was called, resulting in a call to $Response->Write(...)
before $Response had been initialized.
2010-11-11 v1.041
- ASP4::UserAgent calls all cleanup handlers registered via $Server->RegisterCleanup(sub { }, @args)
at the end of each request, not when the ASP4::Mock::Pool object's DESTROY method is called.
This fixes a condition which caused conflict when a Class::DBI::Lite ORM is
used and the ASP4 application is executed via the `asp4` helper script.
2010-10-25 v1.040
- 1.039 introduced a bug that could cause session-id conflicts in the asp_sessions table.
- This release fixes that bug.
2010-10-25 v1.039
- Session expiration now happens exclusively on the server, not as the
result of an expiring session cookie.
2010-10-21 v1.038
- Another stab at getting http response codes right for errors.
2010-09-25 v1.037
- Added a couple tweaks here and there to make ASP4 run on Windows a little easier:
* $Config->web->page_cache_root now does the Right Thing on linux & win32.
* $Config->web->page_cache_root is automatically created if it does not exist.
2010-09-21 v1.036
- Added ASP4::StaticHandler to process requests for static files - like images, css, etc.
2010-09-17 v1.035
- 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.
( run in 0.713 second using v1.01-cache-2.11-cpan-39bf76dae61 )