Skip to content

Commit

Permalink
chore: release version 1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
toedter committed Jul 31, 2021
1 parent 3488b9e commit afb63a7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 13 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 a demo (with examples) of the latest release and the current snapshot:
|===
| 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&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| 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]
| Release | 1.0.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.0.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,14 +88,14 @@ Maven:
<dependency>
<groupId>org.webjars</groupId>
<artifactId>hal-explorer</artifactId>
<version>0.17.0</version>
<version>1.0.0</version>
</dependency>

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

When you use the WebJar with Spring Boot, you can access the HAL Explorer at `/webjars/hal-explorer/0.17.0/index.html`.
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,
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
2 changes: 1 addition & 1 deletion 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.18.0-SNAPSHOT'
version = '1.0.0'

configurations {
docs
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 | 0.17.0 | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| Current Snapshot | 0.18.0-SNAPSHOT | https://toedter.github.io/hal-explorer/snapshot/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| Latest Release | 1.0.0 | https://toedter.github.io/hal-explorer/release/hal-explorer/#theme=Cosmo&uri=examples/examples.hal-forms.json[HAL Explorer Demo]
| Current Snapshot | 1.0.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>0.17.0</version>
<version>1.0.0</version>
</dependency>
----

[source,groovy,indent=0,role="secondary"]
.Gradle
----
implementation 'org.webjars:hal-explorer:0.17.0'
implementation 'org.webjars:hal-explorer:1.0.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.17.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/v1.0.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.18.0.snapshot",
"version": "1.0.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 @@ -49,7 +49,7 @@ export class AppComponent implements OnInit {
showDocumentation = false;
isTwoColumnLayout = true;

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

constructor(
Expand Down

0 comments on commit afb63a7

Please sign in to comment.