Coder Social home page Coder Social logo

Comments (5)

greenkeeper avatar greenkeeper commented on May 13, 2024

Version 1.3.5 just got published.

Your tests are passing again with this version. Explicitly upgrade to this version 🚀

Release Notes 1.3.5

Fixes an issue with [email protected]; the pump module was incorrectly installed as a devDependency.

See 09c7b01

Commits

The new version differs by 2 commits.

See the full diff

from can-route-pushstate.

greenkeeper avatar greenkeeper commented on May 13, 2024

Version 1.3.6 just got published.

Your tests are passing again with this version. Explicitly upgrade to this version 🚀

Commits

The new version differs by 27 commits.

  • 1b01f1d 1.3.6
  • 6616335 Merge pull request #756 from stealjs/eng
  • 7202d09 Update engines field in package.json
  • c2df0b1 Merge pull request #750 from stealjs/docs/uglify-options
  • 0b17eca documented uglifyOptions with an example
  • 95e4699 Merge pull request #739 from stealjs/condition-eval
  • c2fb57e Update steal-conditional version
  • 325e3ac Test conditional using browser specific code
  • 910fdcb Merge pull request #738 from stealjs/recycle-tests
  • 04a44d8 Run recycle tests in Node V8
  • 808fdd6 Merge pull request #737 from stealjs/greenkeeper/mock-fs-4.4.1
  • 68c010d Merge pull request #736 from stealjs/issue/727-extra-space
  • bcff2a3 enabled clean_test
  • a561b88 Allow extra space before steal-remove-start and -end tags to support standard linting. #727
  • fec0b64 chore(package): update mock-fs to version 4.4.1

There are 27 commits in total.

See the full diff

from can-route-pushstate.

greenkeeper avatar greenkeeper commented on May 13, 2024

Version 1.4.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes 1.4.0

steal-tools 1.4.0 is out! 💥🎆 This release marks a big shift in how steal-tools builds applications, as it introduces optimized builds (aka, slim builds). These use a new loader we wrote just for production use that only includes the bare minimum necessary to load an application.

Optimized Builds

You can learn about our plans for developing optimized builds from this blog article. For now some feature that you might be using in StealJS aren't implemented. But don't worry, you can try it out and it will tell you if your application is not compatible.

To try out using the new stealTools.optimize() API check out the guide, which will have you use the slim loader on an example application. The result is a 46% decrease in bundle size!

Using stealTools.build

steal-tools.build

Using stealTools.optimize

steal-tools.optimize

async scripts

One of the most exciting aspects of the new API is that it allows you to load your bundles using async script tags:

<body>
  <div class="container">Hello World.</div>
  <script src="./dist/bundles/myhub/myhub.js"></script>
  <script async src="./dist/bundles/myhub/weather/weather.js"></script>
  <script async src="./dist/bundles/myhub/puppies/puppies.js"></script>
</body>

This means all of your bundles can be loaded in parallel, for faster loads (in supporting browsers).

In addition to the guide, check out the steal-tools.optimize documentation on the extra features it includes.

Commits

The new version differs by 81 commits.

  • 68ae316 1.4.0
  • 128c1f4 Merge pull request #780 from stealjs/minor
  • 929a8f7 Add changes from master into minor
  • 70494c5 Merge pull request #778 from stealjs/circular
  • 7c8f782 Support circular dependencies (slim loader)
  • 986db2c Merge pull request #777 from stealjs/named-imports
  • ed49d46 Support ESM named imports
  • 0145daa Merge pull request #773 from stealjs/benchmarks
  • 3ced8cb Add an offset to bundle size checking
  • d57e5cb Add file size benchmarks
  • a5a7b4f Merge pull request #772 from stealjs/circular
  • f28f742 Fail the build if circular dependencies are found
  • ff29ba1 Merge pull request #767 from stealjs/docs-manifest
  • b75db43 Document bundleManifest option
  • 49540b0 Merge pull request #765 from stealjs/optimize

There are 81 commits in total.

See the full diff

from can-route-pushstate.

greenkeeper avatar greenkeeper commented on May 13, 2024

Version 1.4.1 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes 1.4.1

This is a bug fix release which adjusts our dependency on lodash to account for APIs that we are using.

Commits

The new version differs by 3 commits.

  • 5944d41 1.4.1
  • 353eb34 Merge pull request #781 from stealjs/ldep
  • cfb3993 Update lodash dependency to 4.14.0

See the full diff

from can-route-pushstate.

greenkeeper avatar greenkeeper commented on May 13, 2024

Version 1.5.0 just got published.

Your tests are still failing with this version. Compare the changes 🚨

Release Notes 1.5.0

This is a minor release which adds new features to optimized builds.

Improved support for dynamic loading

In 1.4.0 when dynamically importing a module you needed to include the full module name, which when using npm included a version number. This has been simplified so that, as long as your bundle names are included in the bundle configuration, that same identifier can be used in your dynamic import call:

steal.import("my-app/pages/home/home").then(function(home){

});

Support for using the @loader module and envs configuration

One common use case with steal is to have different types of configuration during development and in production. For example, you might connect to a different API server in development. This can be done using envs configuration and commonly looks like so:

package.json

{
  "steal": {
    "serviceBaseURL": "http://dev.example.com/api/",
    "envs": {
      "serviceBaseURL": "http://prod.example.com/api/"
    }
  }
}

And then using it within your models like so:

var loader = require("@loader");

export default makeModel({
url: loader.serviceBaseURL + "todos"
});

Now this functionality will work in optimized builds.

Issues

Commits

The new version differs by 8 commits.

  • 861404e 1.5.0
  • 930158d Merge pull request #784 from stealjs/minor
  • adaef1c Merge pull request #758 from stealjs/greenkeeper/zombie-5.0.6
  • f157903 Merge pull request #783 from stealjs/dynamic
  • af722c0 Use non-normalize bundles names in slim config
  • ce89504 Merge pull request #779 from stealjs/@loader
  • dd89738 Add partial support for @loader module
  • 92824ca chore(package): update zombie to version 5.0.6

See the full diff

from can-route-pushstate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.