Skip to content

Releases: klei/gulp-inject

v4.0.0

24 Mar 08:04
Compare
Choose a tag to compare
  • Breaking: using stream-to-array which needs a Promise lib (or native)
  • Breaking: using syntax features from ES2015 which requires at least NodeJS v4
  • Now throws an error when read option is passed, because that's the most common mistake (it should be passed to gulp.src)
  • A lot of refactoring
  • Changing how regexp for tags are created (solved #144)

1.3.0

10 Jun 14:16
Compare
Choose a tag to compare

1.2.0

20 Feb 12:50
Compare
Choose a tag to compare
  • Adding removeTags option #87
  • Changing process.nextTick to setImmediate #79

Hotfix 1.1.1

22 Dec 14:48
Compare
Choose a tag to compare
  • Allow transform functions to return undefined/null (#74)

1.1.0

22 Dec 10:01
Compare
Choose a tag to compare
  • Stripping hashes from filenames (i.e. the ?<hash> part) (#71)
  • Example in readme with forced stream order (#67)
  • Making white space optional in tags (#56)
  • Adding support for Slm templates (#64)
  • Adding support for Haml templates (#68)
  • Other small fixes...

Hotfix 1.0.1

28 Jul 15:23
Compare
Choose a tag to compare

1.0.0

23 Jul 10:53
Compare
Choose a tag to compare

New features

  • Adding relative option (#33)
  • Adding selfClosingTag option
  • Adding name option
  • Adding support for injecting *.coffee files by default (#19)
  • Adding default transforms and tags for jade and jsx files
  • Adding warning message when read option is used (the option belongs to gulp.src)
  • Adding some logging
  • Better documentation with more examples
  • More tests

Fixes

  • Fixing Windows problems with ignorePath (#30)

Deprecations

  • sort option is removed in favor of using sort-stream instead
  • templateString option is removed in favor of using gulp-file instead
  • The old API where target could be provided as a string path is removed in favor of only using Vinyl File Streams

Hotfix 0.4.1

23 Jul 10:41
Compare
Choose a tag to compare
  • Adding .npmignore

0.4.0

23 Jul 10:35
Compare
Choose a tag to compare
  • Add addPrefix option (#10)

Hotfix 0.3.1

23 Jul 10:33
Compare
Choose a tag to compare
  • Deprecating Node 0.8