author int64 658 755k | date stringdate 2012-06-12 08:34:29 2024-07-22 14:51:21 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods listlengths 1 16 | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
699 | 13.06.2021 15:11:11 | 18,000 | 7dcbdd13b1167af94d6512b7fc1f0041e1ba969a | Separate gitignore and eleventyignore tests into new file | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/EleventyFilesGitIgnoreEleventyIgnoreTest.js",
"diff": "+const test = require(\"ava\");\n+const EleventyFiles = require(\"../src/EleventyFiles\");\n+const TemplatePath = require(\"../src/TemplatePath\");\n+const TemplateConfig = require(\"..... | JavaScript | MIT License | 11ty/eleventy | Separate gitignore and eleventyignore tests into new file |
699 | 14.06.2021 07:22:21 | 18,000 | 6e20f63b20562d97c3a2b40ae911d1820f5bd584 | Always ignore node_modules by default. Previous behavior only ignored node_modules by default if you did not have a .gitignore or your .gitignore was empty. Opt-out using `eleventyConfig.ignores.delete("node_modules/**");`
Also adds a configuration option to allow modification of ignores: `eleventyConfig.ignores.add("my_ignore_file.md");`
Fixes
Fixes
Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/EleventyFiles.js",
"new_path": "src/EleventyFiles.js",
"diff": "@@ -112,6 +112,10 @@ class EleventyFiles {\n/* For testing */\n_setConfig(config) {\n+ if (!config.ignores) {\n+ config.ignores = new Set();\n+ config.ignores.add(\"node_modules/**\");\n+ }\nt... | JavaScript | MIT License | 11ty/eleventy | Always ignore node_modules by default. Previous behavior only ignored node_modules by default if you did not have a .gitignore or your .gitignore was empty. Opt-out using `eleventyConfig.ignores.delete("node_modules/**");`
Also adds a configuration option to allow modification of ignores: `eleventyConfig.ignores.add("my_ignore_file.md");`
Fixes #383
Fixes #1405
Fixes #894 |
699 | 14.06.2021 09:48:37 | 18,000 | 0407ef72e28c1010bca1883b35e2c59fec6cc45c | Removes experimental requirement for | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -652,10 +652,6 @@ class UserConfig {\n}\naddExtension(fileExtension, options = {}) {\n- if (!process.env.ELEVENTY_EXPERIMENTAL) {\n- return;\n- }\n-\nthis.extensionMap.add(\nObject.assign(\n{\n"
... | JavaScript | MIT License | 11ty/eleventy | Removes experimental requirement for https://github.com/11ty/eleventy/issues/117 |
699 | 14.06.2021 17:43:29 | 18,000 | a502bb104f81554acb068b2ff2ef0c6746f0fbf1 | Fix for templates that have both build and serverless | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -256,12 +256,11 @@ class Template extends TemplateContent {\n// Makes page.url out of the serverless pathname\ngetServerlessOutputHref(data, resolvedLink) {\n- if (resolvedLink === false) {\nlet path... | JavaScript | MIT License | 11ty/eleventy | Fix https://github.com/11ty/eleventy/issues/1832 for templates that have both build and serverless |
699 | 15.06.2021 07:04:38 | 18,000 | bb70c464996f9c955cf0aee4cd136ee0a1817451 | Fixes issues related to (both path and link should be false in serverless mode) | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -254,14 +254,11 @@ class Template extends TemplateContent {\nreturn this._usePermalinkRoot;\n}\n- // Makes page.url out of the serverless pathname\n- getServerlessOutputHref(data, resolvedLink) {\n+ ... | JavaScript | MIT License | 11ty/eleventy | Fixes issues related to #1832 (both path and link should be false in serverless mode) |
699 | 15.06.2021 16:28:40 | 18,000 | ff824ba9ddc012521d96412ee789847018c0ba03 | Option to use build url for page.url in serverless mode. | [
{
"change_type": "MODIFY",
"old_path": "src/Serverless.js",
"new_path": "src/Serverless.js",
"diff": "@@ -21,6 +21,8 @@ class Serverless {\n{\ninputDir: \".\",\nfunctionsDir: \"functions/\",\n+ // Whether the serverless pathname overrides the page.url data value.\n+ pathnameOverridesPageUrl: true,\n... | JavaScript | MIT License | 11ty/eleventy | Option to use build url for page.url in serverless mode. |
699 | 16.06.2021 09:27:06 | 18,000 | 3344c8e054c59ea4bdb8385f9e51ce90f2d94fe5 | Fix for page.filePathStem in serverless mode. | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -96,6 +96,13 @@ class Eleventy {\n*/\nthis.isDryRun = false;\n+ /**\n+ * @member {Boolean} - Explicit input directory (usually used when input is a single file/serverless)\n+ */\n+ if (options.inputD... | JavaScript | MIT License | 11ty/eleventy | Fix for page.filePathStem in serverless mode. |
699 | 22.06.2021 21:20:02 | 18,000 | 52bb4f97075089b3b61e104e76a74372a6fe17f8 | Adds support for page.url in serverless templates. Resolve urls with :path :vars using the serverlessUrl filter. Use an array of urls in serverless keys. Toggle the serverless bundler on and off using the `bundlerEnabled` option in the plugin. | [
{
"change_type": "MODIFY",
"old_path": "src/ComputedDataTemplateString.js",
"new_path": "src/ComputedDataTemplateString.js",
"diff": "@@ -55,8 +55,13 @@ class ComputedDataTemplateString {\n} catch (e) {\ndebug(\"Computed Data first pass data resolution error: %o\", e);\n}\n+\n+ // page.outputPath on... | JavaScript | MIT License | 11ty/eleventy | Adds support for page.url in serverless templates. Resolve urls with :path :vars using the serverlessUrl filter. Use an array of urls in serverless keys. Toggle the serverless bundler on and off using the `bundlerEnabled` option in the plugin. |
699 | 23.06.2021 21:51:57 | 18,000 | 9936e25b7ba8abeb4d1297ed50163801d2de69f9 | Prefer path to be included in the options object. | [
{
"change_type": "MODIFY",
"old_path": "src/Serverless.js",
"new_path": "src/Serverless.js",
"diff": "@@ -9,7 +9,21 @@ const debug = require(\"debug\")(\"Eleventy:Serverless\");\nclass Serverless {\nconstructor(name, path, options = {}) {\nthis.name = name;\n+\n+ // second argument is path\n+ if (ty... | JavaScript | MIT License | 11ty/eleventy | Prefer path to be included in the options object. |
699 | 23.06.2021 21:54:00 | 18,000 | 0e54cce4be241fe3fd72fedfb8ccae1b1840f223 | Generate serverless function file if one does not exist. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/ServerlessBundlerPlugin.js",
"new_path": "src/Plugins/ServerlessBundlerPlugin.js",
"diff": "const fs = require(\"fs\");\n+const fsp = fs.promises;\nconst path = require(\"path\");\nconst TOML = require(\"@iarna/toml\");\nconst copy = require(\"recu... | JavaScript | MIT License | 11ty/eleventy | Generate serverless function file if one does not exist. |
699 | 25.06.2021 21:30:23 | 18,000 | 571f8cf5bc124f7a0bd35d891797f377ddb54b0e | Data, Includes, and Layouts directories should not be required by the bundler. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/ServerlessBundlerPlugin.js",
"new_path": "src/Plugins/ServerlessBundlerPlugin.js",
"diff": "const fs = require(\"fs\");\nconst fsp = fs.promises;\nconst path = require(\"path\");\n+const isGlob = require(\"is-glob\");\nconst TOML = require(\"@iarna... | JavaScript | MIT License | 11ty/eleventy | Data, Includes, and Layouts directories should not be required by the bundler. |
699 | 30.06.2021 10:06:41 | 18,000 | e7811f43b80340eda349493327cdef402c7c5940 | Get those console logs out of the tests. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"bugs\": \"https://github.com/11ty/eleventy/issues\",\n\"homepage\": \"https://www.11ty.dev/\",\n\"ava\": {\n+ \"environmentVariables\": {},\n\"failFast\": false,\n\"files\": [\n\"./test/*.js\"\n"
},
{
... | JavaScript | MIT License | 11ty/eleventy | Get those console logs out of the tests. |
699 | 30.06.2021 11:28:27 | 18,000 | 6a9c03e4815b1baf08883661e71a3f90df8dc7d2 | Use the parser to determine the symbols used in a template string (Nunjucks-only so far). This avoids using the double function execution hack and will be more reliable with things that use filters. | [
{
"change_type": "MODIFY",
"old_path": "src/ComputedData.js",
"new_path": "src/ComputedData.js",
"diff": "@@ -10,6 +10,7 @@ const debug = require(\"debug\")(\"Eleventy:ComputedData\");\nclass ComputedData {\nconstructor(config) {\nthis.computed = {};\n+ this.symbolParseFunctions = {};\nthis.template... | JavaScript | MIT License | 11ty/eleventy | Use the parser to determine the symbols used in a template string (Nunjucks-only so far). This avoids using the double function execution hack and will be more reliable with things that use filters. |
699 | 30.06.2021 11:28:45 | 18,000 | 9c83e5bc513d66631f2711dac1762725b7f9327a | Move a few tests to a separate file. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "const test = require(\"ava\");\n-const fs = require(\"fs-extra\");\nconst fsp = require(\"fs\").promises;\nconst pretty = require(\"pretty\");\n@@ -19,37 +18,6 @@ async function getRenderedDat... | JavaScript | MIT License | 11ty/eleventy | Move a few tests to a separate file. |
699 | 30.06.2021 14:36:40 | 18,000 | 79245d85bcfba3ce8e8b75d84315c6c5bd81bbd3 | Add AST traversal for Liquid strings in eleventyComputed | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "@@ -388,7 +388,7 @@ class Nunjucks extends TemplateEngine {\nreturn name.join(\".\");\n});\n- return symbols;\n+ return Array.from(new Set(symbols));\n}\nasync compile(str, inputPath) {\... | JavaScript | MIT License | 11ty/eleventy | Add AST traversal for Liquid strings in eleventyComputed |
713 | 30.06.2021 19:00:49 | 18,000 | 84449ab597302a87975f32e6b25ca3f555907d11 | Feat: Allow default engine overrides using addExtension | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -10,6 +10,8 @@ class CustomEngine extends TemplateEngine {\n\"init\" in this.entry && typeof this.entry.init === \"function\";\nthis.initStarted = false;\nthis.initFinished = false;\n+\n+... | JavaScript | MIT License | 11ty/eleventy | Feat: Allow default engine overrides using addExtension |
713 | 30.06.2021 19:01:20 | 18,000 | c3b7deab7d3038e4dddffb43bdfbeb150c414579 | feat: add unit tests for engine overrides | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderCustomTest.js",
"new_path": "test/TemplateRenderCustomTest.js",
"diff": "@@ -34,6 +34,70 @@ test(\"Custom plaintext Render\", async (t) => {\nt.is(await fn({}), \"<p>Paragraph</p>\");\n});\n+test(\"Custom Markdown Render with `compile` overr... | JavaScript | MIT License | 11ty/eleventy | feat: add unit tests for engine overrides |
713 | 01.07.2021 09:52:29 | 18,000 | 236afeee4b1c22cc7db0f09a49c4053746cc066f | refactor: move defaultCompiler to "this" context | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -94,11 +94,11 @@ class CustomEngine extends TemplateEngine {\n}\n// TODO generalize this (look at JavaScript.js)\n- return this.entry.compile.bind({ config: this.config })(\n- str,\n- inp... | JavaScript | MIT License | 11ty/eleventy | refactor: move defaultCompiler to "this" context |
713 | 01.07.2021 10:01:32 | 18,000 | 375aec479be5ab608aea11162f2dbf742820e7b7 | Update comment in src/TemplateEngineManager.js | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateEngineManager.js",
"new_path": "src/TemplateEngineManager.js",
"diff": "@@ -92,7 +92,7 @@ class TemplateEngineManager {\n// If the user providers a \"Custom\" engine using addExtension,\n// But that engine's instance is *not* custom,\n// The user m... | JavaScript | MIT License | 11ty/eleventy | Update comment in src/TemplateEngineManager.js |
699 | 01.07.2021 15:09:04 | 18,000 | 8a6b7bff65334c2edba08905b93a62dfb5823449 | Nunjucks parser needs to know about custom tags (shortcodes) | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "const NunjucksLib = require(\"nunjucks\");\n-const parser = NunjucksLib.parser;\n-const nodes = NunjucksLib.nodes;\nconst TemplateEngine = require(\"./TemplateEngine\");\nconst TemplateP... | JavaScript | MIT License | 11ty/eleventy | Nunjucks parser needs to know about custom tags (shortcodes) |
699 | 01.07.2021 16:27:43 | 18,000 | 89fd4a2e549f5a9a9061c6e8891ee128110389fa | Move a few tests | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "@@ -593,70 +593,6 @@ test(\"Clone the template\", async (t) => {\nt.is(cloned.extensionMap, tmpl.extensionMap);\n});\n-test(\"Permalink with variables!\", async (t) => {\n- let tmpl = getNewTe... | JavaScript | MIT License | 11ty/eleventy | Move a few tests |
699 | 01.07.2021 16:31:58 | 18,000 | 76f06cf92b942653f970a94f3bf3857b7d99ca5e | Add test for commas | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest_Permalink.js",
"new_path": "test/TemplateTest_Permalink.js",
"diff": "@@ -209,3 +209,13 @@ test(\"Using slugify filter with apostrophe\", async (t) => {\nt.is(await tmpl.getOutputPath(), \"./dist/subdir/hi-i-m-zach/index.html\");\n});\n+\n+te... | JavaScript | MIT License | 11ty/eleventy | Add test for commas |
707 | 04.07.2021 19:01:57 | -3,600 | d5d110cba92d6abe230b014743df9f75211c4fac | Deduplicate tags when using deepDataMerge | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateData.js",
"new_path": "src/TemplateData.js",
"diff": "@@ -586,6 +586,9 @@ class TemplateData {\n} else if (data.tags === null) {\ndata.tags = [];\n}\n+\n+ // Deduplicate tags\n+ data.tags = [...new Set(data.tags)];\n}\nreturn data;\n"
},
{
... | JavaScript | MIT License | 11ty/eleventy | Deduplicate tags when using deepDataMerge |
699 | 06.07.2021 21:03:17 | 18,000 | 4eded235dc8505140d24a309cfb3e9792fee44bc | Resolves PR comment | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest_Permalink.js",
"new_path": "test/TemplateTest_Permalink.js",
"diff": "@@ -200,16 +200,6 @@ test(\"Using slugify filter!\", async (t) => {\nt.is(await tmpl.getOutputPath(), \"./dist/subdir/slug-love-candidate-lyublyu/index.html\");\n});\n-test... | JavaScript | MIT License | 11ty/eleventy | Resolves PR comment https://github.com/11ty/eleventy/pull/1873#discussion_r663253148 |
699 | 06.07.2021 21:24:08 | 18,000 | 6169883e442815331fd74dcceac5242e752e2ced | Add tests for passing in options to slug and slugify filters. Switch to decamelize default for slugify filter. | [
{
"change_type": "MODIFY",
"old_path": "src/Filters/Slugify.js",
"new_path": "src/Filters/Slugify.js",
"diff": "const slugify = require(\"@sindresorhus/slugify\");\nmodule.exports = function(str, options = {}) {\n- return slugify(str, options);\n+ return slugify(str, Object.assign({\n+ decamelize: f... | JavaScript | MIT License | 11ty/eleventy | Add tests for passing in options to slug and slugify filters. Switch to decamelize default for slugify filter. |
699 | 11.07.2021 13:53:08 | 18,000 | 70133c03b7390810140ac6897531ab3f0a04a106 | A few minor changes to facilitate | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -906,8 +906,11 @@ Arguments:\n}\ntry {\n- await this.config.events.emit(\"beforeBuild\");\n- await this.config.events.emit(\"eleventy.before\");\n+ let eventsArg = {\n+ inputDir: this.config.inputDir... | JavaScript | MIT License | 11ty/eleventy | A few minor changes to facilitate https://github.com/11ty/eleventy-upgrade-help |
699 | 11.07.2021 23:18:57 | 18,000 | 2623e771b31e97ca7fec100c1d4a86439d830d80 | Changes dynamicPartials default from false to true. Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Liquid.js",
"new_path": "src/Engines/Liquid.js",
"diff": "@@ -48,7 +48,7 @@ class Liquid extends TemplateEngine {\nlet defaults = {\nroot: [super.getIncludesDir()], // overrides in compile with inputPath below\nextname: \".liquid\",\n- dynamicParti... | JavaScript | MIT License | 11ty/eleventy | Changes dynamicPartials default from false to true. Fixes https://github.com/11ty/eleventy/issues/240 |
699 | 12.07.2021 08:23:21 | 18,000 | 5fce0f7834a2fa49f59bd894b8b65d2cf8484bf3 | Removes ViperHTML dev test via npm warn "npm WARN deprecated viperHTML is maintenance only: check ucontent or heresy-ssr instead" | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderJavaScriptTest.js",
"new_path": "test/TemplateRenderJavaScriptTest.js",
"diff": "@@ -162,19 +162,6 @@ test(\"JS Render using Vue (with a layout)\", async (t) => {\n);\n});\n-test(\"JS Render using ViperHTML\", async (t) => {\n- let fn = awai... | JavaScript | MIT License | 11ty/eleventy | Removes ViperHTML dev test via npm warn "npm WARN deprecated viperhtml@2.17.1: viperHTML is maintenance only: check ucontent or heresy-ssr instead" |
699 | 12.07.2021 08:29:30 | 18,000 | a72ccbdc187d5f47be8b0e3de958844e4be342c7 | Update dependencies. Includes major version bumps to luxon and fs-extra | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "]\n},\n\"devDependencies\": {\n- \"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.1.0\",\n+ \"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.1.1\",\n\"ava\": \"^3.15.0\",\n\"husky\": \"^7.0.1\",\n\"ink-docstrap... | JavaScript | MIT License | 11ty/eleventy | Update dependencies. Includes major version bumps to luxon and fs-extra |
699 | 12.07.2021 08:37:17 | 18,000 | 6d3632c3a5024186a93a7e70d6c576b45eceb262 | Remove a few deps, more info at | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "],\n\"scripts\": {\n\"default\": \"npm run test\",\n- \"doc\": \"jsdoc -c .jsdoc.conf.json -d ./api-docs -p ./package.json -R README.md -t ./node_modules/ink-docstrap/template -r src/\",\n\"test\": \"npx ava ... | JavaScript | MIT License | 11ty/eleventy | Remove a few deps, more info at https://github.com/11ty/eleventy/issues/1885#issuecomment-878286079 |
699 | 13.07.2021 16:23:13 | 18,000 | b8687ee27d73e5f68fa9f708b5e17fa5366795e0 | Update one more dep | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"ava\": \"^3.15.0\",\n\"husky\": \"^7.0.1\",\n\"js-yaml\": \"^4.1.0\",\n- \"lint-staged\": \"^11.0.0\",\n+ \"lint-staged\": \"^11.0.1\",\n\"markdown-it-emoji\": \"^2.0.0\",\n\"nyc\": \"^15.1.0\",\n\"prettier... | JavaScript | MIT License | 11ty/eleventy | Update one more dep |
699 | 14.07.2021 08:09:15 | 18,000 | 31dc9b02e8ba64d1658470ba5d02880487b4bc22 | Serverless fix: changing serverless paths previously required a dev server restart | [
{
"change_type": "MODIFY",
"old_path": "src/Serverless.js",
"new_path": "src/Serverless.js",
"diff": "@@ -4,6 +4,7 @@ const fs = require(\"fs\");\nconst Eleventy = require(\"./Eleventy\");\nconst TemplatePath = require(\"./TemplatePath\");\nconst UrlPattern = require(\"url-pattern\");\n+const delete... | JavaScript | MIT License | 11ty/eleventy | Serverless fix: changing serverless paths previously required a dev server restart |
706 | 20.07.2021 15:17:36 | 25,200 | 79b37ee69eb9953001e953078dc64dbdb8c7a92f | Adds code of conduct link to top of markdown file | [
{
"change_type": "MODIFY",
"old_path": "CODE_OF_CONDUCT.md",
"new_path": "CODE_OF_CONDUCT.md",
"diff": "# Eleventy Community Code of Conduct\n+View the [Code of Conduct](https://www.11ty.dev/docs/code-of-conduct/) on 11ty.dev\n+\n## Our Pledge\nIn the interest of fostering an open and welcoming envi... | JavaScript | MIT License | 11ty/eleventy | Adds code of conduct link to top of markdown file |
699 | 27.07.2021 07:30:26 | 18,000 | f733001f1e76a38e4576b525d7506950f4370fef | Apply Prettier to src/
Pairs with | [
{
"change_type": "MODIFY",
"old_path": ".prettierrc.json",
"new_path": ".prettierrc.json",
"diff": "{\n- \"arrowParens\": \"avoid\"\n+ \"arrowParens\": \"always\"\n}\n"
},
{
"change_type": "MODIFY",
"old_path": "src/EleventyWatchTargets.js",
"new_path": "src/EleventyWatchTargets.js",... | JavaScript | MIT License | 11ty/eleventy | Apply Prettier to src/
Pairs with #1560. |
699 | 28.07.2021 08:21:49 | 18,000 | f958cd3eec6882dd2613114d827ecbecad3d3d07 | Uh, fix the syntax errors from a bad merge. | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -160,25 +160,24 @@ class TemplateConfig {\ndebug(\"rootConfig %o\", this.rootConfig);\n}\n- processPlugins(localConfig) {\n- // eleventyConfig.plugins\n- eleventyConfig.plugins.forEach(({... | JavaScript | MIT License | 11ty/eleventy | Uh, fix the syntax errors from a bad merge. |
699 | 28.07.2021 12:45:51 | 18,000 | 828ee785fea82c4c84933c53e85ea5a69a883c64 | Fix regression with serverless config merge | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -110,7 +110,7 @@ class TemplateConfig {\ngetConfig() {\nif (!this.hasConfigMerged) {\ndebugDev(\"Merging via getConfig (first time)\");\n- this.config = this.mergeConfig(this.projectConfi... | JavaScript | MIT License | 11ty/eleventy | Fix regression with serverless config merge |
699 | 28.07.2021 12:47:18 | 18,000 | e6a8077edc0a256daefa1e94a3c4103bb972dccc | Reuse inputDir when returned in configuration file. Thanks via | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/ServerlessBundlerPlugin.js",
"new_path": "src/Plugins/ServerlessBundlerPlugin.js",
"diff": "@@ -265,6 +265,11 @@ class BundlerHelper {\n}\nfunction EleventyPlugin(eleventyConfig, options = {}) {\n+ let inputDir = \".\";\n+ if (eleventyConfig.dir &&... | JavaScript | MIT License | 11ty/eleventy | Reuse inputDir when returned in configuration file. Thanks @MadeByMike via https://github.com/11ty/eleventy/pull/1320 |
699 | 29.07.2021 08:28:09 | 18,000 | 598e4ca016a25bd3f87805f75e035fa57c5de8ef | Ability to re-use logger in plugins (for serverless plugin to works with verbose mode for free) | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -42,6 +42,8 @@ class Eleventy {\n}\n}\n+ this.eleventyConfig.setLogger(this.logger);\n+\nif (options.config && typeof options.config === \"function\") {\n// TODO use return object here?\noptions.conf... | JavaScript | MIT License | 11ty/eleventy | Ability to re-use logger in plugins (for serverless plugin to works with verbose mode for free) |
699 | 29.07.2021 09:11:20 | 18,000 | a11a8ba97f0d7c1447e8cf711ac861ef5e5a1e0d | Reinstate async filter test in liquid!! Fixes | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderLiquidTest.js",
"new_path": "test/TemplateRenderLiquidTest.js",
"diff": "@@ -176,17 +176,16 @@ test(\"Liquid Custom Filter\", async (t) => {\nt.is(await tr._testRender(\"{{ 'test' | prefixWithZach }}\", {}), \"Zachtest\");\n});\n-test.skip(\... | JavaScript | MIT License | 11ty/eleventy | Reinstate async filter test in liquid!! Fixes https://github.com/11ty/eleventy/issues/831 |
699 | 29.07.2021 22:07:46 | 18,000 | 94757865113283a0993f65e926bf810d9a633e13 | Fixes by removing unnecessary Capitlize utility | [
{
"change_type": "DELETE",
"old_path": "src/Util/Capitalize.js",
"new_path": null,
"diff": "-module.exports = function (str, options) {\n- options = Object.assign(\n- {\n- lowercaseRestOfWord: false,\n- },\n- options\n- );\n-\n- return str\n- .split(\" \")\n- .map(function (word) {\n- return (\n- wo... | JavaScript | MIT License | 11ty/eleventy | Fixes https://github.com/11ty/eleventy/pull/1909 by removing unnecessary Capitlize utility |
699 | 06.08.2021 10:20:11 | 18,000 | 975816f9d53d480fc22d757b91d69a785dfd50aa | Removing ELEVENTY_EXPERIMENTAL requirement for `addExtension` in 1.0 | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -639,10 +639,6 @@ class UserConfig {\n}\naddExtension(fileExtension, options = {}) {\n- if (!process.env.ELEVENTY_EXPERIMENTAL) {\n- return;\n- }\n-\nthis.extensionMap.add(\nObject.assign(\n{\n"
... | JavaScript | MIT License | 11ty/eleventy | Removing ELEVENTY_EXPERIMENTAL requirement for `addExtension` in 1.0 |
699 | 06.08.2021 10:49:12 | 18,000 | d55eb07d791f7534cb3f713c2e5827952d133893 | Rename a variable for | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -946,15 +946,15 @@ class Template extends TemplateContent {\n}\n}\n} else {\n- let filenameRegex = this.inputPath.match(/(\\d{4}-\\d{2}-\\d{2})/);\n- if (filenameRegex !== null) {\n- let dateObj = Da... | JavaScript | MIT License | 11ty/eleventy | Rename a variable for https://github.com/11ty/eleventy/issues/1742 |
699 | 06.08.2021 16:14:58 | 18,000 | 324cb26a858286d92a3c9c17c885dadcfab89982 | Add limited number of tests for EleventyServerless
Related to | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -364,7 +364,8 @@ class Eleventy {\n};\ndebug(`Directories:\n-Input: ${dirs.input}\n+Input (Dir): ${dirs.input}\n+Input (File?): ${this.rawInput}\nData: ${dirs.data}\nIncludes: ${dirs.includes}\nLayou... | JavaScript | MIT License | 11ty/eleventy | Add limited number of tests for EleventyServerless
Related to #1901 |
699 | 06.08.2021 16:23:10 | 18,000 | 21630bfc292a5d42cf61b86f3b51841419c7cd67 | Add Windows support for TemplatePath.absolutePath | [
{
"change_type": "MODIFY",
"old_path": "src/TemplatePath.js",
"new_path": "src/TemplatePath.js",
"diff": "@@ -134,18 +134,18 @@ TemplatePath.normalizeUrlPath = function (...urlPaths) {\nTemplatePath.absolutePath = function (...paths) {\nlet i = 0;\n// check all the paths before we short circuit from... | JavaScript | MIT License | 11ty/eleventy | Add Windows support for TemplatePath.absolutePath |
699 | 09.08.2021 10:55:47 | 18,000 | c611e7463a4a0e6dd53c322721d0a6788db22c0f | Add tests for Also fixes issue with using literal value | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -245,7 +245,7 @@ class UserConfig {\nreturn this;\n}\n- addNunjucksGlobal(name, globalFn) {\n+ addNunjucksGlobal(name, globalType) {\nname = this.getNamespacedName(name);\nif (this.nunjucksGlobal... | JavaScript | MIT License | 11ty/eleventy | Add tests for #1060. Also fixes issue with using literal value https://github.com/11ty/eleventy/pull/1060#issuecomment-881936530 |
699 | 09.08.2021 10:58:48 | 18,000 | ad8a020a5d95bafe1ef0bb8ab5a52cddf6209922 | Add skipped test for async | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateRenderNunjucksTest.js",
"new_path": "test/TemplateRenderNunjucksTest.js",
"diff": "@@ -867,3 +867,14 @@ test(\"Use addNunjucksGlobal with literal\", async (t) => {\nlet fn = await tr.getCompiledTemplate(\"<p>{{ fortytwo }}</p>\");\nt.is(await fn()... | JavaScript | MIT License | 11ty/eleventy | Add skipped test for async |
699 | 10.08.2021 17:28:00 | 18,000 | bbe9dd8f6adbbce495519299ee278d497628fefc | Regression with Nested addPlugin calls. Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -8,7 +8,6 @@ const UserConfig = require(\"./UserConfig\");\nconst debug = require(\"debug\")(\"Eleventy:TemplateConfig\");\nconst debugDev = require(\"debug\")(\"Dev:Eleventy:TemplateConf... | JavaScript | MIT License | 11ty/eleventy | Regression with Nested addPlugin calls. Fixes https://github.com/11ty/eleventy/issues/1925 |
699 | 10.08.2021 17:30:22 | 18,000 | ecd813be1a8153f4e290d4ba309e6ac21177f4da | Adds a comment about nested calls | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -177,6 +177,7 @@ class TemplateConfig {\nthis.userConfig.logger = this.logger;\n}\n+ // for Nested addPlugin calls, Issue #1925\nthis.userConfig._enablePluginExecution();\nthis.userConfig... | JavaScript | MIT License | 11ty/eleventy | Adds a comment about nested calls |
699 | 13.08.2021 20:18:07 | 18,000 | 292ec3083ebce80ce733a4ef4c72d17d11204b16 | We now write a metadata file to the bundler output for configuration data, this will prevent mismatched data when making changes to the input directory after the serverless index.js file has already been generated. Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -365,7 +365,7 @@ class Eleventy {\ndebug(`Directories:\nInput (Dir): ${dirs.input}\n-Input (File?): ${this.rawInput}\n+Input (File): ${this.rawInput}\nData: ${dirs.data}\nIncludes: ${dirs.includes}\n... | JavaScript | MIT License | 11ty/eleventy | We now write a metadata file to the bundler output for configuration data, this will prevent mismatched data when making changes to the input directory after the serverless index.js file has already been generated. Fixes #1929 |
699 | 14.08.2021 14:58:14 | 18,000 | 0eee96d7a6bcf4ad68c7a381501cb0a529c8fcbe | Fixes Adds process.env.ELEVENTY_NUNJUCKS_SPEEDBOOST_OPTOUT as an escape hatch to bypass the monkey patch if ever needed. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "@@ -9,105 +9,116 @@ const eventBus = require(\"../EventBus\");\n* The IFFE below apply a monkey-patch to Nunjucks internals to cache\n* compiled templates and re-use them where possible.... | JavaScript | MIT License | 11ty/eleventy | Fixes #1678. Adds process.env.ELEVENTY_NUNJUCKS_SPEEDBOOST_OPTOUT as an escape hatch to bypass the monkey patch if ever needed. |
713 | 14.08.2021 19:42:10 | 18,000 | c404506c53eaeccb2049145bd2e9e867385fa2b0 | refactor: rename defaultCompiler to defaultRenderer | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -76,9 +76,9 @@ class CustomEngine extends TemplateEngine {\nasync compile(str, inputPath, ...args) {\nawait this._runningInit();\n- let defaultCompiler;\n+ let defaultRenderer;\nif (this.... | JavaScript | MIT License | 11ty/eleventy | refactor: rename defaultCompiler to defaultRenderer |
713 | 14.08.2021 19:42:49 | 18,000 | c4c5455c058106eca50d0d2cfb387d0faf03e5cf | refactor: use this.getEngineClassByExtension() for custom engine require | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateEngineManager.js",
"new_path": "src/TemplateEngineManager.js",
"diff": "@@ -97,7 +97,7 @@ class TemplateEngineManager {\nthis.getClassNameFromTemplateKey(name) === \"Custom\" &&\ninstance.constructor.name !== \"CustomEngine\"\n) {\n- const CustomEn... | JavaScript | MIT License | 11ty/eleventy | refactor: use this.getEngineClassByExtension() for custom engine require |
699 | 15.08.2021 15:10:49 | 18,000 | 9f8bed319b2923a1755d415c3b2a3ab9e72c4c01 | Adds `.setNunjucksEnvironmentOptions` configuration API method. Options documented here:
Cleans up the Liquid/Pug options code a bit, was unnecessarily complex for testing
Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Liquid.js",
"new_path": "src/Engines/Liquid.js",
"diff": "@@ -8,10 +8,9 @@ class Liquid extends TemplateEngine {\nconstructor(name, includesDir, config) {\nsuper(name, includesDir, config);\n- this.liquidOptions = {};\n+ this.liquidOptions = this.c... | JavaScript | MIT License | 11ty/eleventy | Adds `.setNunjucksEnvironmentOptions` configuration API method. Options documented here: https://mozilla.github.io/nunjucks/api.html#configure
Cleans up the Liquid/Pug options code a bit, was unnecessarily complex for testing
Fixes #895. |
685 | 03.09.2021 16:35:20 | -18,000 | 6fc8eb1282707890b5124ecc35e9a1d2a7d0b31e | Check `permalink` field before set extra output subdirectory for pagination | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/Pagination.js",
"new_path": "src/Plugins/Pagination.js",
"diff": "@@ -310,7 +310,9 @@ class Pagination {\nlet cloned = tmpl.clone();\n// TODO maybe also move this permalink additions up into the pagination class\n- if (pageNumber > 0 && !this.data[... | JavaScript | MIT License | 11ty/eleventy | Check `permalink` field before set extra output subdirectory for pagination |
699 | 03.09.2021 11:16:58 | 18,000 | be3db7882c4b9cd0452ec58f9c385364aed671e0 | Removes valid-url dependency and relies on core url package. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"slugify\": \"^1.6.0\",\n\"split\": \"^1.0.1\",\n\"time-require\": \"^0.1.2\",\n- \"url-pattern\": \"^1.0.3\",\n- \"valid-url\": \"^1.0.9\"\n+ \"url-pattern\": \"^1.0.3\"\n}\n}\n"
},
{
"change_type":... | JavaScript | MIT License | 11ty/eleventy | Removes valid-url dependency and relies on core url package. |
699 | 06.09.2021 15:17:48 | 18,000 | f83fc0bcc0eb5d6403c6aa5f5f89587dec77cf29 | Swap to ELEVENTY_NUNJUCKS_SPEEDBOOST_OPTIN. Fixes Related to | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Nunjucks.js",
"new_path": "src/Engines/Nunjucks.js",
"diff": "@@ -10,7 +10,7 @@ const eventBus = require(\"../EventBus\");\n* compiled templates and re-use them where possible.\n*/\n(function () {\n- if (process.env.ELEVENTY_NUNJUCKS_SPEEDBOOST_OPT... | JavaScript | MIT License | 11ty/eleventy | Swap to ELEVENTY_NUNJUCKS_SPEEDBOOST_OPTIN. Fixes #1960. Related to #1678. |
699 | 08.09.2021 12:38:12 | 18,000 | 229f3801d506d30beb745ef907cf86fe69df623e | Make process.env.ELEVENTY_SERVERLESS work correctly when using --serve. | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -407,7 +407,9 @@ Verbose Output: ${this.verboseMode}`);\nprocess.env.ELEVENTY_SOURCE = this.source;\n- // TODO @zachleat this needs to be extensible. https://github.com/11ty/eleventy/issues/1957\n+ /... | JavaScript | MIT License | 11ty/eleventy | Make process.env.ELEVENTY_SERVERLESS work correctly when using --serve. |
699 | 27.09.2021 09:57:02 | 18,000 | 508114a6743fac1741d581cbf19d54b7d96d974a | Refactor to get rid of _test method caused by changes to | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "@@ -527,9 +527,11 @@ test(\"Posts inherits local JSON, layouts\", async (t) => {\n\"./test/stubs/posts/post1.11tydata.js\",\n]);\n- let localData = await dataObj._testGetLocalData(tmpl.getInpu... | JavaScript | MIT License | 11ty/eleventy | Refactor to get rid of _test method caused by changes to #915 |
699 | 03.10.2021 14:06:53 | 18,000 | 2824db33bab6ef5e8790f2f15a651d331c146f30 | Update deps. Lock to liquidjs 9.25 for | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.1.2\",\n\"ava\": \"^3.15.0\",\n- \"husky\": \"^7.0.1\",\n+ \"husky\": \"^7.0.2\",\n\"js-yaml\": \"^4.1.0\",\n\"lint-staged\": \"^11.1.2\... | JavaScript | MIT License | 11ty/eleventy | Update deps. Lock to liquidjs 9.25 for https://github.com/harttle/liquidjs/issues/395 |
718 | 07.10.2021 17:20:03 | -3,600 | d48cf041d46f6e0e8c4befde12e18e08fc06e9f1 | Fix being unable to namespace when using addPlugin | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateConfig.js",
"new_path": "src/TemplateConfig.js",
"diff": "@@ -180,9 +180,14 @@ class TemplateConfig {\n// for Nested addPlugin calls, Issue #1925\nthis.userConfig._enablePluginExecution();\n- this.userConfig.plugins.forEach(({ plugin, options }) =>... | JavaScript | MIT License | 11ty/eleventy | Fix being unable to namespace when using addPlugin |
699 | 16.10.2021 15:45:06 | 18,000 | f63d5fecd85231738cdc1e99b98a054fd1c2126a | The unskipped test went fine, removing the comment. | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest-ComputedData.js",
"new_path": "test/TemplateTest-ComputedData.js",
"diff": "@@ -187,7 +187,6 @@ test(\"eleventyComputed using symbol parsing on template strings (nunjucks)\", asy\nt.is(data.c, \"ab\");\n});\n-// TODO why is this skipped? http... | JavaScript | MIT License | 11ty/eleventy | The unskipped test went fine, removing the comment. |
680 | 19.10.2021 11:56:48 | 14,400 | 43db0ea5ce7fcd4725b920efdf774f4f3c2b04da | Add --port to CLI --help | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -539,6 +539,9 @@ Arguments:\n--serve\nRun web server on --port (default 8080) and watch them too\n+ --port\n+ Run the --serve web server on this port (default 8080)\n+\n--watch\nWait for files to cha... | JavaScript | MIT License | 11ty/eleventy | [#1938]: Add --port to CLI --help |
709 | 26.10.2021 13:33:45 | 0 | 3e34fbb09b35420e82275c4c936c2a3893df25d1 | Update browser-sync to 2.27.6 | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@11ty/dependency-tree\": \"^2.0.0\",\n\"@iarna/toml\": \"^2.2.5\",\n\"@sindresorhus/slugify\": \"^1.1.2\",\n- \"browser-sync\": \"^2.27.5\",\n+ \"browser-sync\": \"^2.27.6\",\n\"chalk\": \"^4.1.2\",\n\"chok... | JavaScript | MIT License | 11ty/eleventy | Update browser-sync to 2.27.6 |
699 | 03.11.2021 17:59:59 | 18,000 | ccf9c89b94bbed1c3162fbff2c94891267e7f1cb | Add configuration callback to serverless class. Run your own config code in the serverless function. Fixes | [
{
"change_type": "MODIFY",
"old_path": "src/Serverless.js",
"new_path": "src/Serverless.js",
"diff": "@@ -47,6 +47,8 @@ class Serverless {\nquery: {},\n// Inject shared collections\nprecompiledCollections: {},\n+ // Configuration callback\n+ config: function (eleventyConfig) {},\n},\noptions\n);\n@@... | JavaScript | MIT License | 11ty/eleventy | Add configuration callback to serverless class. Run your own config code in the serverless function. Fixes #2066 |
699 | 04.11.2021 18:10:07 | 18,000 | a9c29f40f8685737ddef2ac79349152acd35c524 | Adds getOutput method to serverless to return all of the raw entries that match the path (for advanced serverless usage).
Adds `dataFilterSelectors` to configuration file to allow some data to pass through to the JSON object returned by Eleventy.prototype.toJSON. These are lodash selectors. | [
{
"change_type": "MODIFY",
"old_path": "src/Template.js",
"new_path": "src/Template.js",
"diff": "@@ -3,6 +3,8 @@ const os = require(\"os\");\nconst path = require(\"path\");\nconst normalize = require(\"normalize-path\");\nconst isPlainObject = require(\"lodash/isPlainObject\");\n+const lodashGet =... | JavaScript | MIT License | 11ty/eleventy | Adds getOutput method to serverless to return all of the raw entries that match the path (for advanced serverless usage).
Adds `dataFilterSelectors` to configuration file to allow some data to pass through to the JSON object returned by Eleventy.prototype.toJSON. These are lodash selectors. |
699 | 05.11.2021 12:31:30 | 18,000 | 17cb0cb356b4533000a5f3ff309d9e4b18d087b1 | Change default serverless function to use new getOutput method. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/DefaultServerlessFunctionContent.js",
"new_path": "src/Plugins/DefaultServerlessFunctionContent.js",
"diff": "@@ -12,12 +12,17 @@ async function handler(event) {\n});\ntry {\n+ let [page] = await elev.getOutput();\n+\n+ // If you want some of the d... | JavaScript | MIT License | 11ty/eleventy | Change default serverless function to use new getOutput method. |
667 | 06.11.2021 03:23:10 | -28,800 | f8a2137a73214defde850228d8c4e9e759b953f0 | feat: upgrade liquidjs to ^9.28.4, fixes | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"husky\": \"^7.0.4\",\n\"js-yaml\": \"^4.1.0\",\n\"lint-staged\": \"^11.2.6\",\n+ \"liquidjs\": \"^9.28.4\",\n\"markdown-it-emoji\": \"^2.0.0\",\n\"nyc\": \"^15.1.0\",\n\"prettier\": \"^2.4.1\",\n\"hamljs\":... | JavaScript | MIT License | 11ty/eleventy | feat: upgrade liquidjs to ^9.28.4, fixes #1995 |
667 | 06.11.2021 03:42:27 | -28,800 | 9fce1684cb68dc236c4e6683787d558b90544991 | fix: upgrade liquidjs to 9.28.5 to allow './' recognized as relative on Windows, | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"husky\": \"^7.0.4\",\n\"js-yaml\": \"^4.1.0\",\n\"lint-staged\": \"^11.2.6\",\n- \"liquidjs\": \"^9.28.4\",\n+ \"liquidjs\": \"^9.28.5\",\n\"markdown-it-emoji\": \"^2.0.0\",\n\"nyc\": \"^15.1.0\",\n\"pretti... | JavaScript | MIT License | 11ty/eleventy | fix: upgrade liquidjs to 9.28.5 to allow './' recognized as relative on Windows, #1995 |
699 | 08.11.2021 14:13:30 | 21,600 | 35e694356b7250848b1e8bddf7d5b0d1314ca3f2 | Move back to deps not devDeps | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"husky\": \"^7.0.4\",\n\"js-yaml\": \"^4.1.0\",\n\"lint-staged\": \"^11.2.6\",\n- \"liquidjs\": \"^9.28.5\",\n\"markdown-it-emoji\": \"^2.0.0\",\n\"nyc\": \"^15.1.0\",\n\"prettier\": \"^2.4.1\",\n\"hamljs\":... | JavaScript | MIT License | 11ty/eleventy | Move back to deps not devDeps https://github.com/11ty/eleventy/pull/2071/files#r744329650 |
699 | 08.11.2021 16:05:35 | 21,600 | bdeba62314eabd25390d87aa4a7ef7bcdbfc9c8e | Changes to fix without needing additional changes to template config. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -2,8 +2,8 @@ const TemplateEngine = require(\"./TemplateEngine\");\nconst getJavaScriptData = require(\"../Util/GetJavaScriptData\");\nclass CustomEngine extends TemplateEngine {\n- const... | JavaScript | MIT License | 11ty/eleventy | Changes to fix #2071 without needing additional changes to template config. |
699 | 12.11.2021 21:55:57 | 21,600 | 2c1000afeb800a9814d87c01c6ccf4ee7c8455bf | Expose config and ignores via eventbus | [
{
"change_type": "MODIFY",
"old_path": "src/Eleventy.js",
"new_path": "src/Eleventy.js",
"diff": "@@ -316,6 +316,8 @@ class Eleventy {\n* @returns {} - tbd.\n*/\nasync init() {\n+ await this.config.events.emit(\"eleventy.config\", this.eleventyConfig);\n+\nif (this.env) {\nawait this.config.events.e... | JavaScript | MIT License | 11ty/eleventy | Expose config and ignores via eventbus |
699 | 12.11.2021 21:56:31 | 21,600 | e0047392b3326e6449f3d99563cdf91c44ee5827 | Performance boost: Cache get front matter data calls | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateContent.js",
"new_path": "src/TemplateContent.js",
"diff": "@@ -189,13 +189,18 @@ class TemplateContent {\n}\nasync getFrontMatterData() {\n+ if (this._frontMatterDataCache) {\n+ return this._frontMatterDataCache;\n+ }\n+\nif (!this.frontMatter) {\... | JavaScript | MIT License | 11ty/eleventy | Performance boost: Cache get front matter data calls |
699 | 12.11.2021 21:57:49 | 21,600 | 87b7717b3bfab42535bf0b34c433d68c6eabb272 | Option to retrieve data from multiple sources in custom template types (pass in an array to `getData`)
Also now expose mixins (usually the config javascriptFunctions) to get data calls | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -58,7 +58,7 @@ class CustomEngine extends TemplateEngine {\nif (\"getData\" in this.entry) {\nif (typeof this.entry.getData === \"function\") {\n- return await this.entry.getData(inputPat... | JavaScript | MIT License | 11ty/eleventy | Option to retrieve data from multiple sources in custom template types (pass in an array to `getData`)
Also now expose mixins (usually the config javascriptFunctions) to get data calls |
699 | 12.11.2021 21:58:33 | 21,600 | 7c82736e52823b2eddf062490e3f58c7cf72fa7a | Ability to reuse the default lexer in parseAguments | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Liquid.js",
"new_path": "src/Engines/Liquid.js",
"diff": "@@ -5,6 +5,14 @@ const TemplatePath = require(\"../TemplatePath\");\n// const debug = require(\"debug\")(\"Eleventy:Liquid\");\nclass Liquid extends TemplateEngine {\n+ static argumentLexerO... | JavaScript | MIT License | 11ty/eleventy | Ability to reuse the default lexer in parseAguments |
699 | 13.11.2021 15:52:59 | 21,600 | e8f794182fb0a5b5cf431e32cda860bd9acc87fb | Update Vue tests to Vue3 APIs | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.1.3\",\n+ \"@vue/server-renderer\": \"^3.2.21\",\n\"ava\": \"^3.15.0\",\n\"husky\": \"^7.0.4\",\n\"js-yaml\": \"^4.1.0\",\n\"rimraf\... | JavaScript | MIT License | 11ty/eleventy | Update Vue tests to Vue3 APIs |
699 | 14.11.2021 13:28:56 | 21,600 | 3ce5bc4301cdd5856ddae4c56d6646294c424858 | Normalize the input path to the OS | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -4,6 +4,7 @@ const fsp = fs.promises;\n// TODO first-class Markdown container/component (will need to be synchronous for markdown-it)\n+const TemplatePath = require(\"../Templ... | JavaScript | MIT License | 11ty/eleventy | Normalize the input path to the OS |
699 | 14.11.2021 15:04:21 | 21,600 | ec3b3492475949c7c2dfc9da1ce10081647a63d1 | Trying to fix a Windows issue. | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ci.yml",
"new_path": ".github/workflows/ci.yml",
"diff": "@@ -17,6 +17,8 @@ jobs:\nwith:\nnode-version: ${{ matrix.node }}\n- run: npm install\n- - run: npm test\n+ - run: npm run testci\n+ env:\n+ DEBUG: EleventyVue*\nenv:\nYARN_GPG: no\n\\ ... | JavaScript | MIT License | 11ty/eleventy | Trying to fix a Windows issue. |
699 | 14.11.2021 15:08:02 | 21,600 | f8c4f743c3677560baa297a965f8fa55b0cef8d6 | Restore previous CI setup | [
{
"change_type": "MODIFY",
"old_path": ".github/workflows/ci.yml",
"new_path": ".github/workflows/ci.yml",
"diff": "@@ -17,7 +17,7 @@ jobs:\nwith:\nnode-version: ${{ matrix.node }}\n- run: npm install\n- - run: npm run testci\n+ - run: npm test\nenv:\nDEBUG: EleventyVue*\nenv:\n"
},
{
"chang... | JavaScript | MIT License | 11ty/eleventy | Restore previous CI setup |
699 | 14.11.2021 20:37:30 | 21,600 | 659ccb52bc0496e354dcf93c18fb68399deb8be3 | Opting-back into the test | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.1.3\",\n- \"@11ty/eleventy-plugin-vue\": \"1.0.0-canary.6\",\n+ \"@11ty/eleventy-plugin-vue\": \"1.0.0-canary.7\",\n\"@vue/server-re... | JavaScript | MIT License | 11ty/eleventy | Opting-back into the test |
699 | 14.11.2021 20:47:06 | 21,600 | 6efae4e242d975aca4836cea030b2c1edd89834d | The elusive Windows fix. | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "},\n\"devDependencies\": {\n\"@11ty/eleventy-plugin-syntaxhighlight\": \"^3.1.3\",\n- \"@11ty/eleventy-plugin-vue\": \"1.0.0-canary.7\",\n+ \"@11ty/eleventy-plugin-vue\": \"1.0.0-canary.8\",\n\"@vue/server-re... | JavaScript | MIT License | 11ty/eleventy | The elusive Windows fix. |
699 | 15.11.2021 09:10:06 | 21,600 | 823243966ca7ca4ec8434904e6b17bc75800aaef | Add more tests.
Add renderFile shortcodes for nunjucks and JS. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -61,7 +61,7 @@ async function renderFile(inputPath, templateLang, dir = {}, templateConfig) {\ntr.setEngineOverride(templateLang);\n}\n- if (tr.engine.entry && tr.engine.entry... | JavaScript | MIT License | 11ty/eleventy | Add more tests.
Add renderFile shortcodes for nunjucks and JS. |
699 | 15.11.2021 09:16:37 | 21,600 | b8414d19460fc025b7178dc2d4f5dfd04942077e | Better error messaging when trying to use 11ty.js string render | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -32,6 +32,12 @@ async function render(content, templateLang, dir = {}, templateConfig) {\nlet tr = new TemplateRender(templateLang, includesDir, templateConfig);\ntr.setEngine... | JavaScript | MIT License | 11ty/eleventy | Better error messaging when trying to use 11ty.js string render |
699 | 15.11.2021 09:50:13 | 21,600 | 1b2d64cc46c4ab2ae02251c427faf258136dea8d | Falsy template language passed to renderTemplate should be an alias for raw tag and just use plaintext | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -17,13 +17,12 @@ function getFullIncludesDirectory(dir = {}) {\nreturn fullIncludesDir;\n}\n-async function render(content, templateLang, dir = {}, templateConfig) {\n- if (!t... | JavaScript | MIT License | 11ty/eleventy | Falsy template language passed to renderTemplate should be an alias for raw tag and just use plaintext |
699 | 15.11.2021 13:48:13 | 21,600 | ff1153c682bd335be6227b7055df715852899202 | Add a few more tests for the Render Plugin | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -44,7 +44,7 @@ async function render(\nasync function renderFile(inputPath, templateLang, dir = {}, templateConfig) {\nif (!inputPath) {\nthrow new Error(\n- \"Missing file pa... | JavaScript | MIT License | 11ty/eleventy | Add a few more tests for the Render Plugin |
699 | 15.11.2021 13:49:47 | 21,600 | 55539ad7ffebe7978b68b2054e75f5a14dec9e68 | For non-data keys, (e.g. serverPrefetch in vue), we can make the object check optional. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -97,7 +97,12 @@ class CustomEngine extends TemplateEngine {\nlet promises = [];\nfor (let key of keys) {\n- promises.push(getJavaScriptData(inst, inputPath, key, mixins));\n+ promises.pus... | JavaScript | MIT License | 11ty/eleventy | For non-data keys, (e.g. serverPrefetch in vue), we can make the object check optional. |
699 | 18.11.2021 09:46:44 | 21,600 | 22fee95b15be43c45992ad0bd07730d14517fa14 | Show plugin name if one exists (via function.name) | [
{
"change_type": "MODIFY",
"old_path": "src/UserConfig.js",
"new_path": "src/UserConfig.js",
"diff": "@@ -326,8 +326,7 @@ class UserConfig {\n}\n_executePlugin(plugin, options) {\n- // TODO support function.name in plugin config functions\n- debug(\"Adding plugin (unknown name: check your config fil... | JavaScript | MIT License | 11ty/eleventy | Show plugin name if one exists (via function.name)
https://github.com/11ty/eleventy/issues/2075#issuecomment-962530456 |
699 | 19.11.2021 13:39:26 | 21,600 | 35d53bfeb19b3436b3b426f50047411794f9f2d2 | Was very incorrectly passing includesDir instead of inputDir into TemplateRender. Found via | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -9,26 +9,30 @@ const TemplateRender = require(\"../TemplateRender\");\nconst TemplateConfig = require(\"../TemplateConfig\");\nconst Liquid = require(\"../Engines/Liquid\");\n... | JavaScript | MIT License | 11ty/eleventy | Was very incorrectly passing includesDir instead of inputDir into TemplateRender. Found via #2100 https://github.com/11ty/eleventy/issues/2100#issuecomment-973623359 |
699 | 19.11.2021 22:12:48 | 21,600 | 9da0d581d1cad58e793825a63d7f638567bf04a4 | Apply the fix from to RenderPlugin too. | [
{
"change_type": "MODIFY",
"old_path": "src/Plugins/RenderPlugin.js",
"new_path": "src/Plugins/RenderPlugin.js",
"diff": "@@ -196,19 +196,38 @@ function EleventyPlugin(eleventyConfig, options = {}) {\nnormalizedContext.page = context.ctx.page;\n}\n- renderStringShortcodeFn\n- .call(normalizedContext... | JavaScript | MIT License | 11ty/eleventy | Apply the fix from #1749 to RenderPlugin too. |
658 | 20.11.2021 08:32:38 | 18,000 | 2488ab1bf94e69d3fab8b4e26a3cba929e73f819 | fix: strip date from directory slugs per | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateFileSlug.js",
"new_path": "src/TemplateFileSlug.js",
"diff": "@@ -23,7 +23,12 @@ class TemplateFileSlug {\n}\n_getRawSlug() {\n- let slug = this.filenameNoExt;\n+ const slug = this.filenameNoExt;\n+ return this._stripDateFromSlug(slug);\n+ }\n+\n+ ... | JavaScript | MIT License | 11ty/eleventy | fix: strip date from directory slugs per #1947 |
710 | 20.11.2021 23:17:26 | -3,600 | 7a64e3f48e5a62cbdc17255fda3a8a1d0c09aa29 | My Signed Commit | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"@iarna/toml\": \"^2.2.5\",\n\"@sindresorhus/slugify\": \"^1.1.2\",\n\"browser-sync\": \"^2.27.7\",\n- \"chalk\": \"^4.1.2\",\n\"chokidar\": \"^3.5.2\",\n\"debug\": \"^4.3.2\",\n\"dependency-graph\": \"^0.11... | JavaScript | MIT License | 11ty/eleventy | My Signed Commit
Signed-off-by: dgrammatiko <d.grammatiko@gmail.com> |
699 | 22.11.2021 10:35:10 | 21,600 | d4a7d67b6b82ccf0e5a77c1a3530f09a9b5fef65 | One more test from | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Liquid.js",
"new_path": "src/Engines/Liquid.js",
"diff": "@@ -232,7 +232,7 @@ class Liquid extends TemplateEngine {\n// Required for relative includes\nlet options = {};\n- if (!inputPath || inputPath === \"njk\" || inputPath === \"md\") {\n+ if (!... | JavaScript | MIT License | 11ty/eleventy | One more test from #2090 |
699 | 06.12.2021 09:57:02 | 21,600 | f6a1def0dca70a52bad80b9dfefc289bc8aa981d | Using a Vue renderFile inside of serverPrefetch caused a missing `page.url` error when it tried to add the component to the CSS. | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/Util/removeNewLines.js",
"diff": "+function removeNewLines(str) {\n+ return str.replace(/[\\r\\n]*/g, \"\");\n+}\n+\n+module.exports = removeNewLines;\n"
},
{
"change_type": "ADD",
"old_path": null,
"new_path": "test/stubs-r... | JavaScript | MIT License | 11ty/eleventy | Using a Vue renderFile inside of serverPrefetch caused a missing `page.url` error when it tried to add the component to the CSS. |
699 | 10.12.2021 14:02:42 | 21,600 | 8cd56801d3f4c86b60936eee493267f33f90c282 | Report from about getData functions being able to mutate config javascriptFunctions (no thank you)
Manifested in Vue plugin when `data` function `this.X` assignment polluted global Vue methods. | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -87,7 +87,8 @@ class CustomEngine extends TemplateEngine {\nlet inst = await this.entry.getInstanceFromInputPath(inputPath);\nlet mixins;\nif (this.config) {\n- mixins = this.config.javas... | JavaScript | MIT License | 11ty/eleventy | Report from @akardet about getData functions being able to mutate config javascriptFunctions (no thank you)
Manifested in Vue plugin when `data` function `this.X` assignment polluted global Vue methods. |
699 | 10.12.2021 17:01:23 | 21,600 | 3537bfe93edcd9e76037da8c44a4d271beb4b4d7 | Clearn code for init | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -8,8 +8,6 @@ class CustomEngine extends TemplateEngine {\nthis.entry = this.getExtensionMapEntry();\nthis.needsInit =\n\"init\" in this.entry && typeof this.entry.init === \"function\";\n... | JavaScript | MIT License | 11ty/eleventy | Clearn code for init |
699 | 17.12.2021 20:31:51 | 21,600 | 05906505268c4c3bbba73dced229db8010b67114 | Better aggregate benchmark output.
renderPermalink should never have markdown.
Faster/simpler template agnostic permalink as a function | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "const TemplateEngine = require(\"./TemplateEngine\");\nconst getJavaScriptData = require(\"../Util/GetJavaScriptData\");\n+const bench = require(\"../BenchmarkManager\").get(\"Aggregate\");\... | JavaScript | MIT License | 11ty/eleventy | Better aggregate benchmark output.
renderPermalink should never have markdown.
Faster/simpler template agnostic permalink as a function |
699 | 17.12.2021 21:27:17 | 21,600 | 3feff6dedca97a188c2b4ce383895ea23107ca5f | Improvements to per-template benchmarks | [
{
"change_type": "MODIFY",
"old_path": "src/TemplateContent.js",
"new_path": "src/TemplateContent.js",
"diff": "@@ -337,28 +337,30 @@ class TemplateContent {\ntry {\nlet fn = await this.compile(str, bypassMarkdown);\nlet templateBenchmark = bench.get(\"Render\");\n- let inputPathBenchmark = bench.ge... | JavaScript | MIT License | 11ty/eleventy | Improvements to per-template benchmarks |
699 | 17.12.2021 21:29:22 | 21,600 | ee08fe6181b23ddb1e1f1141b7a0e48231944522 | Adds compileOptions support to addExtension API for better control of internal caching.
compileOptions: {
cache: true
permalink: false,
getCacheKey: function(str, inputPath) { return str; }
} | [
{
"change_type": "MODIFY",
"old_path": "src/Engines/Custom.js",
"new_path": "src/Engines/Custom.js",
"diff": "@@ -11,6 +11,11 @@ class CustomEngine extends TemplateEngine {\n\"init\" in this.entry && typeof this.entry.init === \"function\";\nthis._defaultEngine = undefined;\n+\n+ // Enable cacheabil... | JavaScript | MIT License | 11ty/eleventy | Adds compileOptions support to addExtension API for better control of internal caching.
compileOptions: {
cache: true
permalink: false,
getCacheKey: function(str, inputPath) { return str; }
} |
699 | 18.12.2021 14:48:22 | 21,600 | e88bbe38cdfc751d2677679b22f8a74856cb449f | Fixes Also noticed there were a bunch of "utf-8" fs options that needed to be "utf8" | [
{
"change_type": "MODIFY",
"old_path": "package.json",
"new_path": "package.json",
"diff": "\"dependency-graph\": \"^0.11.0\",\n\"ejs\": \"^3.1.6\",\n\"fast-glob\": \"^3.2.7\",\n+ \"graceful-fs\": \"^4.2.8\",\n\"gray-matter\": \"^4.0.3\",\n\"hamljs\": \"^0.6.2\",\n\"handlebars\": \"^4.7.7\",\n"
},... | JavaScript | MIT License | 11ty/eleventy | Fixes #2139. Also noticed there were a bunch of "utf-8" fs options that needed to be "utf8" |
699 | 18.12.2021 19:44:31 | 21,600 | b2e50a859a83e41b49c7db99c63f4823e72abb6b | Two skipped tests: one should throw an error, one is irrelevant | [
{
"change_type": "MODIFY",
"old_path": "test/TemplateTest.js",
"new_path": "test/TemplateTest.js",
"diff": "@@ -1740,15 +1740,22 @@ test(\"Throws a Premature Template Content Error (haml)\", async (t) => {\nt.is(EleventyErrorUtil.isPrematureTemplateContentError(error), true);\n});\n-test.skip(\"Issu... | JavaScript | MIT License | 11ty/eleventy | Two skipped tests: one should throw an error, one is irrelevant |
699 | 19.12.2021 00:03:45 | 21,600 | d68dcbf603be8e0285605edafe2d64b3a80b8e6b | Removes `time-require` for reasons stated in | [
{
"change_type": "MODIFY",
"old_path": "cmd.js",
"new_path": "cmd.js",
"diff": "@@ -11,10 +11,6 @@ require(\"please-upgrade-node\")(pkg, {\n});\nconst debug = require(\"debug\")(\"Eleventy:cmd\");\n-if (process.env.DEBUG) {\n- require(\"time-require\");\n-}\n-\nconst EleventyErrorHandler = require(\... | JavaScript | MIT License | 11ty/eleventy | Removes `time-require` for reasons stated in #2129 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.