All notable changes to this project will be documented in this file. Dates are displayed in UTC.
Generated by auto-changelog
.
- Improves debugging by preventing
dateFormatter
function from returning an anonymous function. Fix #143.#143
- Documents 'hidden' feature for custom date formatting function, adds date-fn test
26203cc
- refactor: simplify date formatting logic and enhance dateFormatter function
dffe27b
- Improve debug & error message clarity
3b754ab
- Drops support for Node < 14.18.0 to enable node:-prefixed imports
c01345f
- refactor: update test case to match the scenario
2484713
- Adds README info about placeholder substitution for booleans/ arrays
76a1349
19 January 2024
- Fixes #139: don't slugify dirname, add nested file test, document default slug options in types
#139
- fix: slug options to defaultLinkset.slug, correct date jsdoc
4b60c50
- fix: accept simple quotes in permalinks as even Windows accepts it
5af7d5d
13 December 2023
- Resolves #88, opens up permalinks usage for files with any extension.
#88
- Resolves #75, adds support for dot.notated.pattern.parts
#75
- BREAKING: Resolves #131, replaces moment.js with subset of own date-formatting tokens.
#131
- BREAKING: Resolves #19, throw an error when the permalink resolves with invalid filepath chars
#19
- BREAKING: Resolves #132, removes deprecated options 'relative','duplicatesFail','unique' and 'indexFile' and related bloat
#132
- Updates README.md & types for v3.0.0
3d7ea2e
- test: refactor to ESM (actual)
7d9a2d2
- BREAKING: refactors options and default linkset handling
7d5ca36
- BREAKING: throws an error on missing, non-optional pattern parts. See also #22 (comment)
552b549
- Allows front-matter defined permalinks to use :placeholder patterns
053e92e
- BREAKING: Solves #94, removes invalid file path characters & sets more sensible slugify defaults
b30d875
- test: remove obsolete test
d5d199f
- Formalize default permalink pattern to ':dirname/:basename'
176515e
- Updates slugify 1.6.5 -> 1.6.6
a1d2a2f
- Updates regexparam 2.0.1 -> 3.0.0
804e1cd
- test: refactor to ESM
046770e
- Drops support for Node < 14.14.0
3c4bba9
2 February 2023
- Fixes #135 and also removes some warnings that logged when they shouldn't
#135
4 January 2023
- Resolves #134: deprecates & merges options 'duplicatesFail' & 'unique' into new option 'duplicates'
#134
- Fixes #48, aligns linkset & default options date & slug formatting
#48
- Resolves #44: eliminate ambiguity with setImmediate(done)
#44
- Resolves #129: provides dual ESM/CJS module
#129
- Drops support for Metalsmith < 2.5.0, replaces debug with metalsmith.debug
7e1c0dc
- Deprecates file.path in favor of file.permalink and adds better testing
c7a56f1
- Adds Typescript definitions
6354c95
- Aligns behavior of using alt indexFile and adds indexFile test
5d6d861
- Deprecates the file.path property in favor of file.permalink
4130e03
- Deprecates options.indexFile in favor of options.directoryIndex
b6ee083
- test: add test case for array matches & cheat coverage
5f7734c
- docs: correct typo's & omissions in README.md
94816a2
- Deprecates the 'relative' option, cfr. #132
ffb7fcb
- fix: ESM build export * instead of default from regexparam
e1a9fe6
31 October 2022
- Updates regexparam 2.0.0 -> 2.0.1, debug 4.3.3 -> 4.3.4
309e998
- Dropped support for Node < 12
ec20c30
30 January 2022
- Resolves #122: remove deprecated substitute pkg, add regexparam instead
#122
- Fixes #120: default linkset options should be overwritten by other linksets
#120
- Resolves #121: Align dot & repo files with core plugins
#121
- Update debug to 4.3.3, moment to 2.29.1, slugify to 1.6.4
4360a30
- feat: proper jsdocs, cleaner option handling code
4684767
- feat: allow optional pattern placeholder
a7f89ea
- fix: remove console.log typo, fix few README typo's
2ea03de
- Update slugify 1.6.4 -> 1.6.5
13e3dbf
- Fixes debug channel to '@metalsmith/permalinks'
21bc858
2.2.0 - 2019-02-21
- Added functionality to extend slugify
- Updated Docs
2.1.0 - 2019-01-31
- Added functionality to make URIs unique or report error
- Tests added
- Test boiler plate removed
2.0.1 - 2019-01-31
- Fixed permalink override option
- Test added
2.0.0 - 2018-10-15
- Migrated to slugify to fix security issues: slug options changed slightly
- Tests added
1.0.0 - 2018-09-06
- Published latest version and fixed API by releasing v1
0.4.0 - 2014-09-02
- Published latest version and fixed API by releasing v1
0.3.2 - 2014-06-11
- add
permalink: false
option to disable permalinking
0.3.1 - 2014-06-02
- fix installing
substitute
dependency
0.3.0 - 2014-04-02
- fix backslashes in permalinks on windows
- cleanup tests
0.2.2 - 2014-03-14
- fix relative file copying
- add option to turn off relative file copying
0.2.1 - 2014-03-14
- remove
debugger
statement, holy crap
0.2.0 - 2014-03-11
- remove
debugger
statement
0.1.3 - 2014-03-11
- add
date
option for rendering dates
0.1.2 - 2014-03-10
toString
replacements
0.1.1 - 2014-03-07
- remove
debugger
statement
0.1.0 - 2014-03-06
- fix
substitute
dependency
0.0.2 - 2014-02-06
- add string shorthand
- add duplicating of relative assets
- add debug statements
✨