Releases: a-know/Pixela
v1.18.1
Hello! Thank you for always using Pixela.
I made several small changes:
- Changed behavior of post Pixel (
POST
request to/v1/users/<username>/graphics/<graphID>
endpoint).- Previously: returned an error if the date was already posted.
- From v1.18.1: If the date is already posted, update the information.
- Return
200 OK
forHEAD
requests for each Pixela API endpoint. - Addressed missing support for the
OPTIONS
method on some API endpoints. - Fix the graph can be displayed if the graph ID is known, even if the
isSecret
of each graph istrue
. - トップページのリンクミスを修正しました。
In Japanese
こんにちは! いつも Pixela を使ってくれてありがとうございます。
以下のような小さな変更を複数実施しました。
- Pixelの投稿(
/v1/users/<username>/graphs/<graphID>
エンドポイントへのPOST
リクエスト)の挙動を変更しました。- これまで: すでに投稿済みの日付である場合、エラーを返していました。
- v1.18.1 以降: すでに投稿済みの日付である場合、その情報を更新します。
- Pixela の各APIエンドポイントに対する
HEAD
リクエストに対して200 OK
を返すようにしました。 - 一部のAPIエンドポイントで
OPTIONS
メソッドのサポートが漏れていたものを対応しました。 - 各グラフの
isSecret
がtrue
の場合でも、グラフIDを知っている場合にはグラフを表示できるように修正しました。 - トップページのリンクミスを修正しました。
v1.18.0
Hi! Pixela v1.18.0 now available!
- You can now measure and record the time in Pixela.
- The newly provided API endpoint is
POST - /v1/users/<username>/graphs/<graphID>/stopwatch
.- API docs is here.
- Each time you make a request to this API, you can toggle between starting and ending the time measurement.
- At the end of the measurement, the measured time is recorded as the quantity of the day (
pixel
) on the graph.- Since the number is recorded in minutes, the
type
of graph isfloat
and theunit
of the graph isminutes
are recommended. :) - In addition, the number and the time of day of measurements are recorded in Pixel's
optionalData
.
- Since the number is recorded in minutes, the
- Please note that it is not possible to measure the time across the day.
- With this, Webhook also supports the
stopwatch
type.- API docs is here.
- Please use this on a device that cannot specify a request header.
- The newly provided API endpoint is
In Japanese
- Pixela で時間の計測・記録ができるようになりました。
- 新しく提供を開始したAPIのエンドポイントは
POST - /v1/users/<username>/graphs/<graphID>/stopwatch
です。- APIドキュメントはここです。
- このAPIにリクエストするごとに、時間の計測開始と計測終了を切り替えることができます。
- 計測終了時には、計測された時間をそのグラフの当日のQuantityとして記録します。
- 分単位での数値として記録されますので、グラフのタイプは
float
、グラフのunitはminutes
をおすすめします。 - また、計測回数や時間帯の情報が、当日のPixelの
optionalData
にも記録されます。
- 分単位での数値として記録されますので、グラフのタイプは
- 日を跨いでの時間の計測はできませんので注意してください。
- これに伴い、Webhook も
stopwatch
type をサポートしました。- APIドキュメントはここです。
- リクエストヘッダを指定することができない端末などで利用してください。
- 新しく提供を開始したAPIのエンドポイントは
v1.17.0
Hi!
This is a time of tribulation for the whole world. I'm sure there are many people who do WFH (Work From Home).
This update may help such people. 🙏
- A new property
remindBy
ofNotification
is now supported. API docs- The number from
0
to23
is specified as a string. This represents the time of day. - If a number is specified for this property, the following operations will be performed automatically every day at the time of the number of this property.
- Check the quantity of pixel for that day on the graph from which this notification is related.
- If the check result does not satisfy the conditions (
condition
,threshold
) of this notification rule, a notification will be sent.
- The time zone set in the graph is used to perform this process.
- You can also set this item to an empty strings (
""
) if you don't want this process.
- The number from
It can be used as a reminder, so to speak. I hope this update helps those of you who are imposing daily tasks on yourself. 🙏
v1.16.0
Hi! With the end of winter, I brought in a release! :)
- Added support for dark mode.
- You can display the perfect svg for dark mode.
https://pixe.la/v1/users/a-know/graphs/test-graph?appearance=dark
- This is also available in short mode and line mode.
https://pixe.la/v1/users/a-know/graphs/test-graph?mode=short&appearance=dark
https://pixe.la/v1/users/a-know/graphs/test-graph?mode=line&appearance=dark
- In the simple HTML mode, the display mode automatically switches based on the OS appearance settings.
https://pixe.la/v1/users/a-know/graphs/test-graph.html?mode=simple
- You can display the perfect svg for dark mode.
- Paging in HTML mode is now only available to Pixela supporters.
- I decided to limit the data by paging because it is difficult to cache and it is costly. Please understand.
v1.15.1
v1.15.0
Renewal service toppage!! https://pixe.la/
A Happy New Year!! 🎉 🎉 🎉
v1.14.0
It's getting colder, is not it? Please don't catch a cold... ❄️
- Added support for a new display mode,
badge
!- ex.
https://pixe.la/v1/users/a-know/graphs/test-graph?mode=badge
- When this mode is specified, it is displayed in the badge format often seen in GitHub README.
- This badge represents information for the last 49 days with 7 pixels. That is, one pixel corresponds to one week's worth of information.
- The
type
of the graph is used for the badge label text. - When pasting this badge on GitHub, I recommend that you specify the GitHub image URL in the
purgeCacheURLs
of the graph. see: https://docs.pixe.la/entry/put-graph
- ex.
Combined with the recently released GitHub Actions, you can express your repository's activity in Pixela!
v1.13.0
Today, I am announcing a big release!
- Notification feature has been released!
- To use this feature, you need to create a
Channel
with notification methods and aNotification
with notification rules. - Currently, only
slack
is available for channel type. - Currently, you can only compare posted and updated quantities against thresholds. Four comparison methods are supported:.
>
: Notify when the quantity posted and updated exceeds the threshold.=
: Notify when the quantity posted and updated equals the threshold.<
: Notify when the quantity posted and updated less the threshold.multipleOf
: Notify when the quantity posted and updated becomes a multiple of the threshold.- If you want to specify
multipleOf
condition, you must be a Pixela supporter. see: https://github.com/a-know/Pixela/wiki/How-to-support-Pixela-by-Patreon-%EF%BC%8F-Use-Limited-Features
- If you want to specify
- If you want to create multiple notifications for a graph, you must be a Pixela supporter. see: https://github.com/a-know/Pixela/wiki/How-to-support-Pixela-by-Patreon-%EF%BC%8F-Use-Limited-Features
- You don't have to be a Pixela supporter to create a single notification for a graph. Anyone can create single notification.
- To use this feature, you need to create a
v1.12.1
Japan where I am, is now rainy season. ☔️
GET /v1/users/<username>/graphs/<graphID>.html
supportsmode
parameter.- You can specify either
simple
orsimple-short
formode
. - You can get a very simple html response by specifying this parameter. Useful in combination with iframe tags.
- ex.
<iframe src="https://pixe.la/v1/users/a-know/graphs/test-graph.html?mode=simple" height="155" width="720" frameborder="0"></iframe>
- ex.
- You can specify either
v1.12.0
I will deliver new features for users today! 😄
Graph
now supports thepublishOptionalData
property!- If this property is
true
, each pixel'soptionalData
will be added to the generated SVG data as adata-optional
attribute.- On the other hand, be careful because the
data-tippy-content
attribute is removed.
- On the other hand, be careful because the
- This feature is limited for
Pixela Supporter
.- About
Pixela Supporter
, please check How to support Pixela by Patreon / Use Limited Features.
- About
- If this property is
- Fixed a problem where the gradation was not good for graphs that consisted only of small values( #9 ).
- Thank you feedback, @Sabazo !!