- Meteor 3.0 compatibility in packages versions for testing
- Fix namespace to use
communitypackages:inject-data
instead of `meteorhacks:inject-data - Add lint test action to GitHub
- Update development dependencies
- Fix issue that may occur if staringatlights:inject-data is also installed and causes the issue with
WebAppInternals.registerBoilerplateDataCallback
being called afterserver-render
to return due toWebAppInterals.RegisterBoilerplateDataCallback
reusing the address if the same key is used.
- released as
communitypackages:inject-data
- Ensure that
WebAppInternals.registerBoilerplateDataCallback
gets called afterserver-render
has added it's callback
- Removed duplicate file reference in
onTest
scenario - Added check for
req.headers
inInjectData.getData
in case the headers object does not exist on the request.
- Add
InjectData._disableInjection
flag to disable payload injection so it can be manually inserted by different SSR techniques.
- Override
meteorhacks:inject-data
if both packages are present, for greater backwards compatibility
- Add check to ensure the injection middleware always runs last
- Increase compatibility with other packages using
WebApp.connectHandlers.use
, includingreactrouter:react-router-ssr
- Released as
staringatlights:inject-data
- Update for Meteor 1.4.2+
2016-Feb-19
-
Override individual res objects instead of overriding the prototype. This is a fix to support Meteor 1.3, which gave us the gzipped version of the html.
-
Because of that we had to change the API a bit on the server. See:
-
res.pushData('key', {data: 'here'})
=>InjectData.pushData(res, 'key', {data: 'here'})
-
res.getData('key')
=>InjectData.getData(res, 'key')
- Use
EJSON.parse()
. See: #4
- Add support for SSR by prepending the html on top of the first script tag
- Add IE8 Compatibility