Age | Commit message (Collapse) | Author | Files | Lines |
|
# 0.9.5 - July 22nd, 2016
- `yard doc` will now generate `.yardoc/processing` and `.yardoc/complete` files
to allow other tools to properly detect when YARD is in the middle of parsing
source files, and when it has completed writing the database.
- Added support for on-demand generation of LibraryVersion objects using the
`:disk` source type. LibraryVersion objects pointing to a .yardoc database
directory will now auto-generate if there is a `source_path` attached.
- Added warning for macros attached to non-method objects.
- Fixed a few more parsing errors.
|
|
1.2.1 01 June 2016
Explicitly require 'set' - @jberkel.
|
|
pkgsrc change: Remove overriding gemspec to fix parslet dependency
* Drop support for Ruby 1.8.
* Fix Rison.dump to encode numeric hash keys as strings
|
|
pkgsrc change: Add support for pkg_alternatives.
== 4.3.2 / May 23rd, 2016
* Fix additional case for CVE-2012-6684 [Joshua Siler]
== 4.3.1 / May 17th, 2016
* Fix additional case for CVE-2012-6684 [Joshua Siler]
== 4.3.0 / April 29th, 2016
* Remove JRuby and Windows cross compilation and support
* Add Ruby 2.2.3 testing and support
* include CVE-2012-6684 fix [Tomas Pospisek]
* fix by [Antonio Terceiro]
* see http://sources.debian.net/src/ruby-redcloth/4.2.9-4/debian/patches/0001-Filter-out-javascript-links-when-using-filter_html-o.patch/
* vulnerability reported by [Kousuke Ebihara]
* see http://co3k.org/blog/redcloth-unfixed-xss-en
== 4.2.9.1 / February 24, 2015
* Lazy-load latex_entities.yml [Charlie Somerville]
|
|
=== 1.6.8.1 / 2016-10-03
==== Dependency License Notes
Removes required dependency on the `pkg-config` gem. This dependency
was introduced in v1.6.8 and, because it's distributed under LGPL, was
objectionable to many Nokogiri users (#1488, #1496).
This version makes `pkg-config` an optional dependency. If it's
installed, it's used; but otherwise Nokogiri will attempt to work
around its absence.
=== 1.6.8 / unreleased
==== Security Notes
[MRI] Bundled libxml2 is upgraded to 2.9.4, which fixes many security issues. Many of these had previously been patched in the vendored libxml 2.9.2 in the 1.6.7.x branch, but some are newer.
See these libxml2 email posts for more:
* https://mail.gnome.org/archives/xml/2015-November/msg00012.html
* https://mail.gnome.org/archives/xml/2016-May/msg00023.html
For a more detailed analysis, you may care to read Canonical's take on these security issues:
* http://www.ubuntu.com/usn/usn-2994-1
[MRI] Bundled libxslt is upgraded to 1.1.29, which fixes a security issue as well as many long-known outstanding bugs, some features, some portability improvements, and general cleanup.
See this libxslt email post for more:
* https://mail.gnome.org/archives/xslt/2016-May/msg00004.html
==== Features
Several changes were made to improve performance:
* [MRI] Simplify NodeSet#to_a with a minor speed-up. (#1397)
* XML::Node#ancestors optimization. (#1297) (Thanks, Bruno Sutic!)
* Use Symbol#to_proc where we weren't previously. (#1296) (Thanks, Bruno Sutic!)
* XML::DTD#each uses implicit block calls. (Thanks, @glaucocustodio!)
* Fall back to the `pkg-config` gem if we're having trouble finding the system libxml2. This should help many FreeBSD users. (#1417)
* Set document encoding appropriately even on blank document. (#1043) (Thanks, @batter!)
==== Bug Fixes
* [JRuby] fix slow add_child (#692)
* [JRuby] fix load errors when deploying to JRuby/Torquebox (#1114) (Thanks, @atambo and @jvshahid!)
* [JRuby] fix NPE when inspecting nodes returned by NodeSet#drop (#1042) (Thanks, @mkristian!)
* [JRuby] fix nil attriubte node's namespace in reader (#1327) (Thanks, @codekitchen!)
* [JRuby] fix Nokogiri munging unicode characters that require more than 2 bytes (#1113) (Thanks, @mkristian!)
* [JRuby] allow unlinking an unparented node (#1112, #1152) (Thanks, @esse!)
* [JRuby] allow Fragment parsing on a frozen string (#444, #1077)
* [JRuby] HTML `style` tags are no longer encoded (#1316) (Thanks, @tbeauvais!)
* [MRI] fix assertion failure while accessing attribute node's namespace in reader (#843) (Thanks, @2potatocakes!)
* [MRI] fix issue with GCing namespace nodes returned in an xpath query. (#1155)
* [MRI] Ensure C strings are null-terminated. (#1381)
* [MRI] Ensure Rubygems is loaded before using mini_portile2 at installation. (#1393, #1411) (Thanks, @JonRowe!)
* [MRI] Handling another edge case where the `libxml-ruby` gem's global callbacks were smashing the heap. (#1426). (Thanks to @bbergstrom for providing an isolated test case!)
* [MRI] Ensure encodings are passed to Sax::Parser xmldecl callback. (#844)
* [MRI] Ensure default ns prefix is applied correctly when reparenting nodes to another document. (#391) (Thanks, @ylecuyer!)
* [MRI] Ensure Reader handles non-existent attributes as expected. (#1254) (Thanks, @ccutrer!)
* [MRI] Cleanup around namespace handling when reparenting nodes. (#1332, #1333, #1444) (Thanks, @cuttrer and @bradleybeddoes!)
* unescape special characters in CSS queries (#1303) (Thanks, @twalpole!)
* consistently handle empty documents (#1349)
* Update to mini_portile2 2.1.0 to address whitespace-handling during patching. (#1402)
* Fix encoding of xml node namespaces.
* Work around issue installing Nokogiri on overlayfs (commonly used in Docker containers). (#1370, #1405)
==== Other Notes
* Removed legacy code remaining from Ruby 1.8.x support.
* Removed legacy code remaining from REE support.
* Removing hacky workarounds for bugs in some older versions of libxml2.
* Handling C strings in a forward-compatible manner, see https://github.com/ruby/ruby/blob/v2_2_0/NEWS#L319
|
|
1.12.1
------
* [Prevent meory leak in OptionsCache](https://github.com/intridea/multi_json/commit/aa7498199ad272f3d4a13750d7c568a66047e2ee)
1.12.0
------
* [Introduce global options cache to improve peroformance](https://github.com/intridea/multi_json/commit/7aaef2a1bc2b83c95e4208b12dad5d1d87ff20a6)
|
|
== 2.9.0 / 2016-06-13 Charlie Savage
* Revamp libxml-ruby's memory management to not cause crashes when used with Nokogiri (James Laird-Wah)
* Fix garbage collection issue that sometimes caused the library to hang (Charlie Savage)
* Improved multi-threading support (Charlie Savage)
* Fix crash sometimes caused by a xml node being being freed twice (Charlie Savage)
* Fix memory leak when setting the text content of a node (Charlie Savage)
* Set a default task in the Rakefile - use "test" (Robert Haines)
* Add "hanna_gudao" gem and add "rake-compiler" to develpoment dependencies (Robert Haines)
* Use Process.getrlimit instead of `ulimit` in the tests (Robert Haines)
* Build on smartos (Steven Williamson)
* Fix compiler warnings (Charlie Savage)
* Add Xcode project for easier debugging on OSX (Charlie Savage)
* Switch from unit test to minitest (Charlie Savage)
|
|
kramdown 1.12.0 released Published on Monday, 15 August 2016
This release features two enhancements for definition lists:
1. IALs can now be applied to definition terms:
{:.classy} term
: and its definition
2. IDs for definition terms can now be created automatically (similar to
header IDs) and optionally assigned a prefix:
{:auto_ids}
term1
: definition
term2
: definition
^
{:auto_ids-prefix}
term1
: definition
term2
: definition
Furthermore, compatibility of the GFM parser has been improved in regards
to list/blockquotes/codeblocks that are used directly after a paragraph
(i.e. without a blank line).
Changes
* 4 minor change:
- Allow using an IAL for definition terms (<dt>) as is already possible with
definitions themselves (<dd>)
- Added automatic generation of IDs (with optional prefix) for terms of
definition lists (fixes #355, requested by Greg Wilson)
- Removed obfuscation for e-mail links (fixes #343, requested by Anton
Tsyganenko)
- New option ¡Ægfm_quirks¡Ç for enabling/disabling parsing differences of
the GFM parser with respect to the kramdown parser
* 4 bug fixes:
- Added support for HTML5 element <main> (fixes #334, reported by
Jean-Michel Lacroix)
- Fixed math element output for HTML converter when no math engine is set
(fixes #342, reported by Adrian Sampson)
- Fixed problem when using custom HTML formatter for syntax highlighter
rouge (fixes #356, patch by Alexey Vasiliev)
- Better compatibility with GFM when lists/blockquotes/codeblocks are used
directly after a paragraph (fixes #336 (reported by Shuanglei Tao), #359
(reported by Matti Schneider) via the patch #358 by Shuanglei Tao)
* 3 other fixes and enhancements:
- Added some more examples for how list indentation works (fixes #353,
requested by Robbert Brak)
- Using RbConfig instead of deprecated Config for determining data directory
(fixes #345, patch by C«±dric Boutillier)
- JRuby is now also tested via TravisCI (fixes #363, patch by Shuanglei Tao)
kramdown 1.11.1 released Published on Sunday, 01 May 2016
This release fixes an emphasis parsing regression introduced in the last
version.
Changes
* 1 bug fix:
- Fixed emphasis parsing regression (fixes #333, reported by Marcus
Stollsteimer)
kramdown 1.11.0 released Published on Sunday, 01 May 2016
This release fixes some bugs and includes one minor change in regards to HTML
syntax highlighting.
Changes
* 1 minor change:
- The syntax highlighting language is now always included in the output as
class name even if a syntax highlighter is used (fixes #328, requested by
SLaks)
* 3 bug fixes:
- Fixed the GFM fenced code block parser to correctly split a provided
highlighter name into language name and options parts
- Fixed problem with underscores being processed even if inside a word
(fixes #323, reported by Haruki Kirigaya)
- Fixed HTML/XML parser to correctly, case sensitively parse XML (fixes
#310, reported by cabo)
* 2 other fixes:
- Updated copyright year (fixes #331, reported by Oscar Bj«Órkman)
- Updated supported Ruby version on installation page (reported by cabo)
|
|
Upstream changes:
1.46 (tjmather) 09/21/2016
- Correct name passed to WriteMakefile to XML::DOM (was XML/Dom)
|
|
Upstream changes:
2.030 2016-10-13
- Fix a font naming issue introduced while satisfying
Perl::Critic.
2.029 2016-10-10
- [RT #113293] Files with cross-reference streams weren't
correctly setting the max object number (report and
troubleshooting by Marco Pessotto).
- Handle TIFF images with strips that are wider than the image
(report and patch by Jeffrey Ratcliffe).
- [RT #98574] Increase test coverage of PDF::API2::Content (tests
by Phil Perry).
- A bunch of code cleanup and documentation updates by Paul
Cochrane.
- Add a missing prereq on Win32 systems (patch by Michiel Beijen).
- [RT #113514, #98552] Fix the dash() and renderingintent()
methods in ExtGState (reported by Vadim Repin and Phil Perry).
- Satisfy all Perl::Critic severity 5 policies.
- [RT #117940] Allow PNG, GIF, and PNM files to be opened from
filehandles in addition to filenames (patch by Johan Vromans).
- [RT #33970] Fail fast when a referenced file can't be opened
(requested by Barrie Slaymaker a mere 8.5 years ago).
- Add -simplex, -duplexfliplongedge and -duplexflipshortedge as
options to $pdf->preferences() (requested by Doug Poulin).
|
|
Upstream changes:
4.015 2016-10-14 20:48:13-04:00 America/New_York
- fix bugs introduced in 4.014 that would cause [Bugs] and [Legal]
to run even when they should've skipped
4.014 2016-09-18 22:25:51-04:00 America/New_York
- make links in [Bugs] use L<> (thanks, David Zurborg!)
- added debug level logging to the weaver, plugins, and
section. GitHub #42. (thanks, Dave Rolsky)
|
|
|
|
|
|
v2.5.0
------
* Improved performance on CPython by adding caching around ref resolution
(#203)
|
|
|
|
2016.9.19
=========
----
* Default image alt text option created and set to a default of empty string "" to maintain backward compatibility
* Fix #136: --default-image-alt now takes a string as argument
* Fix #113: Stop changing quiet levels on \/script tags.
* Merge #126: Fix deprecation warning on py3 due to html.escape
* Fix #145: Running test suite on Travis CI for Python 2.6.
|
|
|
|
Changes not found.
|
|
0.10 Wednesday 14th September, 2016
Added ability to alter regex seperator (patch from Mark Fowler)
Switch distribution packaging back to ExtUtils::MakeMaker (RT#104876)
|
|
0.77 2016-09-20
* Fixes for testing and installing on Darwin (install_name issues).
Thanks to Nuno "smash" Carvalho for the report and debug help.
|
|
|
|
|
|
|
|
|
|
This will be the last release that uses Boost; futures releases
will require C++11 instead.
No release notes, only bugfixes since 0.5.1. See full commit logs:
https://github.com/jbeder/yaml-cpp/compare/release-0.5.1...release-0.5.2
https://github.com/jbeder/yaml-cpp/compare/release-0.5.2...release-0.5.3
|
|
|
|
|
|
---------------------------------
Release 0.3.8
- This release fixes some bugs and contains some new features.
|
|
---------------------------------------
cmark 0.26.1
@jgm jgm released this Jul 16, 2016 . 18 commits to master since this release
* Removed unnecessary typedef that caused build failure on some platforms.
* Use $(MAKE) in Makefile instead of hardcoded make (#146, Tobias Kortkamp).
cmark 0.26.0
@jgm jgm released this Jul 15, 2016 . 23 commits to master since this release
* Implement spec changes for list items:
+ Empty list items cannot interrupt paragraphs.
+ Ordered lists cannot interrupt paragraphs unless they start with 1.
+ Removed "two blank lines break out of a list" feature.
* Fix sourcepos for blockquotes (#142).
* Fix sourcepos for atx headers (#141).
* Fix ATX headers and thematic breaks to allow tabs as well as spaces.
* Fix chunk_set_cstr with suffix of current string (#139, Nick Wellnhofer).
It's possible that cmark_chunk_set_cstr is called with a substring (suffix)
of the current string. Delay freeing of the chunk content to handle this
case correctly.
* Export targets on installation (Jonathan M?ller). This allows using them in
other cmake projects.
* Fix cmake warning about CMP0048 (Jonathan M?ller).
* commonmark renderer: Ensure we don't have a blank line before a code block
when it's the first thing in a list item.
* Change parsing of strong/emph in response to spec changes. process_emphasis
now gets better results in corner cases. The change is this: when
considering matches between an interior delimiter run (one that can open
and can close) and another delimiter run, we require that the sum of the
lengths of the two delimiter runs mod 3 is not 0.
* Ported Robin Stocker's changes to link parsing in jgm/CommonMark#101. This
uses a separate stack for brackets, instead of putting them on the
delimiter stack. This avoids the need for looking through the delimiter
stack for the next bracket.
* cmark_reference_lookup: Return NULL if reference is null string.
* Fix character type detection in commonmark.c (Nick Wellnhofer). Fixes test
failures on Windows and undefined behavior.
+ Implement cmark_isalpha.
+ Check for ASCII character before implicit cast to char.
+ Use internal ctype functions in commonmark.c.
* Better documentation of memory-freeing responsibilities. in cmark.h and its
man page (#124).
* Use library functions to insert nodes in emphasis/link processing.
Previously we did this manually, which introduces many places where errors
can creep in.
* Correctly handle list marker followed only by spaces. Previously when a
list marker was followed only by spaces, cmark expected the following
content to be indented by the same number of spaces. But in this case we
should treat the line just like a blank line and set list padding
accordingly.
* Fixed a number of issues relating to line wrapping.
+ Extend CMARK_OPT_NOBREAKS to all renderers and add --nobreaks.
+ Do not autowrap, regardless of width parameter, if CMARK_OPT_NOBREAKS
is set.
+ Fixed CMARK_OPT_HARDBREAKS for LaTeX and man renderers.
+ Ensure that no auto-wrapping occurs if CMARK_OPT_NOBREAKS is enabled,
or if output is CommonMark and CMARK_OPT_HARDBREAKS is enabled.
* Set stdin to binary mode on Windows (Nick Wellnhofer, #113). This fixes
EOLs when reading from stdin.
* Add library option to render softbreaks as spaces (Pavlo Kapyshin). Note
that the NOBREAKS option is HTML-only
* renderer: no_linebreaks instead of no_wrap. We generally want this option
to prohibit any breaking in things like headers (not just wraps, but
softbreaks).
* Coerce realurllen to int. This is an alternate solution for pull request #
132, which introduced a new warning on the comparison (Benedict Cohen).
* Remove unused variable link_text (Mathiew Duponchelle).
* Improved safety checks in buffer (Vicent Marti).
* Add new interface allowing specification of custom memory allocator for
nodes (Vicent Marti). Added cmark_node_new_with_mem,
cmark_parser_new_with_mem, cmark_mem to API.
* Reduce storage size for nodes by using bit flags instead of separate
booleans (Vicent Marti).
* config: Add SSIZE_T compat for Win32 (Vicent Marti).
* cmake: Global handler for OOM situations (Vicent Marti).
* Add tests for memory exhaustion (Vicent Marti).
* Document in man page and public header that one should use the same memory
allocator for every node in a tree.
* Fix ctypes in Python FFI calls (Nick Wellnhofer). This didn't cause
problems so far because all types are 32-bit on 32-bit systems and
arguments are passed in registers on x86-64. The wrong types could cause
crashes on other platforms, though.
* Remove spurious failures in roundtrip tests. In the commonmark writer we
separate lists, and lists and indented code, using a dummy HTML comment. So
in evaluating the round-trip tests, we now strip out these comments. We
also normalize HTML to avoid issues having to do with line breaks.
* Add 2016 to copyright (Kevin Burke).
* Added to_commonmark in test/cmark.py (for round-trip tests).
* spec_test.py - parameterize do_test with converter.
* spec_tests.py: exit code is now sum of failures and errors. This ensures
that a failing exit code will be given when there are errors, not just with
failures.
* Fixed round trip tests. Previously they actually ran cmark instead of the
round-trip version, since there was a bug in setting the ROUNDTRIP variable
(#131).
* Added new roundtrip_tests.py. This replaces the old use of simple shell
scripts. It is much faster, and more flexible. (We will be able to do
custom normalization and skip certain tests.)
* Fix tests under MinGW (Nick Wellnhofer).
* Fix leak in api_test (Mathieu Duponchelle).
* Makefile: have leakcheck stop on first error instead of going through all
the formats and options and probably getting the same output.
* Add regression tests (Nick Wellnhofer).
cmark 0.25.2
@jgm jgm released this Mar 26, 2016 . 114 commits to master since this release
* Open files in binary mode (#113, Nick Wellnhofer). Now that cmark supports
different line endings, files must be openend in binary mode on Windows.
* Reset partially_consumed_tab on every new line (#114, Nick Wellnhofer).
* Handle buffer split across a CRLF line ending (#117). Adds an internal
field to the parser struct to keep track of last_buffer_ended_with_cr.
Added test.
cmark 0.25.1
@jgm jgm released this Mar 25, 2016 . 122 commits to master since this release
* Release with no code changes. cmark version was mistakenly set to 0.25.1 in
the 0.25.0 release (#112), so this release just ensures that this will
cause no confusion later.
cmark 0.25.0
@jgm jgm released this Mar 25, 2016 . 124 commits to master since this release
* Fixed tabs in indentation (#101). This patch fixes S_advance_offset so that
it doesn't gobble a tab character when advancing less than the width of a
tab.
* Added partially_consumed_tab to parser. This keeps track of when we have
gotten partway through a tab when consuming initial indentation.
* Simplified add_line (only need parser parameter).
* Properly handle partially consumed tab. E.g. in
- foo
<TAB><TAB>bar
we should consume two spaces from the second tab, including two spaces
in the code block.
* Properly handle tabs with blockquotes and fenced blocks.
* Fixed handling of tabs in lists.
* Clarified logic in S_advance_offset.
* Use an assertion to check for in-range html_block_type. It's a programming
error if the type is out of range.
* Refactored S_processLines to make the logic easier to understand, and added
documentation (Mathieu Duponchelle).
* Removed unnecessary check for empty string_content.
* Factored out contains_inlines.
* Moved the cmake minimum version to top line of CMakeLists.txt (tinysun212).
* Fix ctype(3) usage on NetBSD (Kamil Rytarowski). We need to cast value
passed to isspace(3) to unsigned char to explicitly prevent possibly
undefined behavior.
* Compile in plain C mode with MSVC 12.0 or newer (Nick Wellnhofer). Under
MSVC, we used to compile in C++ mode to get some C99 features like mixing
declarations and code. With newer MSVC versions, it's possible to build in
plain C mode.
* Switched from "inline" to "CMARK_INLINE" (Nick Wellnhofer). Newer MSVC
versions support enough of C99 to be able to compile cmark in plain C mode.
Only the "inline" keyword is still unsupported. We have to use "__inline"
instead.
* Added include guards to config.h
* config.h.in - added compatibility snprintf, vsnprintf for MSVC.
* Replaced sprintf with snprintf (Marco Benelli).
* config.h: include stdio.h for _vscprintf etc.
* Include starg.h when needed in config.h.
* Removed an unnecessary C99-ism in buffer.c. This helps compiling on systems
like luarocks that don't have all the cmake configuration goodness (thanks
to carlmartus).
* Don't use variable length arrays (Nick Wellnhofer). They're not supported
by MSVC.
* Test with multiple MSVC versions under Appveyor (Nick Wellnhofer).
* Fix installation dir of man-pages on NetBSD (Kamil Rytarowski).
* Fixed typo in cmark.h comments (Chris Eidhof).
* Clarify in man page that cmark_node_free frees a node's children too.
* Fixed documentation of --width in man page.
* Require re2c >= 1.14.2 (#102).
* Generated scanners.c with more recent re2c.
(pkgsrc changes)
- Drop two patches accepted to upstream
|
|
------------------------------------
0.31 2016-08-24
* Sort PDF dictionary keys for consistent output
* Bug fixes
* TTF Font objects had null BaseFont (broken at commit afd5b9a)
* [rt.cpan.org] #110854: Fix spelling error in manpage
|
|
---------------------------------------
0.60 2016-08-22
- Apply a patch to correct a spelling error:
- https://rt.cpan.org/Ticket/Display.html?id=117100
- Thanks to Salvatore Bonaccorso, Debian Perl Group.
|
|
--------------------------------------
1.35 2016-09-09 10:20:00 MANWAR
- Merge pull request #10 from zhouzhen1/typo
|
|
|
|
|
|
|
|
|
|
Changes from 4.1.1 to 6.0.8 are too many to write here, please refer:
groonga.org/docs/news.html.
|
|
Change requested by Frederic Cambus.
|
|
|
|
* Make MASTER_SITES empty to avoid fetching 404 site.
* Introduce DIST_SUBDIR reflecting DISTFILE change with the same file name.
|
|
naming scheme of the other multi-version packages. Add support for the
coorresponding RUBY_VERSIONS_INCOMPATIBLE list.
|
|
conflict with groff.
Requested by jperkin.
Bump PKGREVISION.
|
|
definition here and adjust post-install command.
|
|
Bump version.
From jmc@OpenBSD.org.
|
|
Upstream changes:
1.25 - 2016-08-28, H.Merijn Brand
* Allow lc, uc, and coderef for csv () headers attribute
* Document for eof when the last line has an error (RT#115954)
* Allow csv () to call header () with all supported arguments
* Add some docs for bind_columns
|
|
Upstream changes:
1.34 2016-08-26 08:40:00 MANWAR
- Corrected HelveticaBold font width.
|
|
|
|
Packaged for wip by Jonathan Schleifer, with improvements by
K.I.A.Derouiche and myself.
This library is an implementation of the JSON-RPC specification.
It supports both the original 1.0 specification, as well as the
new (proposed) 2.0 spec, which includes batch submission, keyword
arguments, etc.
|
|
* Wheel packages for Windows binaries.
* Adding an implicit resolver to a derived loader should not affect
the base loader (fixes issue #57).
* Uniform representation for OrderedDict across different versions
of Python (fixes issue #61).
* Fixed comparison to None warning (closes issue #64).
|
|
4.5.0
Customizable output format for redirected output
In a natural follow-on to the 4.4.0 redirected-output feature, the
4.5.0 release allows your tap-files to be in a different output
format from the main program output.
For example, using
mlr --icsv --opprint ... then put --ojson 'tee > "mytap-".$a.".dat",
$*' then ...
the input is CSV, the output is pretty-print tabular, but the
tee-files output is written in JSON format. Likewise --ofs, --ors,
--ops, --jvstack, and all other output-formatting options from the
main help at mlr -h and/or man mlr default to the main command-line
options, and may be overridden with flags supplied to mlr put and
mlr tee.
4.4.0
Redirected output, row-value shift, and other features
The principal feature of Miller 4.4.0 is redirected output. Inspired
by awk, Miller lets you tap/tee your data as it's processed, run
output through subordinate processes such as gzip and jq, split a
single file into multiple files per an account-ID column, and so
on.
Details:
http://johnkerl.org/miller/doc/reference.html#Redirected-output_statements_for_put
Other features:
mlr step -a shift allows you to place the previous record's
values alongside the current record's values:
http://johnkerl.org/miller/doc/reference.html#step
mlr head, when used without the group-by flag (-g), stops after
the specified number of records has been output. For example,
even with a multi-gigabyte data file, mlr head -n 10 hugefile.dat
will complete quickly after producing the first ten records
from the file.
The sec2gmtdate verb, and sec2gmtdate function for filter/put,
is new: please see
http://johnkerl.org/miller/doc/reference.html#sec2gmtdate and
http://johnkerl.org/miller/doc/reference.html#Functions_for_filter_and_put.
sec2gmt and sec2gmtdate both leave non-numbers as-is, rather
than formatting them as (error). This is particularly relevant
for formatting nullable epoch-seconds columns in SQL-table
output: if a column value is NULL then after sec2gmt or
sec2gmtdate it will still be NULL.
The dot operator has been universalized to work with any data
type and produce a string. For example, if the field n has
integers, then instead of typing mlr put '$name = "value:".string($n)'
you can now simply domlr put '$name = "value:".$n'. This is
particularly timely for creating filenames for redirected
print/dump/tee/emit output.
The online documents now have a copy of the Miller manpage:
http://johnkerl.org/miller/doc/manpage.html
Bugfix: inside filter/put, $x=="" was distinct from isempty($x).
This was nonsensical; now both are the same.
|