workarea 3.5.8 → 3.5.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +101 -0
  3. metadata +10 -10
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4c5f57adc395790c1b1c0ee38d4df100fd69ed61edcec523c67e3c54baff0c03
4
- data.tar.gz: b297e3bb0930b1ac73d43f8f4c046dde525e6f06a46d87506b7ac1cf0d5a768f
3
+ metadata.gz: a259ef1ebc8baccbdfd71c46d7ee836bed9f2cbb717cf4f3089bbb52c65e6625
4
+ data.tar.gz: 8e5c994c54853d0be11d88a150eab4c82cc424677f428333965a5504fb24eaec
5
5
  SHA512:
6
- metadata.gz: 3b7405976afecd65f50d657d3dd6987b6d95cd1d416c92d3448d4a8e0679858817dc9046628297d6563d93f63bef0b2187ab9e726094902bde26556035955975
7
- data.tar.gz: b92fa9060e3496bba45cb5d69a5db1c85dbd3da7e6be9ab6b068c8f61222c9bc1ff96575a73af3418d451a2ea7d8fc8edff8d716e58a71e9b94e9f2c75990066
6
+ metadata.gz: 10f2762d83a9a2295e596d1f8f1a6650b301a9feab53cfe24fe9ad63c5a5422ffbf5ad5b0a67c66b640f0ecd21c5198246fd14bd744c25f2761b2402d467320c
7
+ data.tar.gz: ae50138d2da8b1a2ff2c1438e6720dad33a73999b8d12167ed8340cdd8d5ac8687ad53b1f14477b3117fab2afaf4243eb4709bd634f2a823cba3b0d121171aa6
data/CHANGELOG.md CHANGED
@@ -1,3 +1,104 @@
1
+ Workarea 3.5.9 (2020-04-15)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Fix harded JS path for admin jump to dropdown
5
+
6
+ This prevents locale from being included in the path to load results.
7
+ Ben Crouse
8
+
9
+ * Fix index serialization not happening per-locale
10
+
11
+ Previously, indexing was using the same document per-locale. This was
12
+ masked by Mongoid loading data from the cached document to look correct
13
+ in most browse scenarios. This fixes it to serialize per-locale so each
14
+ locale has a separate representation of the document.
15
+ Ben Crouse
16
+
17
+ * Fix Mongoid not returning defaults for localized fields
18
+
19
+ If a locale is missing from the translations hash, Mongoid returns nil
20
+ instead of the default specified on the field. That causes all kinds of
21
+ errors.
22
+ Ben Crouse
23
+
24
+ * Fix duplicate key errors in metrics synchronization
25
+
26
+ It's important this be kept in sync as real-time as possible, so we need
27
+ to avoid the Sidekiq retry delay where possible.
28
+ Ben Crouse
29
+
30
+ * Fix index serialization not happening per-locale
31
+
32
+ Previously, indexing was using the same document per-locale. This was
33
+ masked by Mongoid loading data from the cached document to look correct
34
+ in most browse scenarios. This fixes it to serialize per-locale so each
35
+ locale has a separate representation of the document.
36
+ Ben Crouse
37
+
38
+ * Fix Mongoid not returning defaults for localized fields
39
+
40
+ If a locale is missing from the translations hash, Mongoid returns nil
41
+ instead of the default specified on the field. That causes all kinds of
42
+ errors.
43
+ Ben Crouse
44
+
45
+ * Tighten up segment geolocation matching rule
46
+
47
+ This was playing a little fast and loose with matching, causing CA to
48
+ match for California and Canada, IL to match for Illinois and Israel,
49
+ etc.
50
+
51
+ Matching only based on IDs chosen from the UI fixes these problems.
52
+ Ben Crouse
53
+
54
+ * Don't include locale in hidden fields for switching locales
55
+
56
+ This can result in duplicate and conflicting locale params in the query
57
+ string, which can cause the incorrect locale to be selected.
58
+ Ben Crouse
59
+
60
+ * Fix locale not passed through in return redirect when not in URL
61
+
62
+ If a return_to parameter is generated without the locale, and a request
63
+ includes a parameter to switch locale, the locale is dropped causing the
64
+ request to revert to the default locale.
65
+
66
+ The original observed bug is switching locale in content editing and
67
+ seeing the request to save always redirect to the default locale.
68
+ Ben Crouse
69
+
70
+ * Fix locales not in cache varies
71
+
72
+ To ensure all cache varies correctly by locales, it's important that
73
+ locale be part of the Rack env's `workarea.cache_varies`. To do this, we
74
+ need to move setting the locale into middleware (where the varies is
75
+ set).
76
+ Ben Crouse
77
+
78
+ * Add missing append points to option-based product templates
79
+
80
+ This append point was only in the generic template, but is useful for
81
+ plugins.
82
+ Ben Crouse
83
+
84
+ * Fix dev env autoloading problem with Categorization
85
+
86
+ Ben Crouse
87
+
88
+ * Fix product search entries flattening
89
+
90
+ When entries are overridden to return multiple results _and_ there are
91
+ release changes for the product, the results weren't being flattened.
92
+
93
+ Fixes #405
94
+ Ben Crouse
95
+
96
+ * Don't allow more than one valid password reset token per-user
97
+
98
+ Ben Crouse
99
+
100
+
101
+
1
102
  Workarea 3.5.8 (2020-03-31)
2
103
  --------------------------------------------------------------------------------
3
104
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.5.8
4
+ version: 3.5.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-31 00:00:00.000000000 Z
11
+ date: 2020-04-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea-core
@@ -16,56 +16,56 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.5.8
19
+ version: 3.5.9
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.5.8
26
+ version: 3.5.9
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: workarea-storefront
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - '='
32
32
  - !ruby/object:Gem::Version
33
- version: 3.5.8
33
+ version: 3.5.9
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - '='
39
39
  - !ruby/object:Gem::Version
40
- version: 3.5.8
40
+ version: 3.5.9
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: workarea-admin
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 3.5.8
47
+ version: 3.5.9
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 3.5.8
54
+ version: 3.5.9
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: workarea-testing
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - '='
60
60
  - !ruby/object:Gem::Version
61
- version: 3.5.8
61
+ version: 3.5.9
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - '='
67
67
  - !ruby/object:Gem::Version
68
- version: 3.5.8
68
+ version: 3.5.9
69
69
  description: Workarea is an enterprise-grade Ruby on Rails commerce platform.
70
70
  email:
71
71
  - bcrouse@workarea.com