Skip to content

Commit

Permalink
chore: release version 0.17.0
Browse files Browse the repository at this point in the history
  • Loading branch information
toedter committed May 13, 2021
1 parent e6488ea commit dac6019
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
10 changes: 5 additions & 5 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ HAL Explorer also supports Spring Profiles.
Here you find the documentation for the latest release and the current snapshot,
as well as the latest release and the current snapshot of HAL Explorer:
|===
| Release | 0.16.0 | https://toedter.github.io/hal-explorer/release/reference-doc/[Reference Documentation] | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo[HAL Explorer Demo]
| Snapshot | 0.17.0-SNAPSHOT | https://toedter.github.io/hal-explorer/snapshot/reference-doc/[Reference Documentation] | https://toedter.github.io/hal-explorer/snapshot/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo] (with Examples)
| Release | 0.17.0 | https://toedter.github.io/hal-explorer/release/reference-doc/[Reference Documentation] | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo[HAL Explorer Demo] (with Examples)
| Snapshot | 0.18.0-SNAPSHOT | https://toedter.github.io/hal-explorer/snapshot/reference-doc/[Reference Documentation] | https://toedter.github.io/hal-explorer/snapshot/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo] (with Examples)
|===

== TL;DR
Expand Down Expand Up @@ -85,14 +85,14 @@ Maven:
<dependency>
<groupId>org.webjars</groupId>
<artifactId>hal-explorer</artifactId>
<version>0.16.0</version>
<version>0.17.0</version>
</dependency>

Gradle:
[source, Groovy]
compile 'org.webjars:hal-explorer:0.16.0'
compile 'org.webjars:hal-explorer:0.17.0'

When you use the WebJar with Spring Boot, you can access the HAL Explorer at `/webjars/hal-explorer/0.16.0/index.html`.
When you use the WebJar with Spring Boot, you can access the HAL Explorer at `/webjars/hal-explorer/0.17.0/index.html`.
The easiest way to integrate the upstream version of HAL Explorer into your backend would be to clone this Git repo,
do a production build and then copy the content of the dist folder to a location accessible by your backend server.
When you use Spring Boot, a good location in your project's source tree would be
Expand Down
4 changes: 2 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ yarn_build.dependsOn yarn_install, yarn_lint //, yarn_test

build.dependsOn yarn_build

version = '0.17.0-SNAPSHOT'
version = '0.17.0'

configurations {
docs
Expand Down Expand Up @@ -70,7 +70,7 @@ task doc {
copy {
from "$projectDir/test-data"
into "$buildDir/docs/gh-pages/snapshot/hal-explorer/examples"
filter { line -> line.replaceAll('http://localhost:3000', 'https://toedter.github.io/hal-explorer/snapshot/hal-explorer/examples') }
filter { line -> line.replaceAll('http://localhost:3000', 'https://toedter.github.io/hal-explorer/release/hal-explorer/examples') }
}

copy {
Expand Down
10 changes: 5 additions & 5 deletions doc/setup.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ as well as the latest release and the current snapshot of HAL Explorer:

[cols='1,1,2',stripes=even]
|===
| Latest Release | 0.16.0 | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo[HAL Explorer Demo]
| Current Snapshot | 0.17.0-SNAPSHOT | https://toedter.github.io/hal-explorer/snapshot/hal-explorer/#theme=Cosmo&uri=https://raw.githubusercontent.com/toedter/hal-explorer/master/test-data/examples.hal-forms.json[HAL Explorer Demo] (with Examples)
| Latest Release | 0.17.0 | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo[HAL Explorer Demo]
| Current Snapshot | 0.18.0-SNAPSHOT | https://toedter.github.io/hal-explorer/snapshot/hal-explorer/#theme=Cosmo&uri=https://raw.githubusercontent.com/toedter/hal-explorer/master/test-data/examples.hal-forms.json[HAL Explorer Demo] (with Examples)
|===

To explore your services with these HAL Explorer demos, they have to enable CORS.
Expand Down Expand Up @@ -38,14 +38,14 @@ you could define a dependency to the HAL Explorer WebJar.
<dependency>
<groupId>org.webjars</groupId>
<artifactId>hal-explorer</artifactId>
<version>0.16.0</version>
<version>0.17.0</version>
</dependency>
----

[source,groovy,indent=0,role="secondary"]
.Gradle
----
implementation 'org.webjars:hal-explorer:0.16.0'
implementation 'org.webjars:hal-explorer:0.17.0'
----

If you are using Spring Data REST, you could instead add a dependency like
Expand All @@ -65,7 +65,7 @@ If you are using Spring Data REST, you could instead add a dependency like
implementation 'org.springframework.data:spring-data-rest-hal-explorer'
----

Of course, you could always download a zip-based https://github.com/toedter/hal-explorer/releases/tag/v0.16.0[distribution] and put it on any Web server.
Of course, you could always download a zip-based https://github.com/toedter/hal-explorer/releases/tag/v0.17.0[distribution] and put it on any Web server.

The easiest way to integrate the upstream version of HAL Explorer into your backend would be to clone this Git repo,
do a production build (see below) and then copy the content of the dist folder to a location accessible by your backend server.
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hal-explorer",
"version": "0.17.0.snapshot",
"version": "0.17.0",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export class AppComponent implements OnInit {
showDocumentation = false;
isTwoColumnLayout = true;

version = '0.17.0-SNAPSHOT';
version = '0.17.0';
isSnapshotVersion = this.version.endsWith('SNAPSHOT');

constructor(
Expand Down

0 comments on commit dac6019

Please sign in to comment.