forked from pool/ghc-doctemplates
osc copypac from project:devel:languages:haskell:ghc-8.6.x package:ghc-doctemplates revision:10, using keep-link
OBS-URL: https://build.opensuse.org/package/show/devel:languages:haskell/ghc-doctemplates?expand=0&rev=28
This commit is contained in:
parent
3cb9980dc2
commit
02dc5123df
@ -1,159 +1,39 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 8 03:03:54 UTC 2019 - psimons@suse.com
|
||||
Mon Dec 23 17:45:39 UTC 2019 - psimons@suse.com
|
||||
|
||||
- Update doctemplates to version 0.8.
|
||||
## 0.8
|
||||
|
||||
* Change `Filter` data type to `Pipe`. Use the nomenclature of
|
||||
"pipe" instead of "filter" to avoid confusion in pandoc between
|
||||
two notions of filter. Otherwise everything works the same.
|
||||
Upstream added a new change log file in this release. With no
|
||||
previous version to compare against, the automatic updater cannot
|
||||
reliable determine the relevante entries for this release.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 03:02:06 UTC 2019 - psimons@suse.com
|
||||
Fri Nov 8 16:13:38 UTC 2019 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update doctemplates to version 0.7.2.
|
||||
## 0.7.2
|
||||
|
||||
* Add `nowrap` filter.
|
||||
|
||||
* Improve `alpha`, `roman`, `uppercase`, `lowercase` filters so they
|
||||
apply recursively within a list or map.
|
||||
|
||||
* Allow `for` loops to bind map value. In this case there is no
|
||||
iteration, but the anophoric variable 'it' is assigned, which may
|
||||
help in using filters that destructure a string into a map (if
|
||||
we add any).
|
||||
- Drop obsolete group attributes.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 19 03:02:31 UTC 2019 - psimons@suse.com
|
||||
Sat Oct 20 11:31:27 UTC 2018 - Peter Simons <psimons@suse.com>
|
||||
|
||||
- Update doctemplates to version 0.7.1.
|
||||
## 0.7.1
|
||||
|
||||
* Add `chomp` filter.
|
||||
|
||||
* Allow filters to be applied to output of partials.
|
||||
|
||||
## 0.7
|
||||
|
||||
* Add haddock Makefile target, which regenerates haddocks from README
|
||||
and tests the code example.
|
||||
|
||||
* Remove `BreakingSpace` constructor on `Template`.
|
||||
Now we use doclayout `BreakingSpace` inside a `Literal`.
|
||||
|
||||
* Add instance for `ToContext a (Doc a)`.
|
||||
|
||||
* Get benchmarks compiling again.
|
||||
|
||||
* Use (doclayout) `Doc` internally and for rendered output.
|
||||
|
||||
+ `TemplateTarget` is now a type constraint synonym, not a regular
|
||||
typeclass.
|
||||
+ Constraint on `compileTemplate` and `applyTemplate`
|
||||
simplified using TemplateTarget.
|
||||
+ DocTemplates reexports Text.DocLayout.Doc.
|
||||
+ The `Literal` costructor of `Template` now takes a `Doc a`
|
||||
rather than an `a`.
|
||||
+ The `SimpleVal` constructor of `Val` now takes a `Doc a`
|
||||
rather than an `a`.
|
||||
+ `renderTemplate` now returns a `Doc a` rather than an `a`.
|
||||
(This value can be converted to an a using `render Nothing`.)
|
||||
|
||||
* Remove fromText from `TemplateTarget`. Now we use `fromString`
|
||||
from Data.String.
|
||||
|
||||
* Parameterize `Template` on underlying stringlike type.
|
||||
|
||||
* Improved behavior of partials.
|
||||
|
||||
* Improve indent functions: don't drop final newline.
|
||||
|
||||
* Allow blank lines in nested section.
|
||||
|
||||
* Indent for Text/String: don't indent empty lines.
|
||||
|
||||
* Additional tests and documentation about nesting.
|
||||
|
||||
* Render items in for loop before separator.
|
||||
Otherwise we throw off column calculation.
|
||||
|
||||
* Remove `+-reflow`; replace with toggle `$~$`.
|
||||
|
||||
* Remove pNewline parser; it isn't needed now.
|
||||
|
||||
* Remove `+-nest`.
|
||||
|
||||
* Fix nest parsing bug.
|
||||
|
||||
* Improve nesting.
|
||||
|
||||
+ Change `Nested` constructor for `Template` so it doesn't take
|
||||
a parameter.
|
||||
+ Nesting level is now determined dynamically at render time
|
||||
rather than at compile time. This gives much better results
|
||||
when nesting occurs after template directives.
|
||||
Benchmarks show a slight penalty in performance (from 3.5ms to 3.1ms
|
||||
in rendering), but it's not too much.
|
||||
|
||||
* Add filters. Filters transform the value of a variable, e.g. changing
|
||||
a map into an array of key/value pairs. Closes #5.
|
||||
|
||||
+ Internal: Add `Filter` type and `[Filter]` parameter on `Variable`.
|
||||
+ Remove `unVariable`; now we have `varParts` and `varFilters`.
|
||||
+ Document filters in README.md.
|
||||
+ Implement filters.
|
||||
+ Add tests.
|
||||
|
||||
* Add `ToYAML`, `FromYAML` instances for `Context`, `Val`.
|
||||
- Use https URL to refer to bugs.opensuse.org.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Oct 31 15:58:01 UTC 2019 - psimons@suse.com
|
||||
Wed Jul 18 14:26:22 UTC 2018 - psimons@suse.com
|
||||
|
||||
- Update doctemplates to version 0.7.
|
||||
## 0.6.2
|
||||
|
||||
* Remove unnecessary `TemplateTarget` constraints on
|
||||
`ToContext` instances.
|
||||
|
||||
* Add `ToContext` instance for `Map Text a`.
|
||||
|
||||
* Add `Data`, `Typeable` instances for `Context` and `Val`.
|
||||
- Cosmetic: replace tabs with blanks, strip trailing white space,
|
||||
and update copyright headers with spec-cleaner.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 23 02:01:30 UTC 2019 - psimons@suse.com
|
||||
Mon May 14 17:02:11 UTC 2018 - psimons@suse.com
|
||||
|
||||
- Update doctemplates to version 0.6.1.
|
||||
## 0.6.1
|
||||
|
||||
* Indent bare partials.
|
||||
- Update doctemplates to version 0.2.2.1.
|
||||
Upstream does not provide a changelog.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 3 02:02:28 UTC 2019 - psimons@suse.com
|
||||
Thu Aug 3 15:38:38 UTC 2017 - psimons@suse.com
|
||||
|
||||
- Update doctemplates to version 0.6.
|
||||
## 0.6
|
||||
|
||||
* Add `+nest`/`-nest` keywords.
|
||||
|
||||
* Add `+reflow`/`-reflow` keywords.
|
||||
|
||||
* Add Nested constructor to Template, remove Indented
|
||||
and Indented parameter for Interpolate.
|
||||
|
||||
* More expansive description of library.
|
||||
|
||||
## 0.5.1
|
||||
|
||||
* Add elseif keyword.
|
||||
|
||||
* Improve compile error source locations with partials.
|
||||
|
||||
* Handle templates that don't end in newlines. Previously
|
||||
this caused problems in some cases.
|
||||
- Updated with latest spec-cleaner version 0.9.8-8-geadfbbf.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 28 17:31:15 UTC 2019 - psimons@suse.com
|
||||
|
||||
- Add doctemplates at version 0.5.
|
||||
Sun Feb 12 10:07:38 UTC 2017 - psimons@suse.com
|
||||
|
||||
- Update to version 0.1.0.2 with cabal2obs.
|
||||
|
Loading…
x
Reference in New Issue
Block a user