Skip to content

Releases: geographika/mappyfile

v0.9.0

23 Dec 16:03
Compare
Choose a tag to compare
  • Schemas updated to include minVersion and maxVersion metadata to define which Mapfile keywords are valid
    for different versions of MapServer
  • A new schema command line tool to export Mapfile schemas for different versions of MapServer
  • Allow Mapfile validation based on a specific version of MapServer
  • Add better error message when incorrect dicts are passed to printer
  • Add py38 to continuous integration testing
  • Add command line scripts to continuous integration testing
  • Fix CONNECTIONOPTIONS formatted output
  • Update to lark-parser 0.9.0
  • #109 - Add validation based on MapServer version
  • #96 - Unquoted Unicode strings cause parsing errors
  • #102 - Added support for accented-latin in unquoted strings (Issue #96) - thanks @erezsh
  • #97 - Allow for negative expressions
  • #101 - Fix for issue #97 (unary negation) - thanks @erezsh
  • #85 - Coding of NOT logical expression
  • #100 - Allowing non-bracketed NOT expression (Issue #85) - thanks @erezsh

v0.8.4

11 Jan 13:05
Compare
Choose a tag to compare
  • Update to lark-parser 0.7.8
  • #95 - Allow Mapfile input from io.StringIO as well
    as from a file - thanks @ianturton for pull request
  • #93 - fix to ensure Mapfiles are closed after reading
  • #89 - List expressions with spaces in the attributes fail to
    parse - thanks @ianturton for fix

v0.8.3

07 Oct 07:47
Compare
Choose a tag to compare
  • Update to lark-parser 0.7.7
  • Update to jsonref 0.2
  • Add automated releases to GitHub using Appveyor
  • Add automated releases to PyPI using Appveyor
  • Add missing CLASS properties to JSON schema
  • Additional tests for CaseInsensitiveOrderedDict and EXPRESSIONs
  • #37 LIKE not recognised in FILTER - thanks @ianturton for fix
  • #87 JSON schema add join tag- thanks @hugbe8 for fix

v0.8.2

29 Mar 22:59
Compare
Choose a tag to compare
  • #74 - Map files containing Unicode can fail in mappyfile.load with
    python2.7 thanks @ianturton
  • #73 - Deepcopy not working (Python3 >=3.5) - thanks @guardeivid
  • Add support for CLUSTER keyword along with schema changes and tests

v0.8.1

26 Feb 23:09
Compare
Choose a tag to compare
  • Fix comments on root objects in a MapFile
  • Fix issues with duplicated METADATA keys and comments
  • Fix ReadTheDocs build
  • Add more sample MapFiles for testing to the project

v0.8.0

24 Feb 23:38
Compare
Choose a tag to compare
  • Update code to work with Lark 0.6.6 (see #71)
  • New end_comment option for pprint - Add a comment with the block type at each closing END statement e.g. END # MAP (see request #69)
  • Add **kwargs to main API to allow greater flexibility with plugins
  • Fix DeprecationWarnings relating to Python 3.7.2 (thanks @tigerfoot for the #72 report)
  • Tested use with new jsonschema 3.0.0 release

v0.7.6

15 Feb 22:42
Compare
Choose a tag to compare
  • Deprecated write function removed from the API and codebase
  • Update OFFSET validation to allow attribute bindings - see MapServer/MapServer-documentation#256
  • #68 Support pickling of DefaultOrderedDict in Python3
  • #67 Fix deprecation warnings for grammar regular expressions in Python 3.6
  • #65 Handle hexadecimal color translucence

v0.7.5

13 Sep 22:21
Compare
Choose a tag to compare
  • Save tokens for value lists
  • Update README and fix example code

v0.7.4

07 Sep 18:45
Compare
Choose a tag to compare
  • Support for modulus operator
  • Allow custom transformers to be used with kwargs

v0.7.1

10 Jul 21:51
Compare
Choose a tag to compare
  • Breaking Change utils.dictfind renamed utils.findkey
  • new dictionary update function - allowing for easier creation of Mapfiles using YAML
  • allow any custom hidden metadata tags of the form __property__ to be used in dicts for custom processing
  • Schema validation updates including RANGEITEM and CLUSTER
  • Appveyor builds added
  • #56 Can't parse expressions with a : in them
  • #54 Fix windows cwd name issue in includes - thanks @ianturton