
Included here are the release notes for all releases in the v1.3 release series.

## v1.3.1

Released July 31, 2019.

### Downloads

#### Binaries

<ul class="nav yb-pills">
  <li>
    <a href="https://downloads.yugabyte.com/yugabyte-1.3.1.0-darwin.tar.gz">
        <i class="fa-brands fa-apple"></i><span>macOS</span>
    </a>
  </li>
  <li>
    <a href="https://downloads.yugabyte.com/yugabyte-1.3.1.0-linux.tar.gz">
        <i class="fa-brands fa-linux"></i><span>Linux</span>
    </a>
  </li>
</ul>

#### Docker

```sh
docker pull yugabytedb/yugabyte:1.3.1.0-b16
```

### File Format Change

{{< note title="Note" >}}
This version includes a backward incompatible file format change for YSQL. This means that if you have an existing cluster with YSQL schema, then you will not be able to connect to the YSQL database after upgrading to this version.
{{< /note >}}

There are two ways to address the above note.

* If you don't care about preserving your existing data, then delete your cluster, and create a new
  cluster with 1.3.1.
* If you want to continue using your existing data, then please save your data (in the form of
  SQL statements), delete the cluster, create a new cluster with 1.3.1 and then load the previously saved data.

### YSQL Changes

* [YSQL] Fix error in nextval_internal retry.[#1783](https://github.com/yugabyte/yugabyte-db/issues/1783)
* [YSQL] Support bulk inserts for COPY FROM
  command.[#1590](https://github.com/yugabyte/yugabyte-db/issues/1590)
* [YSQL] Support for Triggers and
  Extensions.[#1156](https://github.com/yugabyte/yugabyte-db/issues/1156)
* [YSQL] Simplify gflags enabling YSQL.[#1691](https://github.com/yugabyte/yugabyte-db/issues/1691)
* [YSQL] Support NULLS LAST for SELECT.[#1734](https://github.com/yugabyte/yugabyte-db/issues/1734)

### System Improvements

* Extra cleanup of intents of aborted transactions to prevent repeated log
  messages.[#1722](https://github.com/yugabyte/yugabyte-db/issues/1722)
* Cleanup checkpoints on startup.[#498](https://github.com/yugabyte/yugabyte-db/issues/498)
* Unified yb::RandomAccessFile and
  rocksdb::RandomAccessFile.[#1661](https://github.com/yugabyte/yugabyte-db/issues/1661)
* Clear Pending Delete State on RPC
  Failure.[#424](https://github.com/yugabyte/yugabyte-db/issues/424)
* Do not crash yb-master process if we fail to find a namespace when listing
  tables.[#1716](https://github.com/yugabyte/yugabyte-db/issues/1716)
* Allow consecutive master restarts to
  succeed.[#1074](https://github.com/yugabyte/yugabyte-db/issues/1074)
* Change soft memory limit handling.[#1437](https://github.com/yugabyte/yugabyte-db/issues/1437)
* Use log prefix in MvccManager.[#1835](https://github.com/yugabyte/yugabyte-db/issues/1835)
* Fix handling timeout of a local call in the
  service.[#1866](https://github.com/yugabyte/yugabyte-db/issues/1866)
* Fixed TS crash due to NULL name in the PTBindVar
  object.[#1821](https://github.com/yugabyte/yugabyte-db/issues/1821)
* Add /tables view to tablet server ui.[#1830](https://github.com/yugabyte/yugabyte-db/issues/1830)
* Add ability to avoid using the compaction thread pool for
  flushes.[#1874](https://github.com/yugabyte/yugabyte-db/issues/1874)
* Tablet leader tracking at catalog
  manager.[#1881](https://github.com/yugabyte/yugabyte-db/issues/1881)
* Allow in memory erase of intents.[#1240](https://github.com/yugabyte/yugabyte-db/issues/1240)
* Fix assignment order of propagated_safe_time and
  propagated.[#1889](https://github.com/yugabyte/yugabyte-db/issues/1889)
* Memory monitor should not flush tablet that is already
  flushing.[#1880](https://github.com/yugabyte/yugabyte-db/issues/1880)
* Fixed potential race condition in memory-based
  flush.[#1859](https://github.com/yugabyte/yugabyte-db/issues/1859)

## v1.3.0

Released July 15, 2019.

### Downloads

#### Binaries

<ul class="nav yb-pills">
  <li>
    <a href="https://downloads.yugabyte.com/yugabyte-1.3.0.0-darwin.tar.gz">
        <i class="fa-brands fa-apple"></i><span>macOS</span>
    </a>
  </li>
  <li>
    <a href="https://downloads.yugabyte.com/yugabyte-1.3.0.0-linux.tar.gz">
        <i class="fa-brands fa-linux"></i><span>Linux</span>
    </a>
  </li>
</ul>

#### Docker

```sh
docker pull yugabytedb/yugabyte:1.3.0.0-b1
```

### File Format Change

{{< note title="Note" >}}
This version includes a backward incompatible file format change for YSQL. This means that if you have an existing cluster with YSQL schema, then you will not be able to connect to the YSQL database after upgrading to this version.
{{< /note >}}

There are two ways to address the above note.

* If you don't care about preserving your existing data, then delete your cluster, and create a new cluster with 1.3.0.
* If you want to continue using your existing data, then please save your data (in the form of
  SQL statements), delete the cluster, create a new cluster with 1.3.0 and then load the previously saved data.

### YSQL Changes

* [YSQL] Enable DO statements (a.k.a anonymous
  blocks).[#1656](https://github.com/yugabyte/yugabyte-db/issues/1656)
* [YSQL] Fix transaction read restart logic causing stale reads and lost
  writes.[#1646](https://github.com/yugabyte/yugabyte-db/issues/1646)
* [YSQL] Enable beta-features by
  default.[#1639](https://github.com/yugabyte/yugabyte-db/issues/1639)
* [YSQL] Fix value overwrite check in REPEATABLE READ isolation mode in
  YSQL.[#1577](https://github.com/yugabyte/yugabyte-db/issues/1577)
* [YSQL] Allow SELECT from
  sequences.[#999](https://github.com/yugabyte/yugabyte-db/issues/999)
* [YSQL] Avoid auto-retrying non-DML
  requests.[#1333](https://github.com/yugabyte/yugabyte-db/issues/1333)
* [YSQL] Set the read point correctly at REPEATABLE READ isolation when turning a read-only
  transaction into a read-write one.
* [YSQL] Add new key column `ybindexkeysuffix` to YSQL index table [format
  change].[#1058](https://github.com/yugabyte/yugabyte-db/issues/1058)
* [YSQL] Add support for
  setval().[#1003](https://github.com/yugabyte/yugabyte-db/issues/1003)
* [YSQL] YSQL catalog cache consistency checking via tablet server shared
  memory.[#1457](https://github.com/yugabyte/yugabyte-db/issues/1457)
* [YSQL] Fix persistence issue with catalog
  version.[#1629](https://github.com/yugabyte/yugabyte-db/issues/1629)

### YCQL Changes

* Added built-in function toJson() for YCQL SELECT
  statement.[#992](https://github.com/yugabyte/yugabyte-db/issues/992)

### System Improvements

* Add Master UI page for tracking async
  tasks.[#1145](https://github.com/yugabyte/yugabyte-db/issues/1145)
* Use rw_spinlock in meta cache to decrease lock
  contention.[#1667](https://github.com/yugabyte/yugabyte-db/issues/1667)
* Change default maximum per-tablet RPC batch size to
  32mb.[#1440](https://github.com/yugabyte/yugabyte-db/issues/1440)
* Fix for flushing old tablets based on memory
  usage.[#1672](https://github.com/yugabyte/yugabyte-db/issues/1672)
* Replaced OS_LINUX with __linux__ for
  ifdefs.[#1711](https://github.com/yugabyte/yugabyte-db/issues/1711)
* Unified yb::SequentialFile and
  rocksdb::SequentialFile.[#1661](https://github.com/yugabyte/yugabyte-db/issues/1661)
* Add a compact_table command to
  yb-admin.[#1735](https://github.com/yugabyte/yugabyte-db/issues/1735)
* Automatically filter out YSQL sys catalog tables from YBClient
  calls.[#1537](https://github.com/yugabyte/yugabyte-db/issues/1537)
* Add TLS support to java yb-client.
* Allow pausing a compaction when another compaction with a higher priority is
  scheduled.[#1314](https://github.com/yugabyte/yugabyte-db/issues/1314)
* Fixed Tablet::Truncate to re-enable auto
  compactions.[1765](https://github.com/yugabyte/yugabyte-db/issues/1765)
* Fix race condition in
  PriorityThreadPool.[#1775](https://github.com/yugabyte/yugabyte-db/issues/1775)
