Hannah Wolfe
b06e2a4577
Published new versions
...
- @tryghost/adapter-manager@0.2.13
- @tryghost/bootstrap-socket@0.2.9
- @tryghost/constants@0.1.8
- @tryghost/errors@0.2.12
- @tryghost/image-transform@1.0.12
- @tryghost/job-manager@0.8.7
- @tryghost/limit-service@0.6.1
- @tryghost/moleculer-service-from-class@0.2.16
- @tryghost/mw-session-from-token@0.1.21
- @tryghost/package-json@0.1.2
- @tryghost/pretty-cli@1.2.18
- @tryghost/promise@0.1.9
- @tryghost/release-utils@0.6.15
- @tryghost/security@0.2.9
- @tryghost/session-service@0.1.23
- @tryghost/tpl@0.1.0
- @tryghost/vhost-middleware@1.0.15
- @tryghost/zip@1.1.14
2021-06-09 12:10:10 +01:00
Renovate Bot
c72d090c97
Update dependency mocha to v9
2021-06-09 09:58:44 +00:00
Renovate Bot
80b56b8976
Update dependency sinon to v11
2021-05-24 22:37:15 +00:00
Naz
f2c1ee2263
Published new versions
...
- @tryghost/limit-service@0.6.0
2021-05-21 14:16:04 +04:00
Naz
6a08297c3a
Published new versions
...
- @tryghost/job-manager@0.8.6
- @tryghost/limit-service@0.5.1
2021-05-12 16:42:36 +04:00
Naz
30f1194cf9
Published new versions
...
- @tryghost/limit-service@0.5.0
- @tryghost/package-json@0.1.1
2021-05-07 18:23:35 +04:00
Naz
763875a15b
Published new versions
...
- @tryghost/job-manager@0.8.5
- @tryghost/limit-service@0.4.4
- @tryghost/mw-session-from-token@0.1.20
- @tryghost/package-json@0.1.0
- @tryghost/session-service@0.1.21
- @tryghost/zip@1.1.13
2021-05-07 15:00:07 +04:00
Naz
bd360e620f
Removed date-fns dev dependency
...
refs https://github.com/TryGhost/Team/issues/588
refs 6a1e722648
- date-fns proved to be unable to manipulate dates in consistent UTC format and was substitured with luxon in referenced commit. Removing it from tests for consistency
2021-05-07 14:56:40 +04:00
Naz
6a1e722648
Fixed time difference calculation in DST timezones
...
refs https://github.com/TryGhost/Team/issues/588
- date-fns proved to be unable to manipulate dates consistently in UTC timezone. Keeping all calculations and formatting in UTC is key to have consistency in dates when dealing in inter-system dates
- day.js also failed the test for correct UTC manipulation. See https://github.com/iamkun/dayjs/issues/1271 for example bug which prevents from consistent correct calculation
- luxon was the best option which WORKED. It's also a recommended successor for moment.js with really nice docs and active support
2021-05-07 14:41:52 +04:00
Renovate Bot
3d4e65ebc3
Pin dependency date-fns to 2.21.2
2021-05-06 16:14:06 +00:00
Naz
4f41c2a206
Added utility calculating date of last period start
...
refs https://github.com/TryGhost/Team/issues/588
- There's a need to calculate when the last period has started to be able to generate correct counting queries for the "maxPeriodical" limit
- It operatest on ISO strings as an input and output in UTC timezone to take timezone calculations out of the equation
- Refer to inclucded unit tests for example calculations
2021-05-06 15:50:36 +04:00
Naz
9c668317de
Published new versions
...
- @tryghost/limit-service@0.4.3
2021-05-03 12:05:01 +04:00
Daniel Lockyer
098801de2c
Published new versions
...
- @tryghost/adapter-manager@0.2.12
- @tryghost/errors@0.2.11
- @tryghost/image-transform@1.0.11
- @tryghost/job-manager@0.8.4
- @tryghost/limit-service@0.4.2
- @tryghost/moleculer-service-from-class@0.2.15
- @tryghost/mw-session-from-token@0.1.19
- @tryghost/pretty-cli@1.2.17
- @tryghost/promise@0.1.8
- @tryghost/release-utils@0.6.14
- @tryghost/security@0.2.8
- @tryghost/session-service@0.1.20
- @tryghost/zip@1.1.12
2021-04-19 10:25:57 +01:00
Naz
5c89a5bec2
Published new versions
...
- @tryghost/adapter-manager@0.2.11
- @tryghost/job-manager@0.8.3
- @tryghost/limit-service@0.4.1
- @tryghost/moleculer-service-from-class@0.2.14
- @tryghost/mw-session-from-token@0.1.18
- @tryghost/session-service@0.1.19
2021-04-17 08:12:34 +12:00
Renovate Bot
3184ca584d
Pin dependencies
2021-04-16 12:28:10 +00:00
Daniel Lockyer
713cbd3cc4
Unpinned all dependencies
...
no issue
- this Utils repo contains libraries, whose dependencies should not be
pinned in order to reduce multiple versions of the same package
appearing for consumers
2021-04-16 13:06:54 +01:00
Naz
e11c0f43cf
Published new versions
...
- @tryghost/adapter-manager@0.2.10
- @tryghost/bootstrap-socket@0.2.8
- @tryghost/constants@0.1.7
- @tryghost/errors@0.2.10
- @tryghost/image-transform@1.0.10
- @tryghost/job-manager@0.8.2
- @tryghost/limit-service@0.4.0
- @tryghost/moleculer-service-from-class@0.2.13
- @tryghost/mw-session-from-token@0.1.17
- @tryghost/pretty-cli@1.2.16
- @tryghost/promise@0.1.7
- @tryghost/release-utils@0.6.13
- @tryghost/security@0.2.7
- @tryghost/session-service@0.1.18
- @tryghost/vhost-middleware@1.0.14
- @tryghost/zip@1.1.11
2021-04-07 13:47:32 +12:00
Renovate Bot
01a3e89ef5
Update dependency sinon to v10
2021-04-02 01:16:56 +00:00
Renovate Bot
ff22540ef2
Update Test & linting packages
2021-04-01 09:44:12 +00:00
Hannah Wolfe
b72c428c2e
Published new versions
...
- @tryghost/limit-service@0.3.0
2021-03-04 20:46:49 +00:00
Hannah Wolfe
314a1138c3
Published new versions
...
- @tryghost/limit-service@0.2.1
2021-03-04 18:15:13 +00:00
Hannah Wolfe
abac3a5eed
Published new versions
...
- @tryghost/limit-service@0.2.0
2021-03-04 13:35:20 +00:00
Hannah Wolfe
cf21244e31
Published new versions
...
- @tryghost/limit-service@0.1.1
2021-03-03 17:56:02 +00:00
Hannah Wolfe
7dc95f96c4
Published new versions
...
- @tryghost/limit-service@0.1.0
2021-03-03 12:20:40 +00:00
Hannah Wolfe
201e133386
Added limit service initial commit
...
- This provides some basic functionality and error message generation for adding host-based limits in Ghost
- It is a first-pass, needs unit tests etc
2021-03-03 12:19:48 +00:00