Skip to content

Commit

Permalink
Merge branch 'main' into bojangalic/returnGitCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
n-dusan authored Feb 5, 2025
2 parents 3ca7620 + f0bc486 commit 030956a
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 4 deletions.
37 changes: 36 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,39 @@ and this project adheres to a _modified_ form of _[Semantic Versioning][semver]_

[64]: https://github.com/openlawlibrary/stelae/pull/64

## [0.4.1]

### Added

### Changed

### Fixed

- Add missing route to versions endpoint ([#68])

### Removed

## [0.4.0]

### Added

- Insert commit hashes in the database ([#63])

### Changed

- Allow HEAD requests for dynamic routes ([#58])
- Rename `.stelae` to `.taf` dir ([#61])
- Bump rust-version to `1.83` ([#61])

### Fixed

### Removed

[63]: https://github.com/openlawlibrary/stelae/pull/63
[61]: https://github.com/openlawlibrary/stelae/pull/61
[58]: https://github.com/openlawlibrary/stelae/pull/58


## [0.3.2]

### Added
Expand Down Expand Up @@ -132,7 +165,9 @@ and this project adheres to a _modified_ form of _[Semantic Versioning][semver]_

### Removed

[Unreleased]: https://github.com/openlawlibrary/stelae/compare/v0.3.2...HEAD
[Unreleased]: https://github.com/openlawlibrary/stelae/compare/v0.4.1...HEAD
[0.4.0]: https://github.com/openlawlibrary/stelae/compare/v0.4.0...v0.4.1
[0.4.0]: https://github.com/openlawlibrary/stelae/compare/v0.3.2...v0.4.0
[0.3.2]: https://github.com/openlawlibrary/stelae/compare/v0.3.1...v0.3.2
[0.3.1]: https://github.com/openlawlibrary/stelae/compare/v0.3.0...v0.3.1
[0.3.0]: https://github.com/openlawlibrary/stelae/compare/v0.2.1...v0.3.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "stelae"
description = "A collection of tools in Rust and Python for preserving, authenticating, and accessing laws in perpetuity."
version = "0.3.2"
version = "0.4.1"
edition = "2021"
readme = "README.md"
license = "AGPL-3.0"
Expand Down
4 changes: 4 additions & 0 deletions src/server/api/routes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ pub fn register_app<
.to(versions),
)
.service(web::resource("/_publication/{publication}/_date/{date}").to(versions))
.service(
web::resource("/_publication/{publication}/_date/{date}/{path:.*}")
.to(versions),
)
.service(web::resource("/_publication/{publication}").to(versions))
.service(web::resource("/_publication/{publication}/{path:.*}").to(versions))
.service(web::resource("/_compare/{date}/{compare_date}").to(versions))
Expand Down

0 comments on commit 030956a

Please sign in to comment.