2
2
cinje
3
3
=====
4
4
5
- © 2015 Alice Bevan-McGregor and contributors.
5
+ © 2015-2016 Alice Bevan-McGregor and contributors.
6
6
7
7
..
8
8
@@ -485,6 +485,8 @@ See the Variable Replacement section for details on the replacement options that
485
485
Pragma
486
486
~~~~~~
487
487
488
+ *New in Version 1.1 *
489
+
488
490
The ``: pragma <flag>[ <flag>][...] `` directive allows you to enable or disable one or more processing flags. Usage is
489
491
straightforward; to add a flag to the current set of flags::
490
492
@@ -584,6 +586,21 @@ Version 1.1
584
586
* *Enhanced Pypy support. * Pypy does not require optimizations which potentially obfuscate the resulting code.
585
587
So we don't do them.
586
588
589
+ * *Fixed * incorrect `#{} ` handling when it was the first non-whitepsace on a line. (#22)
590
+
591
+ * *Fixed * buffer iteration edge case if the first template text in a function is deeper than the function scope. (#21)
592
+
593
+ * *Python 3-style function annotations * can now be used to define function-wide "pragma" additions and removals, even
594
+ on Python 2. (#8)
595
+
596
+ * *Pragma processing directives. * Processing flags can be set and unset during the translation process using
597
+ `: pragma `.
598
+
599
+ * *Unbuffered mode. * Cinje can now operate in unbuffered mode. Each contiguous chunk is individually yielded. (#8)
600
+
601
+ * *Secret feature. * Have a cinje template? Want to more easily peek behind the curtain? (Sssh, it's a completely
602
+ unsupported feature that even syntax colors if `pygments ` is installed.) `python -m cinje source file.py `
603
+
587
604
Version 1.0
588
605
-----------
589
606
@@ -598,7 +615,7 @@ cinje has been released under the MIT Open Source license.
598
615
The MIT License
599
616
---------------
600
617
601
- Copyright © 2015 Alice Bevan-McGregor and contributors.
618
+ Copyright © 2015-2016 Alice Bevan-McGregor and contributors.
602
619
603
620
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
604
621
documentation files (the “Software”), to deal in the Software without restriction, including without limitation the
@@ -653,12 +670,12 @@ OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
653
670
:target: https://github.com/marrow/cinje/issues
654
671
:alt: Github Issues
655
672
656
- .. |ghsince | image :: https://img.shields.io/github/commits-since/marrow/cinje/1.0.svg
673
+ .. |ghsince | image :: https://img.shields.io/github/commits-since/marrow/cinje/1.1. 0.svg
657
674
:target: https://github.com/marrow/cinje/commits/develop
658
675
:alt: Changes since last release.
659
676
660
677
.. |ghtag | image :: https://img.shields.io/github/tag/marrow/cinje.svg
661
- :target: https://github.com/marrow/cinje/tree/1.0
678
+ :target: https://github.com/marrow/cinje/tree/1.1. 0
662
679
:alt: Latest Github tagged release.
663
680
664
681
.. |latestversion | image :: http://img.shields.io/pypi/v/cinje.svg?style=flat
0 commit comments