fortnox-api 1.0.0.rc14 → 1.0.0.rc15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1c59313b416138bb0a0544e45c6b2e4166937a184cf95112247a5d45f5a44418
4
- data.tar.gz: 25d19b69aed753b8099edafcab818c0b6b64ec989c1b2deb57d819b4aae3f69d
3
+ metadata.gz: ab7ad12aa41343980f10d5669c15e92c00ffe1b144f3e2d7eb250205c8f1ddaf
4
+ data.tar.gz: b88c8debe218e7e0bfcfe8f89ae3c14ac5eaf7f0c9466563c23dd7d13a153b22
5
5
  SHA512:
6
- metadata.gz: 8f8d49aac36c3a995c580b3776b09ef7ac88047ae01a8dc3435c4287dd12bd68681e79668815853a38d5318e3edbea156381b4298dbf398181fba52907bfdde4
7
- data.tar.gz: 8066b72c5242c29bef520f44cce65b30e0a12b7d19318972daa887c0da181253fe95bbb9aee86fb532fb5d036148cf0c9f14424fa3a888357d43f102b5b311ed
6
+ metadata.gz: 3e3580f904dc0ab0b6ade2d540e858bd6e4b282c7589508c32431da156f12634365283ed28bd1e117d81f84f8081596612b9f6ae8736e8c8063b3d11b6f2b653
7
+ data.tar.gz: b9150f40236d1f2c22d3410f51e774b424af4612f905d3e63174c1f333b4b5b85b474648e0ac3e6999e2c243cc1994b71bd5b89c02146769644a0099b30f887f
data/CHANGELOG.md CHANGED
@@ -8,6 +8,27 @@ and this project adheres to
8
8
 
9
9
  ## [Unreleased]
10
10
 
11
+ ## [1.0.0.rc15] - 2026-08-18
12
+
13
+ ### Fixed
14
+
15
+ - **Cached resources no longer raise on the first cache hit.** The
16
+ `rest-easy` dependency is now `~> 1.4.1`, which stops `RestEasy::Meta`
17
+ claiming to implement methods it has no value for. Because it claimed
18
+ `marshal_dump`, marshalling a parsed resource silently wrote `nil` where
19
+ the meta state should be, and reading it back raised `NoMethodError:
20
+ undefined method '[]' for nil:NilClass`. Every parsed Fortnox resource
21
+ carries a `meta` — it is where the `partial` flag lives — so any consumer
22
+ caching resources in a store that marshals its entries (Rails'
23
+ `:memory_store` and `:file_store` among them) wrote an unusable entry on
24
+ the first request and raised on every cache hit after that.
25
+
26
+ **Upgrading with a warm cache:** entries written before this release are
27
+ not recoverable and now fail with `TypeError: instance of RestEasy::Meta
28
+ needs to have method 'marshal_load'`. Flush the cache or bump its key
29
+ namespace when upgrading. A process-local `:memory_store` clears itself on
30
+ restart and needs nothing.
31
+
11
32
  ## [1.0.0.rc14] - 2026-08-11
12
33
 
13
34
  ### Changed
@@ -398,7 +419,8 @@ for the full list of breaking changes.
398
419
  For changes prior to the 1.0 rewrite, see the
399
420
  [0.x changelog](https://github.com/accodeing/fortnox-api/blob/v0.9.2/CHANGELOG.md).
400
421
 
401
- [Unreleased]: https://github.com/accodeing/fortnox-api/compare/v1.0.0.rc14...HEAD
422
+ [Unreleased]: https://github.com/accodeing/fortnox-api/compare/v1.0.0.rc15...HEAD
423
+ [1.0.0.rc15]: https://github.com/accodeing/fortnox-api/compare/v1.0.0.rc14...v1.0.0.rc15
402
424
  [1.0.0.rc14]: https://github.com/accodeing/fortnox-api/compare/v1.0.0.rc13...v1.0.0.rc14
403
425
  [1.0.0.rc13]: https://github.com/accodeing/fortnox-api/compare/v1.0.0.rc12...v1.0.0.rc13
404
426
  [1.0.0.rc12]: https://github.com/accodeing/fortnox-api/compare/v1.0.0.rc11...v1.0.0.rc12
data/fortnox.gemspec CHANGED
@@ -24,7 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_dependency 'base64', '~> 0.2'
25
25
  spec.add_dependency 'countries', '~> 7.1'
26
26
  spec.add_dependency 'dry-struct', '~> 1.5'
27
- spec.add_dependency 'rest-easy', '~> 1.4.0'
27
+ spec.add_dependency 'rest-easy', '~> 1.4.1'
28
28
 
29
29
  spec.metadata['rubygems_mfa_required'] = 'true'
30
30
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Fortnox
4
- VERSION = '1.0.0.rc14'
4
+ VERSION = '1.0.0.rc15'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fortnox-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.rc14
4
+ version: 1.0.0.rc15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonas Schubert Erlandsson
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2026-08-11 00:00:00.000000000 Z
14
+ date: 2026-08-18 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: base64
@@ -61,14 +61,14 @@ dependencies:
61
61
  requirements:
62
62
  - - "~>"
63
63
  - !ruby/object:Gem::Version
64
- version: 1.4.0
64
+ version: 1.4.1
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - "~>"
70
70
  - !ruby/object:Gem::Version
71
- version: 1.4.0
71
+ version: 1.4.1
72
72
  description: Fortnox F3 REST API library, based on rest-easy.
73
73
  email:
74
74
  - info@accodeing.com