Skip to content

Commit

Permalink
chore: release version 1.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
toedter committed Feb 26, 2022
1 parent 86a2fc9 commit 34e2555
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 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 a demo (with examples) of the latest release and the current snapshot:
|===
| Release | 1.0.1 | https://toedter.github.io/hal-explorer/release/reference-doc/[Reference Documentation] | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| Snapshot | 1.0.2-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]
| Release | 1.1.0 | https://toedter.github.io/hal-explorer/release/reference-doc/[Reference Documentation] | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| Snapshot | 1.1.1-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]
|===

== TL;DR
Expand Down Expand Up @@ -88,12 +88,12 @@ Maven:
<dependency>
<groupId>org.webjars</groupId>
<artifactId>hal-explorer</artifactId>
<version>1.0.1</version>
<version>1.1.0</version>
</dependency>

Gradle:
[source, Groovy]
compile 'org.webjars:hal-explorer:1.0.1'
compile 'org.webjars:hal-explorer:1.1.0'

When you use the WebJar with Spring Boot, you can access the HAL Explorer at `/webjars/hal-explorer/1.0.0/index.html`.
The easiest way to integrate the upstream version of HAL Explorer into your backend would be to clone this Git repo,
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 (both wit

[cols='1,1,2',stripes=even]
|===
| Latest Release | 1.0.1 | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| Current Snapshot | 1.0.2-SNAPSHOT | https://toedter.github.io/hal-explorer/snapshot/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| Latest Release | 1.1.0 | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| Current Snapshot | 1.1.1-SNAPSHOT | https://toedter.github.io/hal-explorer/snapshot/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
|===

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>1.0.1</version>
<version>1.1.0</version>
</dependency>
----

[source,groovy,indent=0,role="secondary"]
.Gradle
----
implementation 'org.webjars:hal-explorer:1.0.1'
implementation 'org.webjars:hal-explorer:1.1.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/v1.0.1[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/v1.1.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
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hal-explorer",
"version": "1.0.2.snapshot",
"version": "1.1.0",
"license": "MIT",
"scripts": {
"ng": "ng",
Expand Down Expand Up @@ -67,4 +67,4 @@
"ts-node": "~10.5.0",
"typescript": "~4.5.5"
}
}
}
2 changes: 1 addition & 1 deletion src/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class AppComponent implements OnInit {
isTwoColumnLayout = true;
useHttpOptions = false;

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

constructor(
Expand Down

0 comments on commit 34e2555

Please sign in to comment.