UNPKG

17.2 kBMarkdownView Raw
1## 2.0.8 ##
2
3Enhancement:
4
5- Fix critical issue.
6
7
8
9## 2.0.7 ##
10
11Enhancement:
12
13- Less working with Node v10.
14
15
16
17## 2.0.6 ##
18
19Fix:
20
21- Restore capability to generate HTML files.
22
23
24
25## 2.0.5 ##
26
27Avoid error:
28
29- Restore capability to generate HTML files.
30
31
32
33## 2.0.4 ##
34
35Avoid error:
36
37- Avoid the `TypeError [ERR_INVALID_CALLBACK]: Callback must be a function` error.
38
39
40
41## 2.0.3 ##
42
43Security fix:
44
45- Solve lodash low vulnerability
46- Solve node.extend low vulnerability
47
48
49
50## 2.0.2 ##
51
52Removed:
53
54- `NA#imgOptimization` removed.
55- `NA#webconfig.optimizations` removed.
56- `NA#webconfig.imgOptimizationsBeforeResponse` removed.
57- `NA#webconfig.imgOptimizationsEnable` removed.
58
59
60
61## 2.0.1 ##
62
63Enhancement:
64
65- Capability to now just set "2.0.x" to use NodeAtlas.
66
67
68
69## 2.0.0-beta ##
70
71Features:
72
73- Gitter Chat for both fr (Aide) and en (Help) language: `https://gitter.im/NodeAtlas/`.
74- Configuration file with `.js` extension allowed.
75- `NA#locals.urlRootPath` is added (same as `NA#webconfig.urlRoot`).
76- `NA#locals.urlSubPath` is added (same as `NA#webconfig.urlRelativeSubPath`).
77- `NA#locals.urlFilePath` is added.
78- `NA#locals.urlPath` is added.
79- `NA#locals.currentRouteKey` is added.
80- `NA#webconfig.view` is added.
81- `NA#webconfig.mimeType` is added.
82- `NA#webconfig.charset` is added.
83- `NA#webconfig.headers` is added.
84- `NA#webconfig.cache` is added.
85- `NA#webconfig.pug` is added.
86- `NA#webconfig.socketClientFile` is added.
87- `NA#webconfig.socketServerOptions` is added.
88- `NA#webconfig.version` added.
89- `NA#locals.routeParameters.enablePug` is added.
90- `NA#controllers[].setSockets` is added for both common and specific controller.
91- `NA#controllers[].changeDom(next(), locals.virtualDom()...` added to directly obtain `$`.
92- `NA#controllers[].changeDom` `next` callback accept a `$` first parameter.
93- `NA#configuration.cache` is added.
94- `--cache` command is added.
95- `NA#httpsServer` added.
96- `NA#httpServer` added.
97- `NA#statics` added.
98- `NA#version` added.
99- `NA#engine` added.
100- `NA#middlewares` added.
101- `NA#middlewaresRelativePath` added.
102- `NA#locals.routeParameters.middlewares` added.
103- `NA#assetsCopy` added.
104- `NA#stopped` added.
105- `global.NA` embty object added for isomorphic code.
106- `NA.isClient = true` added into `node-atlas/socket.io.js` for isomorphic code.
107- `serverRelativePath` folder is created if is not exist.
108- Language `portRequiresPrivileges` is added.
109- Less and Stylus vendor autoprefix automaticly added with options `less.autoprefix` and `stylus.autoprefix`.
110
111Updates:
112
113- CLI command `nodeatlas` become `node-atlas` (with `atlas` as alias)
114- `NA#appLanguage` become `NA#cliLanguage`.
115- `NA#appLabels` become `NA#cliLabels`.
116- `NA#websiteController[]` become `NA#controllers[]`.
117- `NA#controllers[].changeVariation` become `NA#controllers[].changeVariations`.
118- `NA#controllers[].changeVariations(params, next)` become `NA#controllers[].changeVariations(next, locals, request, response)`.
119- `NA#controllers[].changeDom(params, next)` become `NA#controllers[].changeVariations(next, locals, request, response)`.
120- `NA#controllers[].changeDom(params.dom...` become `NA#controllers[].changeVariations(next, locals.dom...`.
121- `NA#controllers[].loadModules` become `NA#controllers[].setModules`.
122- `NA#changeVariationCommon` become `NA#changeVariationsCommon`.
123- `NA#changeVariationSpecific` become `NA#changeVariationsSpecific`.
124- `NA#currentVariation` become `NA#locals`.
125- `NA#locals.currentRoute` become `NA#locals.route`.
126- `NA#locals.currentRouteParameters` become `NA#locals.routeParameters`.
127- `NA#locals.currentRouteName` become `NA#locals.route`.
128- `NA#locals.urlBasePath` become `NA#webconfig.urlRoot + NA#webconfig.urlRelativeSubPath` (without ending "/").
129- `NA#currentRouteParameters` become `NA#locals.routeParameters`.
130- `NA#locals.routeParameters.generate` become `NA#locals.routeParameters.output`.
131- `NA#locals.routeParameters.template` become `NA#locals.routeParameters.view`.
132- `NA#webconfig.urlWithoutFileName` become `NA#webconfig.urlRoot`.
133- `NA#webconfig.generatesRelativePath` become `NA#webconfig.serverlessRelativePath`.
134- `NA#webconfig.serverlessRelativePath` default value become `"serverless"`.
135- `NA#webconfig.templatesRelativePath` become `NA#webconfig.viewsRelativePath`.
136- `NA#webconfig.viewsRelativePath` default value become `"views"`.
137- `NA#webconfig.htmlGeneratesBeforeResponse` become `NA#webconfig.htmlGenerationBeforeResponse`.
138- `NA#webconfig.imagesOptimizationsBeforeResponse` become `NA#webconfig.imgOptimizationsBeforeResponse`.
139- `NA#webconfig.imagesOptimizationsEnable` become `NA#webconfig.imgOptimizationsEnable`.
140- `NA#webconfig.stylesheetsBundlesBeforeResponse` become `NA#webconfig.cssBundlingBeforeResponse`.
141- `NA#webconfig.stylesheetsBundlesEnable` become `NA#webconfig.cssBundlingEnable`.
142- `NA#webconfig.javascriptBundlesBeforeResponse` become `NA#webconfig.jsBundlingBeforeResponse`.
143- `NA#webconfig.javascriptBundlesEnable` become `NA#webconfig.jsBundlingEnable`.
144- `NA#webconfig.viewsRelativePath` replace removed `NA#webconfig.componentsRelativePath`.
145- `NA#webconfig.httpSecureRelativeKeyPath` become `NA#webconfig.httpSecureKeyRelativePath`.
146- `NA#webconfig.httpSecureRelativeCertificatePath` become `NA#webconfig.httpSecureCertificateRelativePath`.
147- `NA#webconfig.bundles.javascript` become `NA#webconfig.bundles.javascripts`.
148- `NA#webconfig.htmlGenerationEnable` become `NA#webconfig.output`.
149- `NA#webconfig.output` to `false` by default.
150- `NA#afterGenerates` become `NA#afterGeneration`.
151- `NA#newRender` become `NA#view`.
152- `NA#addCommonVariation` become `NA#common`.
153- `NA#addSpecificVariation` become `NA#specific`.
154- `NA#init` become `NA#start`.
155- `NA#config` become `NA#init`.
156- `NA#serverPhysicalPath` become `NA#nodeatlasPath`.
157- `NA#websitePhysicalPath` become `NA#serverPath`.
158- `NA#nodeAtlasModulePath` become `NA#nodeatlasModulesRelativePath` and become relatif to `NA#nodeatlasPath`.
159- `NA#websiteModulesPath` become `NA#serverModulesRelativePath` and become relatif to `NA#serverPath`.
160- `--init` command become `--create`.
161- `--directory` command become `--path`.
162- `templatesPath` var become `viewsPath` var.
163- `templateFile` var become `viewFile` var.
164- Language `templateNotFound` become `viewNotFound`.
165- Language `templateNotSet` become `viewNotSet`.
166- Language `emulatedIndexPage` become `indexPage`.
167- EJS engine become ATLAS engine and `<% %>` become `<? ?>`.
168- `NA#httpServer` become `NA#express`.
169- `NA#getSupport` become `NA#get`.
170- `NA#postSupport` become `NA#post`.
171- `NA#putSupport` become `NA#put`.
172- `NA#deleteSupport` become `NA#delete`.
173- `NA#locals.routeParameters.getSupport` become `NA#locals.routeParameters.get`.
174- `NA#locals.routeParameters.postSupport` become `NA#locals.routeParameters.post`.
175- `NA#locals.routeParameters.putSupport` become `NA#locals.routeParameters.put`.
176- `NA#locals.routeParameters.deleteSupport` become `NA#locals.routeParameters.delete`.
177- `NA#commonController` become `NA#controller`.
178- `NA#commonVariation` become `NA#variation`.
179- `NA#enableLess` become `NA#less`.
180- `NA#enableStylus` become `NA#stylus`.
181- `NA#enableIndex` become `NA#index`.
182- `NA#enableForceDomain` become `NA#forceDomain`.
183- `NA#stylus.stylus` become `NA#stylus.filse`.
184- `NA#less.files` become `NA#less.files`.
185- The `templates/hello-world` example is better.
186- `NA.modules.cheerio` replaced by `NA.modules.jsdom`.
187
188Removed:
189
190- `NA#modules.child_process` removed.
191- `NA#modules.forcedomain` removed.
192- `NA#webconfig.componentsRelativePath` removed.
193- `NA#locals.urlBasePathSlice` removed.
194- `NA#variations.currentRouteName` removed.
195- `NA#modulesRequired` and `NA#downloadAllModules` removed. Use `npm install` manually instead if you download package manually.
196- Original `NA#variations` removed.
197- Language `templateDirectoryNotExist` removed.
198
199
200
201## 1.8.0 ##
202
203Features:
204
205- Allows to do something after server was starded with callback `started` for API.
206- Allows to start a Simple Web Server in HTTPs or overload webconfig.json to start it in HTTPs with `httpSecure` in CLI or API.
207- Allows to start a Simple Web Server with other `httpHostname` in CLI or API.
208- Allows to change NodeAtlas language used with `lang` in CLI or API.
209
210Enhancement:
211
212- Allows to start a Simple Web Server with other `httpPort` (support HTTPs) in CLI or API.
213
214Updates:
215
216- `afterInitProject` become `created` for API.
217- `afterGeneration` become `generated` for API.
218
219
220
221## 1.7.3 ##
222
223Updates:
224
225- New README with less informations. All informations are on official Website.
226
227
228
229## 1.7.2 ##
230
231Updates:
232
233- Compatibility test and information checked and updated.
234
235
236
237## 1.7.1 ##
238
239Bugfix:
240
241- Find the real place of `node-atlas` module used by CLI or by API.
242
243
244
245## 1.7.0 ##
246
247Enhancement:
248
249- Use `NA.serverPhysicalPath` to find real location of NodeAtlas engine.
250- Use `--init` command to copy « templates/hello-world » from NodeAtlas directory to current directory.
251
252
253
254## 1.6.2 ##
255
256Enhancement:
257
258- Split a too long function into two.
259
260
261Bugfix:
262
263- Add `imagemin` submodule into `package.json`.
264
265
266
267## 1.6.1 ##
268
269Bugfix:
270
271- Allows template of `enableIndex` to manage special char displaying.
272
273
274
275## 1.6.0 ##
276
277Feature:
278
279- Allows you to add dynamicly routes to webconfig with `setRoutes`.
280
281
282
283## 1.5.1 ##
284
285Updates:
286
287- `changeVariation` callback have no necessity to use `variation` anymore as first parameter.
288
289
290
291## 1.5.0 ##
292
293Updates:
294
295- change `htmlGenerateBeforeResponse` into `htmlGeneratesBeforeResponse`.
296
297
298
299## 1.4.2 ##
300
301Updates:
302
303- async 2.1.x update.
304
305
306
307## 1.4.1 ##
308
309Updates:
310
311- cheerio 0.22.x update.
312
313
314
315## 1.4.0 ##
316
317Feature:
318
319- Quick support for HTTP DELETE and PUT for create REST API easily.
320
321
322
323## 1.3.4 ##
324
325Feature:
326
327- Possibility to change all Headers information by page.
328
329Updates:
330
331- async 1.5.x update.
332
333
334
335## 1.3.3 ##
336
337Updates:
338
339- async 2.0.0 update.
340- express-session 1.14.0 update.
341- less-midleware 2.2.0 update.
342- uglify-js 2.7.0 update.
343
344
345
346## 1.3.2 ##
347
348Enhancement:
349
350- `--httpHostname` become a configurable value from CLI and API usage. This will help you to test website with others device on the same network without use some proxy or internet webserver.
351
352
353
354## 1.3.1 ##
355
356Enhancement:
357
358- `httpSecure` not use https object if it only defined to `true` to support plateform that provide https certificate for you (e. i. Cloud9).
359
360
361
362## 1.3.0 ##
363
364Updates:
365
366- Stylus support for generate CSS.
367
368
369
370## 1.2.7 ##
371
372Updates:
373
374- Package New Description.
375
376
377
378## 1.2.6 ##
379
380Updates:
381
382- New async version.
383- Less informations on NodeAtlas index bootstrap page.
384
385
386
387## 1.2.5 ##
388
389Updates:
390
391- See the link for starting page in the console.
392
393
394
395## 1.2.4 ##
396
397Bugfix:
398
399- `--browse` command work as expected now !
400
401
402
403## 1.2.3 ##
404
405Updates:
406
407- Less-Midleware 2.1.0 update.
408
409
410## 1.2.2 ##
411
412Updates:
413
414- Body Parser Module update.
415
416
417
418## 1.2.1 ##
419
420Bugfix:
421
422- Avoid Cheerio output use decodeEntities.
423
424
425
426## 1.2.0 ##
427
428Updates:
429
430- Use a couple `index.js` and `bin/` directory to work.
431
432
433## 1.1.9 ##
434
435Updates:
436
437- Bin directory used and lib/install.js removed.
438
439
440## 1.1.4 ##
441
442Updates:
443
444- Update dependencies.
445
446
447## 1.1.3 ##
448
449Updates:
450
451- Update dependencies.
452
453
454## 1.1.2 ##
455
456Updates:
457
458- Update dependencies.
459
460
461## 1.1.1 ##
462
463Updates:
464
465- Update dependencies.
466
467
468## 1.1.0 ##
469
470Features:
471
472- To be able to execute code after assets generation with `--generate` via API.
473- Allow you to pass image compression options for generation with `--generate`
474
475
476## 1.0.0 ##
477
478Updates:
479
480- All functionality of Roadmap for v1.0.
481
482
483## 0.99.x ##
484
485Updates:
486
487- Preparation for v1.0.
488
489
490## 0.50.0 ##
491
492Updates:
493
494- Allow '/home/' path for example to generate 'home' path with good `urlBasePath`.
495
496
497## 0.49.1 ##
498
499Bugfixes:
500
501- Bad name file in the console.log for multiple Less file.
502
503
504## 0.49.0 ##
505
506Updates:
507
508- Compile Less with Generate feature.
509
510
511## 0.48.0 ##
512
513Updates:
514
515- Use Less with `urlRelativeSubPath`.
516
517
518## 0.47.0 ##
519
520Updates:
521
522- A nice looked Index page for webconfig.
523
524
525## 0.46.0 ##
526
527Updates:
528
529- Expose `currentRouteName` value for know the key of route if a key is setted.
530
531
532## 0.45.1 ##
533
534Updates:
535
536- Expose function for templating with variation for Back-end part.
537
538
539## 0.44.0 ##
540
541Updates:
542
543- Allow all webconfig param to not set with '/' in end or start.
544
545
546## 0.43.0 ##
547
548Updates:
549
550- Update image optimization mechanism.
551
552Documentation:
553
554- Documentation for feature below.
555
556
557## 0.41.0 ##
558
559Features:
560
561- Allow you to not generate a route with `currentRouteParameters.generate` set to false.
562
563Documentation:
564
565- Documentation for feature below.
566
567
568## 0.40.1 ##
569
570Updates:
571
572- Update of less-middleware.
573
574
575
576## 0.40.0 ##
577
578Features:
579
580- EJS 2 as template engine.
581
582Documentation:
583
584- Change include part for templating.
585
586
587
588## 0.38.11 ##
589
590Documentation:
591
592- tl;dr Update.
593
594
595
596## 0.38.10 ##
597
598Documentation:
599
600- Adding of tl;dr.
601
602
603
604## 0.38.4 ##
605
606Bugfixes:
607
608- Avoid a stopping of generation of HTML pages when a directory was created.
609
610
611
612## 0.38.3 ##
613
614Bugfixes:
615
616- Install `nodeatlas` command without problem on Unix system with `postinstall`. It's fixed.
617
618Documentation:
619
620- Add precision for `nodeatlas` command.
621
622
623
624## 0.38.2 ##
625
626Bugfixes:
627
628- Install `nodeatlas` command without problem on Unix system with `postinstall`. Tests.
629
630
631
632
633## 0.38.1 ##
634
635Bugfixes:
636
637- In SimpleWebServer, `browse` option with NA.run() do not start browser. It's fixed.
638
639
640
641
642## 0.38.0 ##
643
644Features:
645
646- CSS could be injected inline by referencing some CSS file with `injectCss`. Useful for maintain HTML assets.
647
648Documentation:
649
650- Add precision for `injectCss` feature.
651
652
653
654## 0.37.0 ##
655
656Features:
657
658- forceDomain could be disabled or enabled with `enableForceDomain`. By default, it's disabled.
659
660Documentation:
661
662- Add precision for `enableForceDomain` feature.
663
664
665
666## 0.36.0 ##
667
668Features:
669
670- Allow you to desactivate HTML generation even if a `generatesRelativePath` directory exist.
671- `indexPage` property become `enableIndex`.
672
673Documentation:
674
675- Add precision for `htmlGenerateEnable` feature.
676
677
678
679## 0.35.2 ##
680
681Bugfixes:
682
683- Bad type for javascriptBundlesEnable, stylesheetsBundlesEnable, javascriptBundlesBeforeResponse, stylesheetsBundlesBeforeResponse and autoGenerate. Setted to boolean, not string.
684
685
686
687## 0.35.1 ##
688
689Bugfixes:
690
691- Avoid copy of `assetsRelativePath` into `generatesRelativePath` if `generatesRelativePath` do not exist.
692
693Documentation:
694
695- Add precision for generation of HTML asset.
696
697
698
699## 0.35.0 ##
700
701Features:
702
703- Optimization of images.
704- `autoGenerate` become `htmlGenerateBeforeResponse`
705
706Bugfixes:
707
708- Conflict with "true" and true in the webconfig for javascriptBundlesEnable, stylesheetsBundlesEnable, javascriptBundlesBeforeResponse, stylesheetsBundlesBeforeResponse and autoGenerate.
709
710Documentation:
711
712- Explain how to activate Optimizations.
713
714
715
716## 0.34.18 ##
717
718Bugfixes:
719
720- Allow utilisation of `nodeatlas` command on linux and MacOS. Tests.
721
722
723
724## 0.34.5 ##
725
726Bugfixes:
727
728- Because of HTTPs implementation, Simple Server Mode return an error. It's fixed.
729
730
731
732## 0.34.4 ##
733
734Bugfixes:
735
736- Because of HTTPs implementation, Simple Server Mode return an error. Tests.
737
738
739
740## 0.34.3 ##
741
742Bugfixes:
743
744- Because of HTTPs implementation, Simple Server Mode return an error. Tests.
745
746
747
748## 0.34.2 ##
749
750Bugfixes:
751
752- Insert commands directory.
753
754
755
756## 0.34.1 ##
757
758Bugfixes:
759
760- npm debug for install.js.
761
762
763
764## 0.34.0 ##
765
766Features:
767
768- Easilly support HTTPs protocol (and WSs prococol) with webconfig.
769
770Documentation:
771
772- Explain how to activate HTTPs.
773
774
775
776## 0.33.3 ##
777
778Documentation:
779
780- Change a 404 external link.
781
782
783
784## 0.33.2 ##
785
786Documentation:
787
788- New website example.
789- Example for multilingual 404 page.
790
791
792
793## 0.33.1 ##
794
795Bugfixes:
796
797- The error page of `pageNotFound` was never matched if the `url` property was used. It's fixed.
798
799
800
801## 0.33.0 ##
802
803Features:
804
805- With `--generate` command, all `assetsRelativePath` content will be copied into `generatesRelativePath` if this two path are different.
806
807Documentation:
808
809- Update with new information.
810
811
812
813## 0.32.0 ##
814
815Features:
816
817- The `preRender` hook become the `changeVariation` hook.
818- The `render` hook become the `changeDom` hook.
819- The `params.data` of `render` become `params.dom` of `changeDom`.
820
821Bugfixes:
822
823- If a port is already in used, the error message said the port 80 is used even if the port used is 7777 for example.
824
825Documentation:
826
827- Update with new information.
828
829
830
831## 0.31.0 ##
832
833Features:
834
835- The `--run` opition become the `--browse` option and `-r` become `-b`.
836- Adding of `--browse [subpath]`.
837
838Documentation:
839
840- Update with new information.
841
842
843
844## 0.30.0 ##
845
846Information:
847
848- Creation of CHANGELOG.md file.
\No newline at end of file