All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by auto-changelog
.
- Closes #179: adds extname option & reworks multiple transform-per-file feature
#179
- BREAKING: Provides dual ESM/CJS exports
cc84b5b
- test: replace nyc with c8 for coverage, update mocha to latest
a10f9c8
- BREAKING: Adds required transform option to support custom transformers, no longer supports multiple transformers per instantiation
a92de2b
- Updates README.md & documents transform option
13f7fff
- Updates README (aligned with other core plugins)
22cff02
- refactor: moves utils to own file & makes them private
287dda6
- BREAKING: remove suppressNoFilesError in favor of debug.warn message
993f8ca
- Adds Typescript types
7400b27
- BREAKING (for Pug users): remaps setFilename option to engineOptions.filename
064cc37
- Removes missing metalsmith.match < v2.4.1 error
8c98954
- Drops support for Node < 14.14.0 (Node 12 EOL 2023-04-30)
96a804e
- Renames default export to inPlace for better intellisense
a87f265
2 February 2023
- switched debugger to metalsmith.debug
911ef5b
- Drops support for Node < 12 & Metalsmith < 2.5.0
1db3f53
- debug method to throw if not instantiated
194be6b
16 February 2022
- feat: org migration, core plugin alignment
ce3c8f1
- feat: use metalsmith.match instead of multimatch, drop Node < 10 support
1a1d83f
- feat: better jsdoc typehints & defaults mgmt
ae06fb9
- fix: don't mistake dots in folder paths for extensions
0392d6f
9 March 2021
27 September 2019
- Fix infinite loop rendering bug
#173
- fix(package): update multimatch to version 4.0.0
#171
- Return when done
#170
- Prepare 4.4.1
d6127eb
14 April 2019
7 April 2019
- Add test for filename prefix on rendering error message
#167
- Allow async transforms
#166
- Add current file name to error message
#164
- Update readme
#165
- fix(package): update multimatch to version 3.0.0
#160
- fix(package): update debug to version 4.0.0
#157
- Improve readme
#155
- Ignore dev dependencies for greenkeeper
1afa4e1
- Prepare 4.3.0
e2ccc9a
19 July 2018
- Add flag to suppress error when there are no files to process
#151
- chore(package): update dependencies
#153
- Update links to metalsmith org
#152
- Remove shields.io badges
#150
- Update eslint-airbnb-base
#148
- Greenkeeper/update to node 10
#146
- Update license
#144
- chore(package): update lint-staged to version 7.0.0
#143
- Fix readme mistake
#142
- Update new feature wording
f387f5c
- Prepare 4.2.0
afc0366
25 January 2018
- Prepare 4.1.1
#141
25 January 2018
- Prepare 4.1.0
#140
- Add debug
#139
- Update readme
#135
- Add npmrc
#134
- Remove babel
#133
- Ignore package lock
#132
- Remove lockfile
#130
4 January 2018
- Prepare 4.0.0
#129
- v4
#120
- Update dependencies to enable Greenkeeper 🌴
#125
- Update for move
#124
- Update readme
#117
2 August 2017
- Prepare 3.0.1
#112
26 July 2017
- Prepare 3.0.0
#109
- Accept array as pattern
#108
- chore(package): update husky to version 0.14.3
#103
- chore(package): update lint-staged to version 4.0.1
#104
- Ignore eslint for greenkeeper
#105
- Minor updates
#99
- Update travis config
#97
- Add prettier
#95
- Use babel-preset-env
#94
- Add coverage
#93
- Update dependencies to enable Greenkeeper 🌴
#92
- Rename history
#90
- Add jest
#89
- Add issue template
#88
- Run eslint on travis as well
#83
- Update Readme.md
#79
- chore(package): update husky to version 0.14.3 (#103)
#101
- chore(package): update lint-staged to version 4.0.1 (#104)
#100
1 January 2017
1 January 2017
- Update readme
#76
- Abstract rendering
#72
- Simplify babel setup
#71
- Add yarn lockfile
#70
- Test on same node versions as metalsmith/metalsmith
#66
27 September 2016
- 2.0.0-beta.1
#57
- Move to jstransformer
#52
- Error: Added filename to render callback.
#51
- Expose consolidate.requires fix #13
#13
3 May 2016
- Ensure partial names never contain backslashes
#42
- Remove eslint dependency
#40
- Chores
#39
- Update readme
#28
- Update readme badges
#37
- Remove makefile
eb3d176
- Update readme
abd4337
- Add hound
f7a122a
11 February 2016
- Refactor rename option
#36
- Finish a complete render to .html files
#33
- add rename option
cc28b70
- Update readme and move renaming logic
f8632f4
- fix tests
d4b65b2
- Prevent path issues on windows
1550d28
- update travis
ed6dd6b
27 January 2016
- Update consolidate and lodash.omit
#34
17 October 2015
- Update fs-readdir-recursive
#30
- Update readme
#27
- Refactor partials tests
#26
- Update eslint config and modularize
#25
- Update readme and dependencies
4080260
- Boilerplate as example
43a0511
6 August 2015
- Revert discarding unrecognised partials options
#24
6 August 2015
- Update readme and only accept partials string
#23
- Update eslint
#22
- Update
#19
- Add test for swig includes
#21
- Update readme
#5
- Add support for partials string
8b0e4a8
- Update code style: disallow single line ifs
3721aaf
- Add error handling
4407710
23 July 2015
- Update swig
#18
23 July 2015
20 July 2015
19 July 2015
- Update tests
#8
- Ignore binary files
a1bd29c
- Add editorconfig
527020e
- Add gitattributes
afdf946
- Add author and other info
fc5e6d8
- Update readme
881c575
- Add travis
7303baa
- Add david dm badges
6aeec90
22 November 2014
- Add example
eac4117
18 November 2014
- Update for metalsmith 1.x
#25
- Possibility to pass options to the template engine (with lodash.omit).
#8
- Update readme, closes #1
#1
- Remove everything not related to in-place templating, closes #2
#2
- first commit
53b63f4
- add rendering of files in place
21d8cbf
- add in place option, change pattern to just restrict
dcf8402
- Render files in place by default
dee5a2a
- fix style
5b35555
- Using 'lodash.omit' instead of own implementation.
f01b629
- Add installation instructions
c1cfd65
- Update package.json
2ee797d
- update readme
8700e2a
- update readme
9348283
- move incorrectly installed jstransformer-pug dependency to devDependencies, was only used during testing
- fix bug where it would keep processing if the last extension matches a jstransformer and its output extension
- add
setFilename
option, to set the absolute file path in the engine options
- prefix rendering errors with filename that caused the error
- allow async transforms
- add
suppressNoFilesError
feature
- documentation fix
- add a documentation link to the error messages
- add debug for better debugging
So this library went through a bit of churny phase, my apologies for that. It was caused by a couple of factors; moving the library to a new home, a new rendering engine and me trying to abstract said rendering engine for reuse in metalsmith-layouts.
However, the end result is now a stable plugin, that's easy to use and easy to maintain. Jstransformers are way simpler to debug, and so far I haven't even encountered any bugs. We're not abstracting the rendering engine because it's just not worth it, and confusing apis have been removed. All in all I hope that you'll enjoy this release and feel free to let me know if you encounter anything!
- breaking: dropped node 4 support
- breaking: the filename property is no longer set automatically, use https://github.com/MoOx/metalsmith-filenames
- removed metalsmith-engine-jstransformer for ease of maintenance
- update metalsmith-engine-jstransformer to 1.0.0-alpha.2
- update metalsmith-engine-jstransformer to 1.0.0-alpha.1
- update metalsmith-engine-jstransformer to 0.1.2
- dropped support for iojs and node 0.12
- allow arrays for pattern option as well
- correct publishing mistake
- abstract templating, allows user to choose which engine to use for rendering (breaking change)
- switch to jstransformers for rendering (breaking change)
- normalize partial name for windows
- add rename option
- prevent path issue on windows
- update consolidate and lodash.omit
- update fs-readdir-recursive
- pass unrecognised
partials
options to consolidate
- add swig include test
- add error handling for unrecognised engines
- code style, dependency and readme updates
- add partials option and test
- update swig
- update dependencies
- update and add badges
- is-utf8 should be a dependency
- add eslint
- add release badge
- update tests
- ignore binary files
- add travis ci and david dm badges to readme
- add gitattributes and editorconfig to repo
- change name to metalsmith-in-place
- render files in-place by default
- remove
default
,directory
andinPlace
- fix to use
path
for metalsmith1.0.0
- fix breaking binary files
- fix race condition with stringify file contents
- pass in options to consolidate.js
- add
default
option
- add
inPlace
option - change
pattern
option to just filter
- fix bug in matching pattern logic
- add rendering files in place with a
pattern
- add
string
engine convenience
- fix
directory
option bug
- stringify
contents
on the original file data
- switch to
extend
fromdefaults
to avoid cloning - add debug statements
- fix to use buffers
- mix in metadata
✨