Skip to content
Permalink
Browse files
docs: build index, changelog pages from _posts/... to reduce release …
…overhead
  • Loading branch information
vlsi committed Jul 12, 2017
1 parent 201daf1 commit d6fe07d7bb613d7b8fb06ace64b9b37d3f23bbfe
@@ -1,3 +1,8 @@
name: PostgreSQL JDBC Driver website
markdown: redcarpet
highlighter: pygments
excerpt_separator: <!--more-->
exclude:
- Gemfile
- Gemfile.lock
- README.md

This file was deleted.

This file was deleted.

This file was deleted.

@@ -1,9 +1,24 @@
<a name="version_42.0.0"></a>
## Version 42.0.0 (2017-02-20)

Notable changes:

{% include changelog/42.0.0-notes.md %}
---
title: "PostgreSQL JDBC Driver 42.0.0 Released"
date: 2017-02-20 00:00:00 +0300
categories:
- new_release
version: 42.0.0
---
**Notable changes**

* BUG: setCharacterStream truncates data. The bug is fixed in 42.1.0
* BUG: no suitable driver found for jdbc:postgresql when using a DataSource implementation. The bug is fixed in 42.1.0
* Support for PostgreSQL versions below 8.2 was dropped
* java.util.logging is now used for logging: [logging documentation](https://jdbc.postgresql.org/documentation/head/logging.html)
* Ensure executeBatch() can be used with pgbouncer. Previously pgjdbc could use server-prepared statements for batch execution even with prepareThreshold=0 (see [issue 742](https://github.com/pgjdbc/pgjdbc/issues/742))
* Replication protocol API was added: [replication API documentation](https://jdbc.postgresql.org/documentation/head/replication.html), [GitHub PR 550](https://github.com/pgjdbc/pgjdbc/pull/550)
* Version bumped to 42.0.0 to avoid version clash with PostgreSQL version
* Error position is displayed when SQL has unterminated literals, comments, etc (see [issue 688](https://github.com/pgjdbc/pgjdbc/issues/688))

<br>
You may have noticed the change in the versioning of the driver, you can [read the FAQ](documentation/faq.html#versioning) for more information.
<!--more-->

AlexElin (6):

@@ -98,7 +113,7 @@ bd-infor (1):

* docs: clarify handling of loglevel [PR#711](https://github.com/pgjdbc/pgjdbc/pull/711) [6334bac0](https://github.com/pgjdbc/pgjdbc/commit/6334bac036efaa4a9f2a445f1cbdcc310f4c6263)

<a name="contributors_42.0.0"></a>
<a name="contributors_{{ version }}"></a>
### Contributors to this release

We thank the following people for their contributions to this release.
@@ -1,9 +1,18 @@
<a name="version_42.1.0"></a>
## Version 42.1.0 (2017-05-04)

Notable changes:

{% include changelog/42.1.0-notes.md %}
---
title: "PostgreSQL JDBC Driver 42.1.0 Released"
date: 2017-05-04 00:00:00 +0300
categories:
- new_release
version: 42.1.0
---
**Notable changes**

* fix: data being truncated in setCharacterStream (the bug introduced in 42.0.0) [PR#802](https://github.com/pgjdbc/pgjdbc/pull/802)
* fix: calculation of lastReceiveLSN for logical replication [PR#801](https://github.com/pgjdbc/pgjdbc/pull/801)
* fix: make sure org.postgresql.Driver is loaded when accessing though DataSource interface [#768](https://github.com/pgjdbc/pgjdbc/issues/768)
* feat: support fetching a REF_CURSOR using getObject [PR#809](https://github.com/pgjdbc/pgjdbc/pull/809)
* note: there's no 42.1.0.jre6 due to infinity handling bug. Fixed in 42.1.1.jre6
<!--more-->

Alexander Kjäll (1):

@@ -61,20 +70,20 @@ slmsbrhgn (1):

* bug: fix data being trucated in setCharacterStream (the bug introduced in 42.0.0) [PR#802](https://github.com/pgjdbc/pgjdbc/pull/802) [28c98418](https://github.com/pgjdbc/pgjdbc/commit/28c98418b576394b7a0a4a6415ae86ba47be40ae)

<a name="contributors_42.1.0"></a>
<a name="contributors_{{ version }}"></a>
### Contributors to this release

We thank the following people for their contributions to this release.

[Alexander Kjäll](https://github.com/alexanderkjall)
[Daniel Migowski](https://github.com/dmigowski)
[Dave Cramer](davec@postgresintl.com)
[Jacques Fuentes](https://github.com/jpfuentes2)
[James](https://github.com/jamesthomp)
[Joe Kutner](https://github.com/jkutner)
[Jorge Solorzano](https://github.com/jorsol)
[Philippe Marschall](https://github.com/marschall)
[Robert Zenz](https://github.com/RobertZenz)
[Vladimir Gordiychuk](https://github.com/Gordiychuk)
[Vladimir Sitnikov](https://github.com/vlsi)
[slmsbrhgn](https://github.com/slmsbrhgn)
[Alexander Kjäll](https://github.com/alexanderkjall)
[Daniel Migowski](https://github.com/dmigowski)
[Dave Cramer](davec@postgresintl.com)
[Jacques Fuentes](https://github.com/jpfuentes2)
[James](https://github.com/jamesthomp)
[Joe Kutner](https://github.com/jkutner)
[Jorge Solorzano](https://github.com/jorsol)
[Philippe Marschall](https://github.com/marschall)
[Robert Zenz](https://github.com/RobertZenz)
[Vladimir Gordiychuk](https://github.com/Gordiychuk)
[Vladimir Sitnikov](https://github.com/vlsi)
[slmsbrhgn](https://github.com/slmsbrhgn)
@@ -1,16 +1,21 @@
<a name="version_42.1.1"></a>
## Version 42.1.1 (2017-05-05)
---
title: "PostgreSQL JDBC Driver 42.1.1 Released"
date: 2017-05-05 00:00:00 +0300
categories:
- new_release
version: 42.1.1
---
**Notable changes**

Notable changes:

{% include changelog/42.1.1-notes.md %}
* fix: infinite dates might be corrupted when transferred in binary for certain JREs. For instance, 5881610-07-11 instead of infinity.
<!--more-->

Vladimir Sitnikov (2):

* fix: infinite dates might be corrupted when transferred in binary for certain JREs [1e5bf563](https://github.com/pgjdbc/pgjdbc/commit/1e5bf563f41203417281117ed20b183cd295b4e0)
* chore: print "include notable changes" to the generated changelog [6bc4fe07](https://github.com/pgjdbc/pgjdbc/commit/6bc4fe0758510243d1f3cb56b0b1ae374117f7e4)

<a name="contributors_42.1.1"></a>
<a name="contributors_{{ version }}"></a>
### Contributors to this release

We thank the following people for their contributions to this release.
@@ -6,14 +6,11 @@ nav: ../
---

# History of Changes
{% comment %}There are no new lines after "for" and after "endfor" below in order to keep formatting of the output list sane.{% endcomment %}
* [Introduction and explanation of symbols](#introduction)
* [Version 42.1.1 (2017-05-05)](#version_42.1.1)
* [Contributors to this release](#contributors_42.1.1)
* [Version 42.1.0 (2017-05-04)](#version_42.1.0)
* [Contributors to this release](#contributors_42.1.0)
* [Version 42.0.0 (2017-02-18)](#version_42.0.0)
* [Contributors to this release](#contributors_42.0.0)
* [Version 9.4.1212 (2016-11-01)](#version_9.4.1212)
{% for post in site.categories.new_release %}* [Version {{ post.version }} ({{ post.date | date: "%Y-%d-%m"}})](#version_{{ post.version }})
* [Contributors to this release](#contributors_{{ post.version }})
{% endfor %}* [Version 9.4.1212 (2016-11-01)](#version_9.4.1212)
* [Contributors to this release](#contributors_9.4.1212)
* [Version 9.4.1211 (2016-09-18)](#version_9.4.1211)
* [Contributors to this release](#contributors_9.4.1211)
@@ -78,11 +75,11 @@ denote the various action types:![add](../media/img/add.jpg)=add,
<img alt="update" src="../media/img/update.jpg" />=update
***

{% include changelog/42.1.1-release.md %}

{% include changelog/42.1.0-release.md %}

{% include changelog/42.0.0-release.md %}
{% for post in site.categories.new_release %}
<a name="version_{{ post.version }}"></a>
## Version {{ post.version }} ({{ post.date | date: "%Y-%d-%m"}})
{{ post.content }}
{% endfor %}

<a name="version_9.4.1212"></a>
## Version 9.4.1212 (2016-11-02)
@@ -24,9 +24,13 @@ downloading the appropriate JAR file and dropping it into your
classpath. Source versions are also available here for recent
driver versions.

{% for post in site.categories.new_release limit:1 %}
{% capture current_version %}{{ post.version }}{% endcapture %}
{% endfor %}

***
<a name="current"></a>
## Current Version *42.1.1*
## Current Version *{{ current_version }}*

This is the current version of the driver. Unless you have unusual
requirements (running old applications or JVMs), this is the driver
@@ -41,12 +45,11 @@ javax.sql package.
you will need to use a JDBC3 version of the driver, which will by
necessity not be current, found in [Other Versions](#others).

[PostgreSQL JDBC 4.2 Driver, {{ current_version }}](download/postgresql-{{ current_version }}.jar)

[PostgreSQL JDBC 4.0 Driver, 42.1.1](download/postgresql-42.1.1.jre6.jar)

[PostgreSQL JDBC 4.1 Driver, 42.1.1](download/postgresql-42.1.1.jre7.jar)
[PostgreSQL JDBC 4.1 Driver, {{ current_version }}.jre7](download/postgresql-{{ current_version }}.jre7.jar)

[PostgreSQL JDBC 4.2 Driver, 42.1.1](download/postgresql-42.1.1.jar)
[PostgreSQL JDBC 4.0 Driver, {{ current_version }}.jre6](download/postgresql-{{ current_version }}.jre6.jar)


***
@@ -86,29 +89,17 @@ versions of the JVM with the JDBC specification implemented.
<th>JDBC 4.2</th>
<th>Source</th>
</tr>
<tr>
<td>42.1.1</td>
<td><a href="download/postgresql-42.1.1.jre6.jar">42.1.1 JDBC 4</a></td>
<td><a href="download/postgresql-42.1.1.jre7.jar">42.1.1 JDBC 41</a></td>
<td><a href="download/postgresql-42.1.1.jar">42.1.1 JDBC 42</a></td>
<td><a href="download/postgresql-jdbc-42.1.1.src.tar.gz">42.1.1 JDBC Source</a></td>
</tr>

<tr>
<td>42.1.0</td>
<td>n/a</td>
<td><a href="download/postgresql-42.1.0.jre7.jar">42.1.0 JDBC 41</a></td>
<td><a href="download/postgresql-42.1.0.jar">42.1.0 JDBC 42</a></td>
<td><a href="download/postgresql-jdbc-42.1.0.src.tar.gz">42.1.0 JDBC Source</a></td>
</tr>

{% for post in site.categories.new_release %}
{% capture ver %}{{ post.version }}{% endcapture %}
<tr>
<td>42.0.0</td>
<td><a href="download/postgresql-42.0.0.jre6.jar">42.0.0 JDBC 4</a></td>
<td><a href="download/postgresql-42.0.0.jre7.jar">42.0.0 JDBC 41</a></td>
<td><a href="download/postgresql-42.0.0.jar">42.0.0 JDBC 42</a></td>
<td><a href="download/postgresql-jdbc-42.0.0.src.tar.gz">42.0.0 JDBC Source</a></td>
<td>{{ ver }}</td>
<td><a href="download/postgresql-{{ ver }}.jre6.jar">{{ ver }} JDBC 4</a></td>
<td><a href="download/postgresql-{{ ver }}.jre7.jar">{{ ver }} JDBC 41</a></td>
<td><a href="download/postgresql-{{ ver }}.jar">{{ ver }} JDBC 42</a></td>
<td><a href="download/postgresql-jdbc-{{ ver }}.src.tar.gz">{{ ver }} JDBC Source</a></td>
</tr>
{% endfor %}

<tr>
<td>9.4.1212</td>
@@ -10,24 +10,14 @@
<!-- <div id="pgFrontMain"> -->
<div id="pgFrontFeature">
<div id="pgFrontFeatureContent">
<p class="txtDate"><strong>May 05 2017</strong></p>
<h1 id="txtFrontFeatureHeading">PostgreSQL JDBC Driver 42.1.1 Released!</h1>
<p>
<strong>Notable changes</strong><br/>
{% capture notes%}{% include changelog/42.1.1-notes.md %}{% endcapture %}
{{ notes | markdownify }}
</p>
<p class="txtDate"><strong>May 04 2017</strong></p>
<h1 id="txtFrontFeatureHeading">PostgreSQL JDBC Driver 42.1.0 Released!</h1>
<p>
<strong>Notable changes</strong><br/>
{% capture notes%}{% include changelog/42.1.0-notes.md %}{% endcapture %}
{{ notes | markdownify }}
</p>
<p>
You may have noticed the change in the versioning of the driver, you can
<a href="documentation/faq.html#versioning">read the FAQ</a> for more information.
</p>
{% for post in site.posts %}
<p class="txtDate"><strong>{{ post.date | date_to_long_string }}</strong></p>
<h1 id="txtFrontFeatureHeading">{{ post.title }}</h1>
<div>
{{ post.excerpt | prepend: "<!--start-->" | split: "<!--start-->" | last }}
</div>
<p>See full <a href="/documentation/changelog.html#version_{{ post.version}}">changelog for {{ post.version}}</a>
{% endfor %}
<div id="txtFrontFeatureLink">
<br/>
<img src="media/img/layout/blt_blu_arrow.png" width="6" height="6" alt="" />
@@ -6,12 +6,19 @@ VERS=${CURRENT_VERSION/-SNAPSHOT}

PREV_VERSION=`git describe --match 'REL*' --abbrev=0`

echo "<a name=\"version_${VERS}\"></a>"
echo "## Version ${VERS} ($(date +%Y-%m-%d))"
echo
echo Notable changes:
echo ---
echo title: "PostgreSQL JDBC Driver ${VERS} Released"
echo date: $(date '+%Y-%m-%d %H:%M:%S %z')
echo categories:
echo ' - new_release'
echo version: ${VERS}
echo ---


echo **Notable changes**
echo
echo {% include changelog/$VERS-notes.md %}
echo '*'
echo '<!--more-->'
echo

git shortlog --format="%s@@@%H@@@%h@@@" --grep="maven-release-plugin|update versions in readme.md" --extended-regexp --invert-grep --no-merges $PREV_VERSION..HEAD | perl release_notes_filter.pl ${VERS}

0 comments on commit d6fe07d

Please sign in to comment.