Skip to content

Commit 58f7d31

Browse files
authored
Prepare release 2.3.0 (#50)
* Versions and date updated * Buildout updated * Fixed doctest * Removed orphan comment
1 parent 4e5a093 commit 58f7d31

File tree

6 files changed

+5
-24
lines changed

6 files changed

+5
-24
lines changed

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ Feedback and support
6565
License
6666
-------
6767

68-
**SENAITE.JSONAPI** Copyright (C) 2017-2020 RIDING BYTES & NARALABS
68+
**SENAITE.JSONAPI** Copyright (C) 2017-2022 RIDING BYTES & NARALABS
6969

7070
This program is free software; you can redistribute it and/or modify it under
7171
the terms of the `GNU General Public License version 2

buildout.cfg

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -52,30 +52,13 @@ user = ${buildout:plone-user}
5252
wsgi = on
5353
eggs =
5454
Plone
55-
plone.app.upgrade
5655
${buildout:package-name}
5756
${buildout:eggs}
5857
deprecation-warnings = on
5958
environment-vars =
6059
zope_i18n_compile_mo_files true
6160
zcml =
6261

63-
[instance:python27]
64-
recipe = plone.recipe.zope2instance
65-
http-address = 127.0.0.1:8080
66-
user = ${buildout:plone-user}
67-
wsgi = off
68-
eggs =
69-
Plone[archetypes]
70-
plone.app.upgrade
71-
${buildout:package-name}
72-
${buildout:eggs}
73-
deprecation-warnings = on
74-
environment-vars =
75-
zope_i18n_compile_mo_files true
76-
resources = ${buildout:directory}/resources
77-
zcml =
78-
7962
[i18ndude]
8063
unzip = true
8164
recipe = zc.recipe.egg

docs/changelog.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,10 @@ Changelog
22
=========
33

44

5-
2.3.0 (unreleased)
5+
2.3.0 (2022-10-03)
66
------------------
77

88
- #49 Fix no error message is sent back for push consumer calls
9-
- no changes yet
109

1110

1211
2.2.0 (2022-06-10)

src/senaite/jsonapi/config.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,3 @@
1717
#
1818
# Copyright 2017-2022 by it's authors.
1919
# Some rights reserved, see README and LICENSE.
20-
21-
# The creation of objects from portal types that belong to these products are
22-
# not supported, unless a custom adapter of ICreate is provided

src/senaite/jsonapi/tests/doctests/create.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,7 @@ required attribute:
136136

137137
>>> data = {"portal_type": "SampleType",
138138
... "parent_path": api.get_path(setup.bika_sampletypes),
139+
... "MinimumVolume": "20 ml",
139140
... "title": "Fresh Egg",
140141
... "Prefix": "FE"}
141142
>>> post("create", data)
@@ -179,6 +180,7 @@ Create a Sample Type
179180
... "parent_path": api.get_path(setup.bika_sampletypes),
180181
... "title": "Fresh Egg",
181182
... "MinimumVolume": "10 gr",
183+
... "AdmittedStickerTemplates": [{"admitted": ["QR_1x14mmx39mm.pt"], "small_default": ["QR_1x14mmx39mm.pt"], "large_default": ["QR_1x14mmx39mm.pt"]}],
182184
... "Prefix": "FE"}
183185
>>> sample_type = create(data)
184186
>>> sample_type.Title()

src/senaite/jsonapi/v1/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
from senaite.jsonapi import add_route as add_senaite_route
2626

2727
__version__ = "2.3.0"
28-
__date__ = "2022-06-10"
28+
__date__ = "2022-10-03"
2929

3030
BASE_URL = "/senaite/v1"
3131

0 commit comments

Comments
 (0)