Skip to content

Latest commit

 

History

History
169 lines (134 loc) · 9.95 KB

changelog.md

File metadata and controls

169 lines (134 loc) · 9.95 KB

Changelog

  • Adding support for conditional tests.
  • Added support for orderBy in select queries.
  • Added support for Clustering columns.
  • Added support for auto-generating Composite Keys.
  • Added extensive tests for Secondary Indexes.
  • Moved back to Scala reflection.
  • Fixed field collection order.
  • Added servlet container based tests to ensure Scala reflection is consistent.
  • Simplifying Enumerators API.
  • Added a changelog :)
  • Added a table of contents in the documentation.
  • Improved structure of test project.
  • Added copyright information to a lot of files.
  • Fixed license issue in Maven Central publishing license.
  • Vastly simplified structure of collection operators and removed com.websudos.phantom.thrift.Implicits._
  • Fixed null handling bug in OptionalColumns.
  • Added a variety of compilation tests for the phantom query builder. They test what should compile and what shouldn't, to verify compile time restrictions.
  • Fixed support for Static columns.
  • Bumped Twitter Scrooge version to 3.15.0
  • Bumped Cassandra version to 2.0.7
  • Fixed tests for TimeSeries
  • Fixed tests for orderBy clauses.
  • Fixed support for static columns.
  • Fixed issues with using the setIdX List operator.
  • Integrated Scalatra servlet container tests in the same test project.
  • Removed phantom-scalatra-test module
  • PHANTOM-43: Added timestamp support for BatchStatements.
  • PHANTOM-62: Added timestamp support for queries used in batch statements.
  • PHANTOM-66: Added support for SELECT DISTINCT queries.
  • PHANTOM-72: Added ability to enable/disable tracing on all queries.
  • PHANTOM-75: Restructure the query mechanism to allow sharing methods easily.
  • PHANTOM-76: Added a ifNotExists method to Insert statements.
  • PHANTOM-78: Added ability to set a default consistency per table.
  • PHANTOM-79: Added ability to chain multiple clauses on a secondary condition.
  • PHANTOM-81: Fixed bug where count queries were always returning 1 because a LIMIT 1 was improperly enforced.
  • PHANTOM-82: Changed the return type of a count query from Option[Option[Long]] to Option[Long].
  • PHANTOM-83: Enhanced phantom query builder to allow using where clauses for COUNT queries.
  • PHANTOM-84: Added common methods to GitHub documentation.
  • PHANTOM-106: Fix broken links in the phantom documentation.
  • PHANTOM-108: Adding an example Cassandra connector.
  • PHANTOM-112: Fixing race condition in the default ZooKeeper connector implementation
  • PHANTOM-105: The embedded Zookeeper client needs to connect before fetching data. Fixed connection state in Zk clients.
  • PHANTOM-107: Add documentation for using our Zookeeper testing utilities.
  • PHANTOM-113: Using a ZooKeeper Manager implementation to track availability and instantiation of ZooKeeper nodes.
  • PHANTOM-115: Fix SBT plugin dependency caused by publishSigned task in the GPG plugin. Kudos to Stephen Samuel.
  • PHANTOM-123: Fixed some documentation links.
  • PHANTOM-127: Automatically collecting references to all UDT definitions.
  • PHANTOM-131: Throwing an error when PrimaryKey and ClusteringOrder definitions are used in the same schema.
  • PHANTOM-134: Allowing users of DefaultZooKeeperManager to specify their own timeout for ZooKeeper connections.
  • PHANTOM-136: Added UDT examples to the UDT example module.
  • PHANTOM-109: Added a reference collector to all fields of an UDT.
  • Fixed more broken links in the documentation and added table with Future API methods.
  • Implemented UDT columns and added serialisation tests.
  • Moved syscall to get available processors to a one time only init for performance improvements.
  • Fixed BatchStatement.apply from ignoring the argument list passed to the method.
  • Fixed DefaultClusterStore to allow overriding connection timeouts and the CQL query used to initialise keyspaces.
  • Allowing users to override how ports are parsed once retrieved from ZooKeeper.
  • Allowing users to override cluster builders with their own custom implementation.
  • PHANTOM-93: Finalising ScalaStyle build integration.
  • Fixed several typos and broken links in the README.
  • Added documentation for resolver requirements at the top of the repository.
  • Added clarification for Scala 2.11 release.
  • Improved UDT implementation.
  • Heavy performance improvements for iterator processing (thanks @benjumanji for diligently profiling every bit).
  • Added full support for Scala 2.11.
  • Fixed encoding support for strings containing a single quote '.
  • Bumped util library dependency to 0.8.8 to include small bug fixes and more robust testing in the util library.
  • A custom patience timeout for successful calls on Futures has been created to replace the now obsolete implicit from com.websudos.util.testing._.
  • Bumped Twitter Finagle deps to 6.25.0 and Twitter Util to 6.24.0.
  • Removed hard coded list lengths from TimeSeriesTest in favour of named variables. This compensates for the fix in the util library, where before 0.8.4 a call to genList[T](n) would generate n - 1elements instead of n. This has been fixed and phantom updated to compensate for all changes.
  • Bumped cassandra-unit version to 2.0.2.6 as the newer version is available on our public Bintray repository.
  • Removed Websudos Artifactory resolvers and replaced with Bintray configuration.
  • Added a Bintray version badge to automatically show the latest available Bintray version on the GitHub README.
  • Separated performance related tests written with ScalaMeter into a new configuration called perf. Tests can now be semantically distinguished by their purpose and sbt:test will not run performance tests by default. Instead, benchmarks are run using perf:test exclusively, which fixes scoverage integration during the Travis CI phase.
  • Fixed a few deadlinks in the README.md.
  • Removed Unmodifiable trait market from the implementation of Index, which now allows users to update the value of secondary keys.
  • Separated DELETE query serialization concerns into a specialized builder called QueryBuilder.Delete.
  • Added tests for DELETE query serialisation and for the new QueryBuilder.Delete.
  • Removed fixed Thrift dependency that was enforcing org.apache.thrift % libthrift % 0.9.1 from the phantom-thrift module. Consumers of Thrift modules can now set their own Scrooge and Thrift version without phantom-thrift interfering with them and causing serialization problems.
  • Added a RootThriftPrimitive to allow easily creating an implicit primitive for custom types. This is used when Thrift columns are part of the primary key.
  • Moved the duplicate package.scala from the test part of com.websudos.phantom.thrift to avoid strange overloading of imports between the main module and test module. Also fixes compilation warning message about conflicting members.
  • Fixed support for nested Primitive types. A Column[Owner, Record, T can now de-serialize to a type that is completely different from T. This fixes edge scenarios like the DateTimePrimitive of type Primitive[org.joda.time.DateTime] which has no proprietary extractor and is instead just a thin layer around the existing java.util.Date extractor. Phantom can now feed in the correct extraction type and deserialize columns like MapColumn[Owner, Record, DateTime, String].
  • Bumped ScalaTest dependency to version 2.2.4.
  • Fixed serialization of Blob columns by using Datastax Java Driver helper object Bytes.
  • Added support for SBT version management via Twitter's sbt-package-dist published via the custom Websudos fork: "com.websudos" %% "sbt-package-dist" % "1.2.0".
  • Bumped Scala version to 2.10.5 and 2.11.6.
  • Added dependency resolution retry during Travis CI phase. Travis will now retry to fetch dependencies 3 times before giving up, which fixes most timeout errors during dependency resolution and lets builds consistently pass.
  • Moved publishing infrastructure to Bintray and added a dependency on "me.lessis" %% "bintray-sbt" % "0.3.0" to publish artefacts to Bintray.
  • Bumped SBT version to 0.13.8 and bumped net.virtualvoid.dependencygraph version to 0.7.5 in plugins.sbt.
  • Removed TestZookeeperConnector from the default phantom-testkit.
  • Removed BaseTest and FeatureBaseTest from phantom-testkit.
  • Removed dependency on phantom-zookeeper from the default implementation of phantom-connectors. This was a very bad accident and Zk dependencies were being pulled in even if the end user wasn't relying on ZooKeeper for service discovery.