Skip to content

Latest commit

 

History

History
318 lines (206 loc) · 11.4 KB

CHANGELOG.md

File metadata and controls

318 lines (206 loc) · 11.4 KB

0.5.2 (2014-12-30)

Bug Fixes

  • use init for bootstrapped apps & removed the need for loadedModules (01936cd6, #84, #102, #109)

Documentation

  • added a link to a new lesson from egghead.io (ef8d2871)

0.5.1 (2014-11-20)

Bug Fixes

  • don't use async when you load files in serie (9af93ed3, #95)
  • avoid errors thrown on empty template files (768b9d75)
  • compatibility with jasmine (d4985e1d, #94)

0.5.0 (2014-11-11)

Features

Documentation

0.4.2 (2014-11-10)

Bug Fixes

  • extend config to params for the register method (31157941, #89)

0.4.1 (2014-11-09)

Bug Fixes

  • keep global params pristine when loading files (6b2306b7, #89)
  • defining new run blocks will replace previous ones (af2627b5, #89)

0.4.0 (2014-11-09)

Features

  • new parameter serie to load files in serie (4ae7a3f3, #47, #86)
  • new parameter rerun to rerun the run blocks (26a64a38, #89)
  • new function: isLoaded to check if a module has been loaded (364c9e9f, #79)

0.3.10 (2014-11-09)

Bug Fixes

  • fix for error:[$compile:multidir] Multiple directives (61fd4dd3, #84, #78, #73, #58)
  • css onload patch for some old browsers (14ce3406)
  • content inside the oc-lazy-load directive is now compiled on load (9962e2ef, #80)

0.3.9 (2014-11-02)

Bug Fixes

Features

  • broadcast for componentLoaded event provides more info (module name and type) (d41b9f53)
  • example1 now uses ui-grid instead of ng-grid (e7cf1e83)

Documentation

  • added link to a new article by @kbdaitch (cc6b41db)
  • added a link to a new lesson from egghead.io (e231f3cb)
  • added a link to a new lesson from egghead.io (9b3c48e4)

0.3.8 (2014-09-25)

Bug Fixes

0.3.7 (2014-09-10)

Bug Fixes

  • don't reload a dependency that was just loaded (6752bb94, #64)

Features

  • new event ocLazyLoad.moduleReloaded (5010d144)

0.3.6 (2014-09-02)

Bug Fixes

  • concurrency lazy loads (thanks @BenBlazely) (4899ea1a, #44)

Documentation

  • added a few links to other examples

0.3.5 (2014-08-26)

Bug Fixes

  • fixed cases where the config block would not be called (1e29c9d4, #5). The config block would not be called if:
    • defined multiple times (only the first 1 would be invoked)
    • defined with an auto injected module: ['...', function() {}]
    • defined after another component: angular.module().controler().config()

0.3.4 (2014-08-26)

Bug Fixes

  • make sure reconfig:true always run all invoke blocks (361ae6b7, #54)
  • the config/run blocks were not invoked without reconfig: true (300882a0, #5)
  • indexOf polyfill for IE8 (5f71c09c, #52)

Features

  • more log messages for debug (bcbca814)

0.3.3 (2014-07-23)

Bug Fixes

  • don't execute config blocks multiple times by default (e2fec59e, #43, #41)
  • don't test for .js in path because of requirejs (6045214b)
  • test order (8412cb43)

0.3.2 (2014-07-23)

Bug Fixes

  • allow $ocLazyLoadProvider.config to be called multiple times (c590579c, #43)
  • prevent duplicate loadings (12bc6b2b, #35, #38)

0.3.1 (2014-07-14)

Bug Fixes

  • don't reject file load with custom file loaders such as requirejs (91ed522f, #33)

Features

  • auto changelog from commits msg (c089e085)
  • prevent duplicate loadings & add a cache busting param (5a5d7f10, #38)

0.3.0 (17 June 2014)

Features

  • $ocLazyLoad will now reject promises on errors
  • Use the parameter debug to show log messages in the console
  • JS / CSS / Template loaders are available by default in $ocLazyLoad but you can overwrite them with the config
  • Better doc (finally! \o/)
  • Example1 is now much better !
  • Events broadcasted on module / component / file load (#21)

0.2.0 (20 May 2014)

  • Added support for $animateProvider #19
  • Added support for CSS Loading (And perhaps other file types in the future) #19
  • Added loadAll function for use when a state requires resolve on more than one asset. #19
  • FIX: Angular JS 1.3.0-beta.8 changed the way config blocks are handled (now invoked last) #19
  • Adopted the MIT license as requested in #20
  • Added a gulpfile to build dist files (and, in the future, to do tests before the build). Run npm install to install the new dependencies and npm build to build the dist files.
  • Breaking change moved the src files to /src and the dist files to /dist. Installations via bower will only see the dist folder
  • Moved the examples to /examples

0.1.3 (30 April 2014)

  • Fix for bug #18: merged files and incorrect module loading

0.1.2 (14 April 2014)

  • Fix for bug #16: config blocks didn't work for module dependencies

0.1.1 (08 April 2014)

  • Fix for bug #8: runBlocks can now load new modules (thanks to @rolandzwaga)
  • Added an example that makes use of requirejs and uses ngGrid as a lazy loaded module (thanks to @rolandzwaga)

0.1.0 (04 April 2014)

  • Added a changelog !
  • Added loadTemplateFile function.
  • Merge pull request #6 from BenBlazely/master (Extension of lazy loading to the angular.module DI block, refactored to use promises for tracking progress.)
  • Merge pull request #7 from rolandzwaga/master (Added some improvements for apps using angular.boostrap & for duplicated modules)
  • Fixed a bug with run blocks not working when they used unloaded modules. Not a complete fix though, more to come when bug #8 is fixed