Skip to content

Commit

Permalink
Release 0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
julienbourdeau committed Dec 7, 2019
1 parent 155867d commit 3f8e1e2
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 4 deletions.
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,17 @@

All notable changes to `route-usage` will be documented in this file

## 0.4
**07 Dec 2019** | [git diff 0.3..0.4](https://github.com/julienbourdeau/route-usage/compare/0.3..0.4)

* Support other databases - PR [#5](https://github.com/julienbourdeau/route-usage/pull/5)

Instead of a raw MySQL query, the package is now using Eloquent
to save the route usage entries. This brings support to other databases,
so tests are now running using SQLite.

## 0.3
**29 Oct 2019** | [git diff 0.2..0.3](https://github.com/julienbourdeau/route-usage/compare/0.3..0.3)
**29 Oct 2019** | [git diff 0.2..0.3](https://github.com/julienbourdeau/route-usage/compare/0.2..0.3)

* Hide HTML page behind Gate - PR [#13](https://github.com/julienbourdeau/route-usage/pull/13)

Expand Down
17 changes: 14 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,22 @@ The value must be a valid regex or anything falsy.
* I only logs request with a 2xx or 3xx HTTP response. I don't think the rest makes sense. Your opinion is welcome!
* In the very first version, I was incrementing a `count` attribute. I removed it because I think it gives a wrong information. If it was used a lot because but last access was a year ago, it gives a false sense of importance to this unused route.

## Todo
## Road to 1.0 release

- [ ] Add option to put page behind middleware (like `dev` in Laravel Spark)
- [ ] Add support for Redis to log `updated_at`
**Less SQL queries**

I'll like to reduce the number of SQL queries performed. Typically, if a route
is called, we don't need to log usage for the next 5 minutes. I'm thinking we could
use some cache or split the data: attributes in mysql but last used date in Redis.

💡 Feel free to open an issue to discuss your ideas.

**More package to ignore**

Today, we ignore routes from Nova or Debugbar because there is nothing you can
do about these routes. I'd like to support more packages out of the box.

📦 What package would you like to see added?

## About

Expand Down

0 comments on commit 3f8e1e2

Please sign in to comment.