Skip to content

Releases: frictionlessdata/tableschema-php

v0.1.7

21 Nov 20:41

Choose a tag to compare

  • Update to latest v1 specs schema + fix corresponding tests and code
    • fixes #34 - added support for bareNumber and removed currency

v0.1.6

13 Jul 13:05

Choose a tag to compare

  • added support for all field types (#15)
    • added Field classes for all tableschema field types
    • cast functionality works for all latest spec features
    • require and enum constraints works for all field types
    • copied tests from tableschema-py (modified for latest specs)
  • added automatic PHP code style check (+optional support for auto fixing)
  • added update-schema script + updated the schema to latest specs
  • added support for foreignKeys / primaryKey string fields (to match latest table schema)
  • removed hhvm support - it's not needed and causes too much problems
  • updated README to be more user friendly
  • updated to latest specs
  • removed the foreign keys hack (not needed with latest specs)
  • table API feedback (#25)
    • hide datasource and schema object creation
    • infer schema when schema is ommitted
    • Table::headers method
    • Table::save method
    • Table::schema method
    • Table::read method
    • allow Schema to be constructed with array instead of object
  • Schema API feedback (#26)
    • remove EditableSchema, use the normal Schema instead
    • allow to create field using json string or array
  • ensured all constraints work (#20)
  • minor fixes for full compliancy (#20)

v0.1.5

11 May 07:31

Choose a tag to compare

  • close #12 - added EditableSchema object + additional schema validations

v0.1.4

04 May 13:09

Choose a tag to compare

  • support for casting value
  • added field objects
  • added schema validateRow / castRow
  • changed table to use schema castRow
  • have coverage run only on the latest python version
  • added infer schema which improves the schema as you add rows of data
  • added functionality to Field object, including checking constraints and getter methods for default values.
  • added functionality to Schema object:
    • fullDescriptor method - returns decriptor with all defaults filled-in
    • save method - writes the fullDescriptor to a json file
    • getter methods for missingValues, primaryKey, foreignKeys
    • reuse of Field objects
  • major refactoring, finalized the interfaces
  • schema validator - hacked to allow empty reference resource (see #19)
  • Table object - added checking of unique values when iterating over the data

closes issues #9, #11, #8, #7, #10

v0.1.3

27 Apr 11:35

Choose a tag to compare

  • #13 - Added a table object with preliminary support for iterating and validating over data sources
  • major refactoring and code cleanup
  • remove the BDD tests, only using phpunit for now

v0.1.2

18 Apr 09:45

Choose a tag to compare

  • added support for PHP versions 5.4, 5.5, 5.6, hhvm

v0.1.1

13 Apr 14:01

Choose a tag to compare

  • minor changes for Packagist

v0.1.0

13 Apr 13:54

Choose a tag to compare

v0.1.0 Pre-release
Pre-release
  • Schema object with support for validation against the json schema
  • see README for more details, usage examples