UNPKG

6.18 kBPlain TextView Raw
13.0.2
2
3 * #432 Sandbox is always enabled, whatever the options passed to the environment
4 * #428 added eslint and fixed minor eslint problems
5 * #417 Rewrite the test suite in TypeScript
6 * #422 Map and reduce filters documentation exposes a non-existing "array" argument
7
83.0.1
9
10 * #419 TwingLoaderNull doesn't behave as expected
11 * #418 Types are not available to consumers
12 * #414 Include function should be called with undefined when no variables is set to benefit from the default values
13 * #412 Performance is way lower than pre-2.3
14 * #411 Source maps are exported in the npm package
15
163.0.0
17
18 * #409 3.x: compatibility chart is not up-to-date
19 * #403 3.x: Lexer doesn't support custom operators
20 * #399 Move the project to NightlyCommit
21 * #398 Add support for Node.js 12
22 * #391 Add a way to register templates module in the environment cache
23 * #390 Get rid of TwingTemplateWrapper
24 * #375 Clean the included extensions
25 * #368 filter tag is supposed to create a new context scope
26 * #365 Add support for Twig 2.11
27 * #362 Array syntax should always resolve to a Map
28 * #348 The lexer is lossy
29 * #345 Provide an easier way to load the main pre-compiled template
30 * #338 Rework filter and function declaration APIs to enforce explicit parameters naming
31 * #337 Clarify documentation of the auto_reload option
32 * #310 Move deprecation messages to warnings instead of errors
33 * #305 Provide an ES along with CJS version of Twing
34
352.3.6
36
37 * #385 Get rid of most constructor.name usage
38
392.3.5
40
41 * #381 Browser and Webpack (TypeScript)
42 * #380 Doesn't run without the types luxon
43
442.3.4
45
46 * #378 Add a "Related projects" section to the README
47 * #376 Error thrown when for tag is used inside a with tag
48
492.3.3
50
51 * #373 Browser flavor lacks some exports
52
532.3.2
54
55 * #371 Add a compatibility chart
56 * #369 Add a "known issues" section in the documentation
57
582.3.1
59
60 * #360 slice filter returns a map
61
622.3.0
63
64 * #333 Add support for Twig 2.10
65
662.2.7
67
68 * #358 package-lock.json prevents grabbing latest dependencies security patches
69 * #349 Variable wrongly interpreted as operator when used as assignment of a for tag
70 * #327 Comments are not part of the AST
71
722.2.6
73
74 * #352 twing fails to render if the the html tag has an attribute lang="de" - Cannot read property 'LC_CTYPE' of undefined
75 * #354 Twing crashes when template contains JS interpolation syntax
76
772.2.5
78
79 * #341 Syntax errors don't show the location where the error occurred
80
812.2.4
82
83 * #334 Changing autoescape option doesn't invalidate the cache
84 * #298 Add support for sourceContents
85
862.2.3
87
88 * #323 include function doesn't support relative filesystem loader
89 * #322 Test suite fails with node.js 11
90
912.2.2
92
93 * #225 [RCF] npm found 3 vulnerabilities (2 low, 1 moderate)
94 * #313 TwingEnvironmentOptions.cache typing is incorrect
95 * #316 `json_encode` cannot serialize Map
96
972.2.1
98
99 * #314 Twing 2.2.0 not working in browser
100
1012.2.0
102
103 * #299 Add support for Twig 2.6.3
104
1052.1.4
106
107 * #308 Source map for spaceless tag is still faulty in some case
108
1092.1.3
110
111 * #303 Incorrect souce map when spaceless tag is used
112 * #302 TwingErrorSyntax: Unknown "dump" function
113 * #300 Probable bug in TwingFileSystemLoader
114
1152.1.2
116
117 * #289 - "include" tag uses merge filter instead of merge helper
118 * #286 - Types are incorrect - i.e. impossible to build against Twing
119
1202.1.1
121
122 * #284 - Uncaught TwingErrorSyntax: An exception has been thrown during the compilation of a template ("parseFunction is not a function")
123 * #282 - Template code and path not send to TwingError when TwingTemplate#loadTemplate is called with a template name
124
1252.1.0
126
127 * #280 - Documentation doesn't build anymore
128 * #9 - Rewrite varDump helper
129 * #277 - Add core support for template-relative resolving
130 * #227 - date filter doesn't support all required format
131 * #274 - CHANGELOG not up-to-date
132
1332.0.0
134
135 * #267 - Update documentation
136 * #271 - Improve the packaging process
137 * #200 - Cannot find module 'twing/lib/runtime'
138 * #237 - Can twing be run on the frontend?
139 * #258 - Twing should return source map as string instead of SourceMapGenerator
140 * #209 - How to use base_template_class?
141
1421.3.1
143
144 * #266 - CHANGELOG not up-to-date on v1.3.0
145
1461.3.0
147
148 * #251 - Support Twig 2.5.0
149
1501.2.7
151
152 * #262 - TwingToken is not exported
153
1541.2.6
155
156 * #256 - Source map sources are not relative to the project root
157 * #254 - Changing source map config doesn't invalidate template cache
158 * #255 - TypeError: Cannot read property 'toMappings' of undefined
159 * #253 - "Error: ENOENT: no such file or directory" on non-existent namespace folder
160 * #249 - Interfaces are not exported
161
1621.2.5
163
164 * #247 - Package manifest uses deprecated licenses key
165
1661.2.4
167
168 * #236 - Batch filter throws an error when used on an undefined variable
169 * #238 - "types" entry missing from package.json
170 * #242 - Improve Travis CI support
171 * #240 - Remove benchmark and tasks folders and dependencies
172 * #239 - TwingEnvironmentOptions is not exported
173
1741.2.3
175
176 * Fix #234 - loop.last & loop.length & iterable not available in nested for
177
1781.2.2
179
180 * Fix #230 - Compiler should not escape quotation mark
181 * Fix #232 - Twing throws: "SyntaxError: missing ) after argument list" whenever it encounters a ` character.
182
1831.2.1
184
185 * Fix #218 - Twing@1.2.0 created a breaking changes with extension filters and functions
186 * Fix #219 - An exception has been thrown during the compilation of a template ("The comparison function must be either a function or undefined").
187 * Fix #220 - Error when getSourceMap is called with source_map option set to false
188
1891.2.0
190
191 * Fix #12 - Add source map support enhancement in progress
192 * Fix #205 - Unable to register extension "_default" when using babel + twing extensions
193 * Fix #216 - Restore auto reload behavior from pre-#194
194
1951.1.1
196
197 * Fix #210 - If with multiple elseif not working as expected
198
1991.1.0
200
201 * Fix #204 - Export TwingNodeType as part of twing
202 * Fix #206 - Make TwingEnvironment emit an event when encountering a template
203
2041.0.3
205
206 * Fix #194 - Autoreload broken
207
2081.0.2
209
210 * Fix #201 - The merge filter returns a Map even if the filtered object is an array
211
2121.0.1
213
214 * Catch-up with TwigPHP 2.4.8
215 * Add a changelog
216
2171.0.0
218
219 * Initial release based on TwigPHP 2.4.4