Permalink
Switch branches/tags
Commits on May 12, 2017
  1. Ensure visualizer displays on top of other UI

    There was an issue where most of the visualizer was visible but the module size details displayed when hovering over a segment were hidden behind some UI elements. Setting a high z-index fixes it.
    Primigenus committed on GitHub May 12, 2017
Commits on May 11, 2017
  1. Bump package versions for 1.5-rc.1 release.

    benjamn committed May 11, 2017
  2. Minor tweaks to the meteor/non-core/bundle-visualizer package.

    benjamn committed May 11, 2017
Commits on May 10, 2017
  1. New `bundle-visualizer` package for analyzing initial client bundles.

    This package is required to be ran with `--production` in order to for
    it to accurately use data from the minifier which is only provided when
    emulating or actually in production.  The additional work required in
    this mode is too costly to run during normal development as the
    minification process (provided by UglifyJS, one of the fastest
    minifiers) is still quite slow.
    
    Once added, this package will display a sundial chart showing the weight
    of the modules included in the application, in the web-browser, on top
    of your existing application.
    
    While maybe not the best final product, it's certainly something we can
    iterate on and improve.
    
    This package should be removed before bundling/deploying for production.
    abernix committed May 10, 2017
  2. Bump package versions for 1.5-rc.0 release.

    benjamn committed May 10, 2017
  3. Give dynamic module manifest items a different type: "dynamic js".

    Now that dynamic modules are part of the manifest that determines which
    files are served over HTTP, I'm a bit paranoid about them somehow ending
    up as <script> tags in the initial HTML of the application.
    
    This commit adds another safety measure to prevent that, just in case the
    boilerplate-generator package for some reason fails to skip items whose
    .path starts with "dynamic/" (see my previous commit).
    benjamn committed May 10, 2017
  4. Expose dynamic modules via HTTP, but do not load them eagerly.

    This allows fetching the compiled code of dynamic modules via HTTP,
    without generating <script> tags for those resources in the intial
    boilerplate HTML of the application.
    
    The URL for a dynamic module should be formed by taking its absolute
    module identifier, prepending "/dynamic" and appending "?hash=<version>".
    Appropriate version hashes can be obtained from the tree exported by the
    meteor/dynamic-import/dynamic-versions.js module, though the hashes are
    used only for cache busting, so they could be anything at all.
    
    A good place to do this fetching would be the meteorInstall.fetch
    callback, as defined (for example) in meteor/dynamic-import/client.js.
    That implementation still uses a WebSocket rather than HTTP, but this
    commit will allow us to experiment with HTTP in the future.
    
    Because the code returned for these dynamic modules is wrapped as an
    anonymous function expression, you'll need to fetch them using an
    XMLHttpRequest, the HTTP fetch() function, or some similar utility, rather
    than using a <script> tag, because executing the unmodified code as JS
    will likely throw a syntax error.
    benjamn committed May 10, 2017
  5. Restrict the dynamic-import package to Meteor 1.5+ apps.

    benjamn committed May 10, 2017
  6. Imply the dynamic-import package from the meteor-base package.

    Since it's relatively easy to remove/replace the meteor-base package, this
    should keep dynamic-import optional in principle, but also make sure it's
    installed in most apps without need for `meteor add dynamic-import`.
    
    I also considered implying the dynamic-import package from the ecmascript
    package, but that would have made it much harder to opt out, and created
    some nasty circular dependency problems.
    benjamn committed May 10, 2017
  7. Use module.watch instead of module.importSync in getNamespace.

    benjamn committed May 10, 2017
  8. Bump package versions for 1.5-beta.20 release.

    benjamn committed May 10, 2017
  9. Upgrade meteor-babel to version 0.21.2 to enable class properties.

    benjamn committed May 10, 2017
  10. Revert "Include the dynamic-import package in new apps and packages."

    Partially reverts commit 8364f81.
    
    This commit was causing self-test failures like the following:
    
      While selecting package versions:
      error: unknown package in top-level dependencies: dynamic-import
    
    I suspect these tests won't work until the dynamic-import package is
    published with a non-prerelease version.
    benjamn committed May 10, 2017
Commits on May 9, 2017
  1. Bump LINKER_CACHE_SALT and compiler.BUILT_BY for good measure.

    Recent updates to meteor-babel and reify make it particularly important to
    force recompilation of ECMAScript modules and package/app bundles.
    benjamn committed May 9, 2017
  2. Mention bundle size analysis in History.md.

    benjamn committed May 9, 2017
  3. Include the dynamic-import package in new apps and packages.

    It's tempting to make the ecmascript package api.imply("dynamic-import"),
    but the dynamic-import package depends on the ddp package, which depends
    heavily on the ecmascript package, and I'm not sure how best to break that
    dependency cycle.
    benjamn committed May 9, 2017
  4. Bump $BUNDLE_VERSION to 4.8.11 before rebuilding dev bundle.

    benjamn committed May 9, 2017
  5. Include minifier package name and version in .stats.json file.

    benjamn committed May 9, 2017
  6. Make `meteor create --bare` apps use static-html.

    Perhaps most importantly, this means bare apps no longer depend on jquery.
    benjamn committed May 6, 2017
Commits on May 4, 2017
  1. Bump package versions for 1.5-beta.19 release.

    benjamn committed May 4, 2017
  2. Bump $BUNDLE_VERSION to 4.8.10 before rebuilding dev bundle.

    benjamn committed May 4, 2017
  3. Merge branch 'devel' into release-1.5

    benjamn committed May 4, 2017
  4. Remove support for pkg.module in client bundles.

    This partially reverts commit d7cae3c.
    
    This functionality was problematic without providing any clear benefits to
    Meteor developers, as reported by @fermuch and @markoshust:
    #8327 (comment)
    benjamn committed May 4, 2017
  5. Update Contributing.md. (#8664)

    * Update Contributing.md.
    
    Various changes and cleanups to the Contributing information but primarily, remove the team mentions part of "Need help with your pull request?" (which don't work unless you're a member of the GitHub org).  In general, contributors can get ahold of the correct person(s).
    
    /cc @hwillson
    
    * Update Contributing.md
    abernix committed on GitHub May 4, 2017
Commits on May 3, 2017
  1. Added a small note explaining how to get dev_bundle changes published. (

    #8652)
    
    * Added a small note explaining how to get dev_bundle changes published.
    
    * Fixed grammar errors with 's; Updated @meteor/platform mention.
    
    * Removed @meteor/platform suggestion since it can only be used by team members.
    hwillson committed with abernix May 3, 2017
  2. Added support for making secure graph api requests with appsecret_pro…

    …of (#8657)
    
    * Added support for making graph api requests with appsecret_proof
    
    * Add missing comma
    nick-gudumac committed with benjamn May 3, 2017