Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.0.0 Release Notes #135

hueniverse opened this issue Jun 2, 2016 · 0 comments


Copy link

@hueniverse hueniverse commented Jun 2, 2016


Changes the beforeRedirect option from function(redirectMethod, statusCode, location, redirectOptions) to function(redirectMethod, statusCode, location, resHeaders, redirectOptions, next).

Upgrade Steps

If you use the beforeRedirect option, change the function signature to match the new format by adding the resHeaders and next arguments, and call next() when done.

// old signature
function(redirectMethod, statusCode, location, redirectOptions)

// new signature
function(redirectMethod, statusCode, location, resHeaders, redirectOptions, next)
@hueniverse hueniverse added this to the 8.0.0 milestone Jun 2, 2016
@hueniverse hueniverse self-assigned this Jun 2, 2016
@geek geek closed this Jun 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.